HAL
ADC_JSQR is only used within HAL.
 
Symbols
loading...
Files
loading...

ADC_JSQR macro

Set the selected injected Channel rank.

Syntax

#define ADC_JSQR(_CHANNELNB_, _RANKNB_, _JSQR_JL_) (((uint32_t)((uint16_t)(_CHANNELNB_))) << (5U * (uint8_t)(((_RANKNB_) + 3U) - (_JSQR_JL_))))

Arguments

_CHANNELNB_

Channel number.

_RANKNB_

Rank number.

_JSQR_JL_

Sequence length.

Return value

None

References

LocationText
stm32f4xx_hal_adc_ex.h:367
#define ADC_JSQR(_CHANNELNB_, _RANKNB_, _JSQR_JL_) (((uint32_t)((uint16_t)(_CHANNELNB_))) << (5U * (uint8_t)(((_RANKNB_) + 3U) - (_JSQR_JL_))))
stm32f4xx_hal_adc_ex.c:871
stm32f4xx_hal_adc_ex.c:874