PAN1080 Peripheral API
Typedefs | Enumerations
Uart line status

These are the definitions used for reporting the line status including errors, if any. Note that they represent bits of an 8-bit register and more than one can be active at any time. More...

Collaboration diagram for Uart line status:

Typedefs

typedef enum UART_LineStatus UART_LineStatusDef
 

Enumerations

enum  UART_LineStatus {
  UART_LINE_DATA_RDY = 0x01 , UART_LINE_OVERRUN_ERR = 0x02 , UART_LINE_PARITY_ERR = 0x04 , UART_LINE_FRAME_ERR = 0x08 ,
  UART_LINE_BREAK_INT = 0x10 , UART_LINE_THRE = 0x20 , UART_LINE_TXSR_EMPTY = 0x40 , UART_LINE_RECV_FIFO_EMPTY = 0x80 ,
  UART_LINE_ADDR_RCVD = 0x100
}
 

Detailed Description

These are the definitions used for reporting the line status including errors, if any. Note that they represent bits of an 8-bit register and more than one can be active at any time.

Typedef Documentation

◆ UART_LineStatusDef

Enumeration Type Documentation

◆ UART_LineStatus

Enumerator
UART_LINE_DATA_RDY 

data ready

UART_LINE_OVERRUN_ERR 

overrun error

UART_LINE_PARITY_ERR 

parity error

UART_LINE_FRAME_ERR 

framing error

UART_LINE_BREAK_INT 

break interrupt

UART_LINE_THRE 

transmit holding register empty (or tx fifo full)

UART_LINE_TXSR_EMPTY 

transmitter shift register empty

UART_LINE_RECV_FIFO_EMPTY 

receiver FIFO error

UART_LINE_ADDR_RCVD 

address received (9-bit mode)