Struct stm32_metapac::adc::regs::Awd1tr
#[repr(transparent)]pub struct Awd1tr(pub u32);
Expand description
ADC watchdog threshold register.
Tuple Fields§
§0: u32
Implementations§
§impl Awd1tr
impl Awd1tr
pub const fn lt1(&self) -> u16
pub const fn lt1(&self) -> u16
Analog watchdog 1 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_lt1(&mut self, val: u16)
pub fn set_lt1(&mut self, val: u16)
Analog watchdog 1 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 Awd1tr
impl Eq for Awd1tr
impl StructuralPartialEq for Awd1tr
Auto Trait Implementations§
impl Freeze for Awd1tr
impl RefUnwindSafe for Awd1tr
impl Send for Awd1tr
impl Sync for Awd1tr
impl Unpin for Awd1tr
impl UnwindSafe for Awd1tr
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
)