Struct zinc_hal_lpc11xx::ioregs::ADC_stat [] [src]

pub struct ADC_stat {
    // some fields omitted
}

Register STAT: A/D Status Register. This register contains DONE and OVERRUN flags for all of the A/D channels, as well as the A/D interrupt flag.

Methods

impl ADC_stat

fn get(&self) -> ADC_stat_Get

Fetch the value of the STAT register.

fn done(&self) -> u32

Get value of DONE field.

fn overrun(&self) -> u32

Get value of OVERRUN field.

fn adint(&self) -> bool

Get value of ADINT field.

Trait Implementations

impl Copy for ADC_stat

Derived Implementations

impl Clone for ADC_stat

fn clone(&self) -> ADC_stat

fn clone_from(&mut self, source: &Self)