Struct zinc_hal_lpc11xx::ioregs::PMU_gpreg3 [] [src]

pub struct PMU_gpreg3 {
    // some fields omitted
}

Register GPREG3: General purpose register

Methods

impl PMU_gpreg3

fn get(&self) -> PMU_gpreg3_Get

Fetch the value of the GPREG3 register.

fn gpdata(&self) -> u32

Get value of GPDATA field.

fn ignoring_state(&self) -> PMU_gpreg3_Update

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

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

Set value of GPDATA field.

Trait Implementations

impl Copy for PMU_gpreg3

Derived Implementations

impl Clone for PMU_gpreg3

fn clone(&self) -> PMU_gpreg3

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