![]() |
CMSIS-Driver Validation
Version 1.0
Driver Validation
|
Ethernet test cases. More...
Functions | |
void | ETH_MAC_GetCapabilities (void) |
Test case: ETH_MAC_GetCapabilities. | |
void | ETH_MAC_Initialization (void) |
Test case: ETH_MAC_Initialization. | |
void | ETH_MAC_CheckInvalidInit (void) |
Test case: ETH_MAC_CheckInvalidInit. | |
void | ETH_MAC_PowerControl (void) |
Test case: ETH_MAC_PowerControl. | |
void | ETH_MAC_SetBusSpeed (void) |
Test case: ETH_MAC_SetBusSpeed. | |
void | ETH_MAC_Config_Mode (void) |
Test case: ETH_MAC_Config_Mode. | |
void | ETH_MAC_Config_CommonParams (void) |
Test case: ETH_MAC_Config_CommonParams. | |
void | ETH_PHY_Initialization (void) |
Test case: ETH_PHY_Initialization. | |
void | ETH_PHY_CheckInvalidInit (void) |
Test case: ETH_PHY_CheckInvalidInit. | |
void | ETH_PHY_PowerControl (void) |
Test case: ETH_PHY_PowerControl. | |
void | ETH_PHY_Config (void) |
Test case: ETH_PHY_Config. | |
void | ETH_Loopback_Transfer (void) |
Test case: ETH_Loopback_Transfer. | |
The Ethernet validation test performs the following checks:
To perform loopback communication tests, it is required to connect the RX and TX lines of the Ethernet cable together:
Various Ethernet loopback plugs are available from different vendors that fulfill this purpose.
void ETH_Loopback_Transfer | ( | void | ) |
The test case ETH_Loopback_Transfer verifies data transfer via Ehernet with the following sequence:
void ETH_MAC_CheckInvalidInit | ( | void | ) |
The test case ETH_MAC_CheckInvalidInit verifies the driver behaviour when receiving an invalid initialization sequence:
void ETH_MAC_Config_CommonParams | ( | void | ) |
The test case ETH_MAC_Config_CommonParams verifies the Ethernet MAC Control function with the sequence:
void ETH_MAC_Config_Mode | ( | void | ) |
The test case ETH_MAC_Config_Mode verifies the Ethernet MAC Control function with the sequence:
void ETH_MAC_GetCapabilities | ( | void | ) |
The test case ETH_MAC_GetCapabilities verifies the Ethernet MAC function GetCapabilities.
void ETH_MAC_Initialization | ( | void | ) |
The test case ETH_MAC_Initialization verifies the Ethernet MAC functions in the following order:
void ETH_MAC_PowerControl | ( | void | ) |
The test case ETH_MAC_PowerControl verifies the Ethernet MAC PowerControl function with the sequence:
void ETH_MAC_SetBusSpeed | ( | void | ) |
The test case ETH_MAC_SetBusSpeed verifies the Ethernet MAC Control function with the sequence:
void ETH_PHY_CheckInvalidInit | ( | void | ) |
The test case ETH_PHY_CheckInvalidInit verifies the driver behaviour when receiving an invalid initialization sequence:
void ETH_PHY_Config | ( | void | ) |
The test case ETH_PHY_Config verifies the PHY functions
void ETH_PHY_Initialization | ( | void | ) |
The test case ETH_PHY_Initialization verifies the Ethernet PHY functions in the following order:
void ETH_PHY_PowerControl | ( | void | ) |
The test case ETH_PHY_PowerControl verifies the Ethernet PHY PowerControl function with the sequence: