/loramac-node-2.7.6/src/boards/mcu/stm32/STM32L1xx_HAL_Driver/Inc/ |
D | stm32l1xx_ll_gpio.h | 292 …MODIFY_REG(GPIOx->MODER, (GPIO_MODER_MODER0 << (POSITION_VAL(Pin) * 2U)), (Mode << (POSITION_VAL(P… in LL_GPIO_SetPinMode() 327 … (GPIO_MODER_MODER0 << (POSITION_VAL(Pin) * 2U))) >> (POSITION_VAL(Pin) * 2U)); in LL_GPIO_GetPinMode() 395 return (uint32_t)(READ_BIT(GPIOx->OTYPER, Pin) >> POSITION_VAL(Pin)); in LL_GPIO_GetPinOutputType() 432 MODIFY_REG(GPIOx->OSPEEDR, (GPIO_OSPEEDER_OSPEEDR0 << (POSITION_VAL(Pin) * 2U)), in LL_GPIO_SetPinSpeed() 433 (Speed << (POSITION_VAL(Pin) * 2U))); in LL_GPIO_SetPinSpeed() 470 … (GPIO_OSPEEDER_OSPEEDR0 << (POSITION_VAL(Pin) * 2U))) >> (POSITION_VAL(Pin) * 2U)); in LL_GPIO_GetPinSpeed() 503 …MODIFY_REG(GPIOx->PUPDR, (GPIO_PUPDR_PUPDR0 << (POSITION_VAL(Pin) * 2U)), (Pull << (POSITION_VAL(P… in LL_GPIO_SetPinPull() 536 … (GPIO_PUPDR_PUPDR0 << (POSITION_VAL(Pin) * 2U))) >> (POSITION_VAL(Pin) * 2U)); in LL_GPIO_GetPinPull() 575 MODIFY_REG(GPIOx->AFR[0], (GPIO_AFRL_AFSEL0 << (POSITION_VAL(Pin) * 4U)), in LL_GPIO_SetAFPin_0_7() 576 (Alternate << (POSITION_VAL(Pin) * 4U))); in LL_GPIO_SetAFPin_0_7() [all …]
|
D | stm32l1xx_hal_pwr.h | 114 #define LPSDSR_BIT_NUMBER POSITION_VAL(PWR_CR_LPSDSR) 118 #define DBP_BIT_NUMBER POSITION_VAL(PWR_CR_DBP) 122 #define LPRUN_BIT_NUMBER POSITION_VAL(PWR_CR_LPRUN) 126 #define PVDE_BIT_NUMBER POSITION_VAL(PWR_CR_PVDE) 130 #define FWU_BIT_NUMBER POSITION_VAL(PWR_CR_FWU) 134 #define ULP_BIT_NUMBER POSITION_VAL(PWR_CR_ULP) 146 …P_BB(VAL) ((uint32_t)(PERIPH_BB_BASE + (PWR_CSR_OFFSET_BB * 32) + (POSITION_VAL(VAL) * 4)))
|
D | stm32l1xx_hal_rcc.h | 100 #define RCC_HSION_BIT_NUMBER POSITION_VAL(RCC_CR_HSION) 103 #define RCC_MSION_BIT_NUMBER POSITION_VAL(RCC_CR_MSION) 106 #define RCC_HSEON_BIT_NUMBER POSITION_VAL(RCC_CR_HSEON) 109 #define RCC_CSSON_BIT_NUMBER POSITION_VAL(RCC_CR_CSSON) 112 #define RCC_PLLON_BIT_NUMBER POSITION_VAL(RCC_CR_PLLON) 117 #define RCC_LSION_BIT_NUMBER POSITION_VAL(RCC_CSR_LSION) 121 #define RCC_RMVF_BIT_NUMBER POSITION_VAL(RCC_CSR_RMVF) 125 #define RCC_LSEON_BIT_NUMBER POSITION_VAL(RCC_CSR_LSEON) 129 #define RCC_LSEBYP_BIT_NUMBER POSITION_VAL(RCC_CSR_LSEBYP) 133 #define RCC_RTCEN_BIT_NUMBER POSITION_VAL(RCC_CSR_RTCEN) [all …]
|
D | stm32l1xx_ll_rcc.h | 64 #define RCC_POSITION_MSICAL (uint32_t)POSITION_VAL(RCC_ICSCR_MSICAL) /*!< field position in re… 65 #define RCC_POSITION_MSITRIM (uint32_t)POSITION_VAL(RCC_ICSCR_MSITRIM) /*!< field position in re… 66 #define RCC_POSITION_MSIRANGE (uint32_t)POSITION_VAL(RCC_ICSCR_MSIRANGE) /*!< field position in r… 67 #define RCC_POSITION_HPRE (uint32_t)POSITION_VAL(RCC_CFGR_HPRE) /*!< field position in re… 68 #define RCC_POSITION_PPRE1 (uint32_t)POSITION_VAL(RCC_CFGR_PPRE1) /*!< field position in re… 69 #define RCC_POSITION_PPRE2 (uint32_t)POSITION_VAL(RCC_CFGR_PPRE2) /*!< field position in re… 70 #define RCC_POSITION_HSICAL (uint32_t)POSITION_VAL(RCC_ICSCR_HSICAL) /*!< field position in… 71 #define RCC_POSITION_HSITRIM (uint32_t)POSITION_VAL(RCC_ICSCR_HSITRIM) /*!< field position in… 72 #define RCC_POSITION_PLLMUL (uint32_t)POSITION_VAL(RCC_CFGR_PLLMUL) /*!< field position in re… 73 #define RCC_POSITION_PLLDIV (uint32_t)POSITION_VAL(RCC_CFGR_PLLDIV) /*!< field position in re…
|
D | stm32l1xx_ll_opamp.h | 468 return (uint32_t)(power_mode | (power_mode >> (POSITION_VAL(OPAMP_CSR_OPA1LPM)))); in LL_OPAMP_GetPowerMode() 811 …TrimmingValue << (POSITION_VAL(TransistorsDiffPair & OPAMP_TRIMMING_VALUE_MASK) + (OPAMP_OTR_AO2_O… in LL_OPAMP_SetTrimmingValue() 840 …>> (POSITION_VAL(TransistorsDiffPair & OPAMP_TRIMMING_VALUE_MASK) + (OPAMP_OTR_AO2_OPT_OFFSET_TRIM… in LL_OPAMP_GetTrimmingValue()
|
D | stm32l1xx_hal.h | 614 MODIFY_REG(RI->ICR, RI_ICR_IC1OS, (__INPUT__) << POSITION_VAL(RI_ICR_IC1OS)); \ 634 MODIFY_REG(RI->ICR, RI_ICR_IC2OS, (__INPUT__) << POSITION_VAL(RI_ICR_IC2OS)); \ 654 MODIFY_REG(RI->ICR, RI_ICR_IC3OS, (__INPUT__) << POSITION_VAL(RI_ICR_IC3OS)); \ 674 MODIFY_REG(RI->ICR, RI_ICR_IC4OS, (__INPUT__) << POSITION_VAL(RI_ICR_IC4OS)); \
|
D | stm32l1xx_ll_system.h | 639 MODIFY_REG(SYSCFG->EXTICR[Line & 0xFF], (Line >> 16), Port << POSITION_VAL((Line >> 16))); in LL_SYSCFG_SetEXTISource() 739 …return (uint32_t)(READ_BIT(SYSCFG->EXTICR[Line & 0xFF], (Line >> 16)) >> POSITION_VAL(Line >> 16)); in LL_SYSCFG_GetEXTISource() 1025 …el & (RI_ICR_IC4 | RI_ICR_IC3 | RI_ICR_IC2 | RI_ICR_IC1)) | (Input << POSITION_VAL(InputCaptureCha… in LL_RI_SetRemapInputCapture_TIM()
|
D | stm32l1xx_hal_adc.h | 857 (((_NbrOfConversion_) - (uint8_t)1) << POSITION_VAL(ADC_SQR1_L)) 948 ((_DMACONTREQ_MODE_) << POSITION_VAL(ADC_CR2_DDS)) 956 ((_CONTINUOUS_MODE_) << POSITION_VAL(ADC_CR2_CONT)) 964 (((_NBR_DISCONTINUOUS_CONV_) - 1) << POSITION_VAL(ADC_CR1_DISCNUM))
|
D | stm32l1xx_hal_opamp.h | 247 #define OPAMP_FACTORYTRIMMING_N POSITION_VAL(OPAMP_OTR_AO1_OPT_OFFSET_TRIM_HIGH) /*!< Offset…
|
D | stm32l1xx_hal_adc_ex.h | 422 ((0x01) << ((ADC->CCR & ADC_CCR_ADCPRE) >> POSITION_VAL(ADC_CCR_ADCPRE)))
|
D | stm32l1xx_ll_dac.h | 121 (((__BITS__) & (__MASK__)) >> POSITION_VAL((__MASK__)))
|
D | stm32l1xx_ll_adc.h | 372 (((__BITS__) & (__MASK__)) >> POSITION_VAL((__MASK__))) 4024 MODIFY_REG(COMP->CSR, Channel, (Routing << POSITION_VAL(Channel))); in LL_ADC_SetChannelRouting() 4061 return (uint32_t)(READ_BIT(COMP->CSR, Channel) >> POSITION_VAL(Channel)); in LL_ADC_GetChannelRouting()
|
D | stm32l1xx_hal_rcc_ex.h | 69 #define LSECSSON_BITNUMBER POSITION_VAL(RCC_CSR_LSECSSON)
|
/loramac-node-2.7.6/src/boards/mcu/stm32/STM32L4xx_HAL_Driver/Inc/ |
D | stm32l4xx_ll_gpio.h | 304 …MODIFY_REG(GPIOx->MODER, (GPIO_MODER_MODE0 << (POSITION_VAL(Pin) * 2U)), (Mode << (POSITION_VAL(Pi… in LL_GPIO_SetPinMode() 339 … (GPIO_MODER_MODE0 << (POSITION_VAL(Pin) * 2U))) >> (POSITION_VAL(Pin) * 2U)); in LL_GPIO_GetPinMode() 407 return (uint32_t)(READ_BIT(GPIOx->OTYPER, Pin) >> POSITION_VAL(Pin)); in LL_GPIO_GetPinOutputType() 444 MODIFY_REG(GPIOx->OSPEEDR, (GPIO_OSPEEDR_OSPEED0 << (POSITION_VAL(Pin) * 2U)), in LL_GPIO_SetPinSpeed() 445 (Speed << (POSITION_VAL(Pin) * 2U))); in LL_GPIO_SetPinSpeed() 482 … (GPIO_OSPEEDR_OSPEED0 << (POSITION_VAL(Pin) * 2U))) >> (POSITION_VAL(Pin) * 2U)); in LL_GPIO_GetPinSpeed() 515 …MODIFY_REG(GPIOx->PUPDR, (GPIO_PUPDR_PUPD0 << (POSITION_VAL(Pin) * 2U)), (Pull << (POSITION_VAL(Pi… in LL_GPIO_SetPinPull() 548 … (GPIO_PUPDR_PUPD0 << (POSITION_VAL(Pin) * 2U))) >> (POSITION_VAL(Pin) * 2U)); in LL_GPIO_GetPinPull() 587 MODIFY_REG(GPIOx->AFR[0], (GPIO_AFRL_AFSEL0 << (POSITION_VAL(Pin) * 4U)), in LL_GPIO_SetAFPin_0_7() 588 (Alternate << (POSITION_VAL(Pin) * 4U))); in LL_GPIO_SetAFPin_0_7() [all …]
|
D | stm32l4xx_ll_system.h | 790 MODIFY_REG(SYSCFG->EXTICR[Line & 0xFFU], (Line >> 16U), Port << POSITION_VAL((Line >> 16U))); in LL_SYSCFG_SetEXTISource() 831 …return (uint32_t)(READ_BIT(SYSCFG->EXTICR[Line & 0xFFU], (Line >> 16U)) >> POSITION_VAL(Line >> 16… in LL_SYSCFG_GetEXTISource()
|
/loramac-node-2.7.6/src/boards/mcu/stm32/STM32L1xx_HAL_Driver/Src/ |
D | stm32l1xx_ll_fsmc.c | 306 … ((Timing->AddressHoldTime) << POSITION_VAL(FSMC_BTRx_ADDHLD)) | \ in FSMC_NORSRAM_Timing_Init() 307 … ((Timing->DataSetupTime) << POSITION_VAL(FSMC_BTRx_DATAST)) | \ in FSMC_NORSRAM_Timing_Init() 308 … ((Timing->BusTurnAroundDuration) << POSITION_VAL(FSMC_BTRx_BUSTURN)) | \ in FSMC_NORSRAM_Timing_Init() 309 … (((Timing->CLKDivision) - 1) << POSITION_VAL(FSMC_BTRx_CLKDIV)) | \ in FSMC_NORSRAM_Timing_Init() 310 … (((Timing->DataLatency) - 2) << POSITION_VAL(FSMC_BTRx_DATLAT)) | \ in FSMC_NORSRAM_Timing_Init() 349 ((Timing->AddressHoldTime) << POSITION_VAL(FSMC_BWTRx_ADDHLD)) | \ in FSMC_NORSRAM_Extended_Timing_Init() 350 ((Timing->DataSetupTime) << POSITION_VAL(FSMC_BWTRx_DATAST)) | \ in FSMC_NORSRAM_Extended_Timing_Init() 352 ((Timing->BusTurnAroundDuration) << POSITION_VAL(FSMC_BWTRx_BUSTURN)))); in FSMC_NORSRAM_Extended_Timing_Init()
|
D | stm32l1xx_hal_rcc.c | 99 #define RCC_CFGR_PLLMUL_BITNUMBER POSITION_VAL(RCC_CFGR_PLLMUL) 100 #define RCC_CFGR_PLLDIV_BITNUMBER POSITION_VAL(RCC_CFGR_PLLDIV) 101 #define RCC_CFGR_HPRE_BITNUMBER POSITION_VAL(RCC_CFGR_HPRE) 102 #define RCC_CFGR_PPRE1_BITNUMBER POSITION_VAL(RCC_CFGR_PPRE1) 103 #define RCC_CFGR_PPRE2_BITNUMBER POSITION_VAL(RCC_CFGR_PPRE2) 105 #define RCC_ICSCR_MSIRANGE_BITNUMBER POSITION_VAL(RCC_ICSCR_MSIRANGE) 106 #define RCC_ICSCR_MSITRIM_BITNUMBER POSITION_VAL(RCC_ICSCR_MSITRIM) 276 MODIFY_REG(RCC->ICSCR, RCC_ICSCR_HSITRIM, (0x10U << POSITION_VAL(RCC_ICSCR_HSITRIM))); in HAL_RCC_DeInit() 1154 …>HSICalibrationValue = (uint32_t)((RCC->ICSCR & RCC_ICSCR_HSITRIM) >> POSITION_VAL(RCC_ICSCR_HSITR… in HAL_RCC_GetOscConfig()
|
D | stm32l1xx_ll_gpio.c | 208 pinpos = POSITION_VAL(GPIO_InitStruct->Pin); in LL_GPIO_Init() 239 if (POSITION_VAL(currentpin) < 0x00000008U) in LL_GPIO_Init()
|
/loramac-node-2.7.6/src/boards/NucleoL152/cmsis/ |
D | stm32l1xx.h | 234 #define POSITION_VAL(VAL) (__CLZ(__RBIT(VAL))) macro
|
/loramac-node-2.7.6/src/boards/NAMote72/cmsis/ |
D | stm32l1xx.h | 234 #define POSITION_VAL(VAL) (__CLZ(__RBIT(VAL))) macro
|
/loramac-node-2.7.6/src/boards/SKiM980A/cmsis/ |
D | stm32l1xx.h | 236 #define POSITION_VAL(VAL) (__CLZ(__RBIT(VAL))) macro
|
/loramac-node-2.7.6/src/boards/SKiM880B/cmsis/ |
D | stm32l1xx.h | 236 #define POSITION_VAL(VAL) (__CLZ(__RBIT(VAL))) macro
|
/loramac-node-2.7.6/src/boards/NucleoL476/cmsis/ |
D | stm32l4xx.h | 237 #define POSITION_VAL(VAL) (__CLZ(__RBIT(VAL))) macro
|
/loramac-node-2.7.6/src/boards/NucleoL476/ |
D | sysIrqHandlers.c | 136 MODIFY_REG( FLASH->CR, FLASH_CR_PNB, ( page << POSITION_VAL( FLASH_CR_PNB ) ) ); in HardFault_Handler()
|
/loramac-node-2.7.6/src/boards/mcu/stm32/STM32L4xx_HAL_Driver/Src/ |
D | stm32l4xx_ll_gpio.c | 220 pinpos = POSITION_VAL(GPIO_InitStruct->Pin); in LL_GPIO_Init()
|