Home
last modified time | relevance | path

Searched refs:wCount (Results 1 – 14 of 14) sorted by relevance

/hal_stm32-latest/stm32cube/stm32u0xx/drivers/include/
Dstm32u0xx_ll_usb.h500 #define USB_DRD_CALC_BLK32(pdwReg, wCount, wNBlocks) \ argument
503 (wNBlocks) =((uint32_t)(wCount) >> 5U); \
504 if (((uint32_t)(wCount) % 32U) == 0U) \
512 #define USB_DRD_CALC_BLK2(pdwReg, wCount, wNBlocks) \ argument
515 (wNBlocks) = (uint32_t)((uint32_t)(wCount) >> 1U); \
516 if (((wCount) & 0x1U) != 0U) \
523 #define USB_DRD_SET_CHEP_CNT_RX_REG(pdwReg, wCount) \ argument
529 if ((wCount) == 0U) \
533 else if ((wCount) <= 62U) \
535 USB_DRD_CALC_BLK2((pdwReg), (wCount), wNBlocks); \
[all …]
/hal_stm32-latest/stm32cube/stm32c0xx/drivers/include/
Dstm32c0xx_ll_usb.h660 #define USB_DRD_CALC_BLK32(pdwReg, wCount, wNBlocks) \ argument
663 (wNBlocks) =((uint32_t)(wCount) >> 5U); \
664 if (((uint32_t)(wCount) % 32U) == 0U) \
672 #define USB_DRD_CALC_BLK2(pdwReg, wCount, wNBlocks) \ argument
675 (wNBlocks) = (uint32_t)((uint32_t)(wCount) >> 1U); \
676 if (((wCount) & 0x1U) != 0U) \
683 #define USB_DRD_SET_CHEP_CNT_RX_REG(pdwReg, wCount) \ argument
689 if ((wCount) == 0U) \
693 else if ((wCount) <= 62U) \
695 USB_DRD_CALC_BLK2((pdwReg), (wCount), wNBlocks); \
[all …]
/hal_stm32-latest/stm32cube/stm32g0xx/drivers/include/
Dstm32g0xx_ll_usb.h660 #define USB_DRD_CALC_BLK32(pdwReg, wCount, wNBlocks) \ argument
663 (wNBlocks) =((uint32_t)(wCount) >> 5U); \
664 if (((uint32_t)(wCount) % 32U) == 0U) \
672 #define USB_DRD_CALC_BLK2(pdwReg, wCount, wNBlocks) \ argument
675 (wNBlocks) = (uint32_t)((uint32_t)(wCount) >> 1U); \
676 if (((wCount) & 0x1U) != 0U) \
683 #define USB_DRD_SET_CHEP_CNT_RX_REG(pdwReg, wCount) \ argument
689 if ((wCount) > 62U) \
691 USB_DRD_CALC_BLK32((pdwReg), (wCount), wNBlocks); \
695 if ((wCount) == 0U) \
[all …]
/hal_stm32-latest/stm32cube/stm32l0xx/drivers/include/
Dstm32l0xx_hal_pcd.h783 #define PCD_CALC_BLK32(pdwReg, wCount, wNBlocks) \ argument
785 (wNBlocks) = (wCount) >> 5; \
786 if (((wCount) & 0x1fU) == 0U) \
793 #define PCD_CALC_BLK2(pdwReg, wCount, wNBlocks) \ argument
795 (wNBlocks) = (wCount) >> 1; \
796 if (((wCount) & 0x1U) != 0U) \
803 #define PCD_SET_EP_CNT_RX_REG(pdwReg, wCount) \ argument
809 if ((wCount) > 62U) \
811 PCD_CALC_BLK32((pdwReg), (wCount), wNBlocks); \
815 if ((wCount) == 0U) \
[all …]
/hal_stm32-latest/stm32cube/stm32f0xx/drivers/include/
Dstm32f0xx_hal_pcd.h783 #define PCD_CALC_BLK32(pdwReg, wCount, wNBlocks) \ argument
785 (wNBlocks) = (wCount) >> 5; \
786 if (((wCount) & 0x1fU) == 0U) \
793 #define PCD_CALC_BLK2(pdwReg, wCount, wNBlocks) \ argument
795 (wNBlocks) = (wCount) >> 1; \
796 if (((wCount) & 0x1U) != 0U) \
803 #define PCD_SET_EP_CNT_RX_REG(pdwReg, wCount) \ argument
809 if ((wCount) == 0U) \
813 else if ((wCount) <= 62U) \
815 PCD_CALC_BLK2((pdwReg), (wCount), wNBlocks); \
[all …]
/hal_stm32-latest/stm32cube/stm32l5xx/drivers/include/
Dstm32l5xx_hal_pcd.h783 #define PCD_CALC_BLK32(pdwReg, wCount, wNBlocks) \ argument
785 (wNBlocks) = (wCount) >> 5; \
786 if (((wCount) & 0x1fU) == 0U) \
793 #define PCD_CALC_BLK2(pdwReg, wCount, wNBlocks) \ argument
795 (wNBlocks) = (wCount) >> 1; \
796 if (((wCount) & 0x1U) != 0U) \
803 #define PCD_SET_EP_CNT_RX_REG(pdwReg, wCount) \ argument
809 if ((wCount) == 0U) \
813 else if ((wCount) <= 62U) \
815 PCD_CALC_BLK2((pdwReg), (wCount), wNBlocks); \
[all …]
/hal_stm32-latest/stm32cube/stm32l1xx/drivers/include/
Dstm32l1xx_hal_pcd.h778 #define PCD_CALC_BLK32(pdwReg, wCount, wNBlocks) \ argument
780 (wNBlocks) = (wCount) >> 5; \
781 if (((wCount) & 0x1fU) == 0U) \
788 #define PCD_CALC_BLK2(pdwReg, wCount, wNBlocks) \ argument
790 (wNBlocks) = (wCount) >> 1; \
791 if (((wCount) & 0x1U) != 0U) \
798 #define PCD_SET_EP_CNT_RX_REG(pdwReg, wCount) \ argument
804 if ((wCount) > 62U) \
806 PCD_CALC_BLK32((pdwReg), (wCount), wNBlocks); \
810 if ((wCount) == 0U) \
[all …]
/hal_stm32-latest/stm32cube/stm32f3xx/drivers/include/
Dstm32f3xx_hal_pcd.h778 #define PCD_CALC_BLK32(pdwReg, wCount, wNBlocks) \ argument
780 (wNBlocks) = (wCount) >> 5; \
781 if (((wCount) & 0x1fU) == 0U) \
788 #define PCD_CALC_BLK2(pdwReg, wCount, wNBlocks) \ argument
790 (wNBlocks) = (wCount) >> 1; \
791 if (((wCount) & 0x1U) != 0U) \
798 #define PCD_SET_EP_CNT_RX_REG(pdwReg, wCount) \ argument
804 if ((wCount) == 0U) \
808 else if ((wCount) <= 62U) \
810 PCD_CALC_BLK2((pdwReg), (wCount), wNBlocks); \
[all …]
/hal_stm32-latest/stm32cube/stm32wbxx/drivers/include/
Dstm32wbxx_hal_pcd.h783 #define PCD_CALC_BLK32(pdwReg, wCount, wNBlocks) \ argument
785 (wNBlocks) = (wCount) >> 5; \
786 if (((wCount) & 0x1fU) == 0U) \
793 #define PCD_CALC_BLK2(pdwReg, wCount, wNBlocks) \ argument
795 (wNBlocks) = (wCount) >> 1; \
796 if (((wCount) & 0x1U) != 0U) \
803 #define PCD_SET_EP_CNT_RX_REG(pdwReg, wCount) \ argument
809 if ((wCount) > 62U) \
811 PCD_CALC_BLK32((pdwReg), (wCount), wNBlocks); \
815 if ((wCount) == 0U) \
[all …]
/hal_stm32-latest/stm32cube/stm32g4xx/drivers/include/
Dstm32g4xx_hal_pcd.h783 #define PCD_CALC_BLK32(pdwReg, wCount, wNBlocks) \ argument
785 (wNBlocks) = (wCount) >> 5; \
786 if (((wCount) & 0x1fU) == 0U) \
793 #define PCD_CALC_BLK2(pdwReg, wCount, wNBlocks) \ argument
795 (wNBlocks) = (wCount) >> 1; \
796 if (((wCount) & 0x1U) != 0U) \
803 #define PCD_SET_EP_CNT_RX_REG(pdwReg, wCount) \ argument
809 if ((wCount) == 0U) \
813 else if ((wCount) <= 62U) \
815 PCD_CALC_BLK2((pdwReg), (wCount), wNBlocks); \
[all …]
/hal_stm32-latest/stm32cube/stm32f1xx/drivers/include/
Dstm32f1xx_hal_pcd.h844 #define PCD_CALC_BLK32(pdwReg, wCount, wNBlocks) \ argument
846 (wNBlocks) = (wCount) >> 5; \
847 if (((wCount) & 0x1fU) == 0U) \
854 #define PCD_CALC_BLK2(pdwReg, wCount, wNBlocks) \ argument
856 (wNBlocks) = (wCount) >> 1; \
857 if (((wCount) & 0x1U) != 0U) \
864 #define PCD_SET_EP_CNT_RX_REG(pdwReg, wCount) \ argument
870 if ((wCount) > 62U) \
872 PCD_CALC_BLK32((pdwReg), (wCount), wNBlocks); \
876 if ((wCount) == 0U) \
[all …]
/hal_stm32-latest/stm32cube/stm32l4xx/drivers/include/
Dstm32l4xx_hal_pcd.h841 #define PCD_CALC_BLK32(pdwReg, wCount, wNBlocks) \ argument
843 (wNBlocks) = (wCount) >> 5; \
844 if (((wCount) & 0x1fU) == 0U) \
851 #define PCD_CALC_BLK2(pdwReg, wCount, wNBlocks) \ argument
853 (wNBlocks) = (wCount) >> 1; \
854 if (((wCount) & 0x1U) != 0U) \
861 #define PCD_SET_EP_CNT_RX_REG(pdwReg, wCount) \ argument
867 if ((wCount) == 0U) \
871 else if ((wCount) <= 62U) \
873 PCD_CALC_BLK2((pdwReg), (wCount), wNBlocks); \
[all …]
/hal_stm32-latest/stm32cube/stm32h5xx/drivers/include/
Dstm32h5xx_ll_usb.h903 #define USB_DRD_CALC_BLK32(pdwReg, wCount, wNBlocks) \ argument
906 (wNBlocks) =((uint32_t)(wCount) >> 5U); \
907 if (((uint32_t)(wCount) % 32U) == 0U) \
915 #define USB_DRD_CALC_BLK2(pdwReg, wCount, wNBlocks) \ argument
918 (wNBlocks) = (uint32_t)((uint32_t)(wCount) >> 1U); \
919 if (((wCount) & 0x1U) != 0U) \
926 #define USB_DRD_SET_CHEP_CNT_RX_REG(pdwReg, wCount) \ argument
932 if ((wCount) == 0U) \
936 else if ((wCount) <= 62U) \
938 USB_DRD_CALC_BLK2((pdwReg), (wCount), wNBlocks); \
[all …]
/hal_stm32-latest/stm32cube/stm32u5xx/drivers/include/
Dstm32u5xx_ll_usb.h903 #define USB_DRD_CALC_BLK32(pdwReg, wCount, wNBlocks) \ argument
906 (wNBlocks) =((uint32_t)(wCount) >> 5U); \
907 if (((uint32_t)(wCount) % 32U) == 0U) \
915 #define USB_DRD_CALC_BLK2(pdwReg, wCount, wNBlocks) \ argument
918 (wNBlocks) = (uint32_t)((uint32_t)(wCount) >> 1U); \
919 if (((wCount) & 0x1U) != 0U) \
926 #define USB_DRD_SET_CHEP_CNT_RX_REG(pdwReg, wCount) \ argument
932 if ((wCount) == 0U) \
936 else if ((wCount) <= 62U) \
938 USB_DRD_CALC_BLK2((pdwReg), (wCount), wNBlocks); \
[all …]