STM32L4xx_HAL_Driver  1.14.0
stm32l4xx_hal_pcd_ex.c File Reference

PCD Extended HAL module driver. This file provides firmware functions to manage the following functionalities of the USB Peripheral Controller: More...

Go to the source code of this file.

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...
 
void HAL_PCDEx_BCD_VBUSDetect (PCD_HandleTypeDef *hpcd)
 Handle BatteryCharging Process. 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...
 
HAL_StatusTypeDef HAL_PCDEx_PMAConfig (PCD_HandleTypeDef *hpcd, uint16_t ep_addr, uint16_t ep_kind, uint32_t pmaadress)
 Configure PMA for EP. 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...
 

Detailed Description

PCD Extended HAL module driver. This file provides firmware functions to manage the following functionalities of the USB Peripheral Controller:

Author
MCD Application Team
  • Extended features functions
Attention

© Copyright (c) 2017 STMicroelectronics. All rights reserved.

This software component is licensed by ST under BSD 3-Clause license, the "License"; You may not use this file except in compliance with the License. You may obtain a copy of the License at: opensource.org/licenses/BSD-3-Clause

Definition in file stm32l4xx_hal_pcd_ex.c.