Defines | Functions

uart.c File Reference

Serial communication functions. More...

#include <avr/io.h>
#include "xtypes.h"
#include "global.h"
#include "uart.h"
Include dependency graph for uart.c:

Go to the source code of this file.

Defines

#define EXPORT
#define BAUD_RATE   9600
 Definition for serial transmission speed.

Functions

void uart_PutChar (CHAR c)
 Sending a single character via serial port.
CHAR uart_GetChar (void)
 Reading a single character from serial port.
void uart_Init (void)
 Init method of the uart module.

Detailed Description

Author:
Philipp Bank
Copyright:
Creative Commons by-nc-sa 3.0 (http://creativecommons.org/licenses/by-nc-sa/3.0/)

This module provides low-level functions to communicate via the serial interface.

Note that this module is used by application software modules and by the bootloader.

Definition in file uart.c.