[][src]Type Definition lpc82x_pac::adc0::chan_thrsel::CH1_THRSEL_R

type CH1_THRSEL_R = R<bool, CH1_THRSEL_A>;

Reader of field CH1_THRSEL

Methods

impl CH1_THRSEL_R[src]

pub fn variant(&self) -> CH1_THRSEL_A[src]

Get enumerated values variant

pub fn is_threshold0(&self) -> bool[src]

Checks if the value of the field is THRESHOLD0

pub fn is_threshold1(&self) -> bool[src]

Checks if the value of the field is THRESHOLD1