/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() 362 USBx_INEP(i)->DIEPTSIZ = 0U; in USB_DevInit() 363 USBx_INEP(i)->DIEPINT = 0xFB7FU; 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() [all …]
|
D | stm32n6xx_hal_pcd.c | 1319 USBx_INEP(i)->DIEPINT = 0xFB7FU; in HAL_PCD_IRQHandler() 1320 USBx_INEP(i)->DIEPCTL &= ~USB_OTG_DIEPCTL_STALL; in HAL_PCD_IRQHandler() 1412 RegVal = USBx_INEP(epnum)->DIEPCTL; in HAL_PCD_IRQHandler() 2119 while (((USBx_INEP(epnum)->DTXFSTS & USB_OTG_DTXFSTS_INEPTFSAV) >= len32b) && in PCD_WriteEmptyTxFifo()
|
/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() 403 USBx_INEP(i)->DIEPTSIZ = 0U; in USB_DevInit() 404 USBx_INEP(i)->DIEPINT = 0xFB7FU; 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() [all …]
|
D | stm32h7rsxx_hal_pcd.c | 1354 USBx_INEP(i)->DIEPINT = 0xFB7FU; in HAL_PCD_IRQHandler() 1355 USBx_INEP(i)->DIEPCTL &= ~USB_OTG_DIEPCTL_STALL; in HAL_PCD_IRQHandler() 1447 RegVal = USBx_INEP(epnum)->DIEPCTL; in HAL_PCD_IRQHandler() 2173 while (((USBx_INEP(epnum)->DTXFSTS & USB_OTG_DTXFSTS_INEPTFSAV) >= len32b) && in PCD_WriteEmptyTxFifo()
|
/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() 374 USBx_INEP(i)->DIEPTSIZ = 0U; in USB_DevInit() 375 USBx_INEP(i)->DIEPINT = 0xFB7FU; 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() [all …]
|
D | stm32f2xx_hal_pcd.c | 1141 USBx_INEP(i)->DIEPINT = 0xFB7FU; in HAL_PCD_IRQHandler() 1142 USBx_INEP(i)->DIEPCTL &= ~USB_OTG_DIEPCTL_STALL; in HAL_PCD_IRQHandler() 1234 RegVal = USBx_INEP(epnum)->DIEPCTL; in HAL_PCD_IRQHandler() 1966 while (((USBx_INEP(epnum)->DTXFSTS & USB_OTG_DTXFSTS_INEPTFSAV) >= len32b) && in PCD_WriteEmptyTxFifo()
|
/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() 406 USBx_INEP(i)->DIEPTSIZ = 0U; in USB_DevInit() 407 USBx_INEP(i)->DIEPINT = 0xFB7FU; 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() [all …]
|
D | stm32f4xx_hal_pcd.c | 1362 USBx_INEP(i)->DIEPINT = 0xFB7FU; in HAL_PCD_IRQHandler() 1363 USBx_INEP(i)->DIEPCTL &= ~USB_OTG_DIEPCTL_STALL; in HAL_PCD_IRQHandler() 1455 RegVal = USBx_INEP(epnum)->DIEPCTL; in HAL_PCD_IRQHandler() 2206 while (((USBx_INEP(epnum)->DTXFSTS & USB_OTG_DTXFSTS_INEPTFSAV) >= len32b) && in PCD_WriteEmptyTxFifo()
|
/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() 436 USBx_INEP(i)->DIEPTSIZ = 0U; in USB_DevInit() 437 USBx_INEP(i)->DIEPINT = 0xFB7FU; 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() [all …]
|
D | stm32f7xx_hal_pcd.c | 1260 USBx_INEP(i)->DIEPINT = 0xFB7FU; in HAL_PCD_IRQHandler() 1261 USBx_INEP(i)->DIEPCTL &= ~USB_OTG_DIEPCTL_STALL; in HAL_PCD_IRQHandler() 1353 RegVal = USBx_INEP(epnum)->DIEPCTL; in HAL_PCD_IRQHandler() 2085 while (((USBx_INEP(epnum)->DTXFSTS & USB_OTG_DTXFSTS_INEPTFSAV) >= len32b) && in PCD_WriteEmptyTxFifo()
|
/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() 385 USBx_INEP(i)->DIEPTSIZ = 0U; in USB_DevInit() 386 USBx_INEP(i)->DIEPINT = 0xFB7FU; 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() [all …]
|
D | stm32h7xx_hal_pcd.c | 1339 USBx_INEP(i)->DIEPINT = 0xFB7FU; in HAL_PCD_IRQHandler() 1340 USBx_INEP(i)->DIEPCTL &= ~USB_OTG_DIEPCTL_STALL; in HAL_PCD_IRQHandler() 1432 RegVal = USBx_INEP(epnum)->DIEPCTL; in HAL_PCD_IRQHandler() 2159 while (((USBx_INEP(epnum)->DTXFSTS & USB_OTG_DTXFSTS_INEPTFSAV) >= len32b) && in PCD_WriteEmptyTxFifo()
|
/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() 313 USBx_INEP(i)->DIEPTSIZ = 0U; in USB_DevInit() 314 USBx_INEP(i)->DIEPINT = 0xFB7FU; 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() [all …]
|
D | stm32f1xx_hal_pcd.c | 1139 USBx_INEP(i)->DIEPINT = 0xFB7FU; in HAL_PCD_IRQHandler() 1140 USBx_INEP(i)->DIEPCTL &= ~USB_OTG_DIEPCTL_STALL; in HAL_PCD_IRQHandler() 1231 RegVal = USBx_INEP(epnum)->DIEPCTL; in HAL_PCD_IRQHandler() 2074 while (((USBx_INEP(epnum)->DTXFSTS & USB_OTG_DTXFSTS_INEPTFSAV) >= len32b) && in PCD_WriteEmptyTxFifo()
|
/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() 336 USBx_INEP(i)->DIEPTSIZ = 0U; in USB_DevInit() 337 USBx_INEP(i)->DIEPINT = 0xFB7FU; 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() [all …]
|
/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() 402 USBx_INEP(i)->DIEPTSIZ = 0U; in USB_DevInit() 403 USBx_INEP(i)->DIEPINT = 0xFB7FU; 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() [all …]
|
/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() 406 USBx_INEP(i)->DIEPTSIZ = 0U; in USB_DevInit() 407 USBx_INEP(i)->DIEPINT = 0xFB7FU; 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() [all …]
|
/hal_stm32-latest/stm32cube/stm32n6xx/drivers/include/ |
D | stm32n6xx_ll_usb.h | 458 #define USBx_INEP(i) ((USB_OTG_INEndpointTypeDef *)(USBx_BASE\ macro 486 #define CLEAR_IN_EP_INTR(__EPNUM__, __INTERRUPT__) (USBx_INEP(__EPNUM__)->DIEPINT = (__INT…
|
/hal_stm32-latest/stm32cube/stm32f2xx/drivers/include/ |
D | stm32f2xx_ll_usb.h | 459 #define USBx_INEP(i) ((USB_OTG_INEndpointTypeDef *)(USBx_BASE\ macro 487 #define CLEAR_IN_EP_INTR(__EPNUM__, __INTERRUPT__) (USBx_INEP(__EPNUM__)->DIEPINT = (__INT…
|
/hal_stm32-latest/stm32cube/stm32h7rsxx/drivers/include/ |
D | stm32h7rsxx_ll_usb.h | 459 #define USBx_INEP(i) ((USB_OTG_INEndpointTypeDef *)(USBx_BASE\ macro 487 #define CLEAR_IN_EP_INTR(__EPNUM__, __INTERRUPT__) (USBx_INEP(__EPNUM__)->DIEPINT = (__INT…
|
/hal_stm32-latest/stm32cube/stm32f7xx/drivers/include/ |
D | stm32f7xx_ll_usb.h | 476 #define USBx_INEP(i) ((USB_OTG_INEndpointTypeDef *)(USBx_BASE\ macro 509 #define CLEAR_IN_EP_INTR(__EPNUM__, __INTERRUPT__) (USBx_INEP(__EPNUM__)->DIEPINT = (__INT…
|
/hal_stm32-latest/stm32cube/stm32h7xx/drivers/include/ |
D | stm32h7xx_ll_usb.h | 459 #define USBx_INEP(i) ((USB_OTG_INEndpointTypeDef *)(USBx_BASE\ macro 487 #define CLEAR_IN_EP_INTR(__EPNUM__, __INTERRUPT__) (USBx_INEP(__EPNUM__)->DIEPINT = (__INT…
|
/hal_stm32-latest/stm32cube/stm32f4xx/drivers/include/ |
D | stm32f4xx_ll_usb.h | 459 #define USBx_INEP(i) ((USB_OTG_INEndpointTypeDef *)(USBx_BASE\ macro 487 #define CLEAR_IN_EP_INTR(__EPNUM__, __INTERRUPT__) (USBx_INEP(__EPNUM__)->DIEPINT = (__INT…
|
/hal_stm32-latest/stm32cube/stm32f1xx/drivers/include/ |
D | stm32f1xx_ll_usb.h | 461 #define USBx_INEP(i) ((USB_OTG_INEndpointTypeDef *)(USBx_BASE\ macro 505 #define CLEAR_IN_EP_INTR(__EPNUM__, __INTERRUPT__) (USBx_INEP(__EPNUM__)->DIEPINT = (__INT…
|
/hal_stm32-latest/stm32cube/stm32l4xx/drivers/include/ |
D | stm32l4xx_ll_usb.h | 461 #define USBx_INEP(i) ((USB_OTG_INEndpointTypeDef *)(USBx_BASE\ macro 505 #define CLEAR_IN_EP_INTR(__EPNUM__, __INTERRUPT__) (USBx_INEP(__EPNUM__)->DIEPINT = (__INT…
|