![]() |
CMSIS-Driver Validation
Version 1.0
Driver Validation
|
USART test cases. More...
Functions | |
void | USART_GetCapabilities (void) |
Test case: USART_GetCapabilities. | |
void | USART_Initialization (void) |
Test case: USART_Initialization. | |
void | USART_CheckInvalidInit (void) |
Test case: USART_CheckInvalidInit. | |
void | USART_PowerControl (void) |
Test case: USART_PowerControl. | |
void | USART_Config_PolarityPhase (void) |
Test case: USART_Config_PolarityPhase. | |
void | USART_Config_DataBits (void) |
Test case: USART_Config_DataBits. | |
void | USART_Config_StopBits (void) |
Test case: USART_Config_StopBits. | |
void | USART_Config_Parity (void) |
Test case: USART_Config_Parity. | |
void | USART_Config_Baudrate (void) |
Test case: USART_Config_Baudrate. | |
void | USART_Loopback_CheckBaudrate (void) |
Test case: USART_Config_Baudrate. | |
void | USART_Config_CommonParams (void) |
Test case: USART_Config_CommonParams. | |
void | USART_Send (void) |
Test case: USART_Send. | |
void | USART_AsynchronousReceive (void) |
Test case: USART_AsynchronousReceive. | |
void | USART_Loopback_Transfer (void) |
Test case: USART_Loopback_Transfer. | |
The USART validation test performs the following checks:
To perform loopback communication tests, it is required to connect the USART's TX signal to the RX signal (refer to the schematics of your target hardware for detailed pinout information).
void USART_AsynchronousReceive | ( | void | ) |
The test case USART_AsynchronousReceive verifies the Receive function with the sequence:
void USART_CheckInvalidInit | ( | void | ) |
The test case USART_CheckInvalidInit verifies the driver behaviour when receiving an invalid initialization sequence:
void USART_Config_Baudrate | ( | void | ) |
The test case USART_Config_Baudrate verifies the Control function and configures various baudrates.
void USART_Config_CommonParams | ( | void | ) |
The test case USART_Config_CommonParams verifies the Control function with the sequence:
void USART_Config_DataBits | ( | void | ) |
The test case USART_Config_DataBits verifies the Control function with the sequence:
void USART_Config_Parity | ( | void | ) |
The test case USART_Config_Parity verifies the Control function and sets parity bits with the sequence:
void USART_Config_PolarityPhase | ( | void | ) |
The test case USART_Config_PolarityPhase verifies the Control function with the sequence:
void USART_Config_StopBits | ( | void | ) |
The test case USART_Config_StopBits verifies the Control function with the sequence:
void USART_GetCapabilities | ( | void | ) |
The test case USART_GetCapabilities verifies the function GetCapabilities.
void USART_Initialization | ( | void | ) |
The test case USART_Initialization verifies the USART functions with the sequence:
void USART_Loopback_CheckBaudrate | ( | void | ) |
The test case USART_Config_Baudrate verifies the Control function and configures various baudrates and measures the transfer time.
void USART_Loopback_Transfer | ( | void | ) |
The test case USART_Loopback_Transfer verifies the Transfer function with the sequence:
void USART_PowerControl | ( | void | ) |
The test case USART_PowerControl verifies the PowerControl function with the sequence:
void USART_Send | ( | void | ) |
The test case USART_Send verifies the Send function with the sequence: