Home
last modified time | relevance | path

Searched refs:epnum (Results 1 – 16 of 16) sorted by relevance

/loramac-node-3.7.0/src/boards/mcu/stm32/STM32L4xx_HAL_Driver/Src/
Dstm32l4xx_ll_usb.c418 uint32_t epnum = (uint32_t)ep->num; in USB_ActivateEndpoint() local
424 if ((USBx_INEP(epnum)->DIEPCTL & USB_OTG_DIEPCTL_USBAEP) == 0U) in USB_ActivateEndpoint()
426 USBx_INEP(epnum)->DIEPCTL |= (ep->maxpacket & USB_OTG_DIEPCTL_MPSIZ) | in USB_ActivateEndpoint()
427 ((uint32_t)ep->type << 18) | (epnum << 22) | in USB_ActivateEndpoint()
436 if (((USBx_OUTEP(epnum)->DOEPCTL) & USB_OTG_DOEPCTL_USBAEP) == 0U) in USB_ActivateEndpoint()
438 USBx_OUTEP(epnum)->DOEPCTL |= (ep->maxpacket & USB_OTG_DOEPCTL_MPSIZ) | in USB_ActivateEndpoint()
456 uint32_t epnum = (uint32_t)ep->num; in USB_ActivateDedicatedEndpoint() local
461 if (((USBx_INEP(epnum)->DIEPCTL) & USB_OTG_DIEPCTL_USBAEP) == 0U) in USB_ActivateDedicatedEndpoint()
463 USBx_INEP(epnum)->DIEPCTL |= (ep->maxpacket & USB_OTG_DIEPCTL_MPSIZ) | in USB_ActivateDedicatedEndpoint()
464 ((uint32_t)ep->type << 18) | (epnum << 22) | in USB_ActivateDedicatedEndpoint()
[all …]
Dstm32l4xx_hal_pcd.c114 static HAL_StatusTypeDef PCD_WriteEmptyTxFifo(PCD_HandleTypeDef *hpcd, uint32_t epnum);
1039 uint32_t i, ep_intr, epint, epnum = 0U; in HAL_PCD_IRQHandler() local
1061 epnum = 0U; in HAL_PCD_IRQHandler()
1070 epint = USB_ReadDevOutEPInterrupt(hpcd->Instance, (uint8_t)epnum); in HAL_PCD_IRQHandler()
1074 CLEAR_OUT_EP_INTR(epnum, USB_OTG_DOEPINT_XFRC); in HAL_PCD_IRQHandler()
1080 CLEAR_OUT_EP_INTR(epnum, (1U << 15)); in HAL_PCD_IRQHandler()
1086 CLEAR_OUT_EP_INTR(epnum, (1U << 5)); in HAL_PCD_IRQHandler()
1090 hpcd->DataOutStageCallback(hpcd, (uint8_t)epnum); in HAL_PCD_IRQHandler()
1092 HAL_PCD_DataOutStageCallback(hpcd, (uint8_t)epnum); in HAL_PCD_IRQHandler()
1099 hpcd->DataOutStageCallback(hpcd, (uint8_t)epnum); in HAL_PCD_IRQHandler()
[all …]
Dstm32l4xx_hal_hcd.c206 uint8_t epnum, in HAL_HCD_HC_Init() argument
220 hhcd->hc[ch_num].ep_num = epnum & 0x7FU; in HAL_HCD_HC_Init()
222 if ((epnum & 0x80U) == 0x80U) in HAL_HCD_HC_Init()
235 epnum, in HAL_HCD_HC_Init()
/loramac-node-3.7.0/src/boards/mcu/stm32/STM32_USB_Device_Library/Core/Src/
Dusbd_core.c299 USBD_StatusTypeDef USBD_LL_DataOutStage(USBD_HandleTypeDef *pdev , uint8_t epnum, uint8_t *pdata) in USBD_LL_DataOutStage() argument
303 if(epnum == 0) in USBD_LL_DataOutStage()
331 pdev->pClass->DataOut(pdev, epnum); in USBD_LL_DataOutStage()
343 USBD_StatusTypeDef USBD_LL_DataInStage(USBD_HandleTypeDef *pdev ,uint8_t epnum, uint8_t *pdata) in USBD_LL_DataInStage() argument
347 if(epnum == 0) in USBD_LL_DataInStage()
403 pdev->pClass->DataIn(pdev, epnum); in USBD_LL_DataInStage()
509 USBD_StatusTypeDef USBD_LL_IsoINIncomplete(USBD_HandleTypeDef *pdev, uint8_t epnum) in USBD_LL_IsoINIncomplete() argument
520 USBD_StatusTypeDef USBD_LL_IsoOUTIncomplete(USBD_HandleTypeDef *pdev, uint8_t epnum) in USBD_LL_IsoOUTIncomplete() argument
/loramac-node-3.7.0/src/boards/mcu/stm32/STM32_USB_Device_Library/Core/Inc/
Dusbd_core.h102 USBD_StatusTypeDef USBD_LL_DataOutStage(USBD_HandleTypeDef *pdev , uint8_t epnum, uint8_t *pdata);
103 USBD_StatusTypeDef USBD_LL_DataInStage(USBD_HandleTypeDef *pdev , uint8_t epnum, uint8_t *pdata);
111 USBD_StatusTypeDef USBD_LL_IsoINIncomplete(USBD_HandleTypeDef *pdev, uint8_t epnum);
112 USBD_StatusTypeDef USBD_LL_IsoOUTIncomplete(USBD_HandleTypeDef *pdev, uint8_t epnum);
Dusbd_def.h169 uint8_t (*DataIn) (struct _USBD_HandleTypeDef *pdev , uint8_t epnum);
170 uint8_t (*DataOut) (struct _USBD_HandleTypeDef *pdev , uint8_t epnum);
172 uint8_t (*IsoINIncomplete) (struct _USBD_HandleTypeDef *pdev , uint8_t epnum);
173 uint8_t (*IsoOUTIncomplete) (struct _USBD_HandleTypeDef *pdev , uint8_t epnum);
Dusbd_ioreq.h109 uint8_t epnum);
/loramac-node-3.7.0/src/boards/mcu/stm32/STM32L4xx_HAL_Driver/Inc/
Dstm32l4xx_hal_pcd.h168 …void (* DataOutStageCallback)(struct __PCD_HandleTypeDef *hpcd, uint8_t epnum); /*!< USB OTG …
169 …void (* DataInStageCallback)(struct __PCD_HandleTypeDef *hpcd, uint8_t epnum); /*!< USB OTG …
170 …void (* ISOOUTIncompleteCallback)(struct __PCD_HandleTypeDef *hpcd, uint8_t epnum); /*!< USB OTG …
171 …void (* ISOINIncompleteCallback)(struct __PCD_HandleTypeDef *hpcd, uint8_t epnum); /*!< USB OTG …
339 typedef void (*pPCD_DataOutStageCallbackTypeDef)(PCD_HandleTypeDef *hpcd, uint8_t epnum); /*…
340 typedef void (*pPCD_DataInStageCallbackTypeDef)(PCD_HandleTypeDef *hpcd, uint8_t epnum); /*…
341 typedef void (*pPCD_IsoOutIncpltCallbackTypeDef)(PCD_HandleTypeDef *hpcd, uint8_t epnum); /*…
342 typedef void (*pPCD_IsoInIncpltCallbackTypeDef)(PCD_HandleTypeDef *hpcd, uint8_t epnum); /*…
392 void HAL_PCD_DataOutStageCallback(PCD_HandleTypeDef *hpcd, uint8_t epnum);
393 void HAL_PCD_DataInStageCallback(PCD_HandleTypeDef *hpcd, uint8_t epnum);
[all …]
Dstm32l4xx_ll_usb.h537 uint32_t USB_ReadDevOutEPInterrupt(USB_OTG_GlobalTypeDef *USBx, uint8_t epnum);
539 uint32_t USB_ReadDevInEPInterrupt(USB_OTG_GlobalTypeDef *USBx, uint8_t epnum);
550 uint8_t epnum,
587 uint32_t USB_ReadDevOutEPInterrupt(USB_TypeDef *USBx, uint8_t epnum);
589 uint32_t USB_ReadDevInEPInterrupt(USB_TypeDef *USBx, uint8_t epnum);
Dstm32l4xx_hal_hcd.h189 uint8_t epnum,
227 uint8_t epnum,
/loramac-node-3.7.0/src/boards/mcu/stm32/STM32_USB_Device_Library/Class/CDC/Src/
Dusbd_cdc.c117 uint8_t epnum);
120 uint8_t epnum);
664 static uint8_t USBD_CDC_DataIn (USBD_HandleTypeDef *pdev, uint8_t epnum) in USBD_CDC_DataIn() argument
688 static uint8_t USBD_CDC_DataOut (USBD_HandleTypeDef *pdev, uint8_t epnum) in USBD_CDC_DataOut() argument
693 hcdc->RxLength = USBD_LL_GetRxDataSize (pdev, epnum); in USBD_CDC_DataOut()
/loramac-node-3.7.0/src/boards/mcu/stm32/STM32_USB_Device_Library/Class/DFU/Src/
Dusbd_dfu.c124 static uint8_t USBD_DFU_DataIn (USBD_HandleTypeDef *pdev, uint8_t epnum);
126 static uint8_t USBD_DFU_DataOut (USBD_HandleTypeDef *pdev, uint8_t epnum);
134 static uint8_t USBD_DFU_IsoINIncomplete (USBD_HandleTypeDef *pdev, uint8_t epnum);
136 static uint8_t USBD_DFU_IsoOutIncomplete (USBD_HandleTypeDef *pdev, uint8_t epnum);
479 uint8_t epnum) in USBD_DFU_DataIn() argument
600 static uint8_t USBD_DFU_IsoINIncomplete (USBD_HandleTypeDef *pdev, uint8_t epnum) in USBD_DFU_IsoINIncomplete() argument
612 static uint8_t USBD_DFU_IsoOutIncomplete (USBD_HandleTypeDef *pdev, uint8_t epnum) in USBD_DFU_IsoOutIncomplete() argument
625 uint8_t epnum) in USBD_DFU_DataOut() argument
/loramac-node-3.7.0/src/boards/mcu/stm32/STM32L1xx_HAL_Driver/Src/
Dstm32l1xx_hal_pcd.c684 __weak void HAL_PCD_DataOutStageCallback(PCD_HandleTypeDef *hpcd, uint8_t epnum) in HAL_PCD_DataOutStageCallback() argument
688 UNUSED(epnum); in HAL_PCD_DataOutStageCallback()
701 __weak void HAL_PCD_DataInStageCallback(PCD_HandleTypeDef *hpcd, uint8_t epnum) in HAL_PCD_DataInStageCallback() argument
705 UNUSED(epnum); in HAL_PCD_DataInStageCallback()
793 __weak void HAL_PCD_ISOOUTIncompleteCallback(PCD_HandleTypeDef *hpcd, uint8_t epnum) in HAL_PCD_ISOOUTIncompleteCallback() argument
797 UNUSED(epnum); in HAL_PCD_ISOOUTIncompleteCallback()
810 __weak void HAL_PCD_ISOINIncompleteCallback(PCD_HandleTypeDef *hpcd, uint8_t epnum) in HAL_PCD_ISOINIncompleteCallback() argument
814 UNUSED(epnum); in HAL_PCD_ISOINIncompleteCallback()
/loramac-node-3.7.0/src/boards/mcu/stm32/STM32L0xx_HAL_Driver/Src/
Dstm32l0xx_hal_pcd.c444 __weak void HAL_PCD_DataOutStageCallback(PCD_HandleTypeDef *hpcd, uint8_t epnum) in HAL_PCD_DataOutStageCallback() argument
448 UNUSED(epnum); in HAL_PCD_DataOutStageCallback()
461 __weak void HAL_PCD_DataInStageCallback(PCD_HandleTypeDef *hpcd, uint8_t epnum) in HAL_PCD_DataInStageCallback() argument
465 UNUSED(epnum); in HAL_PCD_DataInStageCallback()
552 __weak void HAL_PCD_ISOOUTIncompleteCallback(PCD_HandleTypeDef *hpcd, uint8_t epnum) in HAL_PCD_ISOOUTIncompleteCallback() argument
556 UNUSED(epnum); in HAL_PCD_ISOOUTIncompleteCallback()
569 __weak void HAL_PCD_ISOINIncompleteCallback(PCD_HandleTypeDef *hpcd, uint8_t epnum) in HAL_PCD_ISOINIncompleteCallback() argument
573 UNUSED(epnum); in HAL_PCD_ISOINIncompleteCallback()
/loramac-node-3.7.0/src/boards/mcu/stm32/STM32L1xx_HAL_Driver/Inc/
Dstm32l1xx_hal_pcd.h785 void HAL_PCD_DataOutStageCallback(PCD_HandleTypeDef *hpcd, uint8_t epnum);
786 void HAL_PCD_DataInStageCallback(PCD_HandleTypeDef *hpcd, uint8_t epnum);
792 void HAL_PCD_ISOOUTIncompleteCallback(PCD_HandleTypeDef *hpcd, uint8_t epnum);
793 void HAL_PCD_ISOINIncompleteCallback(PCD_HandleTypeDef *hpcd, uint8_t epnum);
/loramac-node-3.7.0/src/boards/mcu/stm32/STM32L0xx_HAL_Driver/Inc/
Dstm32l0xx_hal_pcd.h726 void HAL_PCD_DataOutStageCallback(PCD_HandleTypeDef *hpcd, uint8_t epnum);
727 void HAL_PCD_DataInStageCallback(PCD_HandleTypeDef *hpcd, uint8_t epnum);
733 void HAL_PCD_ISOOUTIncompleteCallback(PCD_HandleTypeDef *hpcd, uint8_t epnum);
734 void HAL_PCD_ISOINIncompleteCallback(PCD_HandleTypeDef *hpcd, uint8_t epnum);