Struct s32k144::can1::Ecr
[−]
[src]
pub struct Ecr { /* fields omitted */ }
Error Counter
Methods
impl Ecr
[src]
fn modify<F>(&self, f: F) where
F: FnOnce(&R, &'w mut W) -> &'w mut W,
F: FnOnce(&R, &'w mut W) -> &'w mut W,
Modifies the contents of the register
fn read(&self) -> R
Reads the contents of the register
fn write<F>(&self, f: F) where
F: FnOnce(&mut W) -> &mut W,
F: FnOnce(&mut W) -> &mut W,
Writes to the register
fn reset(&self)
Writes the reset value to the register