SimAVR
AVR Simulator
|
Go to the source code of this file.
Data Structures | |
struct | avr_uart_t |
Macros | |
#define | AVR_IOCTL_UART_GETIRQ(_name) AVR_IOCTL_DEF('u','a','r',(_name)) |
add port number to get the real IRQ More... | |
#define | AVR_IOCTL_UART_SET_FLAGS(_name) AVR_IOCTL_DEF('u','a','s',(_name)) |
#define | AVR_IOCTL_UART_GET_FLAGS(_name) AVR_IOCTL_DEF('u','a','g',(_name)) |
Typedefs | |
typedef struct avr_uart_t | avr_uart_t |
Enumerations | |
enum | { UART_IRQ_INPUT = 0, UART_IRQ_OUTPUT, UART_IRQ_OUT_XON, UART_IRQ_OUT_XOFF, UART_IRQ_COUNT } |
The method of "connecting" the the UART from external code is to use 4 IRQS. More... | |
enum | { AVR_UART_FLAG_POOL_SLEEP = (1 << 0), AVR_UART_FLAG_STDIO = (1 << 1) } |
Functions | |
DECLARE_FIFO (uint8_t, uart_fifo, 64) | |
void | avr_uart_init (avr_t *avr, avr_uart_t *port) |