Vault 7: Projects

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

{
DRV_UART4_WriteByte(handle, myBuffer[numBytes++]);
}
// Do something else...
}
Parameters
Parameters Description
byte Data byte to write to the UART4
Function
void DRV_UART4_WriteByte( const uint8_t byte)
1.2.3.2 Data Types and Constants
Enumerations
Name Description
DRV_UART1_STATUS Specifies the status of the hardware receive or transmit
DRV_UART1_TRANSFER_STATUS Specifies the status of the receive or transmit
DRV_UART2_STATUS Specifies the status of the hardware receive or transmit
DRV_UART2_TRANSFER_STATUS Specifies the status of the receive or transmit
DRV_UART3_STATUS Specifies the status of the hardware receive or transmit
DRV_UART3_TRANSFER_STATUS Specifies the status of the receive or transmit
DRV_UART4_STATUS Specifies the status of the hardware receive or transmit
DRV_UART4_TRANSFER_STATUS Specifies the status of the receive or transmit
Description
1.2.3.2.1 DRV_UART1_STATUS Enumeration
Specifies the status of the hardware receive or transmit
File
drv_uart1.h
Syntax
typedef enum {
DRV_UART1_RX_DATA_AVAILABLE,
DRV_UART1_RX_OVERRUN_ERROR,
DRV_UART1_FRAMING_ERROR,
DRV_UART1_PARITY_ERROR,
DRV_UART1_RECEIVER_IDLE,
DRV_UART1_TX_COMPLETE,
DRV_UART1_TX_FULL
} DRV_UART1_STATUS;
Members
Members Description
DRV_UART1_RX_DATA_AVAILABLE Indicates that Receive buffer has data, at least one more
character can be read
DRV_UART1_RX_OVERRUN_ERROR Indicates that Receive buffer has overflowed
DRV_UART1_FRAMING_ERROR Indicates that Framing error has been detected for the
current character
1.2 UART Driver MLA - Drivers Help Driver Interface
39

e-Highlighter

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

Un-highlight all Un-highlight selectionu Highlight selectionh