Vault 7: Projects

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

Example :
// Pre-initialize myBuffer with MY_BUFFER_SIZE bytes of valid data.
DRV_UART1_WriteByte(myBuffer[numBytes++]);
// Do something else...
Receiver Functionality
Application using the UART receiver functionality, needs to perform the following:
1. The system should have completed necessary initialization
2. Read a byte using DRV_UART_ReadByte or a read a buffer using DRV_UART_Read
Example :
byte = DRV_UART_ReadByte();
1.2.2 Configuring the Driver
Macros
Name Description
DRV_UART1_CONFIG_8E1 Macro defines the line control mode to 8-E-1 configuration
DRV_UART1_CONFIG_8E2 Macro defines the line control mode to 8-E-2 configuration
DRV_UART1_CONFIG_8N1 Macro defines the line control mode to 8-N-1 configuration
DRV_UART1_CONFIG_8N2 Macro defines the line control mode to 8-N-2 configuration
DRV_UART1_CONFIG_8O1 Macro defines the line control mode to 8-O-1 configuration
DRV_UART1_CONFIG_8O2 Macro defines the line control mode to 8-O-2 configuration
DRV_UART1_CONFIG_9N1 Macro defines the line control mode to 9-N-1 configuration
DRV_UART1_CONFIG_9N2 Macro defines the line control mode to 9-N-2 configuration
DRV_UART1_CONFIG_BAUD_RATE Macro controls operation of the driver for Baud rate configuration
DRV_UART1_CONFIG_RX_BYTEQ_LENGTH Macro controls operation of the driver for defining the size of the RX buffer
DRV_UART1_CONFIG_TX_BYTEQ_LENGTH Macro controls operation of the driver for defining the size of the TX buffer
DRV_UART2_CONFIG_8E1 Macro defines the line control mode to 8-E-1 configuration
DRV_UART2_CONFIG_8E2 Macro defines the line control mode to 8-E-2 configuration
DRV_UART2_CONFIG_8N1 Macro defines the line control mode to 8-N-1 configuration
DRV_UART2_CONFIG_8N2 Macro defines the line control mode to 8-N-2 configuration
DRV_UART2_CONFIG_8O1 Macro defines the line control mode to 8-O-1 configuration
DRV_UART2_CONFIG_8O2 Macro defines the line control mode to 8-O-2 configuration
DRV_UART2_CONFIG_9N1 Macro defines the line control mode to 9-N-1 configuration
DRV_UART2_CONFIG_9N2 Macro defines the line control mode to 9-N-2 configuration
DRV_UART2_CONFIG_BAUD_RATE Macro controls operation of the driver for Baud rate configuration
DRV_UART2_CONFIG_RX_BYTEQ_LENGTH Macro controls operation of the driver for defining the size of the RX buffer
DRV_UART2_CONFIG_TX_BYTEQ_LENGTH Macro controls operation of the driver for defining the size of the TX buffer
DRV_UART3_CONFIG_8E1 Macro defines the line control mode to 8-E-1 configuration
DRV_UART3_CONFIG_8E2 Macro defines the line control mode to 8-E-2 configuration
DRV_UART3_CONFIG_8N1 Macro defines the line control mode to 8-N-1 configuration
DRV_UART3_CONFIG_8N2 Macro defines the line control mode to 8-N-2 configuration
DRV_UART3_CONFIG_8O1 Macro defines the line control mode to 8-O-1 configuration
DRV_UART3_CONFIG_8O2 Macro defines the line control mode to 8-O-2 configuration
DRV_UART3_CONFIG_9N1 Macro defines the line control mode to 9-N-1 configuration
DRV_UART3_CONFIG_9N2 Macro defines the line control mode to 9-N-2 configuration
1.2 UART Driver MLA - Drivers Help Configuring the Driver
10

e-Highlighter

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

Un-highlight all Un-highlight selectionu Highlight selectionh