#include <usart.h>
Definition at line 66 of file usart.h.
Data Fields | |
| unsigned long | baudrate |
| unsigned char | channelmode |
| unsigned char | charlength |
| unsigned char | paritytype |
| unsigned short | stopbits |
| unsigned long usart_options_t::baudrate |
Set baudrate of the usart
Definition at line 71 of file usart.h.
Referenced by init_uart_a(), and usart_init_rs232().
| unsigned char usart_options_t::channelmode |
Run the channel in testmode: 0=normal tx/rx, 1=auto echo(tx->rx), 2=local loopback(tx->rx), 3=remote loopback(rx->tx)
Definition at line 98 of file usart.h.
Referenced by init_uart_a(), and usart_init_rs232().
| unsigned char usart_options_t::charlength |
Number of bits to transmit as a character (5-9)
Definition at line 76 of file usart.h.
Referenced by init_uart_a(), and usart_init_rs232().
| unsigned char usart_options_t::paritytype |
How to calculate the parity bit: 0=even parity, 1=odd parity, 2=space, 3=mark, 4|5=no parity bit, 6|7=multidrop mode
Definition at line 83 of file usart.h.
Referenced by init_uart_a(), and usart_init_rs232().
| unsigned short usart_options_t::stopbits |
Number of stop bits between to characters: 0=1bit, 1=1.5bit(async mode only), 2=2bits, the numbers 3 to 257 will result in a time guard period of that length between characters.
Definition at line 91 of file usart.h.
Referenced by init_uart_a(), and usart_init_rs232().
1.5.3-20071008