Searched refs:ep (Results 1 – 8 of 8) sorted by relevance
| /loramac-node-latest/src/boards/mcu/stm32/STM32L1xx_HAL_Driver/Src/ |
| D | stm32l1xx_hal_pcd.c | 338 PCD_EPTypeDef *ep; in PCD_EP_ISR_Handler() local 362 ep = &hpcd->IN_ep[0]; in PCD_EP_ISR_Handler() 364 ep->xfer_count = PCD_GET_EP_TX_CNT(hpcd->Instance, ep->num); in PCD_EP_ISR_Handler() 365 ep->xfer_buff += ep->xfer_count; in PCD_EP_ISR_Handler() 371 if((hpcd->USB_Address > 0)&& ( ep->xfer_len == 0)) in PCD_EP_ISR_Handler() 384 ep = &hpcd->OUT_ep[0]; in PCD_EP_ISR_Handler() 390 ep->xfer_count = PCD_GET_EP_RX_CNT(hpcd->Instance, ep->num); in PCD_EP_ISR_Handler() 391 PCD_ReadPMA(hpcd->Instance, (uint8_t*)hpcd->Setup ,ep->pmaadress , ep->xfer_count); in PCD_EP_ISR_Handler() 403 ep->xfer_count = PCD_GET_EP_RX_CNT(hpcd->Instance, ep->num); in PCD_EP_ISR_Handler() 405 if (ep->xfer_count != 0) in PCD_EP_ISR_Handler() [all …]
|
| D | stm32l1xx_hal_pcd_ex.c | 103 PCD_EPTypeDef *ep; in HAL_PCDEx_PMAConfig() local 108 ep = &hpcd->IN_ep[ep_addr & 0x7F]; in HAL_PCDEx_PMAConfig() 112 ep = &hpcd->OUT_ep[ep_addr]; in HAL_PCDEx_PMAConfig() 119 ep->doublebuffer = 0; in HAL_PCDEx_PMAConfig() 121 ep->pmaadress = (uint16_t)pmaadress; in HAL_PCDEx_PMAConfig() 126 ep->doublebuffer = 1; in HAL_PCDEx_PMAConfig() 128 ep->pmaaddr0 = pmaadress & 0xFFFF; in HAL_PCDEx_PMAConfig() 129 ep->pmaaddr1 = (pmaadress & 0xFFFF0000U) >> 16; in HAL_PCDEx_PMAConfig()
|
| /loramac-node-latest/src/boards/mcu/stm32/STM32L0xx_HAL_Driver/Src/ |
| D | stm32l0xx_hal_pcd.c | 696 PCD_EPTypeDef *ep; in HAL_PCD_EP_Open() local 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() 709 ep->maxpacket = ep_mps; in HAL_PCD_EP_Open() 710 ep->type = ep_type; in HAL_PCD_EP_Open() 715 switch (ep->type) in HAL_PCD_EP_Open() 718 PCD_SET_EPTYPE(hpcd->Instance, ep->num, USB_EP_CONTROL); in HAL_PCD_EP_Open() 721 PCD_SET_EPTYPE(hpcd->Instance, ep->num, USB_EP_BULK); in HAL_PCD_EP_Open() [all …]
|
| D | stm32l0xx_hal_pcd_ex.c | 102 PCD_EPTypeDef *ep; in HAL_PCDEx_PMAConfig() local 107 ep = &hpcd->IN_ep[ep_addr & 0x7FU]; in HAL_PCDEx_PMAConfig() 111 ep = &hpcd->OUT_ep[ep_addr]; in HAL_PCDEx_PMAConfig() 118 ep->doublebuffer = 0U; in HAL_PCDEx_PMAConfig() 120 ep->pmaadress = (uint16_t)pmaadress; in HAL_PCDEx_PMAConfig() 125 ep->doublebuffer = 1U; in HAL_PCDEx_PMAConfig() 127 ep->pmaaddr0 = pmaadress & 0xFFFFU; in HAL_PCDEx_PMAConfig() 128 ep->pmaaddr1 = (pmaadress & 0xFFFF0000U) >> 16U; in HAL_PCDEx_PMAConfig()
|
| /loramac-node-latest/src/boards/mcu/stm32/STM32L4xx_HAL_Driver/Src/ |
| D | stm32l4xx_ll_usb.c | 415 HAL_StatusTypeDef USB_ActivateEndpoint(USB_OTG_GlobalTypeDef *USBx, USB_OTG_EPTypeDef *ep) in USB_ActivateEndpoint() argument 418 uint32_t epnum = (uint32_t)ep->num; in USB_ActivateEndpoint() 420 if (ep->is_in == 1U) in USB_ActivateEndpoint() 422 USBx_DEVICE->DAINTMSK |= USB_OTG_DAINTMSK_IEPM & (uint32_t)(1UL << (ep->num & 0xFU)); 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() 434 USBx_DEVICE->DAINTMSK |= USB_OTG_DAINTMSK_OEPM & ((uint32_t)(1UL << (ep->num & 0xFU)) << 16); in USB_ActivateEndpoint() 438 USBx_OUTEP(epnum)->DOEPCTL |= (ep->maxpacket & USB_OTG_DOEPCTL_MPSIZ) | in USB_ActivateEndpoint() 439 ((uint32_t)ep->type << 18) | in USB_ActivateEndpoint() 453 HAL_StatusTypeDef USB_ActivateDedicatedEndpoint(USB_OTG_GlobalTypeDef *USBx, USB_OTG_EPTypeDef *ep) in USB_ActivateDedicatedEndpoint() argument [all …]
|
| D | stm32l4xx_hal_pcd.c | 1041 USB_OTG_EPTypeDef *ep; in HAL_PCD_IRQHandler() local 1394 ep = &hpcd->OUT_ep[temp & USB_OTG_GRXSTSP_EPNUM]; in HAL_PCD_IRQHandler() 1400 (void)USB_ReadPacket(USBx, ep->xfer_buff, (uint16_t)((temp & USB_OTG_GRXSTSP_BCNT) >> 4)); in HAL_PCD_IRQHandler() 1401 ep->xfer_buff += (temp & USB_OTG_GRXSTSP_BCNT) >> 4; in HAL_PCD_IRQHandler() 1402 ep->xfer_count += (temp & USB_OTG_GRXSTSP_BCNT) >> 4; in HAL_PCD_IRQHandler() 1408 ep->xfer_count += (temp & USB_OTG_GRXSTSP_BCNT) >> 4; in HAL_PCD_IRQHandler() 1855 PCD_EPTypeDef *ep; in HAL_PCD_EP_Open() local 1859 ep = &hpcd->IN_ep[ep_addr & 0xFU]; in HAL_PCD_EP_Open() 1860 ep->is_in = 1U; in HAL_PCD_EP_Open() 1864 ep = &hpcd->OUT_ep[ep_addr & 0xFU]; in HAL_PCD_EP_Open() [all …]
|
| D | stm32l4xx_hal_pcd_ex.c | 322 PCD_EPTypeDef *ep; in HAL_PCDEx_PMAConfig() local 327 ep = &hpcd->IN_ep[ep_addr & 0xFU]; in HAL_PCDEx_PMAConfig() 331 ep = &hpcd->OUT_ep[ep_addr]; in HAL_PCDEx_PMAConfig() 338 ep->doublebuffer = 0U; in HAL_PCDEx_PMAConfig() 340 ep->pmaadress = (uint16_t)pmaadress; in HAL_PCDEx_PMAConfig() 345 ep->doublebuffer = 1U; in HAL_PCDEx_PMAConfig() 347 ep->pmaaddr0 = (uint16_t)(pmaadress & 0xFFFFU); in HAL_PCDEx_PMAConfig() 348 ep->pmaaddr1 = (uint16_t)((pmaadress & 0xFFFF0000U) >> 16); in HAL_PCDEx_PMAConfig()
|
| /loramac-node-latest/src/boards/mcu/stm32/STM32L4xx_HAL_Driver/Inc/ |
| D | stm32l4xx_ll_usb.h | 517 HAL_StatusTypeDef USB_ActivateEndpoint(USB_OTG_GlobalTypeDef *USBx, USB_OTG_EPTypeDef *ep); 518 HAL_StatusTypeDef USB_DeactivateEndpoint(USB_OTG_GlobalTypeDef *USBx, USB_OTG_EPTypeDef *ep); 519 HAL_StatusTypeDef USB_ActivateDedicatedEndpoint(USB_OTG_GlobalTypeDef *USBx, USB_OTG_EPTypeDef *ep); 520 …_StatusTypeDef USB_DeactivateDedicatedEndpoint(USB_OTG_GlobalTypeDef *USBx, USB_OTG_EPTypeDef *ep); 521 HAL_StatusTypeDef USB_EPStartXfer(USB_OTG_GlobalTypeDef *USBx, USB_OTG_EPTypeDef *ep); 522 HAL_StatusTypeDef USB_EP0StartXfer(USB_OTG_GlobalTypeDef *USBx, USB_OTG_EPTypeDef *ep); 525 HAL_StatusTypeDef USB_EPSetStall(USB_OTG_GlobalTypeDef *USBx, USB_OTG_EPTypeDef *ep); 526 HAL_StatusTypeDef USB_EPClearStall(USB_OTG_GlobalTypeDef *USBx, USB_OTG_EPTypeDef *ep); 573 HAL_StatusTypeDef USB_ActivateEndpoint(USB_TypeDef *USBx, USB_EPTypeDef *ep); 574 HAL_StatusTypeDef USB_DeactivateEndpoint(USB_TypeDef *USBx, USB_EPTypeDef *ep); [all …]
|