/hal_stm32-3.4.0/stm32cube/stm32f7xx/drivers/include/ |
D | stm32f7xx_ll_adc.h | 2451 __STATIC_INLINE void LL_ADC_REG_SetSequencerRanks(ADC_TypeDef *ADCx, uint32_t Rank, uint32_t Channe… in LL_ADC_REG_SetSequencerRanks() argument 2457 …__IO uint32_t *preg = __ADC_PTR_REG_OFFSET(ADCx->SQR1, __ADC_MASK_SHIFT(Rank, ADC_REG_SQRX_REGOFFS… in LL_ADC_REG_SetSequencerRanks() 2460 ADC_CHANNEL_ID_NUMBER_MASK << (Rank & ADC_REG_RANK_ID_SQRX_MASK), in LL_ADC_REG_SetSequencerRanks() 2461 (Channel & ADC_CHANNEL_ID_NUMBER_MASK) << (Rank & ADC_REG_RANK_ID_SQRX_MASK)); in LL_ADC_REG_SetSequencerRanks() 2548 __STATIC_INLINE uint32_t LL_ADC_REG_GetSequencerRanks(ADC_TypeDef *ADCx, uint32_t Rank) in LL_ADC_REG_GetSequencerRanks() argument 2550 …__IO uint32_t *preg = __ADC_PTR_REG_OFFSET(ADCx->SQR1, __ADC_MASK_SHIFT(Rank, ADC_REG_SQRX_REGOFFS… in LL_ADC_REG_GetSequencerRanks() 2553 ADC_CHANNEL_ID_NUMBER_MASK << (Rank & ADC_REG_RANK_ID_SQRX_MASK)) in LL_ADC_REG_GetSequencerRanks() 2554 >> (Rank & ADC_REG_RANK_ID_SQRX_MASK) in LL_ADC_REG_GetSequencerRanks() 2964 __STATIC_INLINE void LL_ADC_INJ_SetSequencerRanks(ADC_TypeDef *ADCx, uint32_t Rank, uint32_t Channe… in LL_ADC_INJ_SetSequencerRanks() argument 2973 ADC_CHANNEL_ID_NUMBER_MASK << (5U * (uint8_t)(((Rank) + 3U) - (tmpreg1))), in LL_ADC_INJ_SetSequencerRanks() [all …]
|
/hal_stm32-3.4.0/stm32cube/stm32f2xx/drivers/include/ |
D | stm32f2xx_ll_adc.h | 2344 __STATIC_INLINE void LL_ADC_REG_SetSequencerRanks(ADC_TypeDef *ADCx, uint32_t Rank, uint32_t Channe… in LL_ADC_REG_SetSequencerRanks() argument 2350 …register __IO uint32_t *preg = __ADC_PTR_REG_OFFSET(ADCx->SQR1, __ADC_MASK_SHIFT(Rank, ADC_REG_SQR… in LL_ADC_REG_SetSequencerRanks() 2353 ADC_CHANNEL_ID_NUMBER_MASK << (Rank & ADC_REG_RANK_ID_SQRX_MASK), in LL_ADC_REG_SetSequencerRanks() 2354 (Channel & ADC_CHANNEL_ID_NUMBER_MASK) << (Rank & ADC_REG_RANK_ID_SQRX_MASK)); in LL_ADC_REG_SetSequencerRanks() 2440 __STATIC_INLINE uint32_t LL_ADC_REG_GetSequencerRanks(ADC_TypeDef *ADCx, uint32_t Rank) in LL_ADC_REG_GetSequencerRanks() argument 2442 …register __IO uint32_t *preg = __ADC_PTR_REG_OFFSET(ADCx->SQR1, __ADC_MASK_SHIFT(Rank, ADC_REG_SQR… in LL_ADC_REG_GetSequencerRanks() 2445 ADC_CHANNEL_ID_NUMBER_MASK << (Rank & ADC_REG_RANK_ID_SQRX_MASK)) in LL_ADC_REG_GetSequencerRanks() 2446 >> (Rank & ADC_REG_RANK_ID_SQRX_MASK) in LL_ADC_REG_GetSequencerRanks() 2859 __STATIC_INLINE void LL_ADC_INJ_SetSequencerRanks(ADC_TypeDef *ADCx, uint32_t Rank, uint32_t Channe… in LL_ADC_INJ_SetSequencerRanks() argument 2868 ADC_CHANNEL_ID_NUMBER_MASK << (5U * (uint8_t)(((Rank) + 3U) - (tmpreg1))), in LL_ADC_INJ_SetSequencerRanks() [all …]
|
/hal_stm32-3.4.0/stm32cube/stm32f4xx/drivers/include/ |
D | stm32f4xx_ll_adc.h | 2490 __STATIC_INLINE void LL_ADC_REG_SetSequencerRanks(ADC_TypeDef *ADCx, uint32_t Rank, uint32_t Channe… in LL_ADC_REG_SetSequencerRanks() argument 2496 …__IO uint32_t *preg = __ADC_PTR_REG_OFFSET(ADCx->SQR1, __ADC_MASK_SHIFT(Rank, ADC_REG_SQRX_REGOFFS… in LL_ADC_REG_SetSequencerRanks() 2499 ADC_CHANNEL_ID_NUMBER_MASK << (Rank & ADC_REG_RANK_ID_SQRX_MASK), in LL_ADC_REG_SetSequencerRanks() 2500 (Channel & ADC_CHANNEL_ID_NUMBER_MASK) << (Rank & ADC_REG_RANK_ID_SQRX_MASK)); in LL_ADC_REG_SetSequencerRanks() 2587 __STATIC_INLINE uint32_t LL_ADC_REG_GetSequencerRanks(ADC_TypeDef *ADCx, uint32_t Rank) in LL_ADC_REG_GetSequencerRanks() argument 2589 …__IO uint32_t *preg = __ADC_PTR_REG_OFFSET(ADCx->SQR1, __ADC_MASK_SHIFT(Rank, ADC_REG_SQRX_REGOFFS… in LL_ADC_REG_GetSequencerRanks() 2592 ADC_CHANNEL_ID_NUMBER_MASK << (Rank & ADC_REG_RANK_ID_SQRX_MASK)) in LL_ADC_REG_GetSequencerRanks() 2593 >> (Rank & ADC_REG_RANK_ID_SQRX_MASK) in LL_ADC_REG_GetSequencerRanks() 3007 __STATIC_INLINE void LL_ADC_INJ_SetSequencerRanks(ADC_TypeDef *ADCx, uint32_t Rank, uint32_t Channe… in LL_ADC_INJ_SetSequencerRanks() argument 3016 ADC_CHANNEL_ID_NUMBER_MASK << (5UL * (uint8_t)(((Rank) + 3UL) - (tmpreg1))), in LL_ADC_INJ_SetSequencerRanks() [all …]
|
/hal_stm32-3.4.0/stm32cube/stm32l1xx/drivers/include/ |
D | stm32l1xx_ll_adc.h | 2976 __STATIC_INLINE void LL_ADC_REG_SetSequencerRanks(ADC_TypeDef *ADCx, uint32_t Rank, uint32_t Channe… in LL_ADC_REG_SetSequencerRanks() argument 2982 …uint32_t *preg = __ADC_PTR_REG_OFFSET(ADCx->SQR1, __ADC_MASK_SHIFT(Rank, ADC_REG_SQRX_REGOFFSET_MA… in LL_ADC_REG_SetSequencerRanks() 2985 ADC_CHANNEL_ID_NUMBER_MASK << (Rank & ADC_REG_RANK_ID_SQRX_MASK), in LL_ADC_REG_SetSequencerRanks() 2986 (Channel & ADC_CHANNEL_ID_NUMBER_MASK) << (Rank & ADC_REG_RANK_ID_SQRX_MASK)); in LL_ADC_REG_SetSequencerRanks() 3118 __STATIC_INLINE uint32_t LL_ADC_REG_GetSequencerRanks(ADC_TypeDef *ADCx, uint32_t Rank) in LL_ADC_REG_GetSequencerRanks() argument 3120 …uint32_t *preg = __ADC_PTR_REG_OFFSET(ADCx->SQR1, __ADC_MASK_SHIFT(Rank, ADC_REG_SQRX_REGOFFSET_MA… in LL_ADC_REG_GetSequencerRanks() 3123 ADC_CHANNEL_ID_NUMBER_MASK << (Rank & ADC_REG_RANK_ID_SQRX_MASK)) in LL_ADC_REG_GetSequencerRanks() 3124 >> (Rank & ADC_REG_RANK_ID_SQRX_MASK) in LL_ADC_REG_GetSequencerRanks() 3545 __STATIC_INLINE void LL_ADC_INJ_SetSequencerRanks(ADC_TypeDef *ADCx, uint32_t Rank, uint32_t Channe… in LL_ADC_INJ_SetSequencerRanks() argument 3552 ADC_CHANNEL_ID_NUMBER_MASK << (Rank & ADC_INJ_RANK_ID_JSQR_MASK), in LL_ADC_INJ_SetSequencerRanks() [all …]
|
/hal_stm32-3.4.0/stm32cube/stm32f1xx/drivers/include/ |
D | stm32f1xx_ll_adc.h | 2131 __STATIC_INLINE void LL_ADC_REG_SetSequencerRanks(ADC_TypeDef *ADCx, uint32_t Rank, uint32_t Channe… in LL_ADC_REG_SetSequencerRanks() argument 2137 …__IO uint32_t *preg = __ADC_PTR_REG_OFFSET(ADCx->SQR1, __ADC_MASK_SHIFT(Rank, ADC_REG_SQRX_REGOFFS… in LL_ADC_REG_SetSequencerRanks() 2140 ADC_CHANNEL_ID_NUMBER_MASK << (Rank & ADC_REG_RANK_ID_SQRX_MASK), in LL_ADC_REG_SetSequencerRanks() 2141 (Channel & ADC_CHANNEL_ID_NUMBER_MASK) << (Rank & ADC_REG_RANK_ID_SQRX_MASK)); in LL_ADC_REG_SetSequencerRanks() 2225 __STATIC_INLINE uint32_t LL_ADC_REG_GetSequencerRanks(ADC_TypeDef *ADCx, uint32_t Rank) in LL_ADC_REG_GetSequencerRanks() argument 2227 …__IO uint32_t *preg = __ADC_PTR_REG_OFFSET(ADCx->SQR1, __ADC_MASK_SHIFT(Rank, ADC_REG_SQRX_REGOFFS… in LL_ADC_REG_GetSequencerRanks() 2230 ADC_CHANNEL_ID_NUMBER_MASK << (Rank & ADC_REG_RANK_ID_SQRX_MASK)) in LL_ADC_REG_GetSequencerRanks() 2231 >> (Rank & ADC_REG_RANK_ID_SQRX_MASK) in LL_ADC_REG_GetSequencerRanks() 2575 __STATIC_INLINE void LL_ADC_INJ_SetSequencerRanks(ADC_TypeDef *ADCx, uint32_t Rank, uint32_t Channe… in LL_ADC_INJ_SetSequencerRanks() argument 2584 ADC_CHANNEL_ID_NUMBER_MASK << (5U * (uint8_t)(((Rank) + 3U) - (tmpreg1))), in LL_ADC_INJ_SetSequencerRanks() [all …]
|
/hal_stm32-3.4.0/stm32cube/stm32f3xx/drivers/include/ |
D | stm32f3xx_ll_adc.h | 3619 __STATIC_INLINE void LL_ADC_REG_SetSequencerRanks(ADC_TypeDef *ADCx, uint32_t Rank, uint32_t Channe… in LL_ADC_REG_SetSequencerRanks() argument 3625 …__IO uint32_t *preg = __ADC_PTR_REG_OFFSET(ADCx->SQR1, __ADC_MASK_SHIFT(Rank, ADC_REG_SQRX_REGOFFS… in LL_ADC_REG_SetSequencerRanks() 3628 ADC_CHANNEL_ID_NUMBER_MASK_POSBIT0 << (Rank & ADC_REG_RANK_ID_SQRX_MASK), in LL_ADC_REG_SetSequencerRanks() 3629 …& ADC_CHANNEL_ID_NUMBER_MASK) >> ADC_CHANNEL_ID_NUMBER_BITOFFSET_POS) << (Rank & ADC_REG_RANK_ID_S… in LL_ADC_REG_SetSequencerRanks() 3724 __STATIC_INLINE uint32_t LL_ADC_REG_GetSequencerRanks(ADC_TypeDef *ADCx, uint32_t Rank) in LL_ADC_REG_GetSequencerRanks() argument 3726 …__IO uint32_t *preg = __ADC_PTR_REG_OFFSET(ADCx->SQR1, __ADC_MASK_SHIFT(Rank, ADC_REG_SQRX_REGOFFS… in LL_ADC_REG_GetSequencerRanks() 3729 … ADC_CHANNEL_ID_NUMBER_MASK_POSBIT0 << (Rank & ADC_REG_RANK_ID_SQRX_MASK)) in LL_ADC_REG_GetSequencerRanks() 3730 >> (Rank & ADC_REG_RANK_ID_SQRX_MASK)) << ADC_CHANNEL_ID_NUMBER_BITOFFSET_POS in LL_ADC_REG_GetSequencerRanks() 4268 __STATIC_INLINE void LL_ADC_INJ_SetSequencerRanks(ADC_TypeDef *ADCx, uint32_t Rank, uint32_t Channe… in LL_ADC_INJ_SetSequencerRanks() argument 4275 …(ADC_CHANNEL_ID_NUMBER_MASK >> ADC_CHANNEL_ID_NUMBER_BITOFFSET_POS) << (Rank & ADC_INJ_RANK_ID_JSQ… in LL_ADC_INJ_SetSequencerRanks() [all …]
|
/hal_stm32-3.4.0/stm32cube/stm32l1xx/drivers/src/ |
D | stm32l1xx_hal_adc.c | 1957 assert_param(IS_ADC_REGULAR_RANK(sConfig->Rank)); in HAL_ADC_ConfigChannel() 1966 if (sConfig->Rank < 7) in HAL_ADC_ConfigChannel() 1969 ADC_SQR5_RK(ADC_SQR5_SQ1, sConfig->Rank), in HAL_ADC_ConfigChannel() 1970 ADC_SQR5_RK(sConfig->Channel, sConfig->Rank) ); in HAL_ADC_ConfigChannel() 1973 else if (sConfig->Rank < 13) in HAL_ADC_ConfigChannel() 1976 ADC_SQR4_RK(ADC_SQR4_SQ7, sConfig->Rank), in HAL_ADC_ConfigChannel() 1977 ADC_SQR4_RK(sConfig->Channel, sConfig->Rank) ); in HAL_ADC_ConfigChannel() 1980 else if (sConfig->Rank < 19) in HAL_ADC_ConfigChannel() 1983 ADC_SQR3_RK(ADC_SQR3_SQ13, sConfig->Rank), in HAL_ADC_ConfigChannel() 1984 ADC_SQR3_RK(sConfig->Channel, sConfig->Rank) ); in HAL_ADC_ConfigChannel() [all …]
|
/hal_stm32-3.4.0/stm32cube/stm32mp1xx/drivers/include/ |
D | stm32mp1xx_ll_adc.h | 3476 __STATIC_INLINE void LL_ADC_REG_SetSequencerRanks(ADC_TypeDef *ADCx, uint32_t Rank, uint32_t Channe… in LL_ADC_REG_SetSequencerRanks() argument 3482 …__IO uint32_t *preg = __ADC_PTR_REG_OFFSET(ADCx->SQR1, ((Rank & ADC_REG_SQRX_REGOFFSET_MASK) >> AD… in LL_ADC_REG_SetSequencerRanks() 3485 ADC_CHANNEL_ID_NUMBER_MASK_POSBIT0 << (Rank & ADC_REG_RANK_ID_SQRX_MASK), in LL_ADC_REG_SetSequencerRanks() 3486 …& ADC_CHANNEL_ID_NUMBER_MASK) >> ADC_CHANNEL_ID_NUMBER_BITOFFSET_POS) << (Rank & ADC_REG_RANK_ID_S… in LL_ADC_REG_SetSequencerRanks() 3578 __STATIC_INLINE uint32_t LL_ADC_REG_GetSequencerRanks(ADC_TypeDef *ADCx, uint32_t Rank) in LL_ADC_REG_GetSequencerRanks() argument 3580 …const __IO uint32_t *preg = __ADC_PTR_REG_OFFSET(ADCx->SQR1, ((Rank & ADC_REG_SQRX_REGOFFSET_MASK)… in LL_ADC_REG_GetSequencerRanks() 3583 … ADC_CHANNEL_ID_NUMBER_MASK_POSBIT0 << (Rank & ADC_REG_RANK_ID_SQRX_MASK)) in LL_ADC_REG_GetSequencerRanks() 3584 >> (Rank & ADC_REG_RANK_ID_SQRX_MASK)) << ADC_CHANNEL_ID_NUMBER_BITOFFSET_POS in LL_ADC_REG_GetSequencerRanks() 4007 __STATIC_INLINE void LL_ADC_INJ_SetSequencerRanks(ADC_TypeDef *ADCx, uint32_t Rank, uint32_t Channe… in LL_ADC_INJ_SetSequencerRanks() argument 4014 …(ADC_CHANNEL_ID_NUMBER_MASK >> ADC_CHANNEL_ID_NUMBER_BITOFFSET_POS) << (Rank & ADC_INJ_RANK_ID_JSQ… in LL_ADC_INJ_SetSequencerRanks() [all …]
|
/hal_stm32-3.4.0/stm32cube/stm32wbxx/drivers/include/ |
D | stm32wbxx_ll_adc.h | 3962 __STATIC_INLINE void LL_ADC_REG_SetSequencerRanks(ADC_TypeDef *ADCx, uint32_t Rank, uint32_t Channe… in LL_ADC_REG_SetSequencerRanks() argument 3970 ADC_CHSELR_SQ1 << (Rank & ADC_REG_RANK_ID_SQRX_MASK), in LL_ADC_REG_SetSequencerRanks() 3971 …C_CHANNEL_ID_NUMBER_MASK_SEQ) >> ADC_CHANNEL_ID_NUMBER_BITOFFSET_POS) << (Rank & ADC_REG_RANK_ID_S… in LL_ADC_REG_SetSequencerRanks() 3977 …__IO uint32_t *preg = __ADC_PTR_REG_OFFSET(ADCx->SQR1, ((Rank & ADC_REG_SQRX_REGOFFSET_MASK) >> AD… in LL_ADC_REG_SetSequencerRanks() 3980 ADC_CHANNEL_ID_NUMBER_MASK_POSBIT0 << (Rank & ADC_REG_RANK_ID_SQRX_MASK), in LL_ADC_REG_SetSequencerRanks() 3981 …& ADC_CHANNEL_ID_NUMBER_MASK) >> ADC_CHANNEL_ID_NUMBER_BITOFFSET_POS) << (Rank & ADC_REG_RANK_ID_S… in LL_ADC_REG_SetSequencerRanks() 4071 __STATIC_INLINE uint32_t LL_ADC_REG_GetSequencerRanks(const ADC_TypeDef *ADCx, uint32_t Rank) in LL_ADC_REG_GetSequencerRanks() argument 4075 ADC_CHSELR_SQ1 << (Rank & ADC_REG_RANK_ID_SQRX_MASK)) in LL_ADC_REG_GetSequencerRanks() 4076 >> (Rank & ADC_REG_RANK_ID_SQRX_MASK) in LL_ADC_REG_GetSequencerRanks() 4080 …const __IO uint32_t *preg = __ADC_PTR_REG_OFFSET(ADCx->SQR1, ((Rank & ADC_REG_SQRX_REGOFFSET_MASK)… in LL_ADC_REG_GetSequencerRanks() [all …]
|
/hal_stm32-3.4.0/stm32cube/stm32u5xx/drivers/include/ |
D | stm32u5xx_ll_adc.h | 4676 __STATIC_INLINE void LL_ADC_REG_SetSequencerRanks(ADC_TypeDef *ADCx, uint32_t Rank, uint32_t Channe… in LL_ADC_REG_SetSequencerRanks() argument 4684 … __IO uint32_t *preg = __ADC_PTR_REG_OFFSET(ADCx->SQR1, ((Rank & ADC_REG_SQRX_REGOFFSET_MASK) \ in LL_ADC_REG_SetSequencerRanks() 4688 ADC_CHANNEL_ID_NUMBER_MASK_POSBIT0 << (Rank & ADC_REG_RANK_ID_SQRX_MASK), in LL_ADC_REG_SetSequencerRanks() 4690 << (Rank & ADC_REG_RANK_ID_SQRX_MASK)); in LL_ADC_REG_SetSequencerRanks() 4695 ADC_CHSELR_SQ1 << (Rank & ADC_REG_RANK_ID_SQRX_MASK), in LL_ADC_REG_SetSequencerRanks() 4696 (__LL_ADC_CHANNEL_TO_DECIMAL_NB(Channel) << (Rank & ADC_REG_RANK_ID_SQRX_MASK))); in LL_ADC_REG_SetSequencerRanks() 4792 __STATIC_INLINE uint32_t LL_ADC_REG_GetSequencerRanks(const ADC_TypeDef *ADCx, uint32_t Rank) in LL_ADC_REG_GetSequencerRanks() argument 4796 …const __IO uint32_t *preg = __ADC_PTR_REG_OFFSET(ADCx->SQR1, ((Rank & ADC_REG_SQRX_REGOFFSET_MASK)… in LL_ADC_REG_GetSequencerRanks() 4800 … ADC_CHANNEL_ID_NUMBER_MASK_POSBIT0 << (Rank & ADC_REG_RANK_ID_SQRX_MASK)) in LL_ADC_REG_GetSequencerRanks() 4801 >> (Rank & ADC_REG_RANK_ID_SQRX_MASK)) << ADC_CHANNEL_ID_NUMBER_BITOFFSET_POS in LL_ADC_REG_GetSequencerRanks() [all …]
|
/hal_stm32-3.4.0/stm32cube/stm32l5xx/drivers/include/ |
D | stm32l5xx_ll_adc.h | 4052 __STATIC_INLINE void LL_ADC_REG_SetSequencerRanks(ADC_TypeDef *ADCx, uint32_t Rank, uint32_t Channe… in LL_ADC_REG_SetSequencerRanks() argument 4059 … ((Rank & ADC_REG_SQRX_REGOFFSET_MASK) >> ADC_SQRX_REGOFFSET_POS)); in LL_ADC_REG_SetSequencerRanks() 4062 ADC_CHANNEL_ID_NUMBER_MASK_POSBIT0 << (Rank & ADC_REG_RANK_ID_SQRX_MASK), in LL_ADC_REG_SetSequencerRanks() 4064 << (Rank & ADC_REG_RANK_ID_SQRX_MASK)); in LL_ADC_REG_SetSequencerRanks() 4156 __STATIC_INLINE uint32_t LL_ADC_REG_GetSequencerRanks(const ADC_TypeDef *ADCx, uint32_t Rank) in LL_ADC_REG_GetSequencerRanks() argument 4159 … ((Rank & ADC_REG_SQRX_REGOFFSET_MASK) >> ADC_SQRX_REGOFFSET_POS)); in LL_ADC_REG_GetSequencerRanks() 4162 … ADC_CHANNEL_ID_NUMBER_MASK_POSBIT0 << (Rank & ADC_REG_RANK_ID_SQRX_MASK)) in LL_ADC_REG_GetSequencerRanks() 4163 >> (Rank & ADC_REG_RANK_ID_SQRX_MASK)) << ADC_CHANNEL_ID_NUMBER_BITOFFSET_POS in LL_ADC_REG_GetSequencerRanks() 4649 __STATIC_INLINE void LL_ADC_INJ_SetSequencerRanks(ADC_TypeDef *ADCx, uint32_t Rank, uint32_t Channe… in LL_ADC_INJ_SetSequencerRanks() argument 4657 << (Rank & ADC_INJ_RANK_ID_JSQR_MASK), in LL_ADC_INJ_SetSequencerRanks() [all …]
|
/hal_stm32-3.4.0/stm32cube/stm32h5xx/drivers/include/ |
D | stm32h5xx_ll_adc.h | 4393 __STATIC_INLINE void LL_ADC_REG_SetSequencerRanks(ADC_TypeDef *ADCx, uint32_t Rank, uint32_t Channe… in LL_ADC_REG_SetSequencerRanks() argument 4400 … ((Rank & ADC_REG_SQRX_REGOFFSET_MASK) >> ADC_SQRX_REGOFFSET_POS)); in LL_ADC_REG_SetSequencerRanks() 4403 ADC_CHANNEL_ID_NUMBER_MASK_POSBIT0 << (Rank & ADC_REG_RANK_ID_SQRX_MASK), in LL_ADC_REG_SetSequencerRanks() 4405 << (Rank & ADC_REG_RANK_ID_SQRX_MASK)); in LL_ADC_REG_SetSequencerRanks() 4496 __STATIC_INLINE uint32_t LL_ADC_REG_GetSequencerRanks(const ADC_TypeDef *ADCx, uint32_t Rank) in LL_ADC_REG_GetSequencerRanks() argument 4499 … ((Rank & ADC_REG_SQRX_REGOFFSET_MASK) >> ADC_SQRX_REGOFFSET_POS)); in LL_ADC_REG_GetSequencerRanks() 4502 … ADC_CHANNEL_ID_NUMBER_MASK_POSBIT0 << (Rank & ADC_REG_RANK_ID_SQRX_MASK)) in LL_ADC_REG_GetSequencerRanks() 4503 >> (Rank & ADC_REG_RANK_ID_SQRX_MASK)) << ADC_CHANNEL_ID_NUMBER_BITOFFSET_POS in LL_ADC_REG_GetSequencerRanks() 4964 __STATIC_INLINE void LL_ADC_INJ_SetSequencerRanks(ADC_TypeDef *ADCx, uint32_t Rank, uint32_t Channe… in LL_ADC_INJ_SetSequencerRanks() argument 4972 << (Rank & ADC_INJ_RANK_ID_JSQR_MASK), in LL_ADC_INJ_SetSequencerRanks() [all …]
|
/hal_stm32-3.4.0/stm32cube/stm32l4xx/drivers/include/ |
D | stm32l4xx_ll_adc.h | 3550 __STATIC_INLINE void LL_ADC_REG_SetSequencerRanks(ADC_TypeDef *ADCx, uint32_t Rank, uint32_t Channe… in LL_ADC_REG_SetSequencerRanks() argument 3556 …__IO uint32_t *preg = __ADC_PTR_REG_OFFSET(ADCx->SQR1, ((Rank & ADC_REG_SQRX_REGOFFSET_MASK) >> AD… in LL_ADC_REG_SetSequencerRanks() 3559 ADC_CHANNEL_ID_NUMBER_MASK_POSBIT0 << (Rank & ADC_REG_RANK_ID_SQRX_MASK), in LL_ADC_REG_SetSequencerRanks() 3560 …& ADC_CHANNEL_ID_NUMBER_MASK) >> ADC_CHANNEL_ID_NUMBER_BITOFFSET_POS) << (Rank & ADC_REG_RANK_ID_S… in LL_ADC_REG_SetSequencerRanks() 3659 __STATIC_INLINE uint32_t LL_ADC_REG_GetSequencerRanks(ADC_TypeDef *ADCx, uint32_t Rank) in LL_ADC_REG_GetSequencerRanks() argument 3661 …const __IO uint32_t *preg = __ADC_PTR_REG_OFFSET(ADCx->SQR1, ((Rank & ADC_REG_SQRX_REGOFFSET_MASK)… in LL_ADC_REG_GetSequencerRanks() 3664 … ADC_CHANNEL_ID_NUMBER_MASK_POSBIT0 << (Rank & ADC_REG_RANK_ID_SQRX_MASK)) in LL_ADC_REG_GetSequencerRanks() 3665 >> (Rank & ADC_REG_RANK_ID_SQRX_MASK)) << ADC_CHANNEL_ID_NUMBER_BITOFFSET_POS in LL_ADC_REG_GetSequencerRanks() 4159 __STATIC_INLINE void LL_ADC_INJ_SetSequencerRanks(ADC_TypeDef *ADCx, uint32_t Rank, uint32_t Channe… in LL_ADC_INJ_SetSequencerRanks() argument 4166 …(ADC_CHANNEL_ID_NUMBER_MASK >> ADC_CHANNEL_ID_NUMBER_BITOFFSET_POS) << (Rank & ADC_INJ_RANK_ID_JSQ… in LL_ADC_INJ_SetSequencerRanks() [all …]
|
/hal_stm32-3.4.0/stm32cube/stm32g4xx/drivers/include/ |
D | stm32g4xx_ll_adc.h | 4091 __STATIC_INLINE void LL_ADC_REG_SetSequencerRanks(ADC_TypeDef *ADCx, uint32_t Rank, uint32_t Channe… in LL_ADC_REG_SetSequencerRanks() argument 4097 …__IO uint32_t *preg = __ADC_PTR_REG_OFFSET(ADCx->SQR1, ((Rank & ADC_REG_SQRX_REGOFFSET_MASK) >> AD… in LL_ADC_REG_SetSequencerRanks() 4100 ADC_CHANNEL_ID_NUMBER_MASK_POSBIT0 << (Rank & ADC_REG_RANK_ID_SQRX_MASK), in LL_ADC_REG_SetSequencerRanks() 4101 …& ADC_CHANNEL_ID_NUMBER_MASK) >> ADC_CHANNEL_ID_NUMBER_BITOFFSET_POS) << (Rank & ADC_REG_RANK_ID_S… in LL_ADC_REG_SetSequencerRanks() 4204 __STATIC_INLINE uint32_t LL_ADC_REG_GetSequencerRanks(ADC_TypeDef *ADCx, uint32_t Rank) in LL_ADC_REG_GetSequencerRanks() argument 4206 …const __IO uint32_t *preg = __ADC_PTR_REG_OFFSET(ADCx->SQR1, ((Rank & ADC_REG_SQRX_REGOFFSET_MASK)… in LL_ADC_REG_GetSequencerRanks() 4209 … ADC_CHANNEL_ID_NUMBER_MASK_POSBIT0 << (Rank & ADC_REG_RANK_ID_SQRX_MASK)) in LL_ADC_REG_GetSequencerRanks() 4210 >> (Rank & ADC_REG_RANK_ID_SQRX_MASK)) << ADC_CHANNEL_ID_NUMBER_BITOFFSET_POS in LL_ADC_REG_GetSequencerRanks() 4723 __STATIC_INLINE void LL_ADC_INJ_SetSequencerRanks(ADC_TypeDef *ADCx, uint32_t Rank, uint32_t Channe… in LL_ADC_INJ_SetSequencerRanks() argument 4730 …(ADC_CHANNEL_ID_NUMBER_MASK >> ADC_CHANNEL_ID_NUMBER_BITOFFSET_POS) << (Rank & ADC_INJ_RANK_ID_JSQ… in LL_ADC_INJ_SetSequencerRanks() [all …]
|
/hal_stm32-3.4.0/stm32cube/stm32h7xx/drivers/include/ |
D | stm32h7xx_ll_adc.h | 4248 __STATIC_INLINE void LL_ADC_REG_SetSequencerRanks(ADC_TypeDef *ADCx, uint32_t Rank, uint32_t Channe… in LL_ADC_REG_SetSequencerRanks() argument 4254 …__IO uint32_t *preg = __ADC_PTR_REG_OFFSET(ADCx->SQR1, ((Rank & ADC_REG_SQRX_REGOFFSET_MASK) >> AD… in LL_ADC_REG_SetSequencerRanks() 4257 ADC_CHANNEL_ID_NUMBER_MASK_POSBIT0 << (Rank & ADC_REG_RANK_ID_SQRX_MASK), in LL_ADC_REG_SetSequencerRanks() 4258 …& ADC_CHANNEL_ID_NUMBER_MASK) >> ADC_CHANNEL_ID_NUMBER_BITOFFSET_POS) << (Rank & ADC_REG_RANK_ID_S… in LL_ADC_REG_SetSequencerRanks() 4350 __STATIC_INLINE uint32_t LL_ADC_REG_GetSequencerRanks(ADC_TypeDef *ADCx, uint32_t Rank) in LL_ADC_REG_GetSequencerRanks() argument 4352 …const __IO uint32_t *preg = __ADC_PTR_REG_OFFSET(ADCx->SQR1, ((Rank & ADC_REG_SQRX_REGOFFSET_MASK)… in LL_ADC_REG_GetSequencerRanks() 4355 … ADC_CHANNEL_ID_NUMBER_MASK_POSBIT0 << (Rank & ADC_REG_RANK_ID_SQRX_MASK)) in LL_ADC_REG_GetSequencerRanks() 4356 >> (Rank & ADC_REG_RANK_ID_SQRX_MASK)) << ADC_CHANNEL_ID_NUMBER_BITOFFSET_POS in LL_ADC_REG_GetSequencerRanks() 4886 __STATIC_INLINE void LL_ADC_INJ_SetSequencerRanks(ADC_TypeDef *ADCx, uint32_t Rank, uint32_t Channe… in LL_ADC_INJ_SetSequencerRanks() argument 4893 …(ADC_CHANNEL_ID_NUMBER_MASK >> ADC_CHANNEL_ID_NUMBER_BITOFFSET_POS) << (Rank & ADC_INJ_RANK_ID_JSQ… in LL_ADC_INJ_SetSequencerRanks() [all …]
|
/hal_stm32-3.4.0/stm32cube/stm32f2xx/drivers/src/ |
D | stm32f2xx_hal_adc.c | 1610 assert_param(IS_ADC_REGULAR_RANK(sConfig->Rank)); in HAL_ADC_ConfigChannel() 1635 if (sConfig->Rank < 7U) in HAL_ADC_ConfigChannel() 1638 hadc->Instance->SQR3 &= ~ADC_SQR3_RK(ADC_SQR3_SQ1, sConfig->Rank); in HAL_ADC_ConfigChannel() 1641 hadc->Instance->SQR3 |= ADC_SQR3_RK(sConfig->Channel, sConfig->Rank); in HAL_ADC_ConfigChannel() 1644 else if (sConfig->Rank < 13U) in HAL_ADC_ConfigChannel() 1647 hadc->Instance->SQR2 &= ~ADC_SQR2_RK(ADC_SQR2_SQ7, sConfig->Rank); in HAL_ADC_ConfigChannel() 1650 hadc->Instance->SQR2 |= ADC_SQR2_RK(sConfig->Channel, sConfig->Rank); in HAL_ADC_ConfigChannel() 1656 hadc->Instance->SQR1 &= ~ADC_SQR1_RK(ADC_SQR1_SQ13, sConfig->Rank); in HAL_ADC_ConfigChannel() 1659 hadc->Instance->SQR1 |= ADC_SQR1_RK(sConfig->Channel, sConfig->Rank); in HAL_ADC_ConfigChannel()
|
/hal_stm32-3.4.0/stm32cube/stm32f1xx/drivers/src/ |
D | stm32f1xx_hal_adc.c | 2015 assert_param(IS_ADC_REGULAR_RANK(sConfig->Rank)); in HAL_ADC_ConfigChannel() 2024 if (sConfig->Rank < 7U) in HAL_ADC_ConfigChannel() 2027 ADC_SQR3_RK(ADC_SQR3_SQ1, sConfig->Rank) , in HAL_ADC_ConfigChannel() 2028 ADC_SQR3_RK(sConfig->Channel, sConfig->Rank) ); in HAL_ADC_ConfigChannel() 2031 else if (sConfig->Rank < 13U) in HAL_ADC_ConfigChannel() 2034 ADC_SQR2_RK(ADC_SQR2_SQ7, sConfig->Rank) , in HAL_ADC_ConfigChannel() 2035 ADC_SQR2_RK(sConfig->Channel, sConfig->Rank) ); in HAL_ADC_ConfigChannel() 2041 ADC_SQR1_RK(ADC_SQR1_SQ13, sConfig->Rank) , in HAL_ADC_ConfigChannel() 2042 ADC_SQR1_RK(sConfig->Channel, sConfig->Rank) ); in HAL_ADC_ConfigChannel()
|
/hal_stm32-3.4.0/stm32cube/stm32f4xx/drivers/src/ |
D | stm32f4xx_hal_adc.c | 1676 assert_param(IS_ADC_REGULAR_RANK(sConfig->Rank)); in HAL_ADC_ConfigChannel() 1701 if (sConfig->Rank < 7U) in HAL_ADC_ConfigChannel() 1704 hadc->Instance->SQR3 &= ~ADC_SQR3_RK(ADC_SQR3_SQ1, sConfig->Rank); in HAL_ADC_ConfigChannel() 1707 hadc->Instance->SQR3 |= ADC_SQR3_RK(sConfig->Channel, sConfig->Rank); in HAL_ADC_ConfigChannel() 1710 else if (sConfig->Rank < 13U) in HAL_ADC_ConfigChannel() 1713 hadc->Instance->SQR2 &= ~ADC_SQR2_RK(ADC_SQR2_SQ7, sConfig->Rank); in HAL_ADC_ConfigChannel() 1716 hadc->Instance->SQR2 |= ADC_SQR2_RK(sConfig->Channel, sConfig->Rank); in HAL_ADC_ConfigChannel() 1722 hadc->Instance->SQR1 &= ~ADC_SQR1_RK(ADC_SQR1_SQ13, sConfig->Rank); in HAL_ADC_ConfigChannel() 1725 hadc->Instance->SQR1 |= ADC_SQR1_RK(sConfig->Channel, sConfig->Rank); in HAL_ADC_ConfigChannel()
|
/hal_stm32-3.4.0/stm32cube/stm32f7xx/drivers/src/ |
D | stm32f7xx_hal_adc.c | 1676 assert_param(IS_ADC_REGULAR_RANK(sConfig->Rank)); in HAL_ADC_ConfigChannel() 1709 if (sConfig->Rank < 7) in HAL_ADC_ConfigChannel() 1712 hadc->Instance->SQR3 &= ~ADC_SQR3_RK(ADC_SQR3_SQ1, sConfig->Rank); in HAL_ADC_ConfigChannel() 1715 hadc->Instance->SQR3 |= ADC_SQR3_RK(sConfig->Channel, sConfig->Rank); in HAL_ADC_ConfigChannel() 1718 else if (sConfig->Rank < 13) in HAL_ADC_ConfigChannel() 1721 hadc->Instance->SQR2 &= ~ADC_SQR2_RK(ADC_SQR2_SQ7, sConfig->Rank); in HAL_ADC_ConfigChannel() 1724 hadc->Instance->SQR2 |= ADC_SQR2_RK(sConfig->Channel, sConfig->Rank); in HAL_ADC_ConfigChannel() 1730 hadc->Instance->SQR1 &= ~ADC_SQR1_RK(ADC_SQR1_SQ13, sConfig->Rank); in HAL_ADC_ConfigChannel() 1733 hadc->Instance->SQR1 |= ADC_SQR1_RK(sConfig->Channel, sConfig->Rank); in HAL_ADC_ConfigChannel()
|
/hal_stm32-3.4.0/stm32cube/stm32f3xx/drivers/src/ |
D | stm32f3xx_hal_adc_ex.c | 5558 assert_param(IS_ADC_REGULAR_RANK(sConfig->Rank)); in HAL_ADC_ConfigChannel() 5590 if (sConfig->Rank < 5U) in HAL_ADC_ConfigChannel() 5593 ADC_SQR1_RK(ADC_SQR2_SQ5, sConfig->Rank) , in HAL_ADC_ConfigChannel() 5594 ADC_SQR1_RK(sConfig->Channel, sConfig->Rank) ); in HAL_ADC_ConfigChannel() 5597 else if (sConfig->Rank < 10U) in HAL_ADC_ConfigChannel() 5600 ADC_SQR2_RK(ADC_SQR2_SQ5, sConfig->Rank) , in HAL_ADC_ConfigChannel() 5601 ADC_SQR2_RK(sConfig->Channel, sConfig->Rank) ); in HAL_ADC_ConfigChannel() 5604 else if (sConfig->Rank < 15U) in HAL_ADC_ConfigChannel() 5607 ADC_SQR3_RK(ADC_SQR3_SQ10, sConfig->Rank) , in HAL_ADC_ConfigChannel() 5608 ADC_SQR3_RK(sConfig->Channel, sConfig->Rank) ); in HAL_ADC_ConfigChannel() [all …]
|
/hal_stm32-3.4.0/stm32cube/stm32c0xx/drivers/src/ |
D | stm32c0xx_hal_adc.c | 2214 assert_param(IS_ADC_REGULAR_RANK_SEQ_FIXED(sConfig->Rank)); in HAL_ADC_ConfigChannel() 2220 assert_param(IS_ADC_REGULAR_RANK(sConfig->Rank)); in HAL_ADC_ConfigChannel() 2241 if (sConfig->Rank != ADC_RANK_NONE) in HAL_ADC_ConfigChannel() 2263 ADC_CHSELR_SQ1 << (sConfig->Rank & 0x1FUL), in HAL_ADC_ConfigChannel() 2264 __LL_ADC_CHANNEL_TO_DECIMAL_NB(sConfig->Channel) << (sConfig->Rank & 0x1FUL)); in HAL_ADC_ConfigChannel() 2270 if (((sConfig->Rank >> 2UL) + 1UL) <= hadc->Init.NbrOfConversion) in HAL_ADC_ConfigChannel() 2272 LL_ADC_REG_SetSequencerRanks(hadc->Instance, sConfig->Rank, sConfig->Channel); in HAL_ADC_ConfigChannel()
|
/hal_stm32-3.4.0/stm32cube/stm32wlxx/drivers/src/ |
D | stm32wlxx_hal_adc.c | 2173 assert_param(IS_ADC_REGULAR_RANK_SEQ_FIXED(pConfig->Rank)); in HAL_ADC_ConfigChannel() 2179 assert_param(IS_ADC_REGULAR_RANK(pConfig->Rank)); in HAL_ADC_ConfigChannel() 2199 if (pConfig->Rank != ADC_RANK_NONE) in HAL_ADC_ConfigChannel() 2221 ADC_CHSELR_SQ1 << (pConfig->Rank & 0x1FUL), in HAL_ADC_ConfigChannel() 2222 __LL_ADC_CHANNEL_TO_DECIMAL_NB(pConfig->Channel) << (pConfig->Rank & 0x1FUL)); in HAL_ADC_ConfigChannel() 2228 if (((pConfig->Rank >> 2UL) + 1UL) <= hadc->Init.NbrOfConversion) in HAL_ADC_ConfigChannel() 2230 LL_ADC_REG_SetSequencerRanks(hadc->Instance, pConfig->Rank, pConfig->Channel); in HAL_ADC_ConfigChannel()
|
/hal_stm32-3.4.0/stm32cube/stm32g0xx/drivers/src/ |
D | stm32g0xx_hal_adc.c | 2172 assert_param(IS_ADC_REGULAR_RANK_SEQ_FIXED(pConfig->Rank)); in HAL_ADC_ConfigChannel() 2178 assert_param(IS_ADC_REGULAR_RANK(pConfig->Rank)); in HAL_ADC_ConfigChannel() 2198 if (pConfig->Rank != ADC_RANK_NONE) in HAL_ADC_ConfigChannel() 2220 ADC_CHSELR_SQ1 << (pConfig->Rank & 0x1FUL), in HAL_ADC_ConfigChannel() 2221 __LL_ADC_CHANNEL_TO_DECIMAL_NB(pConfig->Channel) << (pConfig->Rank & 0x1FUL)); in HAL_ADC_ConfigChannel() 2227 if (((pConfig->Rank >> 2UL) + 1UL) <= hadc->Init.NbrOfConversion) in HAL_ADC_ConfigChannel() 2229 LL_ADC_REG_SetSequencerRanks(hadc->Instance, pConfig->Rank, pConfig->Channel); in HAL_ADC_ConfigChannel()
|
/hal_stm32-3.4.0/stm32cube/stm32l4xx/drivers/src/ |
D | stm32l4xx_hal_adc.c | 2710 assert_param(IS_ADC_REGULAR_RANK(sConfig->Rank)); in HAL_ADC_ConfigChannel() 2746 if (sConfig->Rank <= 5U) in HAL_ADC_ConfigChannel() 2748 switch (sConfig->Rank) in HAL_ADC_ConfigChannel() 2751 sConfig->Rank = ADC_REGULAR_RANK_2; in HAL_ADC_ConfigChannel() 2754 sConfig->Rank = ADC_REGULAR_RANK_3; in HAL_ADC_ConfigChannel() 2757 sConfig->Rank = ADC_REGULAR_RANK_4; in HAL_ADC_ConfigChannel() 2760 sConfig->Rank = ADC_REGULAR_RANK_5; in HAL_ADC_ConfigChannel() 2764 sConfig->Rank = ADC_REGULAR_RANK_1; in HAL_ADC_ConfigChannel() 2771 LL_ADC_REG_SetSequencerRanks(hadc->Instance, sConfig->Rank, sConfig->Channel); in HAL_ADC_ConfigChannel()
|
/hal_stm32-3.4.0/stm32cube/stm32wbxx/drivers/src/ |
D | stm32wbxx_hal_adc.c | 2760 assert_param(IS_ADC_REGULAR_RANK_SEQ_FIXED(sConfig->Rank)); in HAL_ADC_ConfigChannel() 2766 assert_param(IS_ADC_REGULAR_RANK(sConfig->Rank)); in HAL_ADC_ConfigChannel() 2787 if(sConfig->Rank != ADC_RANK_NONE) in HAL_ADC_ConfigChannel() 2809 ADC_CHSELR_SQ1 << (sConfig->Rank & 0x1FUL), in HAL_ADC_ConfigChannel() 2810 __LL_ADC_CHANNEL_TO_DECIMAL_NB(sConfig->Channel) << (sConfig->Rank & 0x1FUL)); in HAL_ADC_ConfigChannel() 2816 if(((sConfig->Rank >> 2UL) + 1UL) <= hadc->Init.NbrOfConversion) in HAL_ADC_ConfigChannel() 2818 LL_ADC_REG_SetSequencerRanks(hadc->Instance, sConfig->Rank, sConfig->Channel); in HAL_ADC_ConfigChannel() 2934 assert_param(IS_ADC_REGULAR_RANK(sConfig->Rank)); in HAL_ADC_ConfigChannel() 2965 LL_ADC_REG_SetSequencerRanks(hadc->Instance, sConfig->Rank, sConfig->Channel); in HAL_ADC_ConfigChannel()
|