Struct zinc_hal_lpc11xx::ioregs::SYSCON_pdruncfg_Update
[−]
[src]
pub struct SYSCON_pdruncfg_Update<'a> { // some fields omitted }
Updater for PDRUNCFG
register.
Methods
impl<'a> SYSCON_pdruncfg_Update<'a>
fn new(reg: &'a SYSCON_pdruncfg) -> SYSCON_pdruncfg_Update<'a>
Create a new updater.
fn new_ignoring_state(reg: &'a SYSCON_pdruncfg) -> SYSCON_pdruncfg_Update<'a>
Create a new updater that ignores current state.
fn set_ircout_pd<'b>(&'b mut self, new_value: SYSCON_pdruncfg_ircout_pd) -> &'b mut SYSCON_pdruncfg_Update<'a>
Set value of IRCOUT_PD
field.
fn set_irc_pd<'b>(&'b mut self, new_value: SYSCON_pdruncfg_irc_pd) -> &'b mut SYSCON_pdruncfg_Update<'a>
Set value of IRC_PD
field.
fn set_flash_pd<'b>(&'b mut self, new_value: SYSCON_pdruncfg_flash_pd) -> &'b mut SYSCON_pdruncfg_Update<'a>
Set value of FLASH_PD
field.
fn set_bod_pd<'b>(&'b mut self, new_value: SYSCON_pdruncfg_bod_pd) -> &'b mut SYSCON_pdruncfg_Update<'a>
Set value of BOD_PD
field.
fn set_adc_pd<'b>(&'b mut self, new_value: SYSCON_pdruncfg_adc_pd) -> &'b mut SYSCON_pdruncfg_Update<'a>
Set value of ADC_PD
field.
fn set_sysosc_pd<'b>(&'b mut self, new_value: SYSCON_pdruncfg_sysosc_pd) -> &'b mut SYSCON_pdruncfg_Update<'a>
Set value of SYSOSC_PD
field.
fn set_wdtosc_pd<'b>(&'b mut self, new_value: SYSCON_pdruncfg_wdtosc_pd) -> &'b mut SYSCON_pdruncfg_Update<'a>
Set value of WDTOSC_PD
field.
fn set_syspll_pd<'b>(&'b mut self, new_value: SYSCON_pdruncfg_syspll_pd) -> &'b mut SYSCON_pdruncfg_Update<'a>
Set value of SYSPLL_PD
field.
fn set_notused0<'b>(&'b mut self, new_value: bool) -> &'b mut SYSCON_pdruncfg_Update<'a>
Set value of NOTUSED0
field.
fn set_notused1<'b>(&'b mut self, new_value: bool) -> &'b mut SYSCON_pdruncfg_Update<'a>
Set value of NOTUSED1
field.
fn set_notused2<'b>(&'b mut self, new_value: bool) -> &'b mut SYSCON_pdruncfg_Update<'a>
Set value of NOTUSED2
field.
fn set_notused3<'b>(&'b mut self, new_value: bool) -> &'b mut SYSCON_pdruncfg_Update<'a>
Set value of NOTUSED3
field.
fn set_notused4<'b>(&'b mut self, new_value: bool) -> &'b mut SYSCON_pdruncfg_Update<'a>
Set value of NOTUSED4
field.
fn set_notused5<'b>(&'b mut self, new_value: u32) -> &'b mut SYSCON_pdruncfg_Update<'a>
Set value of NOTUSED5
field.
fn done(self)
Commit changes to register.
Trait Implementations
impl<'a> Drop for SYSCON_pdruncfg_Update<'a>
This performs the register update.