CMSIS-Driver Validation  
Driver Validation
 All Files Functions Variables Macros Groups Pages
Event

Functions

void USART_Tx_Underflow (void)
 Function: Function USART_Tx_Underflow. More...
 
void USART_Rx_Overflow (void)
 Function: Function USART_Rx_Overflow. More...
 
void USART_Rx_Timeout (void)
 Function: Function USART_Rx_Timeout. More...
 
void USART_Rx_Break (void)
 Function: Function USART_Rx_Break. More...
 
void USART_Rx_Framing_Error (void)
 Function: Function USART_Rx_Framing_Error. More...
 
void USART_Rx_Parity_Error (void)
 Function: Function USART_Rx_Parity_Error. More...
 
void USART_Event_CTS (void)
 Function: Function USART_Event_CTS. More...
 
void USART_Event_DSR (void)
 Function: Function USART_Event_DSR. More...
 
void USART_Event_DCD (void)
 Function: Function USART_Event_DCD. More...
 
void USART_Event_RI (void)
 Function: Function USART_Event_RI. More...
 

Description

These tests verify API and operation of the USART event signaling, except ARM_USART_EVENT_SEND_COMPLETE, ARM_USART_EVENT_RECEIVE_COMPLETE, ARM_USART_EVENT_TRANSFER_COMPLETE and ARM_USART_EVENT_TX_COMPLETE signals which is tested in the Data Exchange tests.

The event tests verify the following driver function (USART Driver function documentation):

Note
In Test Mode Loopback these tests are skipped

Function Documentation

void USART_Tx_Underflow ( void  )

The function USART_Tx_Underflow verifies signaling of the ARM_USART_EVENT_TX_UNDERFLOW event:

  • in default mode
  • with default data bits
  • with default parity
  • with default stop bits
  • with default flow control
  • at default baudrate

it also checks that status tx_underflow flag was activated.

Note
If Tests Default Mode Asynchronous/Synchronous Master/Single-wire/IrDA is selected this test is not executed
void USART_Rx_Overflow ( void  )

The function USART_Rx_Overflow verifies signaling of the ARM_USART_EVENT_RX_OVERFLOW event:

  • in default mode
  • with default data bits
  • with default parity
  • with default stop bits
  • with default flow control
  • at default baudrate

it also checks that status rx_overflow flag was activated.

Note
If Tests Default Mode Synchronous Master is selected this test is not executed
void USART_Rx_Timeout ( void  )

The function USART_Rx_Timeout verifies signaling of the ARM_USART_EVENT_RX_TIMEOUT event:

  • in default mode
  • with default data bits
  • with default parity
  • with default stop bits
  • with default flow control
  • at default baudrate
Note
If Tests Default Mode Synchronous Master/Slave is selected this test is not executed
void USART_Rx_Break ( void  )

The function USART_Rx_Break verifies signaling of the ARM_USART_EVENT_RX_BREAK event:

  • in default mode
  • with default data bits
  • with default parity
  • with default stop bits
  • with default flow control
  • at default baudrate

it also checks that status rx_break flag was activated.

Note
If Tests Default Mode Synchronous Master/Slave is selected this test is not executed
void USART_Rx_Framing_Error ( void  )

The function USART_Rx_Framing_Error verifies signaling of the ARM_USART_EVENT_RX_FRAMING_ERROR event:

  • in default mode
  • with default data bits
  • with default parity
  • with default stop bits
  • with default flow control
  • at default baudrate

it also checks that status rx_framing_error flag was activated.

Note
If Tests Default Mode Synchronous Master/Slave is selected this test is not executed
void USART_Rx_Parity_Error ( void  )

The function USART_Rx_Parity_Error verifies signaling of the ARM_USART_EVENT_RX_PARITY_ERROR event:

  • in default mode
  • with default data bits
  • with default parity
  • with default stop bits
  • with default flow control
  • at default baudrate

it also checks that status rx_parity_error flag was activated.

Note
If Tests Default Mode Synchronous Master/Slave is selected this test is not executed
void USART_Event_CTS ( void  )

The function USART_Event_CTS verifies signaling of the ARM_USART_EVENT_CTS event:

  • in default mode
  • with default data bits
  • with default parity
  • with default stop bits
  • with no flow control
  • at default baudrate
Note
If Tests Default Mode Synchronous Master/Slave or Single-wire is selected this test is not executed
void USART_Event_DSR ( void  )

The function USART_Event_DSR verifies signaling of the ARM_USART_EVENT_DSR event:

  • in default mode
  • with default data bits
  • with default parity
  • with default stop bits
  • with no flow control
  • at default baudrate
Note
If Tests Default Mode Synchronous Master/Slave or Single-wire is selected this test is not executed
void USART_Event_DCD ( void  )

The function USART_Event_DCD verifies signaling of the ARM_USART_EVENT_DCD event:

  • in default mode
  • with default data bits
  • with default parity
  • with default stop bits
  • with no flow control
  • at default baudrate
Note
If Tests Default Mode Synchronous Master/Slave or Single-wire is selected this test is not executed
void USART_Event_RI ( void  )

The function USART_Event_RI verifies signaling of the ARM_USART_EVENT_RI event:

  • in default mode
  • with default data bits
  • with default parity
  • with default stop bits
  • with no flow control
  • at default baudrate
Note
If Tests Default Mode Synchronous Master/Slave or Single-wire is selected this test is not executed