STM32F4xx HAL Documentation
Hardware Abstraction Layer for STM32F4 familiy
|
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. | |
void | HAL_PCDEx_LPM_Callback (PCD_HandleTypeDef *hpcd, PCD_LPM_MsgTypeDef msg) |
Send LPM message to user layer callback. | |
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_SetTxFiFo | ( | PCD_HandleTypeDef * | hpcd, |
uint8_t | fifo, | ||
uint16_t | size ) |
#include <stm32f4xx_hal_pcd_ex.h>
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 HAL_OK, and PCD_HandleTypeDef::Instance.
HAL_StatusTypeDef HAL_PCDEx_SetRxFiFo | ( | PCD_HandleTypeDef * | hpcd, |
uint16_t | size ) |
#include <stm32f4xx_hal_pcd_ex.h>
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 HAL_OK, and PCD_HandleTypeDef::Instance.
HAL_StatusTypeDef HAL_PCDEx_ActivateLPM | ( | PCD_HandleTypeDef * | hpcd | ) |
#include <stm32f4xx_hal_pcd_ex.h>
Activate LPM feature.
hpcd | PCD handle |
HAL | status |
Definition at line 126 of file stm32f4xx_hal_pcd_ex.c.
References HAL_OK, PCD_HandleTypeDef::Instance, PCD_HandleTypeDef::lpm_active, LPM_L0, and PCD_HandleTypeDef::LPM_State.
Referenced by HAL_PCD_Init().
HAL_StatusTypeDef HAL_PCDEx_DeActivateLPM | ( | PCD_HandleTypeDef * | hpcd | ) |
#include <stm32f4xx_hal_pcd_ex.h>
Deactivate LPM feature.
hpcd | PCD handle |
HAL | status |
Definition at line 143 of file stm32f4xx_hal_pcd_ex.c.
References HAL_OK, PCD_HandleTypeDef::Instance, and PCD_HandleTypeDef::lpm_active.
__weak void HAL_PCDEx_LPM_Callback | ( | PCD_HandleTypeDef * | hpcd, |
PCD_LPM_MsgTypeDef | msg ) |
#include <stm32f4xx_hal_pcd_ex.h>
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.
References UNUSED.
Referenced by HAL_PCD_Init(), and HAL_PCD_IRQHandler().
__weak void HAL_PCDEx_BCD_Callback | ( | PCD_HandleTypeDef * | hpcd, |
PCD_BCD_MsgTypeDef | msg ) |
#include <stm32f4xx_hal_pcd_ex.h>
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.
References UNUSED.
Referenced by HAL_PCD_Init().