Struct zinc_hal_lpc11xx::ioregs::PMU_gpreg0_Get [] [src]

pub struct PMU_gpreg0_Get {
    // some fields omitted
}

GPREG0: General purpose register

Methods

impl PMU_gpreg0_Get

fn new(reg: &PMU_gpreg0) -> PMU_gpreg0_Get

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

fn raw(&self) -> u32

Get the raw value of the register.

fn gpdata(&self) -> u32

Get value of GPDATA field: Data retained during Deep power-down mode.

Trait Implementations

impl Copy for PMU_gpreg0_Get

Derived Implementations

impl Clone for PMU_gpreg0_Get

fn clone(&self) -> PMU_gpreg0_Get

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