# AVR32 AP7 - USART Driver Documentation

## Introduction

This is the documentation for the data structures, functions, variables, defines, enums, and typedefs for the USART software driver.
It also comes bundled with an example. This example is a basic Hello-World example.
Example's operating mode:

1. A message is displayed on the PC terminal ("Hello, this is AT32AP7000 saying hello! (press enter)")
2. You may then type any character other than CR(Carriage Return) and it will be echoed back to the PC terminal.
3. If you type a CR, "'CRLF'Goodbye." is echoed back to the PC terminal and the application ends.

## Main Files

- usart.c: USART driver;
- usart.h: USART driver header file;
- usart_example.c: USART example application.

## Compilation Information

This software is written for GNU GCC for AVR32 and for IAR Embedded Workbench for Atmel AVR32. Other compilers may or may not work.

## Device Information

All AVR32 devices with a USART module can be used.

## Configuration Information

This example has been tested with the following configuration:

- STK1000 evaluation kit;
- CPU clock: 20 MHz;
- USART1 (USART_A) connected to a PC serial port via a standard RS232 DB9 cable;
- PC terminal settings:
  - 115200 bps,
  - 8 data bits,
  - no parity bit,
  - 1 stop bit,
  - no flow control.

## Contact Information

For further information, visit Atmel AVR32.
Support and FAQ: http://support.atmel.no/