#include "uart-isr.h"
#include "type.h"
#include "armVIC.h"
#include "trace.h"
Defines | |
#define | UART0_VIC_SLOT 5 |
Functions | |
void | uart0_ISR (void) |
UINT8 | Uart0Getch () |
void | uart0_init_IRQ () |
void | uart0_start_stop_IRQ (UINT8 on) |
UINT8 | uart0_check_free_space (UINT8 len) |
UINT8 | uart0_transmit (unsigned char data) |
#define UART0_VIC_SLOT 5 |
Referenced by uart0_init_IRQ(), and uart0_start_stop_IRQ().
References UART0_TX_BUFFER_SIZE.
void uart0_init_IRQ | ( | ) |
References _VIC_ADDR, _VIC_CNTL, U0IER, uart0_ISR(), UART0_VIC_SLOT, UIER_ERBFI, VIC_BIT, VIC_ENABLE, VIC_UART0, VICIntEnable, and VICIntSelect.
Referenced by InitUART().
void uart0_ISR | ( | void | ) |
References ISR_ENTRY, ISR_EXIT, U0IIR, U0LSR, U0RBR, U0THR, UART0_RX_BUFFER_SIZE, UART0_TX_BUFFER_SIZE, UIIR_CTI_INT, UIIR_ID_MASK, UIIR_NO_INT, UIIR_RDA_INT, UIIR_RLS_INT, UIIR_THRE_INT, ULSR_RDR, and VICVectAddr.
Referenced by uart0_init_IRQ().
void uart0_start_stop_IRQ | ( | UINT8 | on | ) |
References _VIC_CNTL, UART0_VIC_SLOT, and VIC_ENABLE.
Referenced by DisableUART().
UINT8 uart0_transmit | ( | unsigned char | data | ) |
References disableIRQ(), restoreIRQ(), U0IER, U0LSR, U0THR, UART0_TX_BUFFER_SIZE, and UIER_ETBEI.
Referenced by UART_SendChar(), and UARTReceiveSingleTextLine().
UINT8 Uart0Getch | ( | ) |
References UART0_RX_BUFFER_SIZE.
Referenced by UARTReceiveSingleTextLine(), and WriteToSSDFromUART().