Home
last modified time | relevance | path

Searched refs:wNBlocks (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); \
506 (wNBlocks)--; \
509 (pdwReg)|= (uint32_t)((((wNBlocks) << 26U)) | USB_CNTRX_BLSIZE); \
512 #define USB_DRD_CALC_BLK2(pdwReg, wCount, wNBlocks) \ argument
515 (wNBlocks) = (uint32_t)((uint32_t)(wCount) >> 1U); \
518 (wNBlocks)++; \
520 (pdwReg) |= (uint32_t)((wNBlocks) << 26U); \
525 uint32_t wNBlocks; \
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); \
666 (wNBlocks)--; \
669 (pdwReg)|= (uint32_t)((((wNBlocks) << 26U)) | USB_CNTRX_BLSIZE); \
672 #define USB_DRD_CALC_BLK2(pdwReg, wCount, wNBlocks) \ argument
675 (wNBlocks) = (uint32_t)((uint32_t)(wCount) >> 1U); \
678 (wNBlocks)++; \
680 (pdwReg) |= (uint32_t)((wNBlocks) << 26U); \
685 uint32_t wNBlocks; \
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); \
666 (wNBlocks)--; \
669 (pdwReg)|= (uint32_t)((((wNBlocks) << 26U)) | USB_CNTRX_BLSIZE); \
672 #define USB_DRD_CALC_BLK2(pdwReg, wCount, wNBlocks) \ argument
675 (wNBlocks) = (uint32_t)((uint32_t)(wCount) >> 1U); \
678 (wNBlocks)++; \
680 (pdwReg) |= (uint32_t)((wNBlocks) << 26U); \
685 uint32_t wNBlocks; \
691 USB_DRD_CALC_BLK32((pdwReg), (wCount), wNBlocks); \
[all …]
/hal_stm32-latest/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-latest/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; \
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; \
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; \
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; \
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-latest/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; \
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; \
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-latest/stm32cube/stm32g4xx/drivers/include/
Dstm32g4xx_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; \
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; \
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-latest/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; \
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); \
909 (wNBlocks)--; \
912 (pdwReg)|= (uint32_t)((((wNBlocks) << 26U)) | USB_CNTRX_BLSIZE); \
915 #define USB_DRD_CALC_BLK2(pdwReg, wCount, wNBlocks) \ argument
918 (wNBlocks) = (uint32_t)((uint32_t)(wCount) >> 1U); \
921 (wNBlocks)++; \
923 (pdwReg) |= (uint32_t)((wNBlocks) << 26U); \
928 uint32_t wNBlocks; \
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); \
909 (wNBlocks)--; \
912 (pdwReg)|= (uint32_t)((((wNBlocks) << 26U)) | USB_CNTRX_BLSIZE); \
915 #define USB_DRD_CALC_BLK2(pdwReg, wCount, wNBlocks) \ argument
918 (wNBlocks) = (uint32_t)((uint32_t)(wCount) >> 1U); \
921 (wNBlocks)++; \
923 (pdwReg) |= (uint32_t)((wNBlocks) << 26U); \
928 uint32_t wNBlocks; \
938 USB_DRD_CALC_BLK2((pdwReg), (wCount), wNBlocks); \
[all …]