Struct zinc_hal_lpc11xx::ioregs::PMU_pcon [] [src]

pub struct PMU_pcon {
    // some fields omitted
}

Register PCON: Power control register

Methods

impl PMU_pcon

fn get(&self) -> PMU_pcon_Get

Fetch the value of the PCON register.

fn dpden(&self) -> PMU_pcon_dpden

Get value of DPDEN field.

fn sleepflag(&self) -> PMU_pcon_sleepflag

Get value of SLEEPFLAG field.

fn dpdflag(&self) -> PMU_pcon_dpdflag

Get value of DPDFLAG field.

fn ignoring_state(&self) -> PMU_pcon_Update

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

fn set_dpden<'a>(&'a mut self, new_value: PMU_pcon_dpden) -> PMU_pcon_Update<'a>

Set value of DPDEN field.

fn set_sleepflag<'a>(&'a mut self, new_value: PMU_pcon_sleepflag) -> PMU_pcon_Update<'a>

Set value of SLEEPFLAG field.

fn set_dpdflag<'a>(&'a mut self, new_value: PMU_pcon_dpdflag) -> PMU_pcon_Update<'a>

Set value of DPDFLAG field.

Trait Implementations

impl Copy for PMU_pcon

Derived Implementations

impl Clone for PMU_pcon

fn clone(&self) -> PMU_pcon

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