Home
last modified time | relevance | path

Searched refs:pcd (Results 1 – 2 of 2) sorted by relevance

/Zephyr-Core-3.5.0/drivers/usb/device/
Dusb_dc_stm32.c163 PCD_HandleTypeDef pcd; /* Storage for the HAL_PCD api */ member
197 HAL_PCD_IRQHandler(&usb_dc_stm32_state.pcd); in usb_dc_stm32_isr()
337 usb_dc_stm32_state.pcd.Instance = USB; in usb_dc_stm32_init()
339 usb_dc_stm32_state.pcd.Instance = USB_DRD_FS; in usb_dc_stm32_init()
341 usb_dc_stm32_state.pcd.Init.speed = PCD_SPEED_FULL; in usb_dc_stm32_init()
342 usb_dc_stm32_state.pcd.Init.dev_endpoints = USB_NUM_BIDIR_ENDPOINTS; in usb_dc_stm32_init()
343 usb_dc_stm32_state.pcd.Init.phy_itface = PCD_PHY_EMBEDDED; in usb_dc_stm32_init()
344 usb_dc_stm32_state.pcd.Init.ep0_mps = PCD_EP0MPS_64; in usb_dc_stm32_init()
345 usb_dc_stm32_state.pcd.Init.low_power_enable = 0; in usb_dc_stm32_init()
348 usb_dc_stm32_state.pcd.Instance = USB_OTG_HS; in usb_dc_stm32_init()
[all …]
/Zephyr-Core-3.5.0/drivers/usb/udc/
Dudc_stm32.c41 PCD_HandleTypeDef pcd; member
68 #define hpcd2data(hpcd) CONTAINER_OF(hpcd, struct udc_stm32_data, pcd);
80 HAL_PCD_EP_Open(&priv->pcd, USB_CONTROL_EP_OUT, cfg->ep0_mps, in HAL_PCD_ResetCallback()
86 HAL_PCD_EP_Open(&priv->pcd, USB_CONTROL_EP_IN, cfg->ep0_mps, in HAL_PCD_ResetCallback()
136 HAL_PCD_EP_Receive(&priv->pcd, cfg->addr, buf->data, buf->size); in usbd_ctrl_feed_dout()
144 struct usb_setup_packet *setup = (void *)priv->pcd.Setup; in HAL_PCD_SetupStageCallback()
168 HAL_PCD_SetAddress(&priv->pcd, setup->wValue); in HAL_PCD_SetupStageCallback()
215 status = HAL_PCD_EP_Transmit(&priv->pcd, ep, data, len); in udc_stm32_tx()
245 status = HAL_PCD_EP_Receive(&priv->pcd, ep, buf->data, buf->size); in udc_stm32_rx()
317 HAL_PCD_EP_Transmit(&priv->pcd, ep, buf->data, len); in HAL_PCD_DataInStageCallback()
[all …]