stm32 /stm32wba5 /STM32WBA52 /ADC4 /ADC_ISR

Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text

Interpret as ADC_ISR

31 2827 2423 2019 1615 1211 87 43 0 0 0 0 0 0 0 0 00 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 (B_0x0)ADRDY 0 (B_0x0)EOSMP 0 (B_0x0)EOC 0 (B_0x0)EOS 0 (B_0x0)OVR 0 (B_0x0)AWD1 0 (B_0x0)AWD2 0 (B_0x0)AWD3 0 (B_0x0)EOCAL 0 (B_0x0)LDORDY

EOSMP=B_0x0, AWD1=B_0x0, AWD3=B_0x0, EOC=B_0x0, AWD2=B_0x0, EOCAL=B_0x0, LDORDY=B_0x0, OVR=B_0x0, EOS=B_0x0, ADRDY=B_0x0

Description

ADC interrupt and status register

Fields

ADRDY

ADC ready

This bit is set by hardware after the ADC has been enabled (ADEN = 1) and when the ADC reaches a state where it is ready to accept conversion requests.

It is cleared by software writing 1 to it.

0 (B_0x0): ADC not yet ready to start conversion (or the flag event was already acknowledged and cleared by software)

1 (B_0x1): ADC is ready to start conversion

EOSMP

End of sampling flag

This bit is set by hardware during the conversion, at the end of the sampling phase.It is cleared by software by writing 1 to it.

0 (B_0x0): Not at the end of the sampling phase (or the flag event was already acknowledged and cleared by software)

1 (B_0x1): End of sampling phase reached

EOC

End of conversion flag

This bit is set by hardware at the end of each conversion of a channel when a new data result is available in the ADC_DR register. It is cleared by software writing 1 to it or by reading the ADC_DR register.

0 (B_0x0): Channel conversion not complete (or the flag event was already acknowledged and cleared by software)

1 (B_0x1): Channel conversion complete

EOS

End of sequence flag

This bit is set by hardware at the end of the conversion of a sequence of channels selected by the CHSEL bits. It is cleared by software writing 1 to it.

0 (B_0x0): Conversion sequence not complete (or the flag event was already acknowledged and cleared by software)

1 (B_0x1): Conversion sequence complete

OVR

ADC overrun

This bit is set by hardware when an overrun occurs, meaning that a new conversion has complete while the EOC flag was already set. It is cleared by software writing 1 to it.

0 (B_0x0): No overrun occurred (or the flag event was already acknowledged and cleared by software)

1 (B_0x1): Overrun has occurred

AWD1

Analog watchdog 1 flag

This bit is set by hardware when the converted voltage crosses the values programmed in ADC_TR1 and ADC_HR1 registers. It is cleared by software by writing 1 to it.

0 (B_0x0): No analog watchdog event occurred (or the flag event was already acknowledged and cleared by software)

1 (B_0x1): Analog watchdog event occurred

AWD2

Analog watchdog 2 flag

This bit is set by hardware when the converted voltage crosses the values programmed in ADC_AWD2TR and ADC_AWD2TR registers. It is cleared by software writing 1 to it.

0 (B_0x0): No analog watchdog event occurred (or the flag event was already acknowledged and cleared by software)

1 (B_0x1): Analog watchdog event occurred

AWD3

Analog watchdog 3 flag

This bit is set by hardware when the converted voltage crosses the values programmed in ADC_AWD3TR and ADC_AWD3TR registers. It is cleared by software by writing 1 to it.

0 (B_0x0): No analog watchdog event occurred (or the flag event was already acknowledged and cleared by software)

1 (B_0x1): Analog watchdog event occurred

EOCAL

End of calibration flag

This bit is set by hardware when calibration is complete. It is cleared by software writing 1 to it.

0 (B_0x0): Calibration is not complete

1 (B_0x1): Calibration is complete

LDORDY

LDO ready

This bit is set by hardware. It indicates that the ADC internal LDO output is ready.

It is cleared by software by writing 1 to it.

0 (B_0x0): ADC voltage regulator disabled

1 (B_0x1): ADC voltage regulator enabled and stabilized

Links

()