Struct zinc_hal_lpc11xx::ioregs::SYSCON_pdsleepcfg_Update
[−]
[src]
pub struct SYSCON_pdsleepcfg_Update<'a> { // some fields omitted }
Updater for PDSLEEPCFG
register.
Methods
impl<'a> SYSCON_pdsleepcfg_Update<'a>
fn new(reg: &'a SYSCON_pdsleepcfg) -> SYSCON_pdsleepcfg_Update<'a>
Create a new updater.
fn new_ignoring_state(reg: &'a SYSCON_pdsleepcfg) -> SYSCON_pdsleepcfg_Update<'a>
Create a new updater that ignores current state.
fn set_notused0<'b>(&'b mut self, new_value: u32) -> &'b mut SYSCON_pdsleepcfg_Update<'a>
Set value of NOTUSED0
field.
fn set_bod_pd<'b>(&'b mut self, new_value: SYSCON_pdsleepcfg_bod_pd) -> &'b mut SYSCON_pdsleepcfg_Update<'a>
Set value of BOD_PD
field.
fn set_notused1<'b>(&'b mut self, new_value: u32) -> &'b mut SYSCON_pdsleepcfg_Update<'a>
Set value of NOTUSED1
field.
fn set_wdtosc_pd<'b>(&'b mut self, new_value: SYSCON_pdsleepcfg_wdtosc_pd) -> &'b mut SYSCON_pdsleepcfg_Update<'a>
Set value of WDTOSC_PD
field.
fn set_notused2<'b>(&'b mut self, new_value: bool) -> &'b mut SYSCON_pdsleepcfg_Update<'a>
Set value of NOTUSED2
field.
fn set_notused3<'b>(&'b mut self, new_value: u32) -> &'b mut SYSCON_pdsleepcfg_Update<'a>
Set value of NOTUSED3
field.
fn set_notused4<'b>(&'b mut self, new_value: u32) -> &'b mut SYSCON_pdsleepcfg_Update<'a>
Set value of NOTUSED4
field.
fn done(self)
Commit changes to register.
Trait Implementations
impl<'a> Drop for SYSCON_pdsleepcfg_Update<'a>
This performs the register update.