#[repr(transparent)]pub struct Utrim(pub u32);Tuple Fields§
§0: u32Implementations§
Source§impl Utrim
impl Utrim
Sourcepub const fn trim2v1(&self) -> u8
pub const fn trim2v1(&self) -> u8
Output voltage selection, reset encoding 1. The manual disagrees on the nominal voltage for encoding 1 (Table 671 says 1.25 V; section 58.6.1.4 says 1.2 V). Confirm the voltage with NXP before relying on it.
Sourcepub const fn set_trim2v1(&mut self, val: u8)
pub const fn set_trim2v1(&mut self, val: u8)
Output voltage selection, reset encoding 1. The manual disagrees on the nominal voltage for encoding 1 (Table 671 says 1.25 V; section 58.6.1.4 says 1.2 V). Confirm the voltage with NXP before relying on it.
Sourcepub const fn vreftrim(&self) -> u8
pub const fn vreftrim(&self) -> u8
Factory-loaded unsigned output trim. Reset value is device-specific.
Sourcepub const fn set_vreftrim(&mut self, val: u8)
pub const fn set_vreftrim(&mut self, val: u8)
Factory-loaded unsigned output trim. Reset value is device-specific.
Trait Implementations§
impl Copy for Utrim
impl Eq for Utrim
impl StructuralPartialEq for Utrim
Auto Trait Implementations§
impl Freeze for Utrim
impl RefUnwindSafe for Utrim
impl Send for Utrim
impl Sync for Utrim
impl Unpin for Utrim
impl UnwindSafe for Utrim
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