Struct zinc_hal_lpc11xx::ioregs::SYSCON_wdtoscctrl_Update
[−]
[src]
pub struct SYSCON_wdtoscctrl_Update<'a> { // some fields omitted }
Updater for WDTOSCCTRL
register.
Methods
impl<'a> SYSCON_wdtoscctrl_Update<'a>
fn new(reg: &'a SYSCON_wdtoscctrl) -> SYSCON_wdtoscctrl_Update<'a>
Create a new updater.
fn new_ignoring_state(reg: &'a SYSCON_wdtoscctrl) -> SYSCON_wdtoscctrl_Update<'a>
Create a new updater that ignores current state.
fn set_divsel<'b>(&'b mut self, new_value: u32) -> &'b mut SYSCON_wdtoscctrl_Update<'a>
Set value of DIVSEL
field.
fn set_freqsel<'b>(&'b mut self, new_value: SYSCON_wdtoscctrl_freqsel) -> &'b mut SYSCON_wdtoscctrl_Update<'a>
Set value of FREQSEL
field.
fn done(self)
Commit changes to register.
Trait Implementations
impl<'a> Drop for SYSCON_wdtoscctrl_Update<'a>
This performs the register update.