Struct zinc_hal_lpc11xx::ioregs::UART_acr_Update [] [src]

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

Updater for ACR register.

Methods

impl<'a> UART_acr_Update<'a>

fn new(reg: &'a UART_acr) -> UART_acr_Update<'a>

Create a new updater.

fn new_ignoring_state(reg: &'a UART_acr) -> UART_acr_Update<'a>

Create a new updater that ignores current state.

fn set_start<'b>(&'b mut self, new_value: UART_acr_start) -> &'b mut UART_acr_Update<'a>

Set value of START field.

fn set_mode<'b>(&'b mut self, new_value: UART_acr_mode) -> &'b mut UART_acr_Update<'a>

Set value of MODE field.

fn set_autorestart<'b>(&'b mut self, new_value: UART_acr_autorestart) -> &'b mut UART_acr_Update<'a>

Set value of AUTORESTART field.

fn set_abeointclr<'b>(&'b mut self, new_value: UART_acr_abeointclr) -> &'b mut UART_acr_Update<'a>

Set value of ABEOINTCLR field.

fn set_abtointclr<'b>(&'b mut self, new_value: UART_acr_abtointclr) -> &'b mut UART_acr_Update<'a>

Set value of ABTOINTCLR field.

fn done(self)

Commit changes to register.

Trait Implementations

impl<'a> Drop for UART_acr_Update<'a>

This performs the register update.

fn drop(&mut self)