STM32F4xx HAL Documentation
Hardware Abstraction Layer for STM32F4 familiy
|
Initialization and Configuration functions. More...
Functions | |
HAL_StatusTypeDef | HAL_PCD_Init (PCD_HandleTypeDef *hpcd) |
Initializes the PCD according to the specified parameters in the PCD_InitTypeDef and initialize the associated handle. | |
HAL_StatusTypeDef | HAL_PCD_DeInit (PCD_HandleTypeDef *hpcd) |
DeInitializes the PCD peripheral. | |
void | HAL_PCD_MspInit (PCD_HandleTypeDef *hpcd) |
Initializes the PCD MSP. | |
void | HAL_PCD_MspDeInit (PCD_HandleTypeDef *hpcd) |
DeInitializes PCD MSP. | |
Initialization and Configuration functions.
=============================================================================== ##### Initialization and de-initialization functions ##### =============================================================================== [..] This section provides functions allowing to:
HAL_StatusTypeDef HAL_PCD_Init | ( | PCD_HandleTypeDef * | hpcd | ) |
#include <stm32f4xx_hal_pcd.h>
Initializes the PCD according to the specified parameters in the PCD_InitTypeDef and initialize the associated handle.
hpcd | PCD handle |
HAL | status |
Definition at line 123 of file stm32f4xx_hal_pcd.c.
References __HAL_PCD_DISABLE, assert_param, HAL_ERROR, HAL_OK, HAL_PCD_ConnectCallback(), HAL_PCD_DataInStageCallback(), HAL_PCD_DataOutStageCallback(), HAL_PCD_DisconnectCallback(), HAL_PCD_ISOINIncompleteCallback(), HAL_PCD_ISOOUTIncompleteCallback(), HAL_PCD_MspInit(), HAL_PCD_ResetCallback(), HAL_PCD_ResumeCallback(), HAL_PCD_SetupStageCallback(), HAL_PCD_SOFCallback(), HAL_PCD_STATE_BUSY, HAL_PCD_STATE_ERROR, HAL_PCD_STATE_READY, HAL_PCD_STATE_RESET, HAL_PCD_SuspendCallback(), HAL_PCDEx_ActivateLPM(), HAL_PCDEx_BCD_Callback(), HAL_PCDEx_LPM_Callback(), HAL_UNLOCKED, PCD_HandleTypeDef::IN_ep, PCD_HandleTypeDef::Init, PCD_HandleTypeDef::Instance, PCD_HandleTypeDef::Lock, PCD_HandleTypeDef::OUT_ep, PCD_HandleTypeDef::State, and PCD_HandleTypeDef::USB_Address.
HAL_StatusTypeDef HAL_PCD_DeInit | ( | PCD_HandleTypeDef * | hpcd | ) |
#include <stm32f4xx_hal_pcd.h>
DeInitializes the PCD peripheral.
hpcd | PCD handle |
HAL | status |
Definition at line 258 of file stm32f4xx_hal_pcd.c.
References HAL_ERROR, HAL_OK, HAL_PCD_MspDeInit(), HAL_PCD_STATE_BUSY, HAL_PCD_STATE_RESET, PCD_HandleTypeDef::Instance, and PCD_HandleTypeDef::State.
__weak void HAL_PCD_MspInit | ( | PCD_HandleTypeDef * | hpcd | ) |
#include <stm32f4xx_hal_pcd.h>
Initializes the PCD MSP.
hpcd | PCD handle |
None |
Definition at line 297 of file stm32f4xx_hal_pcd.c.
References UNUSED.
Referenced by HAL_PCD_Init().
__weak void HAL_PCD_MspDeInit | ( | PCD_HandleTypeDef * | hpcd | ) |
#include <stm32f4xx_hal_pcd.h>
DeInitializes PCD MSP.
hpcd | PCD handle |
None |
Definition at line 312 of file stm32f4xx_hal_pcd.c.
References UNUSED.
Referenced by HAL_PCD_DeInit().