pub struct R { /* private fields */ }
Expand description
Value read from the register
Implementations§
source§impl R
impl R
sourcepub fn v_vref(&self) -> V_VREFR
pub fn v_vref(&self) -> V_VREFR
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(&self) -> CHNR
pub fn chn(&self) -> CHNR
Bits 24:26 - These bits contain the channel from which the result bits V_VREF were converted.