Vault 7: Projects
This publication series is about specific projects related to the Vault 7 main publication.
{
break;
}
}
else
{
continue;
}
// Do something else...
}
Function
bool DRV_UART4_RXBufferIsEmpty (void)
1.2.3.4.20 DRV_UART4_RXBufferSizeGet Function
Returns the size of the receive buffer
File
drv_uart4.h
Syntax
unsigned int DRV_UART4_RXBufferSizeGet();
Returns
Size of receive buffer.
Description
This routine returns the size of the receive buffer.
Example
const uint8_t readBuffer[5];
unsigned int size, numBytes = 0;
unsigned int readbufferLen = sizeof(readBuffer);
DRV_UART4__InitializerDefault();
while(size < readbufferLen)
{
DRV_UART4_TasksRX ( );
size = DRV_UART4_RXBufferSizeGet();
}
numBytes = DRV_UART4_Read ( readBuffer , readbufferLen ) ;
Function
unsigned int DRV_UART4_RXBufferSizeGet (void)
1.2.3.4.21 DRV_UART4_Status Function
Returns the transmitter and receiver status
File
drv_uart4.h
Syntax
DRV_UART4_STATUS DRV_UART4_Status();
Returns
A DRV_UART4_STATUS value describing the current status of the transfer.
Description
This returns the transmitter and receiver status.
1.2 UART Driver MLA - Drivers Help Driver Interface
65
Protego_Release_01_05-Related-OEM-Documentation-MLA_v2013_12_20-help_mla_driver.pdf