Struct zinc_hal_lpc11xx::ioregs::C_CAN_cancntl [] [src]

pub struct C_CAN_cancntl {
    // some fields omitted
}

Register CANCNTL: CAN control

Methods

impl C_CAN_cancntl

fn get(&self) -> C_CAN_cancntl_Get

Fetch the value of the CANCNTL register.

fn init(&self) -> C_CAN_cancntl_init

Get value of INIT field.

fn ie(&self) -> C_CAN_cancntl_ie

Get value of IE field.

fn sie(&self) -> C_CAN_cancntl_sie

Get value of SIE field.

fn eie(&self) -> C_CAN_cancntl_eie

Get value of EIE field.

fn dar(&self) -> C_CAN_cancntl_dar

Get value of DAR field.

fn cce(&self) -> C_CAN_cancntl_cce

Get value of CCE field.

fn test(&self) -> C_CAN_cancntl_test

Get value of TEST field.

fn ignoring_state(&self) -> C_CAN_cancntl_Update

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

fn set_init<'a>(&'a mut self, new_value: C_CAN_cancntl_init) -> C_CAN_cancntl_Update<'a>

Set value of INIT field.

fn set_ie<'a>(&'a mut self, new_value: C_CAN_cancntl_ie) -> C_CAN_cancntl_Update<'a>

Set value of IE field.

fn set_sie<'a>(&'a mut self, new_value: C_CAN_cancntl_sie) -> C_CAN_cancntl_Update<'a>

Set value of SIE field.

fn set_eie<'a>(&'a mut self, new_value: C_CAN_cancntl_eie) -> C_CAN_cancntl_Update<'a>

Set value of EIE field.

fn set_dar<'a>(&'a mut self, new_value: C_CAN_cancntl_dar) -> C_CAN_cancntl_Update<'a>

Set value of DAR field.

fn set_cce<'a>(&'a mut self, new_value: C_CAN_cancntl_cce) -> C_CAN_cancntl_Update<'a>

Set value of CCE field.

fn set_test<'a>(&'a mut self, new_value: C_CAN_cancntl_test) -> C_CAN_cancntl_Update<'a>

Set value of TEST field.

Trait Implementations

impl Copy for C_CAN_cancntl

Derived Implementations

impl Clone for C_CAN_cancntl

fn clone(&self) -> C_CAN_cancntl

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