Struct zinc_hal_lpc11xx::ioregs::PMU_gpreg1 [] [src]

pub struct PMU_gpreg1 {
    // some fields omitted
}

Register GPREG1: General purpose register

Methods

impl PMU_gpreg1

fn get(&self) -> PMU_gpreg1_Get

Fetch the value of the GPREG1 register.

fn gpdata(&self) -> u32

Get value of GPDATA field.

fn ignoring_state(&self) -> PMU_gpreg1_Update

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

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

Set value of GPDATA field.

Trait Implementations

impl Copy for PMU_gpreg1

Derived Implementations

impl Clone for PMU_gpreg1

fn clone(&self) -> PMU_gpreg1

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