Struct stm32_metapac::adc::regs::Awd2tr
#[repr(transparent)]pub struct Awd2tr(pub u32);
Expand description
ADC watchdog threshold register.
Tuple Fields§
§0: u32
Implementations§
§impl Awd2tr
impl Awd2tr
pub const fn lt2(&self) -> u16
pub const fn lt2(&self) -> u16
Analog watchdog 2 lower threshold These bits are written by software to define the lower threshold for the analog watchdog. Refer to Section 20.4.25: Analog window watchdog on page 638.
pub fn set_lt2(&mut self, val: u16)
pub fn set_lt2(&mut self, val: u16)
Analog watchdog 2 lower threshold These bits are written by software to define the lower threshold for the analog watchdog. Refer to Section 20.4.25: Analog window watchdog on page 638.
Trait Implementations§
impl Copy for Awd2tr
impl Eq for Awd2tr
impl StructuralPartialEq for Awd2tr
Auto Trait Implementations§
impl Freeze for Awd2tr
impl RefUnwindSafe for Awd2tr
impl Send for Awd2tr
impl Sync for Awd2tr
impl Unpin for Awd2tr
impl UnwindSafe for Awd2tr
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
Mutably borrows from an owned value. Read more
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)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)