Vault 7: Projects
This publication series is about specific projects related to the Vault 7 main publication.
numBytes += DRV_UART2_Read ( readBuffer + numBytes , readbufferLen ) ;
DRV_UART2_TasksRX ( );
status = DRV_UART2_TransferStatus ( ) ;
if (status & DRV_UART2_TRANSFER_STATUS_RX_FULL)
{
//continue other operation
}
}
Function
void DRV_UART2_TasksRX ( void );
1.2.3.3.8 DRV_UART2_TasksTX Function
Maintains the driver's transmitter state machine in a polled manner
File
drv_uart2.h
Syntax
void DRV_UART2_TasksTX();
Returns
None.
Description
This routine is used to maintain the driver's internal transmitter state machine.This routine is called when the state of the
transmitter needs to be maintained in a polled manner.
Preconditions
DRV_UART2_InitializerDefault function should have been called before calling this function in a polled loop.
Example
Refer to DRV_UART2_InitializerDefault() for an example
Function
void DRV_UART2_TasksTX ( void );
1.2.3.3.9 DRV_UART3_InitializerDefault Function
Initializes the UART instance : 3
File
drv_uart3.h
Syntax
void DRV_UART3_InitializerDefault();
Returns
None.
Description
This routine initializes the UART driver instance for : 3 index, making it ready for clients to open and use it.
Remarks
This routine must be called before any other UART routine is called.
1.2 UART Driver MLA - Drivers Help Driver Interface
49
Protego_Release_01_05-Related-OEM-Documentation-MLA_v2013_12_20-help_mla_driver.pdf