|
STM32F4xx HAL Documentation
Hardware Abstraction Layer for STM32F4 familiy
|
Peripheral State functions. More...
Functions | |
| PCD_StateTypeDef | HAL_PCD_GetState (PCD_HandleTypeDef const *hpcd) |
| Return the PCD handle state. | |
| HAL_StatusTypeDef | HAL_PCD_SetTestMode (const PCD_HandleTypeDef *hpcd, uint8_t testmode) |
| Set the USB Device high speed test mode. | |
Peripheral State functions.
===============================================================================
##### Peripheral State functions #####
===============================================================================
[..]
This subsection permits to get in run-time the status of the peripheral
and the data flow.| PCD_StateTypeDef HAL_PCD_GetState | ( | PCD_HandleTypeDef const * | hpcd | ) |
#include <stm32f4xx_hal_pcd.h>
Return the PCD handle state.
| hpcd | PCD handle |
| HAL | state |
Definition at line 2128 of file stm32f4xx_hal_pcd.c.
References PCD_HandleTypeDef::State.
| HAL_StatusTypeDef HAL_PCD_SetTestMode | ( | const PCD_HandleTypeDef * | hpcd, |
| uint8_t | testmode ) |
#include <stm32f4xx_hal_pcd.c>
Set the USB Device high speed test mode.
| hpcd | PCD handle |
| testmode | USB Device high speed test mode |
| HAL | status |
Definition at line 2140 of file stm32f4xx_hal_pcd.c.
References HAL_OK, and PCD_HandleTypeDef::Instance.