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

Functions

void USBH_GetCapabilities (void)
 Function: USBH_GetCapabilities. More...
 
void USBH_Initialization (void)
 Function: USBH_Initialization. More...
 
void USBH_CheckInvalidInit (void)
 Function: USBH_CheckInvalidInit. More...
 
void USBH_PowerControl (void)
 Function: USBH_PowerControl. More...
 

Description

Function Documentation

void USBH_GetCapabilities ( void  )

The test function USBH_GetCapabilities verifies the function GetCapabilities.

void USBH_Initialization ( void  )

The test function USBH_Initialization verifies the USBH functions with the sequence:

  • Initialize without callback
  • Uninitialize
  • Initialize with callback
  • Uninitialize
void USBH_CheckInvalidInit ( void  )

The test function USBH_CheckInvalidInit verifies the driver behaviour when receiving an invalid initialization sequence:

  • Uninitialize
  • PowerControl with Power off
  • PowerControl with Power on
  • PowerControl with Power off
  • Uninitialize
void USBH_PowerControl ( void  )

The test function USBH_PowerControl verifies the PowerControl function with the sequence:

  • Initialize
  • Power on
  • Power low
  • Power off
  • Uninitialize