#[repr(transparent)]pub struct Verid(pub u32);Expand description
Version ID Register.
Tuple Fields§
§0: u32Implementations§
Source§impl Verid
impl Verid
Sourcepub const fn res(&self) -> bool
pub const fn res(&self) -> bool
Resolution. Raw bit values: false (0) = Max13Bit: Up to 12-bit single ended resolution supported (and 13-bit differential resolution if VERID[DIFFEN] = 1b).; true (1) = Max16Bit: Up to 16-bit single ended resolution supported (and 16-bit differential resolution if VERID[DIFFEN] = 1b).
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 12-bit single ended resolution supported (and 13-bit differential resolution if VERID[DIFFEN] = 1b).; true (1) = Max16Bit: Up to 16-bit single ended resolution supported (and 16-bit differential resolution if VERID[DIFFEN] = 1b).
Sourcepub const fn diffen(&self) -> bool
pub const fn diffen(&self) -> bool
Differential Supported. Raw bit values: false (0) = DifferentialNotSupported: Differential operation not supported.; true (1) = DifferentialSupported: Differential operation supported.
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: Differential operation not supported.; true (1) = DifferentialSupported: Differential operation supported.
Sourcepub const fn mvi(&self) -> bool
pub const fn mvi(&self) -> bool
Multi Vref Implemented. Raw bit values: false (0) = MultipleRefNotSupported: Single voltage reference high (VREFH) input supported.; true (1) = MultipleRefSupported: Multiple voltage reference high (VREFH) inputs supported.
Sourcepub const fn set_mvi(&mut self, val: bool)
pub const fn set_mvi(&mut self, val: bool)
Multi Vref Implemented. Raw bit values: false (0) = MultipleRefNotSupported: Single voltage reference high (VREFH) input supported.; true (1) = MultipleRefSupported: Multiple voltage reference high (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. CFG[VREF1RNG] is not implemented.; true (1) = Ref1SelectableVoltageRange: Range control required. CFG[VREF1RNG] is implemented.
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. CFG[VREF1RNG] is not implemented.; true (1) = Ref1SelectableVoltageRange: Range control required. CFG[VREF1RNG] is implemented.
Sourcepub const fn iadcki(&self) -> bool
pub const fn iadcki(&self) -> bool
Internal ADC Clock Implemented. Raw bit values: false (0) = InternalClkNotAvailable: Internal clock source not implemented.; true (1) = InternalClkAvailable: Internal clock source (and CFG[ADCKEN]) 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: Internal clock source not implemented.; true (1) = InternalClkAvailable: Internal clock source (and CFG[ADCKEN]) implemented.
Sourcepub const fn calofsi(&self) -> bool
pub const fn calofsi(&self) -> bool
Calibration Function Implemented. Raw bit values: false (0) = CalFunctionNotAvailable: Calibration Not Implemented.; true (1) = CalFunctionAvailable: Calibration 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: Calibration Not Implemented.; true (1) = CalFunctionAvailable: Calibration 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: This design supports one single ended conversion at a time.; true (1) = DualConvertor: This design supports two simultaneous single ended conversions.
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: This design supports one single ended conversion at a time.; true (1) = DualConvertor: This design supports two simultaneous single ended conversions.
Sourcepub const fn set_num_fifo(&mut self, val: NumFifo)
pub const fn set_num_fifo(&mut self, val: NumFifo)
Number of FIFOs.