Struct zinc_hal_lpc11xx::ioregs::SYSCON_nmisrc_Get [] [src]

pub struct SYSCON_nmisrc_Get {
    // some fields omitted
}

NMISRC: NMI source selection

Methods

impl SYSCON_nmisrc_Get

fn new(reg: &SYSCON_nmisrc) -> SYSCON_nmisrc_Get

Create a getter reflecting the current value of the given register.

fn raw(&self) -> u32

Get the raw value of the register.

fn irqno(&self) -> u32

Get value of IRQNO field: The IRQ number of the interrupt that acts as the Non-Maskable Interrupt (NMI) if bit 31 in this register is 1. See Table 54 for the list of interrupt sources and their IRQ numbers.

fn nmien(&self) -> bool

Get value of NMIEN field: Write a 1 to this bit to enable the Non-Maskable Interrupt (NMI) source selected by bits 4:0.

Trait Implementations

impl Copy for SYSCON_nmisrc_Get

Derived Implementations

impl Clone for SYSCON_nmisrc_Get

fn clone(&self) -> SYSCON_nmisrc_Get

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