#[repr(transparent)]pub struct Verid2(pub u32);Expand description
Version ID Register.
Tuple Fields§
§0: u32Implementations§
Source§impl Verid2
impl Verid2
Sourcepub const fn res(&self) -> bool
pub const fn res(&self) -> bool
Resolution. Raw bit values: false (0) = Max13Bit: Up to 13-bit differential or 12-bit single-ended resolution supported.; true (1) = Max16Bit: Up to 16-bit differential or 16-bit single-ended resolution supported. CMDLn[MODE] available for selecting the resolution of conversions for the associated command.
Sourcepub const fn set_res(&mut self, val: bool)
pub const fn set_res(&mut self, val: bool)
Resolution. Raw bit values: false (0) = Max13Bit: Up to 13-bit differential or 12-bit single-ended resolution supported.; true (1) = Max16Bit: Up to 16-bit differential or 16-bit single-ended resolution supported. CMDLn[MODE] available for selecting the resolution of conversions for the associated command.
Sourcepub const fn diffen(&self) -> bool
pub const fn diffen(&self) -> bool
Differential Supported. Raw bit values: false (0) = DifferentialNotSupported: Not supported.; true (1) = DifferentialSupported: Supported. CMDLn[CTYPE] controls fields implemented.
Sourcepub const fn set_diffen(&mut self, val: bool)
pub const fn set_diffen(&mut self, val: bool)
Differential Supported. Raw bit values: false (0) = DifferentialNotSupported: Not supported.; true (1) = DifferentialSupported: Supported. CMDLn[CTYPE] controls fields implemented.
Sourcepub const fn mvi(&self) -> bool
pub const fn mvi(&self) -> bool
Multiple Vref Implemented. Raw bit values: false (0) = MultipleRefNotSupported: Single VREFH input supported.; true (1) = MultipleRefSupported: Multiple VREFH inputs supported.
Sourcepub const fn set_mvi(&mut self, val: bool)
pub const fn set_mvi(&mut self, val: bool)
Multiple Vref Implemented. Raw bit values: false (0) = MultipleRefNotSupported: Single VREFH input supported.; true (1) = MultipleRefSupported: Multiple VREFH inputs supported.
Sourcepub const fn vr1rngi(&self) -> bool
pub const fn vr1rngi(&self) -> bool
Voltage Reference 1 Range Control Bit Implemented. Raw bit values: false (0) = Ref1FixedVoltageRange: Range control not required.; true (1) = Ref1SelectableVoltageRange: Range control required.
Sourcepub const fn set_vr1rngi(&mut self, val: bool)
pub const fn set_vr1rngi(&mut self, val: bool)
Voltage Reference 1 Range Control Bit Implemented. Raw bit values: false (0) = Ref1FixedVoltageRange: Range control not required.; true (1) = Ref1SelectableVoltageRange: Range control required.
Sourcepub const fn iadcki(&self) -> bool
pub const fn iadcki(&self) -> bool
Internal ADC Clock Implemented. Raw bit values: false (0) = InternalClkNotAvailable: Not implemented.; true (1) = InternalClkAvailable: Implemented.
Sourcepub const fn set_iadcki(&mut self, val: bool)
pub const fn set_iadcki(&mut self, val: bool)
Internal ADC Clock Implemented. Raw bit values: false (0) = InternalClkNotAvailable: Not implemented.; true (1) = InternalClkAvailable: Implemented.
Sourcepub const fn calofsi(&self) -> bool
pub const fn calofsi(&self) -> bool
Calibration Function Implemented. Raw bit values: false (0) = CalFunctionNotAvailable: Not implemented.; true (1) = CalFunctionAvailable: Implemented.
Sourcepub const fn set_calofsi(&mut self, val: bool)
pub const fn set_calofsi(&mut self, val: bool)
Calibration Function Implemented. Raw bit values: false (0) = CalFunctionNotAvailable: Not implemented.; true (1) = CalFunctionAvailable: Implemented.
Sourcepub const fn num_sec(&self) -> bool
pub const fn num_sec(&self) -> bool
Number of Single-Ended Outputs Supported. Raw bit values: false (0) = SingleConvertor: One.; true (1) = DualConvertor: Two.
Sourcepub const fn set_num_sec(&mut self, val: bool)
pub const fn set_num_sec(&mut self, val: bool)
Number of Single-Ended Outputs Supported. Raw bit values: false (0) = SingleConvertor: One.; true (1) = DualConvertor: Two.
Sourcepub const fn set_num_fifo(&mut self, val: NumFifo2)
pub const fn set_num_fifo(&mut self, val: NumFifo2)
Number of FIFOs.