Struct zinc_hal_lpc11xx::ioregs::UART_scr
[−]
[src]
pub struct UART_scr { // some fields omitted }
Register SCR
: Scratch Pad Register. Eight-bit temporary storage for software.
Methods
impl UART_scr
fn get(&self) -> UART_scr_Get
Fetch the value of the SCR
register.
fn pad(&self) -> u32
Get value of pad
field.
fn ignoring_state(&self) -> UART_scr_Update
Create new updater that ignores current value of the SCR
register.
fn set_pad<'a>(&'a mut self, new_value: u32) -> UART_scr_Update<'a>
Set value of pad
field.