Struct zinc_hal_lpc11xx::ioregs::C_CAN_canclkdiv [] [src]

pub struct C_CAN_canclkdiv {
    // some fields omitted
}

Register CANCLKDIV: Can clock divider register

Methods

impl C_CAN_canclkdiv

fn get(&self) -> C_CAN_canclkdiv_Get

Fetch the value of the CANCLKDIV register.

fn clkdivval(&self) -> u32

Get value of CLKDIVVAL field.

fn ignoring_state(&self) -> C_CAN_canclkdiv_Update

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

fn set_clkdivval<'a>(&'a mut self, new_value: u32) -> C_CAN_canclkdiv_Update<'a>

Set value of CLKDIVVAL field.

Trait Implementations

impl Copy for C_CAN_canclkdiv

Derived Implementations

impl Clone for C_CAN_canclkdiv

fn clone(&self) -> C_CAN_canclkdiv

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