#[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 fifoen(&self) -> bool
pub const fn fifoen(&self) -> bool
FIFO Enable. Raw bit values: false (0) = BufferMode: Disables FIFO mode and enables Buffer mode. Any data written to DATA[DATA] goes to buffer then goes to conversion.; true (1) = FifoMode: Enables FIFO mode. Data will be first read from FIFO to buffer and then goes to conversion.
Sourcepub const fn set_fifoen(&mut self, val: bool)
pub const fn set_fifoen(&mut self, val: bool)
FIFO Enable. Raw bit values: false (0) = BufferMode: Disables FIFO mode and enables Buffer mode. Any data written to DATA[DATA] goes to buffer then goes to conversion.; true (1) = FifoMode: Enables FIFO mode. Data will be first read from FIFO to buffer and then goes to conversion.
Sourcepub const fn trgsel(&self) -> bool
pub const fn trgsel(&self) -> bool
DAC Trigger Select. Raw bit values: false (0) = Hardware: Hardware trigger.; true (1) = Software: Software trigger.
Sourcepub const fn set_trgsel(&mut self, val: bool)
pub const fn set_trgsel(&mut self, val: bool)
DAC Trigger Select. Raw bit values: false (0) = Hardware: Hardware trigger.; true (1) = Software: Software trigger.
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: bool)
pub const fn set_buf_en(&mut self, val: bool)
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) -> bool
pub const fn buf_spd_ctrl(&self) -> bool
OPAMP as Buffer, Speed Control Signal. Raw bit values: false (0) = LlpMode: Lower Low-Power mode.; true (1) = LpMode: Low-Power mode.
Sourcepub const fn set_buf_spd_ctrl(&mut self, val: bool)
pub const fn set_buf_spd_ctrl(&mut self, val: bool)
OPAMP as Buffer, Speed Control Signal. Raw bit values: false (0) = LlpMode: Lower Low-Power mode.; true (1) = LpMode: Low-Power mode.