Struct atsame51n::can0::RegisterBlock

source ·
#[repr(C)]
pub struct RegisterBlock {
Show 47 fields pub crel: CREL, pub endn: ENDN, pub mrcfg: MRCFG, pub dbtp: DBTP, pub test: TEST, pub rwd: RWD, pub cccr: CCCR, pub nbtp: NBTP, pub tscc: TSCC, pub tscv: TSCV, pub tocc: TOCC, pub tocv: TOCV, pub ecr: ECR, pub psr: PSR, pub tdcr: TDCR, pub ir: IR, pub ie: IE, pub ils: ILS, pub ile: ILE, pub gfc: GFC, pub sidfc: SIDFC, pub xidfc: XIDFC, pub xidam: XIDAM, pub hpms: HPMS, pub ndat1: NDAT1, pub ndat2: NDAT2, pub rxf0c: RXF0C, pub rxf0s: RXF0S, pub rxf0a: RXF0A, pub rxbc: RXBC, pub rxf1c: RXF1C, pub rxf1s: RXF1S, pub rxf1a: RXF1A, pub rxesc: RXESC, pub txbc: TXBC, pub txfqs: TXFQS, pub txesc: TXESC, pub txbrp: TXBRP, pub txbar: TXBAR, pub txbcr: TXBCR, pub txbto: TXBTO, pub txbcf: TXBCF, pub txbtie: TXBTIE, pub txbcie: TXBCIE, pub txefc: TXEFC, pub txefs: TXEFS, pub txefa: TXEFA, /* private fields */
}
Expand description

Register block

Fields§

§crel: CREL

0x00 - Core Release

§endn: ENDN

0x04 - Endian

§mrcfg: MRCFG

0x08 - Message RAM Configuration

§dbtp: DBTP

0x0c - Fast Bit Timing and Prescaler

§test: TEST

0x10 - Test

§rwd: RWD

0x14 - RAM Watchdog

§cccr: CCCR

0x18 - CC Control

§nbtp: NBTP

0x1c - Nominal Bit Timing and Prescaler

§tscc: TSCC

0x20 - Timestamp Counter Configuration

§tscv: TSCV

0x24 - Timestamp Counter Value

§tocc: TOCC

0x28 - Timeout Counter Configuration

§tocv: TOCV

0x2c - Timeout Counter Value

§ecr: ECR

0x40 - Error Counter

§psr: PSR

0x44 - Protocol Status

§tdcr: TDCR

0x48 - Extended ID Filter Configuration

§ir: IR

0x50 - Interrupt

§ie: IE

0x54 - Interrupt Enable

§ils: ILS

0x58 - Interrupt Line Select

§ile: ILE

0x5c - Interrupt Line Enable

§gfc: GFC

0x80 - Global Filter Configuration

§sidfc: SIDFC

0x84 - Standard ID Filter Configuration

§xidfc: XIDFC

0x88 - Extended ID Filter Configuration

§xidam: XIDAM

0x90 - Extended ID AND Mask

§hpms: HPMS

0x94 - High Priority Message Status

§ndat1: NDAT1

0x98 - New Data 1

§ndat2: NDAT2

0x9c - New Data 2

§rxf0c: RXF0C

0xa0 - Rx FIFO 0 Configuration

§rxf0s: RXF0S

0xa4 - Rx FIFO 0 Status

§rxf0a: RXF0A

0xa8 - Rx FIFO 0 Acknowledge

§rxbc: RXBC

0xac - Rx Buffer Configuration

§rxf1c: RXF1C

0xb0 - Rx FIFO 1 Configuration

§rxf1s: RXF1S

0xb4 - Rx FIFO 1 Status

§rxf1a: RXF1A

0xb8 - Rx FIFO 1 Acknowledge

§rxesc: RXESC

0xbc - Rx Buffer / FIFO Element Size Configuration

§txbc: TXBC

0xc0 - Tx Buffer Configuration

§txfqs: TXFQS

0xc4 - Tx FIFO / Queue Status

§txesc: TXESC

0xc8 - Tx Buffer Element Size Configuration

§txbrp: TXBRP

0xcc - Tx Buffer Request Pending

§txbar: TXBAR

0xd0 - Tx Buffer Add Request

§txbcr: TXBCR

0xd4 - Tx Buffer Cancellation Request

§txbto: TXBTO

0xd8 - Tx Buffer Transmission Occurred

§txbcf: TXBCF

0xdc - Tx Buffer Cancellation Finished

§txbtie: TXBTIE

0xe0 - Tx Buffer Transmission Interrupt Enable

§txbcie: TXBCIE

0xe4 - Tx Buffer Cancellation Finished Interrupt Enable

§txefc: TXEFC

0xf0 - Tx Event FIFO Configuration

§txefs: TXEFS

0xf4 - Tx Event FIFO Status

§txefa: TXEFA

0xf8 - Tx Event FIFO Acknowledge

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for T
where U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.