Struct zinc_hal_lpc11xx::ioregs::PMU_gpreg0 [] [src]

pub struct PMU_gpreg0 {
    // some fields omitted
}

Register GPREG0: General purpose register

Methods

impl PMU_gpreg0

fn get(&self) -> PMU_gpreg0_Get

Fetch the value of the GPREG0 register.

fn gpdata(&self) -> u32

Get value of GPDATA field.

fn ignoring_state(&self) -> PMU_gpreg0_Update

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

fn set_gpdata<'a>(&'a mut self, new_value: u32) -> PMU_gpreg0_Update<'a>

Set value of GPDATA field.

Trait Implementations

impl Copy for PMU_gpreg0

Derived Implementations

impl Clone for PMU_gpreg0

fn clone(&self) -> PMU_gpreg0

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