Struct zinc_hal_lpc11xx::ioregs::UART_scr_Get [] [src]

pub struct UART_scr_Get {
    // some fields omitted
}

SCR: Scratch Pad Register. Eight-bit temporary storage for software.

Methods

impl UART_scr_Get

fn new(reg: &UART_scr) -> UART_scr_Get

Create a getter reflecting the current value of the given register.

fn raw(&self) -> u32

Get the raw value of the register.

fn pad(&self) -> u32

Get value of pad field: A readable, writable byte.

Trait Implementations

impl Copy for UART_scr_Get

Derived Implementations

impl Clone for UART_scr_Get

fn clone(&self) -> UART_scr_Get

fn clone_from(&mut self, source: &Self)