/hal_stm32-latest/stm32cube/stm32n6xx/drivers/src/ |
D | stm32n6xx_ll_usb.c | 346 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 …]
|
D | stm32n6xx_hal_pcd.c | 1320 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/ |
D | stm32h7rsxx_ll_usb.c | 387 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 …]
|
D | stm32h7rsxx_hal_pcd.c | 1355 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/ |
D | stm32f2xx_ll_usb.c | 358 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 …]
|
D | stm32f2xx_hal_pcd.c | 1142 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/ |
D | stm32f4xx_ll_usb.c | 390 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 …]
|
D | stm32f4xx_hal_pcd.c | 1363 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/ |
D | stm32f7xx_ll_usb.c | 420 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 …]
|
D | stm32f7xx_hal_pcd.c | 1261 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/ |
D | stm32h7xx_ll_usb.c | 369 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 …]
|
D | stm32h7xx_hal_pcd.c | 1340 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/ |
D | stm32f1xx_ll_usb.c | 297 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 …]
|
D | stm32f1xx_hal_pcd.c | 1140 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/ |
D | stm32l4xx_ll_usb.c | 320 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 …]
|
D | stm32l4xx_hal_pcd.c | 1345 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/ |
D | stm32u5xx_ll_usb.c | 386 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 …]
|
D | stm32u5xx_hal_pcd.c | 1372 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/ |
D | stm32h5xx_ll_usb.c | 390 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 …]
|
D | stm32h5xx_hal_pcd.c | 1372 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/ |
D | stm32f401xc.h | 576 …__IO uint32_t DIEPCTL; /*!< dev IN Endpoint Control Reg 900h + (ep_num * 20h) + 00h */ member
|
D | stm32f401xe.h | 576 …__IO uint32_t DIEPCTL; /*!< dev IN Endpoint Control Reg 900h + (ep_num * 20h) + 00h */ member
|
D | stm32f411xe.h | 577 …__IO uint32_t DIEPCTL; /*!< dev IN Endpoint Control Reg 900h + (ep_num * 20h) + 00h */ member
|
D | stm32f405xx.h | 751 …__IO uint32_t DIEPCTL; /*!< dev IN Endpoint Control Reg 900h + (ep_num * 20h) + 00h */ member
|
/hal_stm32-latest/stm32cube/stm32f2xx/soc/ |
D | stm32f215xx.h | 801 __IO uint32_t DIEPCTL; /* dev IN Endpoint Control Reg 900h + (ep_num * 20h) + 00h */ member
|