|
STM32F479xx HAL User Manual
|
PCDEx control functions. More...
Functions | |
| HAL_StatusTypeDef | HAL_PCDEx_SetTxFiFo (PCD_HandleTypeDef *hpcd, uint8_t fifo, uint16_t size) |
| Set Tx FIFO. | |
| HAL_StatusTypeDef | HAL_PCDEx_SetRxFiFo (PCD_HandleTypeDef *hpcd, uint16_t size) |
| Set Rx FIFO. | |
| HAL_StatusTypeDef | HAL_PCDEx_ActivateLPM (PCD_HandleTypeDef *hpcd) |
| Activate LPM feature. | |
| HAL_StatusTypeDef | HAL_PCDEx_DeActivateLPM (PCD_HandleTypeDef *hpcd) |
| Deactivate LPM feature. | |
| __weak void | HAL_PCDEx_LPM_Callback (PCD_HandleTypeDef *hpcd, PCD_LPM_MsgTypeDef msg) |
| Send LPM message to user layer callback. | |
| __weak void | HAL_PCDEx_BCD_Callback (PCD_HandleTypeDef *hpcd, PCD_BCD_MsgTypeDef msg) |
| Send BatteryCharging message to user layer callback. | |
PCDEx control functions.
===============================================================================
##### Extended features functions #####
===============================================================================
[..] This section provides functions allowing to:
(+) Update FIFO configuration
| HAL_StatusTypeDef HAL_PCDEx_ActivateLPM | ( | PCD_HandleTypeDef * | hpcd | ) |
Activate LPM feature.
| hpcd | PCD handle |
| HAL | status |
Definition at line 124 of file stm32f4xx_hal_pcd_ex.c.
References __PCD_HandleTypeDef::Instance, __PCD_HandleTypeDef::lpm_active, LPM_L0, and __PCD_HandleTypeDef::LPM_State.
Referenced by HAL_PCD_Init().
| void HAL_PCDEx_BCD_Callback | ( | PCD_HandleTypeDef * | hpcd, |
| PCD_BCD_MsgTypeDef | msg | ||
| ) |
Send BatteryCharging message to user layer callback.
| hpcd | PCD handle |
| msg | LPM message |
| HAL | status |
Definition at line 318 of file stm32f4xx_hal_pcd_ex.c.
Referenced by HAL_PCD_Init(), and HAL_PCD_UnRegisterBcdCallback().
| HAL_StatusTypeDef HAL_PCDEx_DeActivateLPM | ( | PCD_HandleTypeDef * | hpcd | ) |
Deactivate LPM feature.
| hpcd | PCD handle |
| HAL | status |
Definition at line 141 of file stm32f4xx_hal_pcd_ex.c.
References __PCD_HandleTypeDef::Instance, and __PCD_HandleTypeDef::lpm_active.
| void HAL_PCDEx_LPM_Callback | ( | PCD_HandleTypeDef * | hpcd, |
| PCD_LPM_MsgTypeDef | msg | ||
| ) |
Send LPM message to user layer callback.
| hpcd | PCD handle |
| msg | LPM message |
| HAL | status |
Definition at line 301 of file stm32f4xx_hal_pcd_ex.c.
Referenced by HAL_PCD_Init(), HAL_PCD_IRQHandler(), and HAL_PCD_UnRegisterLpmCallback().
| HAL_StatusTypeDef HAL_PCDEx_SetRxFiFo | ( | PCD_HandleTypeDef * | hpcd, |
| uint16_t | size | ||
| ) |
Set Rx FIFO.
| hpcd | PCD handle |
| size | Size of Rx fifo |
| HAL | status |
Definition at line 112 of file stm32f4xx_hal_pcd_ex.c.
References __PCD_HandleTypeDef::Instance.
| HAL_StatusTypeDef HAL_PCDEx_SetTxFiFo | ( | PCD_HandleTypeDef * | hpcd, |
| uint8_t | fifo, | ||
| uint16_t | size | ||
| ) |
Set Tx FIFO.
| hpcd | PCD handle |
| fifo | The number of Tx fifo |
| size | Fifo size |
| HAL | status |
Definition at line 70 of file stm32f4xx_hal_pcd_ex.c.
References __PCD_HandleTypeDef::Instance.
1.7.6.1