#include <uart.h>
#include <uart_defs.h>
#include <uart_private.h>
Go to the source code of this file.
Functions | |
uint8_t | uart_getconf_nbits (uint8_t num) |
void | uart_getconf (uint8_t num, struct uart_config *u) |
void uart_getconf | ( | uint8_t | num, | |
struct uart_config * | u | |||
) |
Get the current configuration of the uart 'num'
Definition at line 123 of file uart_getconf.c.
References uart_config::baudrate, uart_config::enabled, F_CPU, uart_config::intr_enabled, IRQ_LOCK, IRQ_UNLOCK, uart_config::nbits, uart_config::parity, RXCIE, RXEN, uart_config::stop_bits, U2X, uart_getconf_nbits(), UART_HAS_U2X, UART_IS_USART, UART_PARTITY_EVEN, UART_PARTITY_NONE, UART_PARTITY_ODD, uart_regs, UART_STOP_BITS_1, UART_STOP_BITS_2, UPM0, UPM1, USBS, and uart_config::use_double_speed.
uint8_t uart_getconf_nbits | ( | uint8_t | num | ) |
Definition at line 87 of file uart_getconf.c.
References uart_regs.
Referenced by uart_getconf(), and uart_send_next_char().