Struct zinc_hal_lpc11xx::ioregs::C_CAN_cantest
[−]
[src]
pub struct C_CAN_cantest { // some fields omitted }
Register CANTEST
: Test register
Methods
impl C_CAN_cantest
fn get(&self) -> C_CAN_cantest_Get
Fetch the value of the CANTEST
register.
fn basic(&self) -> C_CAN_cantest_basic
Get value of BASIC
field.
fn silent(&self) -> C_CAN_cantest_silent
Get value of SILENT
field.
fn lback(&self) -> C_CAN_cantest_lback
Get value of LBACK
field.
fn tx(&self) -> C_CAN_cantest_tx
Get value of TX
field.
fn rx(&self) -> C_CAN_cantest_rx
Get value of RX
field.
fn ignoring_state(&self) -> C_CAN_cantest_Update
Create new updater that ignores current value of the CANTEST
register.
fn set_basic<'a>(&'a mut self, new_value: C_CAN_cantest_basic) -> C_CAN_cantest_Update<'a>
Set value of BASIC
field.
fn set_silent<'a>(&'a mut self, new_value: C_CAN_cantest_silent) -> C_CAN_cantest_Update<'a>
Set value of SILENT
field.
fn set_lback<'a>(&'a mut self, new_value: C_CAN_cantest_lback) -> C_CAN_cantest_Update<'a>
Set value of LBACK
field.
fn set_tx<'a>(&'a mut self, new_value: C_CAN_cantest_tx) -> C_CAN_cantest_Update<'a>
Set value of TX
field.
fn set_rx<'a>(&'a mut self, new_value: C_CAN_cantest_rx) -> C_CAN_cantest_Update<'a>
Set value of RX
field.