Data Structures | |
struct | _UARTSDCB |
UART device control block structure. More... | |
struct | _UARTSDCB |
UART device control block structure. More... | |
Typedefs | |
typedef _UARTSDCB | UARTSDCB |
Functions | |
int | UartSpiInput (NUTDEVICE *dev) |
Mode. xxxx xxx0 8 bit xxxx xxx1 7 bit xxxx x0xx No parity bit xxxx x10x Even parity xxxx x11x Odd parity Wait for input. | |
int | UartSpiOutput (NUTDEVICE *dev) |
Initiate output. | |
int | UartSpiFlush (NUTDEVICE *dev) |
Wait for output buffer empty. | |
int | UartSpiIOCtl (NUTDEVICE *dev, int req, void *conf) |
Perform SPI UART control functions. | |
int | UartSpiInit (NUTDEVICE *dev) |
Initialize SPI UART device. |
|
UART device control block type. |
|
Wait for output buffer empty. If the output buffer contains any data, the calling thread is suspended until all data has been transmitted.
|
|
Initialize SPI UART device. Prepares the device for subsequent reading or writing. Applications should not use this function, but call NutDeviceOpen().
|
|
Mode. xxxx xxx0 8 bit xxxx xxx1 7 bit xxxx x0xx No parity bit xxxx x10x Even parity xxxx x11x Odd parity Wait for input. This function checks the input buffer for any data. If the buffer is empty, the calling thread unknown reference! will be blocked until at least one new character is received or a timeout occurs.
|
|
Perform SPI UART control functions.
|
|
Initiate output. This function checks the output buffer for any data. If the buffer contains at least one character, the transmitter is started, if not already running. The function returns immediately, without waiting for the character being completely transmitted. Any remaining characters in the output buffer are transmitted in the background.
|