Struct zinc_hal_lpc11xx::ioregs::PMU_gpreg1_Get [] [src]

pub struct PMU_gpreg1_Get {
    // some fields omitted
}

GPREG1: General purpose register

Methods

impl PMU_gpreg1_Get

fn new(reg: &PMU_gpreg1) -> PMU_gpreg1_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_gpreg1_Get

Derived Implementations

impl Clone for PMU_gpreg1_Get

fn clone(&self) -> PMU_gpreg1_Get

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