Home
last modified time | relevance | path

Searched refs:ep_addr (Results 1 – 15 of 15) sorted by relevance

/loramac-node-latest/src/boards/mcu/stm32/STM32_USB_Device_Library/Core/Src/
Dusbd_ctlreq.c210 uint8_t ep_addr; in USBD_StdEPReq() local
213 ep_addr = LOBYTE(req->wIndex); in USBD_StdEPReq()
231 if ((ep_addr != 0x00) && (ep_addr != 0x80)) in USBD_StdEPReq()
233 USBD_LL_StallEP(pdev , ep_addr); in USBD_StdEPReq()
240 if ((ep_addr != 0x00) && (ep_addr != 0x80)) in USBD_StdEPReq()
242 USBD_LL_StallEP(pdev , ep_addr); in USBD_StdEPReq()
262 if ((ep_addr != 0x00) && (ep_addr != 0x80)) in USBD_StdEPReq()
264 USBD_LL_StallEP(pdev , ep_addr); in USBD_StdEPReq()
271 if ((ep_addr & 0x7F) != 0x00) in USBD_StdEPReq()
273 USBD_LL_ClearStallEP(pdev , ep_addr); in USBD_StdEPReq()
[all …]
Dusbd_ioreq.c217 uint16_t USBD_GetRxCount (USBD_HandleTypeDef *pdev , uint8_t ep_addr) in USBD_GetRxCount() argument
219 return USBD_LL_GetRxDataSize(pdev, ep_addr); in USBD_GetRxCount()
/loramac-node-latest/src/boards/mcu/stm32/STM32_USB_Device_Library/Core/Inc/
Dusbd_core.h123 uint8_t ep_addr,
127 USBD_StatusTypeDef USBD_LL_CloseEP (USBD_HandleTypeDef *pdev, uint8_t ep_addr);
128 USBD_StatusTypeDef USBD_LL_FlushEP (USBD_HandleTypeDef *pdev, uint8_t ep_addr);
129 USBD_StatusTypeDef USBD_LL_StallEP (USBD_HandleTypeDef *pdev, uint8_t ep_addr);
130 USBD_StatusTypeDef USBD_LL_ClearStallEP (USBD_HandleTypeDef *pdev, uint8_t ep_addr);
131 uint8_t USBD_LL_IsStallEP (USBD_HandleTypeDef *pdev, uint8_t ep_addr);
134 uint8_t ep_addr,
139 uint8_t ep_addr,
143 uint32_t USBD_LL_GetRxDataSize (USBD_HandleTypeDef *pdev, uint8_t ep_addr);
/loramac-node-latest/src/boards/mcu/stm32/STM32L1xx_HAL_Driver/Src/
Dstm32l1xx_hal_pcd.c932 HAL_StatusTypeDef HAL_PCD_EP_Open(PCD_HandleTypeDef *hpcd, uint8_t ep_addr, uint16_t ep_mps, uint8_… in HAL_PCD_EP_Open() argument
937 if ((ep_addr & 0x80) == 0x80) in HAL_PCD_EP_Open()
939 ep = &hpcd->IN_ep[ep_addr & 0x7F]; in HAL_PCD_EP_Open()
943 ep = &hpcd->OUT_ep[ep_addr & 0x7F]; in HAL_PCD_EP_Open()
945 ep->num = ep_addr & 0x7F; in HAL_PCD_EP_Open()
947 ep->is_in = (0x80 & ep_addr) != 0; in HAL_PCD_EP_Open()
1038 HAL_StatusTypeDef HAL_PCD_EP_Close(PCD_HandleTypeDef *hpcd, uint8_t ep_addr) in HAL_PCD_EP_Close() argument
1042 if ((ep_addr & 0x80) == 0x80) in HAL_PCD_EP_Close()
1044 ep = &hpcd->IN_ep[ep_addr & 0x7F]; in HAL_PCD_EP_Close()
1048 ep = &hpcd->OUT_ep[ep_addr & 0x7F]; in HAL_PCD_EP_Close()
[all …]
Dstm32l1xx_hal_pcd_ex.c98 uint16_t ep_addr, in HAL_PCDEx_PMAConfig() argument
106 if ((0x80 & ep_addr) == 0x80) in HAL_PCDEx_PMAConfig()
108 ep = &hpcd->IN_ep[ep_addr & 0x7F]; in HAL_PCDEx_PMAConfig()
112 ep = &hpcd->OUT_ep[ep_addr]; in HAL_PCDEx_PMAConfig()
/loramac-node-latest/src/boards/mcu/stm32/STM32L0xx_HAL_Driver/Src/
Dstm32l0xx_hal_pcd.c693 HAL_StatusTypeDef HAL_PCD_EP_Open(PCD_HandleTypeDef *hpcd, uint8_t ep_addr, uint16_t ep_mps, uint8_… in HAL_PCD_EP_Open() argument
698 if ((ep_addr & 0x80U) == 0x80U) in HAL_PCD_EP_Open()
700 ep = &hpcd->IN_ep[ep_addr & 0x7FU]; in HAL_PCD_EP_Open()
704 ep = &hpcd->OUT_ep[ep_addr & 0x7FU]; in HAL_PCD_EP_Open()
706 ep->num = ep_addr & 0x7FU; in HAL_PCD_EP_Open()
708 ep->is_in = (0x80U & ep_addr) != 0U; in HAL_PCD_EP_Open()
797 HAL_StatusTypeDef HAL_PCD_EP_Close(PCD_HandleTypeDef *hpcd, uint8_t ep_addr) in HAL_PCD_EP_Close() argument
801 if ((ep_addr & 0x80U) == 0x80U) in HAL_PCD_EP_Close()
803 ep = &hpcd->IN_ep[ep_addr & 0x7FU]; in HAL_PCD_EP_Close()
807 ep = &hpcd->OUT_ep[ep_addr & 0x7FU]; in HAL_PCD_EP_Close()
[all …]
Dstm32l0xx_hal_pcd_ex.c97 uint16_t ep_addr, in HAL_PCDEx_PMAConfig() argument
105 if ((0x80U & ep_addr) == 0x80U) in HAL_PCDEx_PMAConfig()
107 ep = &hpcd->IN_ep[ep_addr & 0x7FU]; in HAL_PCDEx_PMAConfig()
111 ep = &hpcd->OUT_ep[ep_addr]; in HAL_PCDEx_PMAConfig()
/loramac-node-latest/src/boards/mcu/stm32/STM32L4xx_HAL_Driver/Src/
Dstm32l4xx_hal_pcd.c1852 HAL_StatusTypeDef HAL_PCD_EP_Open(PCD_HandleTypeDef *hpcd, uint8_t ep_addr, uint16_t ep_mps, uint8_… in HAL_PCD_EP_Open() argument
1857 if ((ep_addr & 0x80U) == 0x80U) in HAL_PCD_EP_Open()
1859 ep = &hpcd->IN_ep[ep_addr & 0xFU]; in HAL_PCD_EP_Open()
1864 ep = &hpcd->OUT_ep[ep_addr & 0xFU]; in HAL_PCD_EP_Open()
1868 ep->num = ep_addr & 0xFU; in HAL_PCD_EP_Open()
1896 HAL_StatusTypeDef HAL_PCD_EP_Close(PCD_HandleTypeDef *hpcd, uint8_t ep_addr) in HAL_PCD_EP_Close() argument
1900 if ((ep_addr & 0x80U) == 0x80U) in HAL_PCD_EP_Close()
1902 ep = &hpcd->IN_ep[ep_addr & 0xFU]; in HAL_PCD_EP_Close()
1907 ep = &hpcd->OUT_ep[ep_addr & 0xFU]; in HAL_PCD_EP_Close()
1910 ep->num = ep_addr & 0xFU; in HAL_PCD_EP_Close()
[all …]
Dstm32l4xx_hal_pcd_ex.c318 uint16_t ep_addr, in HAL_PCDEx_PMAConfig() argument
325 if ((0x80U & ep_addr) == 0x80U) in HAL_PCDEx_PMAConfig()
327 ep = &hpcd->IN_ep[ep_addr & 0xFU]; in HAL_PCDEx_PMAConfig()
331 ep = &hpcd->OUT_ep[ep_addr]; in HAL_PCDEx_PMAConfig()
/loramac-node-latest/src/boards/mcu/stm32/STM32L1xx_HAL_Driver/Inc/
Dstm32l1xx_hal_pcd.h808 HAL_StatusTypeDef HAL_PCD_EP_Open(PCD_HandleTypeDef *hpcd, uint8_t ep_addr, uint16_t ep_mps, uint8_…
809 HAL_StatusTypeDef HAL_PCD_EP_Close(PCD_HandleTypeDef *hpcd, uint8_t ep_addr);
810 HAL_StatusTypeDef HAL_PCD_EP_Receive(PCD_HandleTypeDef *hpcd, uint8_t ep_addr, uint8_t *pBuf, uint3…
811 HAL_StatusTypeDef HAL_PCD_EP_Transmit(PCD_HandleTypeDef *hpcd, uint8_t ep_addr, uint8_t *pBuf, uint…
812 uint16_t HAL_PCD_EP_GetRxCount(PCD_HandleTypeDef *hpcd, uint8_t ep_addr);
813 HAL_StatusTypeDef HAL_PCD_EP_SetStall(PCD_HandleTypeDef *hpcd, uint8_t ep_addr);
814 HAL_StatusTypeDef HAL_PCD_EP_ClrStall(PCD_HandleTypeDef *hpcd, uint8_t ep_addr);
815 HAL_StatusTypeDef HAL_PCD_EP_Flush(PCD_HandleTypeDef *hpcd, uint8_t ep_addr);
Dstm32l1xx_hal_pcd_ex.h69 uint16_t ep_addr,
/loramac-node-latest/src/boards/mcu/stm32/STM32L0xx_HAL_Driver/Inc/
Dstm32l0xx_hal_pcd.h749 HAL_StatusTypeDef HAL_PCD_EP_Open(PCD_HandleTypeDef *hpcd, uint8_t ep_addr, uint16_t ep_mps, uint8_…
750 HAL_StatusTypeDef HAL_PCD_EP_Close(PCD_HandleTypeDef *hpcd, uint8_t ep_addr);
751 HAL_StatusTypeDef HAL_PCD_EP_Receive(PCD_HandleTypeDef *hpcd, uint8_t ep_addr, uint8_t *pBuf, uint3…
752 HAL_StatusTypeDef HAL_PCD_EP_Transmit(PCD_HandleTypeDef *hpcd, uint8_t ep_addr, uint8_t *pBuf, uint…
753 uint16_t HAL_PCD_EP_GetRxCount(PCD_HandleTypeDef *hpcd, uint8_t ep_addr);
754 HAL_StatusTypeDef HAL_PCD_EP_SetStall(PCD_HandleTypeDef *hpcd, uint8_t ep_addr);
755 HAL_StatusTypeDef HAL_PCD_EP_ClrStall(PCD_HandleTypeDef *hpcd, uint8_t ep_addr);
756 HAL_StatusTypeDef HAL_PCD_EP_Flush(PCD_HandleTypeDef *hpcd, uint8_t ep_addr);
Dstm32l0xx_hal_pcd_ex.h84 uint16_t ep_addr,
/loramac-node-latest/src/boards/mcu/stm32/STM32L4xx_HAL_Driver/Inc/
Dstm32l4xx_hal_pcd.h407 HAL_StatusTypeDef HAL_PCD_EP_Open(PCD_HandleTypeDef *hpcd, uint8_t ep_addr, uint16_t ep_mps, uint8_…
408 HAL_StatusTypeDef HAL_PCD_EP_Close(PCD_HandleTypeDef *hpcd, uint8_t ep_addr);
409 HAL_StatusTypeDef HAL_PCD_EP_Receive(PCD_HandleTypeDef *hpcd, uint8_t ep_addr, uint8_t *pBuf, uint3…
410 HAL_StatusTypeDef HAL_PCD_EP_Transmit(PCD_HandleTypeDef *hpcd, uint8_t ep_addr, uint8_t *pBuf, uint…
411 uint16_t HAL_PCD_EP_GetRxCount(PCD_HandleTypeDef *hpcd, uint8_t ep_addr);
412 HAL_StatusTypeDef HAL_PCD_EP_SetStall(PCD_HandleTypeDef *hpcd, uint8_t ep_addr);
413 HAL_StatusTypeDef HAL_PCD_EP_ClrStall(PCD_HandleTypeDef *hpcd, uint8_t ep_addr);
414 HAL_StatusTypeDef HAL_PCD_EP_Flush(PCD_HandleTypeDef *hpcd, uint8_t ep_addr);
Dstm32l4xx_hal_pcd_ex.h74 uint16_t ep_addr,