# Vault 7: Projects

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

### Protego

# MLA -- Drivers

20 December, 2013

- 1
- 2
…
- 38
- 39
- 40
- 41
- 42
…
- 82
- 83

DRV_UART1_PARITY_ERROR Indicates that Parity error has been detected for the current
character
DRV_UART1_RECEIVER_IDLE Indicates that Receiver is Idle
DRV_UART1_TX_COMPLETE Indicates that the last transmission has completed
DRV_UART1_TX_FULL Indicates that Transmit buffer is full
Description
UART1 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.2 DRV_UART1_TRANSFER_STATUS Enumeration
Specifies the status of the receive or transmit
File
drv_uart1.h
Syntax
typedef enum {
DRV_UART1_TRANSFER_STATUS_RX_FULL,
DRV_UART1_TRANSFER_STATUS_RX_DATA_PRESENT,
DRV_UART1_TRANSFER_STATUS_RX_EMPTY,
DRV_UART1_TRANSFER_STATUS_TX_FULL,
DRV_UART1_TRANSFER_STATUS_TX_EMPTY
} DRV_UART1_TRANSFER_STATUS;
Members
Members Description
DRV_UART1_TRANSFER_STATUS_RX_FULL Indicates that the core driver buffer is full
DRV_UART1_TRANSFER_STATUS_RX_DATA_PRESENT Indicates that at least one byte of Data has been received
DRV_UART1_TRANSFER_STATUS_RX_EMPTY Indicates that the core driver receiver buffer is empty
DRV_UART1_TRANSFER_STATUS_TX_FULL Indicates that the core driver transmitter buffer is full
DRV_UART1_TRANSFER_STATUS_TX_EMPTY Indicates that the core driver transmitter buffer is empty
Description
UART1 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.2.3 DRV_UART2_STATUS Enumeration
Specifies the status of the hardware receive or transmit
File
drv_uart2.h
Syntax
typedef enum {
DRV_UART2_RX_DATA_AVAILABLE,
1.2 UART Driver MLA - Drivers Help Driver Interface
40

- 1
- 2
…
- 38
- 39
- 40
- 41
- 42
…
- 82
- 83