Struct zinc_hal_lpc11xx::ioregs::FLASHCTRL_flashcfg_Update [] [src]

pub struct FLASHCTRL_flashcfg_Update<'a> {
    // some fields omitted
}

Updater for FLASHCFG register.

Methods

impl<'a> FLASHCTRL_flashcfg_Update<'a>

fn new(reg: &'a FLASHCTRL_flashcfg) -> FLASHCTRL_flashcfg_Update<'a>

Create a new updater.

fn new_ignoring_state(reg: &'a FLASHCTRL_flashcfg) -> FLASHCTRL_flashcfg_Update<'a>

Create a new updater that ignores current state.

fn set_flashtim<'b>(&'b mut self, new_value: FLASHCTRL_flashcfg_flashtim) -> &'b mut FLASHCTRL_flashcfg_Update<'a>

Set value of FLASHTIM field.

fn done(self)

Commit changes to register.

Trait Implementations

impl<'a> Drop for FLASHCTRL_flashcfg_Update<'a>

This performs the register update.

fn drop(&mut self)