Struct zinc_hal_lpc11xx::ioregs::UART_acr
[−]
[src]
pub struct UART_acr { // some fields omitted }
Register ACR
: Auto-baud Control Register. Contains controls for the auto-baud feature.
Methods
impl UART_acr
fn get(&self) -> UART_acr_Get
Fetch the value of the ACR
register.
fn start(&self) -> UART_acr_start
Get value of START
field.
fn mode(&self) -> UART_acr_mode
Get value of MODE
field.
fn autorestart(&self) -> UART_acr_autorestart
Get value of AUTORESTART
field.
fn abeointclr(&self) -> UART_acr_abeointclr
Get value of ABEOINTCLR
field.
fn abtointclr(&self) -> UART_acr_abtointclr
Get value of ABTOINTCLR
field.
fn ignoring_state(&self) -> UART_acr_Update
Create new updater that ignores current value of the ACR
register.
fn set_start<'a>(&'a mut self, new_value: UART_acr_start) -> UART_acr_Update<'a>
Set value of START
field.
fn set_mode<'a>(&'a mut self, new_value: UART_acr_mode) -> UART_acr_Update<'a>
Set value of MODE
field.
fn set_autorestart<'a>(&'a mut self, new_value: UART_acr_autorestart) -> UART_acr_Update<'a>
Set value of AUTORESTART
field.
fn set_abeointclr<'a>(&'a mut self, new_value: UART_acr_abeointclr) -> UART_acr_Update<'a>
Set value of ABEOINTCLR
field.
fn set_abtointclr<'a>(&'a mut self, new_value: UART_acr_abtointclr) -> UART_acr_Update<'a>
Set value of ABTOINTCLR
field.