[][src]Type Definition lpc82x_pac::adc0::seq_gdat::W

type W = W<u32, SEQ_GDAT>;

Writer for register SEQ_GDAT%s

Methods

impl W[src]

pub fn result(&mut self) -> RESULT_W[src]

Bits 4:15 - This field contains the 12-bit ADC conversion result from the most recent conversion performed under conversion sequence associated with this register. The result is a binary fraction representing the voltage on the currently-selected input channel as it falls within the range of VREFP to VREFN. Zero in the field indicates that the voltage on the input pin was less than, equal to, or close to that on VREFN, while 0xFFF indicates that the voltage on the input was close to, equal to, or greater than that on VREFP. DATAVALID = 1 indicates that this result has not yet been read.