EVE 1.0

#include <sc16is7x0.h>

Collaboration diagram for sc16_uart_t:

Data Fields

struct sc16_uart_state_tState
 Address of struct with RAM variables used by the uart driver.
 
const struct sc16_chip_tChip
 Address of SC16 chip descriptor.
 
uint32_t FifoRxTrigger: 4
 Generating interrupt if RX contains the settled number of bytes received, SC16 Trigger Level Register (TLR)
 
uint32_t FifoTxTrigger: 4
 Generating interrupt if TX has the settled number of free bytes, SC16 Trigger Level Register (TLR)
 
uint32_t FifoRxWatermarkLow: 4
 RX threshold level to resume transmission in auto flow control mode, SC16 Transmission Control Register (TCR)
 
uint32_t FifoRxWatermarkHigh: 4
 RX threshold level to halt transmission in auto flow control mode, SC16 Transmission Control Register (TCR)
 
uint32_t RS485WordLength: 1
 Normal 8-bit or RS-485 multidrop 9-bit, SC16 Extra Features Control Register (EFCR)
 
uint32_t RS485RtsAuto: 1
 RTS controlled by SC16 in RS485 mode, SC16 Extra Features Control Register (EFCR)
 
uint32_t RS485RtsInverse: 1
 Inverse RTS (active 0) in RS485 mode, SC16 Extra Features Control Register (EFCR)
 
uint32_t Channel: 1
 Select one of two UARTs on sc16is752 - SC16_CHANNEL_A or SC16_CHANNEL_B; should always be SC16_CHANNEL_A for sc16is750.
 

Detailed Description

sc16_uart_t structure holds SPI instance and SC16 settings to be used

Definition at line 356 of file sc16is7x0.h.