Vault 7: Projects

This publication series is about specific projects related to the Vault 7 main publication.

DRV_UART2_RX_OVERRUN_ERROR,
DRV_UART2_FRAMING_ERROR,
DRV_UART2_PARITY_ERROR,
DRV_UART2_RECEIVER_IDLE,
DRV_UART2_TX_COMPLETE,
DRV_UART2_TX_FULL
} DRV_UART2_STATUS;
Members
Members Description
DRV_UART2_RX_DATA_AVAILABLE Indicates that Receive buffer has data, at least one more
character can be read
DRV_UART2_RX_OVERRUN_ERROR Indicates that Receive buffer has overflowed
DRV_UART2_FRAMING_ERROR Indicates that Framing error has been detected for the
current character
DRV_UART2_PARITY_ERROR Indicates that Parity error has been detected for the current
character
DRV_UART2_RECEIVER_IDLE Indicates that Receiver is Idle
DRV_UART2_TX_COMPLETE Indicates that the last transmission has completed
DRV_UART2_TX_FULL Indicates that Transmit buffer is full
Description
UART2 Driver Hardware Flags
This type specifies the status of the hardware receive or transmit.
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.2.4 DRV_UART2_TRANSFER_STATUS Enumeration
Specifies the status of the receive or transmit
File
drv_uart2.h
Syntax
typedef enum {
DRV_UART2_TRANSFER_STATUS_RX_FULL,
DRV_UART2_TRANSFER_STATUS_RX_DATA_PRESENT,
DRV_UART2_TRANSFER_STATUS_RX_EMPTY,
DRV_UART2_TRANSFER_STATUS_TX_FULL,
DRV_UART2_TRANSFER_STATUS_TX_EMPTY
} DRV_UART2_TRANSFER_STATUS;
Members
Members Description
DRV_UART2_TRANSFER_STATUS_RX_FULL Indicates that the core driver buffer is full
DRV_UART2_TRANSFER_STATUS_RX_DATA_PRESENT Indicates that at least one byte of Data has been received
DRV_UART2_TRANSFER_STATUS_RX_EMPTY Indicates that the core driver receiver buffer is empty
DRV_UART2_TRANSFER_STATUS_TX_FULL Indicates that the core driver transmitter buffer is full
DRV_UART2_TRANSFER_STATUS_TX_EMPTY Indicates that the core driver transmitter buffer is empty
Description
UART2 Driver Transfer Flags
This type specifies the status of the receive or transmit operation.
1.2 UART Driver MLA - Drivers Help Driver Interface
41

e-Highlighter

Click to send permalink to address bar, or right-click to copy permalink.

Un-highlight all Un-highlight selectionu Highlight selectionh