#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 |
Definition at line 56 of file uart.h.
uint8_t uart_config::enabled |
enable or disable the uart
Definition at line 57 of file uart.h.
Referenced by uart_getconf(), and uart_setconf().
uint8_t uart_config::intr_enabled |
use interruptions or not
Definition at line 57 of file uart.h.
Referenced by uart_getconf(), and uart_setconf().
uint8_t uart_config::use_double_speed |
less acurate, but can reach faster baudrate
Definition at line 57 of file uart.h.
Referenced by uart_getconf(), and uart_setconf().
uint8_t uart_config::parity |
uint8_t uart_config::stop_bits |
1 or 2 bits at the end of the frame
Definition at line 57 of file uart.h.
Referenced by uart_getconf().
uint8_t uart_config::reserved |
uint8_t uart_config::nbits |
number of bits in frame, 5,6,7,8 or 9
Definition at line 63 of file uart.h.
Referenced by uart_getconf().
uint32_t uart_config::baudrate |
speed of uart
Definition at line 64 of file uart.h.
Referenced by uart_getconf(), and uart_setconf().