Struct zinc_hal_lpc11xx::ioregs::UART_scr_Update [] [src]

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

Updater for SCR register.

Methods

impl<'a> UART_scr_Update<'a>

fn new(reg: &'a UART_scr) -> UART_scr_Update<'a>

Create a new updater.

fn new_ignoring_state(reg: &'a UART_scr) -> UART_scr_Update<'a>

Create a new updater that ignores current state.

fn set_pad<'b>(&'b mut self, new_value: u32) -> &'b mut UART_scr_Update<'a>

Set value of pad field.

fn done(self)

Commit changes to register.

Trait Implementations

impl<'a> Drop for UART_scr_Update<'a>

This performs the register update.

fn drop(&mut self)