#[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 selection: encodings 0 through 11 select 1.0 through 2.1 V in 0.1 V steps (1 selects 1.1 V); encodings 12 through 15 select 1.0 V. Hardware reset is unknown and factory-loaded, not a fixed selection.
Sourcepub const fn set_trim2v1(&mut self, val: u8)
pub const fn set_trim2v1(&mut self, val: u8)
Output selection: encodings 0 through 11 select 1.0 through 2.1 V in 0.1 V steps (1 selects 1.1 V); encodings 12 through 15 select 1.0 V. Hardware reset is unknown and factory-loaded, not a fixed selection.
Sourcepub const fn vreftrim(&self) -> u8
pub const fn vreftrim(&self) -> u8
Factory-loaded unsigned output trim with unknown hardware reset value. Each step adjusts output by (0.5 x VREF_OUT_Nom) mV, where VREF_OUT_Nom is the target output voltage in volts selected by TRIM2V1.
Sourcepub const fn set_vreftrim(&mut self, val: u8)
pub const fn set_vreftrim(&mut self, val: u8)
Factory-loaded unsigned output trim with unknown hardware reset value. Each step adjusts output by (0.5 x VREF_OUT_Nom) mV, where VREF_OUT_Nom is the target output voltage in volts selected by TRIM2V1.