Searched refs:__DECIMAL_NB__ (Results 1 – 7 of 7) sorted by relevance
1350 #define __LL_ADC_DECIMAL_NB_TO_CHANNEL(__DECIMAL_NB__) … argument1351 …(((__DECIMAL_NB__) <= 9U) …1353 …((__DECIMAL_NB__) << ADC_CHANNEL_ID_NUMBER_BITOFFSET_POS) | …1354 …(ADC_SMPR3_REGOFFSET | (((uint32_t) (3U * (__DECIMAL_NB__))) << ADC_CHANNEL_SMPx_BITOFFSET_POS)) …1357 …(((__DECIMAL_NB__) <= 19U) …1359 …((__DECIMAL_NB__) << ADC_CHANNEL_ID_NUMBER_BITOFFSET_POS) | …1360 …(ADC_SMPR2_REGOFFSET | (((uint32_t) (3U * ((__DECIMAL_NB__) -10U))) << ADC_CHANNEL_SMPx_BITOFFSET_…1363 …(((__DECIMAL_NB__) <= 28U) …1365 …((__DECIMAL_NB__) << ADC_CHANNEL_ID_NUMBER_BITOFFSET_POS) | …1366 …(ADC_SMPR1_REGOFFSET | (((uint32_t) (3U * ((__DECIMAL_NB__) -20U))) << ADC_CHANNEL_SMPx_BITOFFSET_…[all …]
415 #define __LL_DAC_DECIMAL_NB_TO_CHANNEL(__DECIMAL_NB__) \ argument416 (((__DECIMAL_NB__) == 1U) \421 (((__DECIMAL_NB__) == 2U) \
437 #define __LL_DAC_DECIMAL_NB_TO_CHANNEL(__DECIMAL_NB__) \ argument438 (((__DECIMAL_NB__) == 1U) \443 (((__DECIMAL_NB__) == 2U) \454 #define __LL_DAC_DECIMAL_NB_TO_CHANNEL(__DECIMAL_NB__) \ argument455 (((__DECIMAL_NB__) == 1U) \
1030 #define __LL_ADC_DECIMAL_NB_TO_CHANNEL(__DECIMAL_NB__) \ argument1032 ((__DECIMAL_NB__) << ADC_CHANNEL_ID_NUMBER_BITOFFSET_POS) | \1033 (ADC_CHSELR_CHSEL0 << (__DECIMAL_NB__)) \
515 #define __LL_DAC_DECIMAL_NB_TO_CHANNEL(__DECIMAL_NB__) \ argument516 (((__DECIMAL_NB__) == 1U) \521 (((__DECIMAL_NB__) == 2U) \532 #define __LL_DAC_DECIMAL_NB_TO_CHANNEL(__DECIMAL_NB__) \ argument533 (((__DECIMAL_NB__) == 1U) \
1537 #define __LL_ADC_DECIMAL_NB_TO_CHANNEL(__DECIMAL_NB__) … argument1538 …(((__DECIMAL_NB__) <= 9UL) …1540 … ((__DECIMAL_NB__) << ADC_CHANNEL_ID_NUMBER_BITOFFSET_POS) | \1541 … (ADC_AWD2CR_AWD2CH_0 << (__DECIMAL_NB__)) | \1542 … (ADC_SMPR1_REGOFFSET | (((3UL * (__DECIMAL_NB__))) << ADC_CHANNEL_SMPx_BITOFFSET_POS)) \1546 … ((__DECIMAL_NB__) << ADC_CHANNEL_ID_NUMBER_BITOFFSET_POS) | \1547 … (ADC_AWD2CR_AWD2CH_0 << (__DECIMAL_NB__)) | \1548 … (ADC_SMPR2_REGOFFSET | (((3UL * ((__DECIMAL_NB__) - 10UL))) << ADC_CHANNEL_SMPx_BITOFFSET_POS)) \
1283 #define __HAL_ADC_DECIMAL_NB_TO_CHANNEL(__DECIMAL_NB__) \ argument1284 __LL_ADC_DECIMAL_NB_TO_CHANNEL((__DECIMAL_NB__))