Home
last modified time | relevance | path

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

/loramac-node-latest/src/boards/mcu/stm32/STM32L1xx_HAL_Driver/Inc/
Dstm32l1xx_hal_pcd.h589 #define PCD_SET_EP_RX_CNT(USBx, bEpNum,wCount) {\ argument
591 PCD_SET_EP_CNT_RX_REG((pdwReg), (wCount))\
620 #define PCD_CALC_BLK32(dwReg,wCount,wNBlocks) {\ argument
621 (wNBlocks) = (wCount) >> 5;\
622 if(((wCount) & 0x1f) == 0)\
629 #define PCD_CALC_BLK2(dwReg,wCount,wNBlocks) {\ argument
630 (wNBlocks) = (wCount) >> 1;\
631 if(((wCount) & 0x1) != 0)\
638 #define PCD_SET_EP_CNT_RX_REG(dwReg,wCount) {\ argument
640 if((wCount) > 62) \
[all …]
/loramac-node-latest/src/boards/mcu/stm32/STM32L0xx_HAL_Driver/Inc/
Dstm32l0xx_hal_pcd.h572 #define PCD_CALC_BLK32(dwReg,wCount,wNBlocks) do {\ argument
573 wNBlocks = wCount >> 5;\
574 if((wCount & 0x1f) == 0)\
579 #define PCD_CALC_BLK2(dwReg,wCount,wNBlocks) do {\ argument
580 wNBlocks = wCount >> 1;\
581 if((wCount & 0x1) != 0)\
586 #define PCD_SET_EP_CNT_RX_REG(dwReg,wCount) do {\ argument
588 if(wCount > 62){PCD_CALC_BLK32(dwReg,wCount,wNBlocks);}\
589 else {PCD_CALC_BLK2(dwReg,wCount,wNBlocks);}\
592 #define PCD_SET_EP_RX_DBUF0_CNT(USBx, bEpNum,wCount) do {\ argument
[all …]
/loramac-node-latest/src/boards/mcu/stm32/STM32L4xx_HAL_Driver/Inc/
Dstm32l4xx_hal_pcd.h875 #define PCD_CALC_BLK32(pdwReg, wCount, wNBlocks) do { \ argument
876 (wNBlocks) = (wCount) >> 5; \
880 #define PCD_CALC_BLK2(pdwReg, wCount, wNBlocks) do { \ argument
881 (wNBlocks) = (wCount) >> 1; \
882 if (((wCount) & 0x1U) != 0U) \
889 #define PCD_SET_EP_CNT_RX_REG(pdwReg, wCount) do { \ argument
891 if ((wCount) == 0U) \
896 else if((wCount) < 62U) \
898 PCD_CALC_BLK2((pdwReg), (wCount), wNBlocks); \
902 PCD_CALC_BLK32((pdwReg),(wCount), wNBlocks); \
[all …]