#[repr(transparent)]pub struct Csr(pub u32);Tuple Fields§
§0: u32Implementations§
Source§impl Csr
impl Csr
Sourcepub const fn hcbgen(&self) -> bool
pub const fn hcbgen(&self) -> bool
HC bandgap enable. Enable only when LPBGEN is set. Raw bit values: false (0) = Disabled: Disables.; true (1) = Enabled: Enables.
Sourcepub const fn set_hcbgen(&mut self, val: bool)
pub const fn set_hcbgen(&mut self, val: bool)
HC bandgap enable. Enable only when LPBGEN is set. Raw bit values: false (0) = Disabled: Disables.; true (1) = Enabled: Enables.
Sourcepub const fn lpbgen(&self) -> bool
pub const fn lpbgen(&self) -> bool
Low-power bandgap enable. Raw bit values: false (0) = Disabled: Disables.; true (1) = Enabled: Enables.
Sourcepub const fn set_lpbgen(&mut self, val: bool)
pub const fn set_lpbgen(&mut self, val: bool)
Low-power bandgap enable. Raw bit values: false (0) = Disabled: Disables.; true (1) = Enabled: Enables.
Sourcepub const fn lpbg_buf_en(&self) -> bool
pub const fn lpbg_buf_en(&self) -> bool
Low-power bandgap buffer enable with latch function. Enable only when LPBGEN is set. Raw bit values: false (0) = Disabled: Disables.; true (1) = Enabled: Enables.
Sourcepub const fn set_lpbg_buf_en(&mut self, val: bool)
pub const fn set_lpbg_buf_en(&mut self, val: bool)
Low-power bandgap buffer enable with latch function. Enable only when LPBGEN is set. Raw bit values: false (0) = Disabled: Disables.; true (1) = Enabled: Enables.
Sourcepub const fn chopen(&self) -> bool
pub const fn chopen(&self) -> bool
Chop oscillator enable. Required when using the internal regulator. Chopping in low-power modes also requires the HC bandgap reference. Raw bit values: false (0) = Disabled: Disables.; true (1) = Enabled: Enables.
Sourcepub const fn set_chopen(&mut self, val: bool)
pub const fn set_chopen(&mut self, val: bool)
Chop oscillator enable. Required when using the internal regulator. Chopping in low-power modes also requires the HC bandgap reference. Raw bit values: false (0) = Disabled: Disables.; true (1) = Enabled: Enables.
Sourcepub const fn icompen(&self) -> bool
pub const fn icompen(&self) -> bool
Second-order current compensation. Must be set for data-sheet performance. Raw bit values: false (0) = Disabled: Disables.; true (1) = Enabled: Enables.
Sourcepub const fn set_icompen(&mut self, val: bool)
pub const fn set_icompen(&mut self, val: bool)
Second-order current compensation. Must be set for data-sheet performance. Raw bit values: false (0) = Disabled: Disables.; true (1) = Enabled: Enables.
Sourcepub const fn regen(&self) -> bool
pub const fn regen(&self) -> bool
Internal 1.75 V regulator enable. Must be set for data-sheet performance; follow the regulator enable sequence. Raw bit values: false (0) = Disabled: Disables.; true (1) = Enabled: Enables.
Sourcepub const fn set_regen(&mut self, val: bool)
pub const fn set_regen(&mut self, val: bool)
Internal 1.75 V regulator enable. Must be set for data-sheet performance; follow the regulator enable sequence. Raw bit values: false (0) = Disabled: Disables.; true (1) = Enabled: Enables.
Sourcepub const fn hi_pwr_lv(&self) -> bool
pub const fn hi_pwr_lv(&self) -> bool
Buffer21 high-power mode when set, low-power mode when clear. Raw bit values: false (0) = Low: Low-power.; true (1) = High: High-power.
Sourcepub const fn set_hi_pwr_lv(&mut self, val: bool)
pub const fn set_hi_pwr_lv(&mut self, val: bool)
Buffer21 high-power mode when set, low-power mode when clear. Raw bit values: false (0) = Low: Low-power.; true (1) = High: High-power.
Sourcepub const fn buf21en(&self) -> bool
pub const fn buf21en(&self) -> bool
Enables the programmable Buffer21 output from 1.0 to 2.1 V. Raw bit values: false (0) = Disabled: Disables.; true (1) = Enabled: Enables.
Sourcepub const fn set_buf21en(&mut self, val: bool)
pub const fn set_buf21en(&mut self, val: bool)
Enables the programmable Buffer21 output from 1.0 to 2.1 V. Raw bit values: false (0) = Disabled: Disables.; true (1) = Enabled: Enables.
Sourcepub const fn vrefst(&self) -> bool
pub const fn vrefst(&self) -> bool
Read-only HC bandgap stability indication. Valid only with chopping disabled; 0 means disabled or unstable, 1 means stable. Raw bit values: false (0) = NotStable: Disabled or not stable.; true (1) = Stable: Stable.
Sourcepub const fn set_vrefst(&mut self, val: bool)
pub const fn set_vrefst(&mut self, val: bool)
Read-only HC bandgap stability indication. Valid only with chopping disabled; 0 means disabled or unstable, 1 means stable. Raw bit values: false (0) = NotStable: Disabled or not stable.; true (1) = Stable: Stable.