Struct zinc_hal_lpc11xx::ioregs::C_CAN_cancntl_Get [] [src]

pub struct C_CAN_cancntl_Get {
    // some fields omitted
}

CANCNTL: CAN control

Methods

impl C_CAN_cancntl_Get

fn new(reg: &C_CAN_cancntl) -> C_CAN_cancntl_Get

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

fn raw(&self) -> u32

Get the raw value of the register.

fn init(&self) -> C_CAN_cancntl_init

Get value of INIT field: Initialization

fn ie(&self) -> C_CAN_cancntl_ie

Get value of IE field: Module interrupt enable

fn sie(&self) -> C_CAN_cancntl_sie

Get value of SIE field: Status change interrupt enable

fn eie(&self) -> C_CAN_cancntl_eie

Get value of EIE field: Error interrupt enable

fn dar(&self) -> C_CAN_cancntl_dar

Get value of DAR field: Disable automatic retransmission

fn cce(&self) -> C_CAN_cancntl_cce

Get value of CCE field: Configuration change enable

fn test(&self) -> C_CAN_cancntl_test

Get value of TEST field: Test mode enable

Trait Implementations

impl Copy for C_CAN_cancntl_Get

Derived Implementations

impl Clone for C_CAN_cancntl_Get

fn clone(&self) -> C_CAN_cancntl_Get

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