Struct zinc_hal_lpc11xx::ioregs::UART_fcr_Update
[−]
[src]
pub struct UART_fcr_Update<'a> { // some fields omitted }
Updater for FCR
register.
Methods
impl<'a> UART_fcr_Update<'a>
fn new(reg: &'a UART_fcr) -> UART_fcr_Update<'a>
Create a new updater.
fn new_ignoring_state(reg: &'a UART_fcr) -> UART_fcr_Update<'a>
Create a new updater that ignores current state.
fn set_fifoen<'b>(&'b mut self, new_value: UART_fcr_fifoen) -> &'b mut UART_fcr_Update<'a>
Set value of FIFOEN
field.
fn set_rxfifores<'b>(&'b mut self, new_value: UART_fcr_rxfifores) -> &'b mut UART_fcr_Update<'a>
Set value of RXFIFORES
field.
fn set_txfifores<'b>(&'b mut self, new_value: UART_fcr_txfifores) -> &'b mut UART_fcr_Update<'a>
Set value of TXFIFORES
field.
fn set_rxtl<'b>(&'b mut self, new_value: UART_fcr_rxtl) -> &'b mut UART_fcr_Update<'a>
Set value of RXTL
field.
fn done(self)
Commit changes to register.
Trait Implementations
impl<'a> Drop for UART_fcr_Update<'a>
This performs the register update.