Struct zinc_hal_lpc11xx::ioregs::WWDT_wdmod_Update
[−]
[src]
pub struct WWDT_wdmod_Update<'a> { // some fields omitted }
Updater for WDMOD
register.
Methods
impl<'a> WWDT_wdmod_Update<'a>
fn new(reg: &'a WWDT_wdmod) -> WWDT_wdmod_Update<'a>
Create a new updater.
fn new_ignoring_state(reg: &'a WWDT_wdmod) -> WWDT_wdmod_Update<'a>
Create a new updater that ignores current state.
fn set_wden<'b>(&'b mut self, new_value: WWDT_wdmod_wden) -> &'b mut WWDT_wdmod_Update<'a>
Set value of WDEN
field.
fn set_wdreset<'b>(&'b mut self, new_value: WWDT_wdmod_wdreset) -> &'b mut WWDT_wdmod_Update<'a>
Set value of WDRESET
field.
fn set_wdtof<'b>(&'b mut self, new_value: bool) -> &'b mut WWDT_wdmod_Update<'a>
Set value of WDTOF
field.
fn set_wdint<'b>(&'b mut self, new_value: bool) -> &'b mut WWDT_wdmod_Update<'a>
Set value of WDINT
field.
fn set_wdprotect<'b>(&'b mut self, new_value: WWDT_wdmod_wdprotect) -> &'b mut WWDT_wdmod_Update<'a>
Set value of WDPROTECT
field.
fn done(self)
Commit changes to register.
Trait Implementations
impl<'a> Drop for WWDT_wdmod_Update<'a>
This performs the register update.