Home
last modified time | relevance | path

Searched refs:wNBlocks (Results 1 – 12 of 12) sorted by relevance

/hal_stm32-3.6.0/stm32cube/stm32h5xx/drivers/include/
Dstm32h5xx_ll_usb.h657 #define USB_DRD_CALC_BLK32(pdwReg, wCount, wNBlocks) \ argument
660 (wNBlocks) =((uint32_t)(wCount) >> 5U); \
663 (wNBlocks)--; \
666 (pdwReg)|= (uint32_t)((((wNBlocks) << 26U)) | USB_CNTRX_BLSIZE); \
669 #define USB_DRD_CALC_BLK2(pdwReg, wCount, wNBlocks) \ argument
672 (wNBlocks) = (uint32_t)((uint32_t)(wCount) >> 1U); \
675 (wNBlocks)++; \
677 (pdwReg) |= (uint32_t)((wNBlocks) << 26U); \
682 uint32_t wNBlocks; \
688 USB_DRD_CALC_BLK32((pdwReg), (wCount), wNBlocks); \
[all …]
/hal_stm32-3.6.0/stm32cube/stm32g0xx/drivers/include/
Dstm32g0xx_ll_usb.h636 #define USB_DRD_CALC_BLK32(pdwReg, wCount, wNBlocks) \ argument
639 (wNBlocks) =((uint32_t)(wCount) >> 5U); \
642 (wNBlocks)--; \
645 (pdwReg)|= (uint32_t)((((wNBlocks) << 26U)) | USB_CNTRX_BLSIZE); \
648 #define USB_DRD_CALC_BLK2(pdwReg, wCount, wNBlocks) \ argument
651 (wNBlocks) = (uint32_t)((uint32_t)(wCount) >> 1U); \
654 (wNBlocks)++; \
656 (pdwReg) |= (uint32_t)((wNBlocks) << 26U); \
661 uint32_t wNBlocks; \
667 USB_DRD_CALC_BLK32((pdwReg), (wCount), wNBlocks); \
[all …]
/hal_stm32-3.6.0/stm32cube/stm32f0xx/drivers/include/
Dstm32f0xx_hal_pcd.h783 #define PCD_CALC_BLK32(pdwReg, wCount, wNBlocks) \ argument
785 (wNBlocks) = (wCount) >> 5; \
788 (wNBlocks)--; \
790 *(pdwReg) |= (uint16_t)(((wNBlocks) << 10) | USB_CNTRX_BLSIZE); \
793 #define PCD_CALC_BLK2(pdwReg, wCount, wNBlocks) \ argument
795 (wNBlocks) = (wCount) >> 1; \
798 (wNBlocks)++; \
800 *(pdwReg) |= (uint16_t)((wNBlocks) << 10); \
805 uint32_t wNBlocks; \
811 PCD_CALC_BLK32((pdwReg), (wCount), wNBlocks); \
[all …]
/hal_stm32-3.6.0/stm32cube/stm32l1xx/drivers/include/
Dstm32l1xx_hal_pcd.h778 #define PCD_CALC_BLK32(pdwReg, wCount, wNBlocks) \ argument
780 (wNBlocks) = (wCount) >> 5; \
783 (wNBlocks)--; \
785 *(pdwReg) |= (uint16_t)(((wNBlocks) << 10) | USB_CNTRX_BLSIZE); \
788 #define PCD_CALC_BLK2(pdwReg, wCount, wNBlocks) \ argument
790 (wNBlocks) = (wCount) >> 1; \
793 (wNBlocks)++; \
795 *(pdwReg) |= (uint16_t)((wNBlocks) << 10); \
800 uint32_t wNBlocks; \
806 PCD_CALC_BLK32((pdwReg), (wCount), wNBlocks); \
[all …]
/hal_stm32-3.6.0/stm32cube/stm32g4xx/drivers/include/
Dstm32g4xx_hal_pcd.h793 #define PCD_CALC_BLK32(pdwReg, wCount, wNBlocks) \ argument
795 (wNBlocks) = (wCount) >> 5; \
798 (wNBlocks)--; \
800 *(pdwReg) = (uint16_t)(((wNBlocks) << 10) | USB_CNTRX_BLSIZE); \
803 #define PCD_CALC_BLK2(pdwReg, wCount, wNBlocks) \ argument
805 (wNBlocks) = (wCount) >> 1; \
808 (wNBlocks)++; \
810 *(pdwReg) = (uint16_t)((wNBlocks) << 10); \
815 uint32_t wNBlocks; \
819 PCD_CALC_BLK32((pdwReg), (wCount), wNBlocks); \
[all …]
/hal_stm32-3.6.0/stm32cube/stm32l0xx/drivers/include/
Dstm32l0xx_hal_pcd.h783 #define PCD_CALC_BLK32(pdwReg, wCount, wNBlocks) \ argument
785 (wNBlocks) = (wCount) >> 5; \
788 (wNBlocks)--; \
790 *(pdwReg) |= (uint16_t)(((wNBlocks) << 10) | USB_CNTRX_BLSIZE); \
793 #define PCD_CALC_BLK2(pdwReg, wCount, wNBlocks) \ argument
795 (wNBlocks) = (wCount) >> 1; \
798 (wNBlocks)++; \
800 *(pdwReg) |= (uint16_t)((wNBlocks) << 10); \
805 uint32_t wNBlocks; \
811 PCD_CALC_BLK32((pdwReg), (wCount), wNBlocks); \
[all …]
/hal_stm32-3.6.0/stm32cube/stm32wbxx/drivers/include/
Dstm32wbxx_hal_pcd.h783 #define PCD_CALC_BLK32(pdwReg, wCount, wNBlocks) \ argument
785 (wNBlocks) = (wCount) >> 5; \
788 (wNBlocks)--; \
790 *(pdwReg) |= (uint16_t)(((wNBlocks) << 10) | USB_CNTRX_BLSIZE); \
793 #define PCD_CALC_BLK2(pdwReg, wCount, wNBlocks) \ argument
795 (wNBlocks) = (wCount) >> 1; \
798 (wNBlocks)++; \
800 *(pdwReg) |= (uint16_t)((wNBlocks) << 10); \
805 uint32_t wNBlocks; \
811 PCD_CALC_BLK32((pdwReg), (wCount), wNBlocks); \
[all …]
/hal_stm32-3.6.0/stm32cube/stm32f3xx/drivers/include/
Dstm32f3xx_hal_pcd.h778 #define PCD_CALC_BLK32(pdwReg, wCount, wNBlocks) \ argument
780 (wNBlocks) = (wCount) >> 5; \
783 (wNBlocks)--; \
785 *(pdwReg) |= (uint16_t)(((wNBlocks) << 10) | USB_CNTRX_BLSIZE); \
788 #define PCD_CALC_BLK2(pdwReg, wCount, wNBlocks) \ argument
790 (wNBlocks) = (wCount) >> 1; \
793 (wNBlocks)++; \
795 *(pdwReg) |= (uint16_t)((wNBlocks) << 10); \
800 uint32_t wNBlocks; \
806 PCD_CALC_BLK32((pdwReg), (wCount), wNBlocks); \
[all …]
/hal_stm32-3.6.0/stm32cube/stm32l5xx/drivers/include/
Dstm32l5xx_hal_pcd.h783 #define PCD_CALC_BLK32(pdwReg, wCount, wNBlocks) \ argument
785 (wNBlocks) = (wCount) >> 5; \
788 (wNBlocks)--; \
790 *(pdwReg) |= (uint16_t)(((wNBlocks) << 10) | USB_CNTRX_BLSIZE); \
793 #define PCD_CALC_BLK2(pdwReg, wCount, wNBlocks) \ argument
795 (wNBlocks) = (wCount) >> 1; \
798 (wNBlocks)++; \
800 *(pdwReg) |= (uint16_t)((wNBlocks) << 10); \
805 uint32_t wNBlocks; \
811 PCD_CALC_BLK32((pdwReg), (wCount), wNBlocks); \
[all …]
/hal_stm32-3.6.0/stm32cube/stm32l4xx/drivers/include/
Dstm32l4xx_hal_pcd.h841 #define PCD_CALC_BLK32(pdwReg, wCount, wNBlocks) \ argument
843 (wNBlocks) = (wCount) >> 5; \
846 (wNBlocks)--; \
848 *(pdwReg) |= (uint16_t)(((wNBlocks) << 10) | USB_CNTRX_BLSIZE); \
851 #define PCD_CALC_BLK2(pdwReg, wCount, wNBlocks) \ argument
853 (wNBlocks) = (wCount) >> 1; \
856 (wNBlocks)++; \
858 *(pdwReg) |= (uint16_t)((wNBlocks) << 10); \
863 uint32_t wNBlocks; \
869 PCD_CALC_BLK32((pdwReg), (wCount), wNBlocks); \
[all …]
/hal_stm32-3.6.0/stm32cube/stm32f1xx/drivers/include/
Dstm32f1xx_hal_pcd.h844 #define PCD_CALC_BLK32(pdwReg, wCount, wNBlocks) \ argument
846 (wNBlocks) = (wCount) >> 5; \
849 (wNBlocks)--; \
851 *(pdwReg) |= (uint16_t)(((wNBlocks) << 10) | USB_CNTRX_BLSIZE); \
854 #define PCD_CALC_BLK2(pdwReg, wCount, wNBlocks) \ argument
856 (wNBlocks) = (wCount) >> 1; \
859 (wNBlocks)++; \
861 *(pdwReg) |= (uint16_t)((wNBlocks) << 10); \
866 uint32_t wNBlocks; \
872 PCD_CALC_BLK32((pdwReg), (wCount), wNBlocks); \
[all …]
/hal_stm32-3.6.0/stm32cube/stm32u5xx/drivers/include/
Dstm32u5xx_ll_usb.h896 #define USB_DRD_CALC_BLK32(pdwReg, wCount, wNBlocks) \ argument
899 (wNBlocks) =((uint32_t)(wCount) >> 5U); \
902 (wNBlocks)--; \
905 (pdwReg)|= (uint32_t)((((wNBlocks) << 26U)) | USB_CNTRX_BLSIZE); \
908 #define USB_DRD_CALC_BLK2(pdwReg, wCount, wNBlocks) \ argument
911 (wNBlocks) = (uint32_t)((uint32_t)(wCount) >> 1U); \
914 (wNBlocks)++; \
916 (pdwReg) |= (uint32_t)((wNBlocks) << 26U); \
921 uint32_t wNBlocks; \
927 USB_DRD_CALC_BLK32((pdwReg), (wCount), wNBlocks); \
[all …]