HAL
ADC_JSQR
is only used within HAL.
Symbol previews are coming soon...
Symbols
loading...
Files
loading...
CodeScope
STM32 Libraries and Samples
HAL
ADC_JSQR
ADC_JSQR macro
Set the selected injected Channel rank.
Syntax
from
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_
)
)
)
)
Arguments
_CHANNELNB_
Channel number.
_RANKNB_
Rank number.
_JSQR_JL_
Sequence length.
Return value
None
References
Location
Text
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
hadc
->
Instance
->
JSQR
&=
~
ADC_JSQR
(
ADC_JSQR_JSQ1
,
sConfigInjected
->
InjectedRank
,
sConfigInjected
->
InjectedNbrOfConversion
)
;
stm32f4xx_hal_adc_ex.c:874
hadc
->
Instance
->
JSQR
|=
ADC_JSQR
(
sConfigInjected
->
InjectedChannel
,
sConfigInjected
->
InjectedRank
,
sConfigInjected
->
InjectedNbrOfConversion
)
;