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

Functions

void USBD_GetCapabilities (void)
 Function: USBD_GetCapabilities. More...
 
void USBD_Initialization (void)
 Function: USBD_Initialization. More...
 
void USBD_CheckInvalidInit (void)
 Function: USBD_CheckInvalidInit. More...
 
void USBD_PowerControl (void)
 Function: USBD_PowerControl. More...
 

Description

Function Documentation

void USBD_GetCapabilities ( void  )

The test function USBD_GetCapabilities verifies the function GetCapabilities.

void USBD_Initialization ( void  )

The test function USBD_Initialization verifies the USBD functions with the sequence:

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

The test function USBD_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 USBD_PowerControl ( void  )

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

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