Vault 7: Projects
This publication series is about specific projects related to the Vault 7 main publication.
Example
while(!(DRV_UART3_Status() & DRV_UART3_TX_COMPLETE ))
{
// Wait for the tranmission to complete
}
Function
DRV_UART3_STATUS DRV_UART3_Status (void)
1.2.3.4.16 DRV_UART3_TransferStatus Function
Returns the transmitter and receiver transfer status
File
drv_uart3.h
Syntax
DRV_UART3_TRANSFER_STATUS DRV_UART3_TransferStatus();
Returns
A DRV_UART3_TRANSFER_STATUS value describing the current status of the transfer.
Description
This returns the transmitter and receiver transfer status.
Remarks
The returned status may contain a value with more than one of the bits specified in the DRV_UART3_TRANSFER_STATUS
enumeration set. The caller should perform an "AND" with the bit of interest and verify if the result is non-zero (as shown in
the example) to verify the desired status bit.
Preconditions
DRV_UART3_InitializerDefault function should have been called before calling this function
Example
Refer to DRV_UART3_Read and DRV_UART3_Write for example
Function
DRV_UART3_TRANSFER_STATUS DRV_UART3_TransferStatus (void)
1.2.3.4.17 DRV_UART3_TXBufferIsFull Function
Returns the status of the transmit buffer
File
drv_uart3.h
Syntax
bool DRV_UART3_TXBufferIsFull();
Returns
True if the transmit buffer is full False if the transmit buffer is not full
Description
This routine returns if the transmit buffer is full or not.
Example
Refer to DRV_UART3_InitializerDefault() for example.
1.2 UART Driver MLA - Drivers Help Driver Interface
63
Protego_Release_01_05-Related-OEM-Documentation-MLA_v2013_12_20-help_mla_driver.pdf