Vault 7: Projects

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

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.5 DRV_UART3_STATUS Enumeration
Specifies the status of the hardware receive or transmit
File
drv_uart3.h
Syntax
typedef enum {
DRV_UART3_RX_DATA_AVAILABLE,
DRV_UART3_RX_OVERRUN_ERROR,
DRV_UART3_FRAMING_ERROR,
DRV_UART3_PARITY_ERROR,
DRV_UART3_RECEIVER_IDLE,
DRV_UART3_TX_COMPLETE,
DRV_UART3_TX_FULL
} DRV_UART3_STATUS;
Members
Members Description
DRV_UART3_RX_DATA_AVAILABLE Indicates that Receive buffer has data, at least one more
character can be read
DRV_UART3_RX_OVERRUN_ERROR Indicates that Receive buffer has overflowed
DRV_UART3_FRAMING_ERROR Indicates that Framing error has been detected for the
current character
DRV_UART3_PARITY_ERROR Indicates that Parity error has been detected for the current
character
DRV_UART3_RECEIVER_IDLE Indicates that Receiver is Idle
DRV_UART3_TX_COMPLETE Indicates that the last transmission has completed
DRV_UART3_TX_FULL Indicates that Transmit buffer is full
Description
UART3 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.6 DRV_UART3_TRANSFER_STATUS Enumeration
Specifies the status of the receive or transmit
File
drv_uart3.h
Syntax
typedef enum {
DRV_UART3_TRANSFER_STATUS_RX_FULL,
DRV_UART3_TRANSFER_STATUS_RX_DATA_PRESENT,
DRV_UART3_TRANSFER_STATUS_RX_EMPTY,
DRV_UART3_TRANSFER_STATUS_TX_FULL,
DRV_UART3_TRANSFER_STATUS_TX_EMPTY
1.2 UART Driver MLA - Drivers Help Driver Interface
42

e-Highlighter

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

Un-highlight all Un-highlight selectionu Highlight selectionh