Functions | |
| HAL_StatusTypeDef | HAL_PCDEx_PMAConfig (PCD_HandleTypeDef *hpcd, uint16_t ep_addr, void *dma_config) |
| HAL_StatusTypeDef | HAL_PCD_TestMode (PCD_HandleTypeDef *hpcd, uint16_t tm, uint8_t *data, uint8_t len) |
| Set test mode. More... | |
| HAL_StatusTypeDef HAL_PCD_TestMode | ( | PCD_HandleTypeDef * | hpcd, |
| uint16_t | tm, | ||
| uint8_t * | data, | ||
| uint8_t | len | ||
| ) |
Set test mode.
| hpcd | PCD handle |
| tm | test mode see USB 2.0 spec, section 9.4.9 wIndex |
| data | used in TEST_PACKET |
| len | length of data |
| HAL | status |