Struct xmc4100::can::RegisterBlock
source · #[repr(C)]pub struct RegisterBlock {
pub clc: CLC,
pub id: ID,
pub fdr: FDR,
pub list: [LIST; 8],
pub mspnd: [MSPND; 8],
pub msid: [MSID; 8],
pub msimask: MSIMASK,
pub panctr: PANCTR,
pub mcr: MCR,
pub mitr: MITR,
/* private fields */
}
Expand description
Register block
Fields
clc: CLC
0x00 - CAN Clock Control Register
id: ID
0x08 - Module Identification Register
fdr: FDR
0x0c - CAN Fractional Divider Register
list: [LIST; 8]
0x100 - List Register
mspnd: [MSPND; 8]
0x140 - Message Pending Register
msid: [MSID; 8]
0x180 - Message Index Register
msimask: MSIMASK
0x1c0 - Message Index Mask Register
panctr: PANCTR
0x1c4 - Panel Control Register
mcr: MCR
0x1c8 - Module Control Register
mitr: MITR
0x1cc - Module Interrupt Trigger Register
Auto Trait Implementations
impl !RefUnwindSafe for RegisterBlock
impl Send for RegisterBlock
impl !Sync for RegisterBlock
impl Unpin for RegisterBlock
impl UnwindSafe for RegisterBlock
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more