Struct zinc_hal_lpc11xx::ioregs::C_CAN_cantest_Get [] [src]

pub struct C_CAN_cantest_Get {
    // some fields omitted
}

CANTEST: Test register

Methods

impl C_CAN_cantest_Get

fn new(reg: &C_CAN_cantest) -> C_CAN_cantest_Get

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

fn raw(&self) -> u32

Get the raw value of the register.

fn basic(&self) -> C_CAN_cantest_basic

Get value of BASIC field: Basic mode

fn silent(&self) -> C_CAN_cantest_silent

Get value of SILENT field: Silent mode

fn lback(&self) -> C_CAN_cantest_lback

Get value of LBACK field: Loop back mode

fn tx(&self) -> C_CAN_cantest_tx

Get value of TX field: Control of CAN_TXD pins

fn rx(&self) -> C_CAN_cantest_rx

Get value of RX field: Monitors the actual value of the CAN_RXD pin.

Trait Implementations

impl Copy for C_CAN_cantest_Get

Derived Implementations

impl Clone for C_CAN_cantest_Get

fn clone(&self) -> C_CAN_cantest_Get

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