#[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_ibias_en(&mut self, val: IbiasEn)
pub const fn set_ibias_en(&mut self, val: IbiasEn)
Current Mirror Block Enable
Sourcepub const fn set_chopen(&mut self, val: Chopen)
pub const fn set_chopen(&mut self, val: Chopen)
Chop function 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 refchseln_en(&self) -> RefchselnEn
pub const fn refchseln_en(&self) -> RefchselnEn
Reference Channel Select Negative Enable
Sourcepub const fn set_refchseln_en(&mut self, val: RefchselnEn)
pub const fn set_refchseln_en(&mut self, val: RefchselnEn)
Reference Channel Select Negative Enable
Sourcepub const fn refchselp_en(&self) -> RefchselpEn
pub const fn refchselp_en(&self) -> RefchselpEn
Reference Channel Select Positive Enable
Sourcepub const fn set_refchselp_en(&mut self, val: RefchselpEn)
pub const fn set_refchselp_en(&mut self, val: RefchselpEn)
Reference Channel Select Positive 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