Go to the source code of this file.
Functions | |
VDevice * | uart_int_create (int addr, char *name, int rel_addr, void *data) |
UARTIntr_T * | uart_intr_new (int addr, char *name, void *data) |
void | uart_intr_construct (UARTIntr_T *uart, int addr, char *name) |
void | uart_intr_destroy (void *uart) |
VDevice * | uart_create (int addr, char *name, int rel_addr, void *data) |
UART_T * | uart_new (int addr, char *name, int rel_addr) |
void | uart_construct (UART_T *uart, int addr, char *name, int rel_addr) |
void | uart_destroy (void *uart) |
uint16_t | uart_port_rd (int addr) |
void | uart_port_wr (uint8_t val) |
Variables | |
int | UART_Int_Table [] |
int | UART0_Int_Table [] |
int | UART1_Int_Table [] |
Definition in file uart.c.
|
Allocate a new uart interrupt.
Definition at line 95 of file uart.c. References avr_error. |
|
Constructor for uart interrupt object.
Definition at line 128 of file uart.c. References avr_error, and vdev_construct(). |
|
Destructor for uart interrupt object.
Definition at line 179 of file uart.c. References vdev_destroy(). |
|
Allocate a new uart structure.
|
|
Constructor for uart object.
Definition at line 356 of file uart.c. References avr_error, and vdev_construct(). |
|
Destructor for uart object.
Definition at line 389 of file uart.c. References vdev_destroy(). |
|
Initial value: { irq_vect_table_index (UART_RX), irq_vect_table_index (UART_UDRE), irq_vect_table_index (UART_TX) } |
|
Initial value: { irq_vect_table_index (USART0_RX), irq_vect_table_index (USART0_UDRE), irq_vect_table_index (USART0_TX) } |
|
Initial value: { irq_vect_table_index (USART1_RX), irq_vect_table_index (USART1_UDRE), irq_vect_table_index (USART1_TX) } |