#[repr(transparent)]pub struct Reg1p1Set(pub u32);Expand description
Regulator 1P1 Register
Tuple Fields§
§0: u32Implementations§
Source§impl Reg1p1Set
impl Reg1p1Set
Sourcepub const fn enable_linreg(&self) -> bool
pub const fn enable_linreg(&self) -> bool
Control bit to enable the regulator output.
Sourcepub const fn set_enable_linreg(&mut self, val: bool)
pub const fn set_enable_linreg(&mut self, val: bool)
Control bit to enable the regulator output.
Sourcepub const fn enable_bo(&self) -> bool
pub const fn enable_bo(&self) -> bool
Control bit to enable the brownout circuitry in the regulator.
Sourcepub const fn set_enable_bo(&mut self, val: bool)
pub const fn set_enable_bo(&mut self, val: bool)
Control bit to enable the brownout circuitry in the regulator.
Sourcepub const fn enable_ilimit(&self) -> bool
pub const fn enable_ilimit(&self) -> bool
Control bit to enable the current-limit circuitry in the regulator.
Sourcepub const fn set_enable_ilimit(&mut self, val: bool)
pub const fn set_enable_ilimit(&mut self, val: bool)
Control bit to enable the current-limit circuitry in the regulator.
Sourcepub const fn enable_pulldown(&self) -> bool
pub const fn enable_pulldown(&self) -> bool
Control bit to enable the pull-down circuitry in the regulator
Sourcepub const fn set_enable_pulldown(&mut self, val: bool)
pub const fn set_enable_pulldown(&mut self, val: bool)
Control bit to enable the pull-down circuitry in the regulator
Sourcepub const fn bo_offset(&self) -> u8
pub const fn bo_offset(&self) -> u8
Control bits to adjust the regulator brownout offset voltage in 25mV steps
Sourcepub const fn set_bo_offset(&mut self, val: u8)
pub const fn set_bo_offset(&mut self, val: u8)
Control bits to adjust the regulator brownout offset voltage in 25mV steps
Sourcepub const fn output_trg(&self) -> Reg1p1SetOutputTrg
pub const fn output_trg(&self) -> Reg1p1SetOutputTrg
Control bits to adjust the regulator output voltage
Sourcepub const fn set_output_trg(&mut self, val: Reg1p1SetOutputTrg)
pub const fn set_output_trg(&mut self, val: Reg1p1SetOutputTrg)
Control bits to adjust the regulator output voltage
Sourcepub const fn bo_vdd1p1(&self) -> bool
pub const fn bo_vdd1p1(&self) -> bool
Status bit that signals when a brownout is detected on the regulator output.
Sourcepub const fn set_bo_vdd1p1(&mut self, val: bool)
pub const fn set_bo_vdd1p1(&mut self, val: bool)
Status bit that signals when a brownout is detected on the regulator output.
Sourcepub const fn ok_vdd1p1(&self) -> bool
pub const fn ok_vdd1p1(&self) -> bool
Status bit that signals when the regulator output is ok. 1 = regulator output > brownout target
Sourcepub const fn set_ok_vdd1p1(&mut self, val: bool)
pub const fn set_ok_vdd1p1(&mut self, val: bool)
Status bit that signals when the regulator output is ok. 1 = regulator output > brownout target
Sourcepub const fn enable_weak_linreg(&self) -> bool
pub const fn enable_weak_linreg(&self) -> bool
Enables the weak 1p1 regulator
Sourcepub const fn set_enable_weak_linreg(&mut self, val: bool)
pub const fn set_enable_weak_linreg(&mut self, val: bool)
Enables the weak 1p1 regulator
Sourcepub const fn selref_weak_linreg(&self) -> Reg1p1SetSelrefWeakLinreg
pub const fn selref_weak_linreg(&self) -> Reg1p1SetSelrefWeakLinreg
Selects the source for the reference voltage of the weak 1p1 regulator.
Sourcepub const fn set_selref_weak_linreg(&mut self, val: Reg1p1SetSelrefWeakLinreg)
pub const fn set_selref_weak_linreg(&mut self, val: Reg1p1SetSelrefWeakLinreg)
Selects the source for the reference voltage of the weak 1p1 regulator.