Struct zinc_hal_lpc11xx::ioregs::SYSCON_nmisrc [] [src]

pub struct SYSCON_nmisrc {
    // some fields omitted
}

Register NMISRC: NMI source selection

Methods

impl SYSCON_nmisrc

fn get(&self) -> SYSCON_nmisrc_Get

Fetch the value of the NMISRC register.

fn irqno(&self) -> u32

Get value of IRQNO field.

fn nmien(&self) -> bool

Get value of NMIEN field.

fn ignoring_state(&self) -> SYSCON_nmisrc_Update

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

fn set_irqno<'a>(&'a mut self, new_value: u32) -> SYSCON_nmisrc_Update<'a>

Set value of IRQNO field.

fn set_nmien<'a>(&'a mut self, new_value: bool) -> SYSCON_nmisrc_Update<'a>

Set value of NMIEN field.

Trait Implementations

impl Copy for SYSCON_nmisrc

Derived Implementations

impl Clone for SYSCON_nmisrc

fn clone(&self) -> SYSCON_nmisrc

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