Searched refs:wNBlocks (Results 1 – 3 of 3) sorted by relevance
| /loramac-node-latest/src/boards/mcu/stm32/STM32L1xx_HAL_Driver/Inc/ |
| D | stm32l1xx_hal_pcd.h | 620 #define PCD_CALC_BLK32(dwReg,wCount,wNBlocks) {\ argument 621 (wNBlocks) = (wCount) >> 5;\ 624 (wNBlocks)--;\ 626 *pdwReg = (uint16_t)((uint16_t)((wNBlocks) << 10U) | (uint16_t)0x8000U); \ 629 #define PCD_CALC_BLK2(dwReg,wCount,wNBlocks) {\ argument 630 (wNBlocks) = (wCount) >> 1;\ 633 (wNBlocks)++;\ 635 *pdwReg = (uint16_t)((wNBlocks) << 10);\ 639 uint16_t wNBlocks;\ 642 PCD_CALC_BLK32((dwReg),(wCount),wNBlocks) \ [all …]
|
| /loramac-node-latest/src/boards/mcu/stm32/STM32L0xx_HAL_Driver/Inc/ |
| D | stm32l0xx_hal_pcd.h | 572 #define PCD_CALC_BLK32(dwReg,wCount,wNBlocks) do {\ argument 573 wNBlocks = wCount >> 5;\ 575 wNBlocks--;\ 576 *pdwReg = (uint16_t)((wNBlocks << 10U) | 0x8000U);\ 579 #define PCD_CALC_BLK2(dwReg,wCount,wNBlocks) do {\ argument 580 wNBlocks = wCount >> 1;\ 582 wNBlocks++;\ 583 *pdwReg = (uint16_t)(wNBlocks << 10U);\ 587 uint16_t wNBlocks;\ 588 if(wCount > 62){PCD_CALC_BLK32(dwReg,wCount,wNBlocks);}\ [all …]
|
| /loramac-node-latest/src/boards/mcu/stm32/STM32L4xx_HAL_Driver/Inc/ |
| D | stm32l4xx_hal_pcd.h | 875 #define PCD_CALC_BLK32(pdwReg, wCount, wNBlocks) do { \ argument 876 (wNBlocks) = (wCount) >> 5; \ 877 *(pdwReg) = (uint16_t)(((wNBlocks) << 10) | (0x1U << 15)); \ 880 #define PCD_CALC_BLK2(pdwReg, wCount, wNBlocks) do { \ argument 881 (wNBlocks) = (wCount) >> 1; \ 884 (wNBlocks)++; \ 886 *(pdwReg) = (uint16_t)((wNBlocks) << 10); \ 890 uint32_t wNBlocks; \ 898 PCD_CALC_BLK2((pdwReg), (wCount), wNBlocks); \ 902 PCD_CALC_BLK32((pdwReg),(wCount), wNBlocks); \
|