Struct zinc_hal_lpc11xx::ioregs::SPI0_imsc_Update
[−]
[src]
pub struct SPI0_imsc_Update<'a> { // some fields omitted }
Updater for IMSC
register.
Methods
impl<'a> SPI0_imsc_Update<'a>
fn new(reg: &'a SPI0_imsc) -> SPI0_imsc_Update<'a>
Create a new updater.
fn new_ignoring_state(reg: &'a SPI0_imsc) -> SPI0_imsc_Update<'a>
Create a new updater that ignores current state.
fn set_rorim<'b>(&'b mut self, new_value: bool) -> &'b mut SPI0_imsc_Update<'a>
Set value of RORIM
field.
fn set_rtim<'b>(&'b mut self, new_value: bool) -> &'b mut SPI0_imsc_Update<'a>
Set value of RTIM
field.
fn set_rxim<'b>(&'b mut self, new_value: bool) -> &'b mut SPI0_imsc_Update<'a>
Set value of RXIM
field.
fn set_txim<'b>(&'b mut self, new_value: bool) -> &'b mut SPI0_imsc_Update<'a>
Set value of TXIM
field.
fn done(self)
Commit changes to register.
Trait Implementations
impl<'a> Drop for SPI0_imsc_Update<'a>
This performs the register update.