uart_config Struct Reference

#include <uart.h>


Data Fields

uint8_t enabled: 1
uint8_t intr_enabled: 1
uint8_t use_double_speed: 1
uint8_t parity: 2
uint8_t stop_bits: 1
uint8_t reserved: 1
uint8_t nbits
uint32_t baudrate


Detailed Description

this structure stores the configuration of the uart

Definition at line 56 of file uart.h.


Field Documentation

enable or disable the uart

Definition at line 57 of file uart.h.

Referenced by uart_getconf(), and uart_setconf().

use interruptions or not

Definition at line 57 of file uart.h.

Referenced by uart_getconf(), and uart_setconf().

less acurate, but can reach faster baudrate

Definition at line 57 of file uart.h.

Referenced by uart_getconf(), and uart_setconf().

none, odd or even

Definition at line 57 of file uart.h.

Referenced by uart_getconf().

1 or 2 bits at the end of the frame

Definition at line 57 of file uart.h.

Referenced by uart_getconf().

nothing for now

Definition at line 57 of file uart.h.

number of bits in frame, 5,6,7,8 or 9

Definition at line 63 of file uart.h.

Referenced by uart_getconf().

speed of uart

Definition at line 64 of file uart.h.

Referenced by uart_getconf(), and uart_setconf().


The documentation for this struct was generated from the following file:

Generated on Fri Mar 12 06:32:30 2010 for AVR by  doxygen 1.5.6