|
STM32F4xx_HAL_Driver
1.8.3
|
PCDEx control functions. More...
Collaboration diagram for Peripheral Control functions:Functions | |
| HAL_StatusTypeDef | HAL_PCDEx_SetTxFiFo (PCD_HandleTypeDef *hpcd, uint8_t fifo, uint16_t size) |
| Set Tx FIFO. More... | |
| HAL_StatusTypeDef | HAL_PCDEx_SetRxFiFo (PCD_HandleTypeDef *hpcd, uint16_t size) |
| Set Rx FIFO. More... | |
| HAL_StatusTypeDef | HAL_PCDEx_ActivateLPM (PCD_HandleTypeDef *hpcd) |
| Activate LPM feature. More... | |
| HAL_StatusTypeDef | HAL_PCDEx_DeActivateLPM (PCD_HandleTypeDef *hpcd) |
| Deactivate LPM feature. More... | |
| HAL_StatusTypeDef | HAL_PCDEx_ActivateBCD (PCD_HandleTypeDef *hpcd) |
| Activate BatteryCharging feature. More... | |
| HAL_StatusTypeDef | HAL_PCDEx_DeActivateBCD (PCD_HandleTypeDef *hpcd) |
| Deactivate BatteryCharging feature. More... | |
| void | HAL_PCDEx_BCD_VBUSDetect (PCD_HandleTypeDef *hpcd) |
| Handle BatteryCharging Process. More... | |
| void | HAL_PCDEx_LPM_Callback (PCD_HandleTypeDef *hpcd, PCD_LPM_MsgTypeDef msg) |
| Send LPM message to user layer callback. More... | |
| void | HAL_PCDEx_BCD_Callback (PCD_HandleTypeDef *hpcd, PCD_BCD_MsgTypeDef msg) |
| Send BatteryCharging message to user layer callback. More... | |
PCDEx control functions.
===============================================================================
##### Extended features functions #####
===============================================================================
[..] This section provides functions allowing to:
(+) Update FIFO configuration | HAL_StatusTypeDef HAL_PCDEx_ActivateBCD | ( | PCD_HandleTypeDef * | hpcd | ) |
Activate BatteryCharging feature.
| hpcd | PCD handle |
| HAL | status |
Definition at line 256 of file stm32f4xx_hal_pcd_ex.c.
| HAL_StatusTypeDef HAL_PCDEx_ActivateLPM | ( | PCD_HandleTypeDef * | hpcd | ) |
Activate LPM feature.
| hpcd | PCD handle |
| HAL | status |
Definition at line 126 of file stm32f4xx_hal_pcd_ex.c.
| __weak 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 320 of file stm32f4xx_hal_pcd_ex.c.
| void HAL_PCDEx_BCD_VBUSDetect | ( | PCD_HandleTypeDef * | hpcd | ) |
Handle BatteryCharging Process.
| hpcd | PCD handle |
| HAL | status |
Definition at line 163 of file stm32f4xx_hal_pcd_ex.c.
| HAL_StatusTypeDef HAL_PCDEx_DeActivateBCD | ( | PCD_HandleTypeDef * | hpcd | ) |
Deactivate BatteryCharging feature.
| hpcd | PCD handle |
| HAL | status |
Definition at line 279 of file stm32f4xx_hal_pcd_ex.c.
| HAL_StatusTypeDef HAL_PCDEx_DeActivateLPM | ( | PCD_HandleTypeDef * | hpcd | ) |
Deactivate LPM feature.
| hpcd | PCD handle |
| HAL | status |
Definition at line 143 of file stm32f4xx_hal_pcd_ex.c.
| __weak 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 303 of file stm32f4xx_hal_pcd_ex.c.
| 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.
| 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.