Struct zinc_hal_lpc11xx::ioregs::PMU_gpreg3_Get [] [src]

pub struct PMU_gpreg3_Get {
    // some fields omitted
}

GPREG3: General purpose register

Methods

impl PMU_gpreg3_Get

fn new(reg: &PMU_gpreg3) -> PMU_gpreg3_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_gpreg3_Get

Derived Implementations

impl Clone for PMU_gpreg3_Get

fn clone(&self) -> PMU_gpreg3_Get

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