pub unsafe trait Instance {
    const MSG_RAM: *mut RegisterBlock;
    fn msg_ram(&self) -> &RegisterBlock { ... }
fn msg_ram_mut(&mut self) -> &mut RegisterBlock { ... } }
Expand description

FdCan Message RAM instance.

Safety

It is only safe to implement this trait, when:

  • The implementing type has ownership of the Message RAM, preventing any other accesses to the register block.
  • MSG_RAM is a pointer to the Message RAM block and can be safely accessed for as long as ownership or a borrow of the implementing type is present.

Associated Constants

Provided methods

Implementors