pub struct W(_);
Expand description
Register ISR
writer
Implementations
sourceimpl W
impl W
sourcepub fn adrdy(&mut self) -> ADRDY_W<'_, 0>
pub fn adrdy(&mut self) -> ADRDY_W<'_, 0>
Bit 0 - 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.
sourcepub fn eosmp(&mut self) -> EOSMP_W<'_, 1>
pub fn eosmp(&mut self) -> EOSMP_W<'_, 1>
Bit 1 - 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 programming it to ’1â.
sourcepub fn eoc(&mut self) -> EOC_W<'_, 2>
pub fn eoc(&mut self) -> EOC_W<'_, 2>
Bit 2 - 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.
sourcepub fn eos(&mut self) -> EOS_W<'_, 3>
pub fn eos(&mut self) -> EOS_W<'_, 3>
Bit 3 - 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.
sourcepub fn ovr(&mut self) -> OVR_W<'_, 4>
pub fn ovr(&mut self) -> OVR_W<'_, 4>
Bit 4 - 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.
sourcepub fn awd1(&mut self) -> AWD1_W<'_, 7>
pub fn awd1(&mut self) -> AWD1_W<'_, 7>
Bit 7 - 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 programming it to 1.
sourcepub fn awd2(&mut self) -> AWD2_W<'_, 8>
pub fn awd2(&mut self) -> AWD2_W<'_, 8>
Bit 8 - 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 programming it it.
sourcepub fn awd3(&mut self) -> AWD3_W<'_, 9>
pub fn awd3(&mut self) -> AWD3_W<'_, 9>
Bit 9 - 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 programming it to 1.
sourcepub fn eocal(&mut self) -> EOCAL_W<'_, 11>
pub fn eocal(&mut self) -> EOCAL_W<'_, 11>
Bit 11 - End Of Calibration flag This bit is set by hardware when calibration is complete. It is cleared by software writing 1 to it.
sourcepub fn ccrdy(&mut self) -> CCRDY_W<'_, 13>
pub fn ccrdy(&mut self) -> CCRDY_W<'_, 13>
Bit 13 - Channel Configuration Ready flag This flag bit is set by hardware when the channel configuration is applied after programming to ADC_CHSELR register or changing CHSELRMOD or SCANDIR. It is cleared by software by programming it to it. Note: When the software configures the channels (by programming ADC_CHSELR or changing CHSELRMOD or SCANDIR), it must wait until the CCRDY flag rises before configuring again or starting conversions, otherwise the new configuration (or the START bit) is ignored. Once the flag is asserted, if the software needs to configure again the channels, it must clear the CCRDY flag before proceeding with a new configuration.
Methods from Deref<Target = W<ISR_SPEC>>
Trait Implementations
Auto Trait Implementations
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more