Struct zinc_hal_lpc11xx::ioregs::UART_fdr_Get [] [src]

pub struct UART_fdr_Get {
    // some fields omitted
}

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

Methods

impl UART_fdr_Get

fn new(reg: &UART_fdr) -> UART_fdr_Get

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

fn raw(&self) -> u32

Get the raw value of the register.

fn divaddval(&self) -> u32

Get value of DIVADDVAL field: Baud rate generation pre-scaler divisor value. If this field is 0, fractional baud rate generator will not impact the UART baud rate.

fn mulval(&self) -> u32

Get value of MULVAL field: Baud rate pre-scaler multiplier value. This field must be greater or equal 1 for UART to operate properly, regardless of whether the fractional baud rate generator is used or not.

Trait Implementations

impl Copy for UART_fdr_Get

Derived Implementations

impl Clone for UART_fdr_Get

fn clone(&self) -> UART_fdr_Get

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