Struct zinc_hal_lpc11xx::ioregs::SYSCON_pdruncfg_Get [] [src]

pub struct SYSCON_pdruncfg_Get {
    // some fields omitted
}

PDRUNCFG: Power-down configuration register

Methods

impl SYSCON_pdruncfg_Get

fn new(reg: &SYSCON_pdruncfg) -> SYSCON_pdruncfg_Get

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

fn raw(&self) -> u32

Get the raw value of the register.

fn ircout_pd(&self) -> SYSCON_pdruncfg_ircout_pd

Get value of IRCOUT_PD field: IRC oscillator output power-down

fn irc_pd(&self) -> SYSCON_pdruncfg_irc_pd

Get value of IRC_PD field: IRC oscillator power-down

fn flash_pd(&self) -> SYSCON_pdruncfg_flash_pd

Get value of FLASH_PD field: Flash power-down

fn bod_pd(&self) -> SYSCON_pdruncfg_bod_pd

Get value of BOD_PD field: BOD power-down

fn adc_pd(&self) -> SYSCON_pdruncfg_adc_pd

Get value of ADC_PD field: ADC power-down

fn sysosc_pd(&self) -> SYSCON_pdruncfg_sysosc_pd

Get value of SYSOSC_PD field: System oscillator power-down

fn wdtosc_pd(&self) -> SYSCON_pdruncfg_wdtosc_pd

Get value of WDTOSC_PD field: Watchdog oscillator power-down

fn syspll_pd(&self) -> SYSCON_pdruncfg_syspll_pd

Get value of SYSPLL_PD field: System PLL power-down

fn notused0(&self) -> bool

Get value of NOTUSED0 field: Reserved. Always write this bit as 1.

fn notused1(&self) -> bool

Get value of NOTUSED1 field: Reserved. Always write this bit as 0.

fn notused2(&self) -> bool

Get value of NOTUSED2 field: Reserved. Always write this bit as 1.

fn notused3(&self) -> bool

Get value of NOTUSED3 field: Reserved. Always write this bit as 1.

fn notused4(&self) -> bool

Get value of NOTUSED4 field: Reserved. Always write this bit as 0.

fn notused5(&self) -> u32

Get value of NOTUSED5 field: Reserved. Always write these bits as 111.

Trait Implementations

impl Copy for SYSCON_pdruncfg_Get

Derived Implementations

impl Clone for SYSCON_pdruncfg_Get

fn clone(&self) -> SYSCON_pdruncfg_Get

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