UART Library
This package provides low level routines to send and receive data with the UART hardware controller of ATMEL products.This package provides a set of routines to send and receive a byte on the UART.
This document describes how to use the librairy.
A example of usage is available on the section Usage Example.
To list the functions available select "Globals / Functions" in the menu.
- CONFIGURATION
- The driver is configured with the following parameters:
- FOSC
- BAUDRATE Baudrate in bit per second used for serial transmission (required) Standard baudrates available:
- AUTOBAUD or 0 for Autobaudrate Config (need external module autobaud)
- 110 // 110 bps Serial Speed
- 300 // 300 bps Serial Speed
- 1200 // 1200 bps Serial Speed
- 2400 // 2400 bps Serial Speed
- 4800 // 4800 bps Serial Speed
- 9600 // 9600 bps Serial Speed
- 19200 // 19200 bps Serial Speed
- 28800 // 28800 bps Serial Speed
- 38400 // 38400 bps Serial Speed
- 57600 // 57600 bps Serial Speed
- 115200 // 115200 bps Serial Speed
- 230400 // 230400 bps Serial Speed
- 460800 // 460800 bps Serial Speed
- 921600 // 921600 bps Serial Speed
- UART_CONFIG (optional, default is MSK_UART_8BIT) Define HW configuration of UART.
- USE_UART1 or USE_UART2 to select the uart
Generated on Thu Apr 1 15:51:00 2004 for UART Library by
1.3.6