Struct zinc_hal_lpc11xx::ioregs::UART_fdr [] [src]

pub struct UART_fdr {
    // some fields omitted
}

Register FDR: Fractional Divider Register. Generates a clock input for the baud rate divider.

Methods

impl UART_fdr

fn get(&self) -> UART_fdr_Get

Fetch the value of the FDR register.

fn divaddval(&self) -> u32

Get value of DIVADDVAL field.

fn mulval(&self) -> u32

Get value of MULVAL field.

fn ignoring_state(&self) -> UART_fdr_Update

Create new updater that ignores current value of the FDR register.

fn set_divaddval<'a>(&'a mut self, new_value: u32) -> UART_fdr_Update<'a>

Set value of DIVADDVAL field.

fn set_mulval<'a>(&'a mut self, new_value: u32) -> UART_fdr_Update<'a>

Set value of MULVAL field.

Trait Implementations

impl Copy for UART_fdr

Derived Implementations

impl Clone for UART_fdr

fn clone(&self) -> UART_fdr

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