Struct stm32_metapac::adc::regs::Awd3cr
#[repr(transparent)]pub struct Awd3cr(pub u32);
Expand description
Analog Watchdog 3 Configuration Register
Tuple Fields§
§0: u32
Implementations§
§impl Awd3cr
impl Awd3cr
pub const fn awd3ch(&self) -> u32
pub const fn awd3ch(&self) -> u32
Analog watchdog 3 channel selection These bits are set and cleared by software. They enable and select the input channels to be guarded by the analog watchdog 3. AWD3CH[i] = 0: analog input channel i is not monitored by AWD3 AWD3CH[i] = 1: analog input channel i is monitored by AWD3 When AWD3CH[19:0] = 000..0, the analog Watchdog 3 is disabled Note: The channels selected by AWD3CH must be also selected into the SQRi or JSQRi registers. The software is allowed to write these bits only when ADSTART = 0 and JADSTART = 0 (which ensures that no conversion is ongoing). Some channels are not connected physically and must not be selected for the analog watchdog.
pub fn set_awd3ch(&mut self, val: u32)
pub fn set_awd3ch(&mut self, val: u32)
Analog watchdog 3 channel selection These bits are set and cleared by software. They enable and select the input channels to be guarded by the analog watchdog 3. AWD3CH[i] = 0: analog input channel i is not monitored by AWD3 AWD3CH[i] = 1: analog input channel i is monitored by AWD3 When AWD3CH[19:0] = 000..0, the analog Watchdog 3 is disabled Note: The channels selected by AWD3CH must be also selected into the SQRi or JSQRi registers. The software is allowed to write these bits only when ADSTART = 0 and JADSTART = 0 (which ensures that no conversion is ongoing). Some channels are not connected physically and must not be selected for the analog watchdog.
Trait Implementations§
impl Copy for Awd3cr
impl Eq for Awd3cr
impl StructuralPartialEq for Awd3cr
Auto Trait Implementations§
impl Freeze for Awd3cr
impl RefUnwindSafe for Awd3cr
impl Send for Awd3cr
impl Sync for Awd3cr
impl Unpin for Awd3cr
impl UnwindSafe for Awd3cr
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)