pub struct W { /* private fields */ }
Expand description
Value to write to the register
Implementations§
source§impl W
impl W
sourcepub fn reset_value() -> W
pub fn reset_value() -> W
Reset value of the register
sourcepub fn v_vref(&mut self) -> _V_VREFW<'_>
pub fn v_vref(&mut self) -> _V_VREFW<'_>
Bits 6:15 - When DONE is 1, this field contains a binary fraction representing the voltage on the ADn pin selected by the SEL field, divided by the voltage on the VDD pin. Zero in the field indicates that the voltage on the ADn pin was less than, equal to, or close to that on VSS, while 0x3FF indicates that the voltage on ADn was close to, equal to, or greater than that on VREF.
sourcepub fn chn(&mut self) -> _CHNW<'_>
pub fn chn(&mut self) -> _CHNW<'_>
Bits 24:26 - These bits contain the channel from which the result bits V_VREF were converted.