Struct zinc_hal_lpc11xx::ioregs::C_CAN_canbrpe_Get [] [src]

pub struct C_CAN_canbrpe_Get {
    // some fields omitted
}

CANBRPE: Baud rate prescaler extension register

Methods

impl C_CAN_canbrpe_Get

fn new(reg: &C_CAN_canbrpe) -> C_CAN_canbrpe_Get

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

fn raw(&self) -> u32

Get the raw value of the register.

fn brpe(&self) -> u32

Get value of BRPE field: Baud rate prescaler extension By programming BRPE the Baud Rate Prescaler can be extended to values up to 1023. Hardware interprets the value as the value of BRPE (MSBs) and BRP (LSBs) plus one. Allowed values are 0 to 15.

Trait Implementations

impl Copy for C_CAN_canbrpe_Get

Derived Implementations

impl Clone for C_CAN_canbrpe_Get

fn clone(&self) -> C_CAN_canbrpe_Get

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