#[repr(transparent)]pub struct Csr(pub u32);Expand description
Control and Status.
Tuple Fields§
§0: u32Implementations§
Source§impl Csr
impl Csr
Sourcepub const fn set_hcbgen(&mut self, val: Hcbgen)
pub const fn set_hcbgen(&mut self, val: Hcbgen)
HC Bandgap Enabled.
Sourcepub const fn set_lpbgen(&mut self, val: Lpbgen)
pub const fn set_lpbgen(&mut self, val: Lpbgen)
Low-Power Bandgap Enable.
Sourcepub const fn lpbg_buf_en(&self) -> LpbgBufEn
pub const fn lpbg_buf_en(&self) -> LpbgBufEn
Low-Power Bandgap Buffer Enable.
Sourcepub const fn set_lpbg_buf_en(&mut self, val: LpbgBufEn)
pub const fn set_lpbg_buf_en(&mut self, val: LpbgBufEn)
Low-Power Bandgap Buffer Enable.
Sourcepub const fn set_chopen(&mut self, val: Chopen)
pub const fn set_chopen(&mut self, val: Chopen)
Chop Oscillator Enable.
Sourcepub const fn set_icompen(&mut self, val: Icompen)
pub const fn set_icompen(&mut self, val: Icompen)
Current Compensation Enable.
Sourcepub const fn set_hi_pwr_lv(&mut self, val: HiPwrLv)
pub const fn set_hi_pwr_lv(&mut self, val: HiPwrLv)
High-Power Level.
Sourcepub const fn set_buf21en(&mut self, val: Buf21en)
pub const fn set_buf21en(&mut self, val: Buf21en)
Internal Buffer21 Enable.
Sourcepub const fn set_vrefst(&mut self, val: Vrefst)
pub const fn set_vrefst(&mut self, val: Vrefst)
Internal HC Voltage Reference Stable.
Trait Implementations§
impl Copy for Csr
impl Eq for Csr
impl StructuralPartialEq for Csr
Auto Trait Implementations§
impl Freeze for Csr
impl RefUnwindSafe for Csr
impl Send for Csr
impl Sync for Csr
impl Unpin for Csr
impl UnwindSafe for Csr
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