#[repr(transparent)]pub struct Gcr(pub u32);Expand description
Global Control
Tuple Fields§
§0: u32Implementations§
Source§impl Gcr
impl Gcr
Sourcepub const fn set_dacrfs(&mut self, val: Dacrfs)
pub const fn set_dacrfs(&mut self, val: Dacrfs)
DAC Reference Select
Sourcepub const fn set_fifoen(&mut self, val: Fifoen)
pub const fn set_fifoen(&mut self, val: Fifoen)
FIFO Enable
Sourcepub const fn set_trgsel(&mut self, val: Trgsel)
pub const fn set_trgsel(&mut self, val: Trgsel)
DAC Trigger Select
Sourcepub const fn set_latch_cyc(&mut self, val: u8)
pub const fn set_latch_cyc(&mut self, val: u8)
RCLK Cycles Before Data Latch
Sourcepub const fn set_buf_en(&mut self, val: BufEn)
pub const fn set_buf_en(&mut self, val: BufEn)
Buffer Enable
Sourcepub const fn iref_ptat_ext_sel(&self) -> bool
pub const fn iref_ptat_ext_sel(&self) -> bool
External On-Chip PTAT Current Reference Select
Sourcepub const fn set_iref_ptat_ext_sel(&mut self, val: bool)
pub const fn set_iref_ptat_ext_sel(&mut self, val: bool)
External On-Chip PTAT Current Reference Select
Sourcepub const fn iref_ztc_ext_sel(&self) -> bool
pub const fn iref_ztc_ext_sel(&self) -> bool
External On-Chip ZTC Current Reference Select
Sourcepub const fn set_iref_ztc_ext_sel(&mut self, val: bool)
pub const fn set_iref_ztc_ext_sel(&mut self, val: bool)
External On-Chip ZTC Current Reference Select
Sourcepub const fn buf_spd_ctrl(&self) -> BufSpdCtrl
pub const fn buf_spd_ctrl(&self) -> BufSpdCtrl
OPAMP as Buffer, Speed Control Signal
Sourcepub const fn set_buf_spd_ctrl(&mut self, val: BufSpdCtrl)
pub const fn set_buf_spd_ctrl(&mut self, val: BufSpdCtrl)
OPAMP as Buffer, Speed Control Signal
Trait Implementations§
impl Copy for Gcr
impl Eq for Gcr
impl StructuralPartialEq for Gcr
Auto Trait Implementations§
impl Freeze for Gcr
impl RefUnwindSafe for Gcr
impl Send for Gcr
impl Sync for Gcr
impl Unpin for Gcr
impl UnwindSafe for Gcr
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