HAL_PCD_EP_Open 
HAL_StatusTypeDef HAL_PCD_EP_Open 
(PCD_HandleTypeDef * hpcd, uint8_t ep_addr, uint16_t 
ep_mps, uint8_t ep_type) 
Open and configure an endpoint.  
  hpcd:  PCD handle 
  ep_addr:  endpoint address 
  ep_mps:  endpoint max packet size 
  ep_type:  endpoint type 
HAL_PCD_EP_Close 
HAL_StatusTypeDef HAL_PCD_EP_Close 
(PCD_HandleTypeDef * hpcd, uint8_t ep_addr) 
  hpcd:  PCD handle 
  ep_addr:  endpoint address 
HAL_PCD_EP_Receive 
HAL_StatusTypeDef HAL_PCD_EP_Receive 
(PCD_HandleTypeDef * hpcd, uint8_t ep_addr, uint8_t * pBuf, 
uint32_t len) 
Receive an amount of data.  
  hpcd:  PCD handle 
  ep_addr:  endpoint address 
  pBuf:  pointer to the reception buffer 
  len:  amount of data to be received 
HAL_PCD_EP_Transmit 
HAL_StatusTypeDef HAL_PCD_EP_Transmit 
(PCD_HandleTypeDef * hpcd, uint8_t ep_addr, uint8_t * pBuf, 
uint32_t len) 
  hpcd:  PCD handle 
  ep_addr:  endpoint address 
  pBuf:  pointer to the transmission buffer 
  len:  amount of data to be sent