Struct zinc_hal_lpc11xx::ioregs::SYSCON_pdsleepcfg_Get
[−]
[src]
pub struct SYSCON_pdsleepcfg_Get { // some fields omitted }
PDSLEEPCFG
: Power-down states in Deep-sleep mode
Methods
impl SYSCON_pdsleepcfg_Get
fn new(reg: &SYSCON_pdsleepcfg) -> SYSCON_pdsleepcfg_Get
Create a getter reflecting the current value of the given register.
fn raw(&self) -> u32
Get the raw value of the register.
fn notused0(&self) -> u32
Get value of NOTUSED0
field: Reserved. Always write these bits as 111.
fn bod_pd(&self) -> SYSCON_pdsleepcfg_bod_pd
Get value of BOD_PD
field: BOD power-down control in Deep-sleep mode, see Table 40.
fn notused1(&self) -> u32
Get value of NOTUSED1
field: Reserved. Always write these bits as 11.
fn wdtosc_pd(&self) -> SYSCON_pdsleepcfg_wdtosc_pd
Get value of WDTOSC_PD
field: Watchdog oscillator power control in Deep-sleep mode, see Table 40.
fn notused2(&self) -> bool
Get value of NOTUSED2
field: Reserved. Always write this bit as 1.
fn notused3(&self) -> u32
Get value of NOTUSED3
field: Reserved. Always write these bits as 000.
fn notused4(&self) -> u32
Get value of NOTUSED4
field: Reserved. Always write these bits as 11.