Struct zinc_hal_lpc11xx::ioregs::SYSCON_presetctrl_Update
[−]
[src]
pub struct SYSCON_presetctrl_Update<'a> { // some fields omitted }
Updater for PRESETCTRL
register.
Methods
impl<'a> SYSCON_presetctrl_Update<'a>
fn new(reg: &'a SYSCON_presetctrl) -> SYSCON_presetctrl_Update<'a>
Create a new updater.
fn new_ignoring_state(reg: &'a SYSCON_presetctrl) -> SYSCON_presetctrl_Update<'a>
Create a new updater that ignores current state.
fn set_ssp0_rst_n<'b>(&'b mut self, new_value: SYSCON_presetctrl_ssp0_rst_n) -> &'b mut SYSCON_presetctrl_Update<'a>
Set value of SSP0_RST_N
field.
fn set_i2c_rst_n<'b>(&'b mut self, new_value: SYSCON_presetctrl_i2c_rst_n) -> &'b mut SYSCON_presetctrl_Update<'a>
Set value of I2C_RST_N
field.
fn set_ssp1_rst_n<'b>(&'b mut self, new_value: SYSCON_presetctrl_ssp1_rst_n) -> &'b mut SYSCON_presetctrl_Update<'a>
Set value of SSP1_RST_N
field.
fn set_can_rst_n<'b>(&'b mut self, new_value: SYSCON_presetctrl_can_rst_n) -> &'b mut SYSCON_presetctrl_Update<'a>
Set value of CAN_RST_N
field.
fn done(self)
Commit changes to register.
Trait Implementations
impl<'a> Drop for SYSCON_presetctrl_Update<'a>
This performs the register update.