uart.h header
This header is used by serports. For more information, see:
uart.h contains the following programming interfaces:
Callback functions
UART_GET_BYTE Reads a data byte from the UART device. |
UART_HARDWARE_READ_INDEXED_UCHAR Reads a byte from the port specified by index. |
UART_HARDWARE_READ_UCHAR Reads a byte from the specified port or register. |
UART_HARDWARE_READ_ULONG Reads a ULONG value from the specified port or register. |
UART_HARDWARE_READ_ULONG64 Reads a ULONG64 value from the specified register address. |
UART_HARDWARE_READ_USHORT Reads a USHORT value from the specified port or register. |
UART_HARDWARE_WRITE_INDEXED_UCHAR Writes a byte to the specified port address. |
UART_HARDWARE_WRITE_UCHAR Writes a byte to the port or a register. |
UART_HARDWARE_WRITE_ULONG Writes a ULONG value to the specified port or register. |
UART_HARDWARE_WRITE_ULONG64 Writes a ULONG64 value to the specified register address. |
UART_HARDWARE_WRITE_USHORT Writes a USHORT value to the specified port or register. |
UART_INITIALIZE_PORT Initializes or resets the UART hardware. |
UART_PUT_BYTE Writes a data byte to the UART device. |
UART_RX_READY Determines whether there is data pending in the UART hardware. |
UART_SET_BAUD Changes the baud rate of the UART hardware. |
Structures
CPPORT Contains the mutable runtime state of a specific instance of a UART device. |
UART_HARDWARE_ACCESS Contains I/O functions and the function pointers used by the serial drivers to access the device hardware. |
UART_HARDWARE_DRIVER Contains function pointers for interacting with a specific type of UART hardware. |
Enumerations
UART_STATUS Defines values for the status of a UART operation. |