Home
last modified time | relevance | path

Searched refs:DIEPCTL (Results 1 – 25 of 138) sorted by relevance

123456

/hal_stm32-latest/stm32cube/stm32n6xx/drivers/src/
Dstm32n6xx_ll_usb.c346 if ((USBx_INEP(i)->DIEPCTL & USB_OTG_DIEPCTL_EPENA) == USB_OTG_DIEPCTL_EPENA) in USB_DevInit()
350 USBx_INEP(i)->DIEPCTL = USB_OTG_DIEPCTL_SNAK; in USB_DevInit()
354 USBx_INEP(i)->DIEPCTL = USB_OTG_DIEPCTL_EPDIS | USB_OTG_DIEPCTL_SNAK; in USB_DevInit()
359 USBx_INEP(i)->DIEPCTL = 0U; in USB_DevInit()
563 if ((USBx_INEP(epnum)->DIEPCTL & USB_OTG_DIEPCTL_USBAEP) == 0U) in USB_ActivateEndpoint()
565 USBx_INEP(epnum)->DIEPCTL |= (ep->maxpacket & USB_OTG_DIEPCTL_MPSIZ) | in USB_ActivateEndpoint()
600 if (((USBx_INEP(epnum)->DIEPCTL) & USB_OTG_DIEPCTL_USBAEP) == 0U) in USB_ActivateDedicatedEndpoint()
602 USBx_INEP(epnum)->DIEPCTL |= (ep->maxpacket & USB_OTG_DIEPCTL_MPSIZ) | in USB_ActivateDedicatedEndpoint()
639 if ((USBx_INEP(epnum)->DIEPCTL & USB_OTG_DIEPCTL_EPENA) == USB_OTG_DIEPCTL_EPENA) in USB_DeactivateEndpoint()
641 USBx_INEP(epnum)->DIEPCTL |= USB_OTG_DIEPCTL_SNAK; in USB_DeactivateEndpoint()
[all …]
Dstm32n6xx_hal_pcd.c1320 USBx_INEP(i)->DIEPCTL &= ~USB_OTG_DIEPCTL_STALL; in HAL_PCD_IRQHandler()
1412 RegVal = USBx_INEP(epnum)->DIEPCTL; in HAL_PCD_IRQHandler()
/hal_stm32-latest/stm32cube/stm32h7rsxx/drivers/src/
Dstm32h7rsxx_ll_usb.c387 if ((USBx_INEP(i)->DIEPCTL & USB_OTG_DIEPCTL_EPENA) == USB_OTG_DIEPCTL_EPENA) in USB_DevInit()
391 USBx_INEP(i)->DIEPCTL = USB_OTG_DIEPCTL_SNAK; in USB_DevInit()
395 USBx_INEP(i)->DIEPCTL = USB_OTG_DIEPCTL_EPDIS | USB_OTG_DIEPCTL_SNAK; in USB_DevInit()
400 USBx_INEP(i)->DIEPCTL = 0U; in USB_DevInit()
604 if ((USBx_INEP(epnum)->DIEPCTL & USB_OTG_DIEPCTL_USBAEP) == 0U) in USB_ActivateEndpoint()
606 USBx_INEP(epnum)->DIEPCTL |= (ep->maxpacket & USB_OTG_DIEPCTL_MPSIZ) | in USB_ActivateEndpoint()
641 if (((USBx_INEP(epnum)->DIEPCTL) & USB_OTG_DIEPCTL_USBAEP) == 0U) in USB_ActivateDedicatedEndpoint()
643 USBx_INEP(epnum)->DIEPCTL |= (ep->maxpacket & USB_OTG_DIEPCTL_MPSIZ) | in USB_ActivateDedicatedEndpoint()
680 if ((USBx_INEP(epnum)->DIEPCTL & USB_OTG_DIEPCTL_EPENA) == USB_OTG_DIEPCTL_EPENA) in USB_DeactivateEndpoint()
682 USBx_INEP(epnum)->DIEPCTL |= USB_OTG_DIEPCTL_SNAK; in USB_DeactivateEndpoint()
[all …]
Dstm32h7rsxx_hal_pcd.c1355 USBx_INEP(i)->DIEPCTL &= ~USB_OTG_DIEPCTL_STALL; in HAL_PCD_IRQHandler()
1447 RegVal = USBx_INEP(epnum)->DIEPCTL; in HAL_PCD_IRQHandler()
/hal_stm32-latest/stm32cube/stm32f2xx/drivers/src/
Dstm32f2xx_ll_usb.c358 if ((USBx_INEP(i)->DIEPCTL & USB_OTG_DIEPCTL_EPENA) == USB_OTG_DIEPCTL_EPENA) in USB_DevInit()
362 USBx_INEP(i)->DIEPCTL = USB_OTG_DIEPCTL_SNAK; in USB_DevInit()
366 USBx_INEP(i)->DIEPCTL = USB_OTG_DIEPCTL_EPDIS | USB_OTG_DIEPCTL_SNAK; in USB_DevInit()
371 USBx_INEP(i)->DIEPCTL = 0U; in USB_DevInit()
575 if ((USBx_INEP(epnum)->DIEPCTL & USB_OTG_DIEPCTL_USBAEP) == 0U) in USB_ActivateEndpoint()
577 USBx_INEP(epnum)->DIEPCTL |= (ep->maxpacket & USB_OTG_DIEPCTL_MPSIZ) | in USB_ActivateEndpoint()
612 if (((USBx_INEP(epnum)->DIEPCTL) & USB_OTG_DIEPCTL_USBAEP) == 0U) in USB_ActivateDedicatedEndpoint()
614 USBx_INEP(epnum)->DIEPCTL |= (ep->maxpacket & USB_OTG_DIEPCTL_MPSIZ) | in USB_ActivateDedicatedEndpoint()
651 if ((USBx_INEP(epnum)->DIEPCTL & USB_OTG_DIEPCTL_EPENA) == USB_OTG_DIEPCTL_EPENA) in USB_DeactivateEndpoint()
653 USBx_INEP(epnum)->DIEPCTL |= USB_OTG_DIEPCTL_SNAK; in USB_DeactivateEndpoint()
[all …]
Dstm32f2xx_hal_pcd.c1142 USBx_INEP(i)->DIEPCTL &= ~USB_OTG_DIEPCTL_STALL; in HAL_PCD_IRQHandler()
1234 RegVal = USBx_INEP(epnum)->DIEPCTL; in HAL_PCD_IRQHandler()
/hal_stm32-latest/stm32cube/stm32f4xx/drivers/src/
Dstm32f4xx_ll_usb.c390 if ((USBx_INEP(i)->DIEPCTL & USB_OTG_DIEPCTL_EPENA) == USB_OTG_DIEPCTL_EPENA) in USB_DevInit()
394 USBx_INEP(i)->DIEPCTL = USB_OTG_DIEPCTL_SNAK; in USB_DevInit()
398 USBx_INEP(i)->DIEPCTL = USB_OTG_DIEPCTL_EPDIS | USB_OTG_DIEPCTL_SNAK; in USB_DevInit()
403 USBx_INEP(i)->DIEPCTL = 0U; in USB_DevInit()
607 if ((USBx_INEP(epnum)->DIEPCTL & USB_OTG_DIEPCTL_USBAEP) == 0U) in USB_ActivateEndpoint()
609 USBx_INEP(epnum)->DIEPCTL |= (ep->maxpacket & USB_OTG_DIEPCTL_MPSIZ) | in USB_ActivateEndpoint()
644 if (((USBx_INEP(epnum)->DIEPCTL) & USB_OTG_DIEPCTL_USBAEP) == 0U) in USB_ActivateDedicatedEndpoint()
646 USBx_INEP(epnum)->DIEPCTL |= (ep->maxpacket & USB_OTG_DIEPCTL_MPSIZ) | in USB_ActivateDedicatedEndpoint()
683 if ((USBx_INEP(epnum)->DIEPCTL & USB_OTG_DIEPCTL_EPENA) == USB_OTG_DIEPCTL_EPENA) in USB_DeactivateEndpoint()
685 USBx_INEP(epnum)->DIEPCTL |= USB_OTG_DIEPCTL_SNAK; in USB_DeactivateEndpoint()
[all …]
Dstm32f4xx_hal_pcd.c1363 USBx_INEP(i)->DIEPCTL &= ~USB_OTG_DIEPCTL_STALL; in HAL_PCD_IRQHandler()
1455 RegVal = USBx_INEP(epnum)->DIEPCTL; in HAL_PCD_IRQHandler()
/hal_stm32-latest/stm32cube/stm32f7xx/drivers/src/
Dstm32f7xx_ll_usb.c420 if ((USBx_INEP(i)->DIEPCTL & USB_OTG_DIEPCTL_EPENA) == USB_OTG_DIEPCTL_EPENA) in USB_DevInit()
424 USBx_INEP(i)->DIEPCTL = USB_OTG_DIEPCTL_SNAK; in USB_DevInit()
428 USBx_INEP(i)->DIEPCTL = USB_OTG_DIEPCTL_EPDIS | USB_OTG_DIEPCTL_SNAK; in USB_DevInit()
433 USBx_INEP(i)->DIEPCTL = 0U; in USB_DevInit()
637 if ((USBx_INEP(epnum)->DIEPCTL & USB_OTG_DIEPCTL_USBAEP) == 0U) in USB_ActivateEndpoint()
639 USBx_INEP(epnum)->DIEPCTL |= (ep->maxpacket & USB_OTG_DIEPCTL_MPSIZ) | in USB_ActivateEndpoint()
674 if (((USBx_INEP(epnum)->DIEPCTL) & USB_OTG_DIEPCTL_USBAEP) == 0U) in USB_ActivateDedicatedEndpoint()
676 USBx_INEP(epnum)->DIEPCTL |= (ep->maxpacket & USB_OTG_DIEPCTL_MPSIZ) | in USB_ActivateDedicatedEndpoint()
713 if ((USBx_INEP(epnum)->DIEPCTL & USB_OTG_DIEPCTL_EPENA) == USB_OTG_DIEPCTL_EPENA) in USB_DeactivateEndpoint()
715 USBx_INEP(epnum)->DIEPCTL |= USB_OTG_DIEPCTL_SNAK; in USB_DeactivateEndpoint()
[all …]
Dstm32f7xx_hal_pcd.c1261 USBx_INEP(i)->DIEPCTL &= ~USB_OTG_DIEPCTL_STALL; in HAL_PCD_IRQHandler()
1353 RegVal = USBx_INEP(epnum)->DIEPCTL; in HAL_PCD_IRQHandler()
/hal_stm32-latest/stm32cube/stm32h7xx/drivers/src/
Dstm32h7xx_ll_usb.c369 if ((USBx_INEP(i)->DIEPCTL & USB_OTG_DIEPCTL_EPENA) == USB_OTG_DIEPCTL_EPENA) in USB_DevInit()
373 USBx_INEP(i)->DIEPCTL = USB_OTG_DIEPCTL_SNAK; in USB_DevInit()
377 USBx_INEP(i)->DIEPCTL = USB_OTG_DIEPCTL_EPDIS | USB_OTG_DIEPCTL_SNAK; in USB_DevInit()
382 USBx_INEP(i)->DIEPCTL = 0U; in USB_DevInit()
586 if ((USBx_INEP(epnum)->DIEPCTL & USB_OTG_DIEPCTL_USBAEP) == 0U) in USB_ActivateEndpoint()
588 USBx_INEP(epnum)->DIEPCTL |= (ep->maxpacket & USB_OTG_DIEPCTL_MPSIZ) | in USB_ActivateEndpoint()
623 if (((USBx_INEP(epnum)->DIEPCTL) & USB_OTG_DIEPCTL_USBAEP) == 0U) in USB_ActivateDedicatedEndpoint()
625 USBx_INEP(epnum)->DIEPCTL |= (ep->maxpacket & USB_OTG_DIEPCTL_MPSIZ) | in USB_ActivateDedicatedEndpoint()
662 if ((USBx_INEP(epnum)->DIEPCTL & USB_OTG_DIEPCTL_EPENA) == USB_OTG_DIEPCTL_EPENA) in USB_DeactivateEndpoint()
664 USBx_INEP(epnum)->DIEPCTL |= USB_OTG_DIEPCTL_SNAK; in USB_DeactivateEndpoint()
[all …]
Dstm32h7xx_hal_pcd.c1340 USBx_INEP(i)->DIEPCTL &= ~USB_OTG_DIEPCTL_STALL; in HAL_PCD_IRQHandler()
1432 RegVal = USBx_INEP(epnum)->DIEPCTL; in HAL_PCD_IRQHandler()
/hal_stm32-latest/stm32cube/stm32f1xx/drivers/src/
Dstm32f1xx_ll_usb.c297 if ((USBx_INEP(i)->DIEPCTL & USB_OTG_DIEPCTL_EPENA) == USB_OTG_DIEPCTL_EPENA) in USB_DevInit()
301 USBx_INEP(i)->DIEPCTL = USB_OTG_DIEPCTL_SNAK; in USB_DevInit()
305 USBx_INEP(i)->DIEPCTL = USB_OTG_DIEPCTL_EPDIS | USB_OTG_DIEPCTL_SNAK; in USB_DevInit()
310 USBx_INEP(i)->DIEPCTL = 0U; in USB_DevInit()
504 if ((USBx_INEP(epnum)->DIEPCTL & USB_OTG_DIEPCTL_USBAEP) == 0U) in USB_ActivateEndpoint()
506 USBx_INEP(epnum)->DIEPCTL |= (ep->maxpacket & USB_OTG_DIEPCTL_MPSIZ) | in USB_ActivateEndpoint()
541 if (((USBx_INEP(epnum)->DIEPCTL) & USB_OTG_DIEPCTL_USBAEP) == 0U) in USB_ActivateDedicatedEndpoint()
543 USBx_INEP(epnum)->DIEPCTL |= (ep->maxpacket & USB_OTG_DIEPCTL_MPSIZ) | in USB_ActivateDedicatedEndpoint()
580 if ((USBx_INEP(epnum)->DIEPCTL & USB_OTG_DIEPCTL_EPENA) == USB_OTG_DIEPCTL_EPENA) in USB_DeactivateEndpoint()
582 USBx_INEP(epnum)->DIEPCTL |= USB_OTG_DIEPCTL_SNAK; in USB_DeactivateEndpoint()
[all …]
Dstm32f1xx_hal_pcd.c1140 USBx_INEP(i)->DIEPCTL &= ~USB_OTG_DIEPCTL_STALL; in HAL_PCD_IRQHandler()
1231 RegVal = USBx_INEP(epnum)->DIEPCTL; in HAL_PCD_IRQHandler()
/hal_stm32-latest/stm32cube/stm32l4xx/drivers/src/
Dstm32l4xx_ll_usb.c320 if ((USBx_INEP(i)->DIEPCTL & USB_OTG_DIEPCTL_EPENA) == USB_OTG_DIEPCTL_EPENA) in USB_DevInit()
324 USBx_INEP(i)->DIEPCTL = USB_OTG_DIEPCTL_SNAK; in USB_DevInit()
328 USBx_INEP(i)->DIEPCTL = USB_OTG_DIEPCTL_EPDIS | USB_OTG_DIEPCTL_SNAK; in USB_DevInit()
333 USBx_INEP(i)->DIEPCTL = 0U; in USB_DevInit()
527 if ((USBx_INEP(epnum)->DIEPCTL & USB_OTG_DIEPCTL_USBAEP) == 0U) in USB_ActivateEndpoint()
529 USBx_INEP(epnum)->DIEPCTL |= (ep->maxpacket & USB_OTG_DIEPCTL_MPSIZ) | in USB_ActivateEndpoint()
564 if (((USBx_INEP(epnum)->DIEPCTL) & USB_OTG_DIEPCTL_USBAEP) == 0U) in USB_ActivateDedicatedEndpoint()
566 USBx_INEP(epnum)->DIEPCTL |= (ep->maxpacket & USB_OTG_DIEPCTL_MPSIZ) | in USB_ActivateDedicatedEndpoint()
603 if ((USBx_INEP(epnum)->DIEPCTL & USB_OTG_DIEPCTL_EPENA) == USB_OTG_DIEPCTL_EPENA) in USB_DeactivateEndpoint()
605 USBx_INEP(epnum)->DIEPCTL |= USB_OTG_DIEPCTL_SNAK; in USB_DeactivateEndpoint()
[all …]
Dstm32l4xx_hal_pcd.c1345 USBx_INEP(i)->DIEPCTL &= ~USB_OTG_DIEPCTL_STALL; in HAL_PCD_IRQHandler()
1436 RegVal = USBx_INEP(epnum)->DIEPCTL; in HAL_PCD_IRQHandler()
/hal_stm32-latest/stm32cube/stm32u5xx/drivers/src/
Dstm32u5xx_ll_usb.c386 if ((USBx_INEP(i)->DIEPCTL & USB_OTG_DIEPCTL_EPENA) == USB_OTG_DIEPCTL_EPENA) in USB_DevInit()
390 USBx_INEP(i)->DIEPCTL = USB_OTG_DIEPCTL_SNAK; in USB_DevInit()
394 USBx_INEP(i)->DIEPCTL = USB_OTG_DIEPCTL_EPDIS | USB_OTG_DIEPCTL_SNAK; in USB_DevInit()
399 USBx_INEP(i)->DIEPCTL = 0U; in USB_DevInit()
603 if ((USBx_INEP(epnum)->DIEPCTL & USB_OTG_DIEPCTL_USBAEP) == 0U) in USB_ActivateEndpoint()
605 USBx_INEP(epnum)->DIEPCTL |= (ep->maxpacket & USB_OTG_DIEPCTL_MPSIZ) | in USB_ActivateEndpoint()
640 if (((USBx_INEP(epnum)->DIEPCTL) & USB_OTG_DIEPCTL_USBAEP) == 0U) in USB_ActivateDedicatedEndpoint()
642 USBx_INEP(epnum)->DIEPCTL |= (ep->maxpacket & USB_OTG_DIEPCTL_MPSIZ) | in USB_ActivateDedicatedEndpoint()
679 if ((USBx_INEP(epnum)->DIEPCTL & USB_OTG_DIEPCTL_EPENA) == USB_OTG_DIEPCTL_EPENA) in USB_DeactivateEndpoint()
681 USBx_INEP(epnum)->DIEPCTL |= USB_OTG_DIEPCTL_SNAK; in USB_DeactivateEndpoint()
[all …]
Dstm32u5xx_hal_pcd.c1372 USBx_INEP(i)->DIEPCTL &= ~USB_OTG_DIEPCTL_STALL; in HAL_PCD_IRQHandler()
1464 RegVal = USBx_INEP(epnum)->DIEPCTL; in HAL_PCD_IRQHandler()
/hal_stm32-latest/stm32cube/stm32h5xx/drivers/src/
Dstm32h5xx_ll_usb.c390 if ((USBx_INEP(i)->DIEPCTL & USB_OTG_DIEPCTL_EPENA) == USB_OTG_DIEPCTL_EPENA) in USB_DevInit()
394 USBx_INEP(i)->DIEPCTL = USB_OTG_DIEPCTL_SNAK; in USB_DevInit()
398 USBx_INEP(i)->DIEPCTL = USB_OTG_DIEPCTL_EPDIS | USB_OTG_DIEPCTL_SNAK; in USB_DevInit()
403 USBx_INEP(i)->DIEPCTL = 0U; in USB_DevInit()
607 if ((USBx_INEP(epnum)->DIEPCTL & USB_OTG_DIEPCTL_USBAEP) == 0U) in USB_ActivateEndpoint()
609 USBx_INEP(epnum)->DIEPCTL |= (ep->maxpacket & USB_OTG_DIEPCTL_MPSIZ) | in USB_ActivateEndpoint()
644 if (((USBx_INEP(epnum)->DIEPCTL) & USB_OTG_DIEPCTL_USBAEP) == 0U) in USB_ActivateDedicatedEndpoint()
646 USBx_INEP(epnum)->DIEPCTL |= (ep->maxpacket & USB_OTG_DIEPCTL_MPSIZ) | in USB_ActivateDedicatedEndpoint()
683 if ((USBx_INEP(epnum)->DIEPCTL & USB_OTG_DIEPCTL_EPENA) == USB_OTG_DIEPCTL_EPENA) in USB_DeactivateEndpoint()
685 USBx_INEP(epnum)->DIEPCTL |= USB_OTG_DIEPCTL_SNAK; in USB_DeactivateEndpoint()
[all …]
Dstm32h5xx_hal_pcd.c1372 USBx_INEP(i)->DIEPCTL &= ~USB_OTG_DIEPCTL_STALL; in HAL_PCD_IRQHandler()
1464 RegVal = USBx_INEP(epnum)->DIEPCTL; in HAL_PCD_IRQHandler()
/hal_stm32-latest/stm32cube/stm32f4xx/soc/
Dstm32f401xc.h576 …__IO uint32_t DIEPCTL; /*!< dev IN Endpoint Control Reg 900h + (ep_num * 20h) + 00h */ member
Dstm32f401xe.h576 …__IO uint32_t DIEPCTL; /*!< dev IN Endpoint Control Reg 900h + (ep_num * 20h) + 00h */ member
Dstm32f411xe.h577 …__IO uint32_t DIEPCTL; /*!< dev IN Endpoint Control Reg 900h + (ep_num * 20h) + 00h */ member
Dstm32f405xx.h751 …__IO uint32_t DIEPCTL; /*!< dev IN Endpoint Control Reg 900h + (ep_num * 20h) + 00h */ member
/hal_stm32-latest/stm32cube/stm32f2xx/soc/
Dstm32f215xx.h801 __IO uint32_t DIEPCTL; /* dev IN Endpoint Control Reg 900h + (ep_num * 20h) + 00h */ member

123456