Vault 7: Projects
This publication series is about specific projects related to the Vault 7 main publication.
1.2.3.2.8 DRV_UART4_TRANSFER_STATUS Enumeration
Specifies the status of the receive or transmit
File
drv_uart4.h
Syntax
typedef enum {
DRV_UART4_TRANSFER_STATUS_RX_FULL,
DRV_UART4_TRANSFER_STATUS_RX_DATA_PRESENT,
DRV_UART4_TRANSFER_STATUS_RX_EMPTY,
DRV_UART4_TRANSFER_STATUS_TX_FULL,
DRV_UART4_TRANSFER_STATUS_TX_EMPTY
} DRV_UART4_TRANSFER_STATUS;
Members
Members Description
DRV_UART4_TRANSFER_STATUS_RX_FULL Indicates that the core driver buffer is full
DRV_UART4_TRANSFER_STATUS_RX_DATA_PRESENT Indicates that at least one byte of Data has been received
DRV_UART4_TRANSFER_STATUS_RX_EMPTY Indicates that the core driver receiver buffer is empty
DRV_UART4_TRANSFER_STATUS_TX_FULL Indicates that the core driver transmitter buffer is full
DRV_UART4_TRANSFER_STATUS_TX_EMPTY Indicates that the core driver transmitter buffer is empty
Description
UART4 Driver Transfer Flags
This type specifies the status of the receive or transmit operation.
Remarks
More than one of these values may be OR'd together to create a complete status value. To test a value of this type, the bit of
interest must be AND'ed with value and checked to see if the result is non-zero.
1.2.3.3 Initialization and Setup Functions
Functions
Name Description
DRV_UART1_InitializerDefault Initializes the UART instance : 1
DRV_UART1_TasksError Maintains the driver's error-handling state machine in a polled manner.
DRV_UART1_TasksRX Maintains the driver's receiver state machine in a polled manner.
DRV_UART1_TasksTX Maintains the driver's transmitter state machine in a polled manner
DRV_UART2_InitializerDefault Initializes the UART instance : 2
DRV_UART2_TasksError Maintains the driver's error-handling state machine in a polled manner.
DRV_UART2_TasksRX Maintains the driver's receiver state machine in a polled manner.
DRV_UART2_TasksTX Maintains the driver's transmitter state machine in a polled manner
DRV_UART3_InitializerDefault Initializes the UART instance : 3
DRV_UART3_TasksError Maintains the driver's error-handling state machine in a polled manner.
DRV_UART3_TasksRX Maintains the driver's receiver state machine in a polled manner.
DRV_UART3_TasksTX Maintains the driver's transmitter state machine in a polled manner
DRV_UART4_InitializerDefault Initializes the UART instance : 4
DRV_UART4_TasksError Maintains the driver's error-handling state machine in a polled manner.
DRV_UART4_TasksRX Maintains the driver's receiver state machine in a polled manner.
DRV_UART4_TasksTX Maintains the driver's transmitter state machine in a polled manner
1.2 UART Driver MLA - Drivers Help Driver Interface
44
Protego_Release_01_05-Related-OEM-Documentation-MLA_v2013_12_20-help_mla_driver.pdf