Struct zinc_hal_lpc11xx::ioregs::ADC_inten [] [src]

pub struct ADC_inten {
    // some fields omitted
}

Register INTEN: A/D Interrupt Enable Register. This register contains enable bits that allow the DONE flag of each A/D channel to be included or excluded from contributing to the generation of an A/D interrupt.

Methods

impl ADC_inten

fn get(&self) -> ADC_inten_Get

Fetch the value of the INTEN register.

fn adintenn(&self) -> u32

Get value of ADINTENn field.

fn adginten(&self) -> bool

Get value of ADGINTEN field.

fn ignoring_state(&self) -> ADC_inten_Update

Create new updater that ignores current value of the INTEN register.

fn set_adintenn<'a>(&'a mut self, new_value: u32) -> ADC_inten_Update<'a>

Set value of ADINTENn field.

fn set_adginten<'a>(&'a mut self, new_value: bool) -> ADC_inten_Update<'a>

Set value of ADGINTEN field.

Trait Implementations

impl Copy for ADC_inten

Derived Implementations

impl Clone for ADC_inten

fn clone(&self) -> ADC_inten

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