#[repr(C)]
pub struct RegisterBlock {
Show 47 fields pub crel: CREL, pub endn: ENDN, pub cust: CUST, 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 Register

§endn: ENDN

0x04 - Endian Register

§cust: CUST

0x08 - Customer Register

§dbtp: DBTP

0x0c - Data Bit Timing and Prescaler Register

§test: TEST

0x10 - Test Register

§rwd: RWD

0x14 - RAM Watchdog Register

§cccr: CCCR

0x18 - CC Control Register

§nbtp: NBTP

0x1c - Nominal Bit Timing and Prescaler Register

§tscc: TSCC

0x20 - Timestamp Counter Configuration Register

§tscv: TSCV

0x24 - Timestamp Counter Value Register

§tocc: TOCC

0x28 - Timeout Counter Configuration Register

§tocv: TOCV

0x2c - Timeout Counter Value Register

§ecr: ECR

0x40 - Error Counter Register

§psr: PSR

0x44 - Protocol Status Register

§tdcr: TDCR

0x48 - Transmit Delay Compensation Register

§ir: IR

0x50 - Interrupt Register

§ie: IE

0x54 - Interrupt Enable Register

§ils: ILS

0x58 - Interrupt Line Select Register

§ile: ILE

0x5c - Interrupt Line Enable Register

§gfc: GFC

0x80 - Global Filter Configuration Register

§sidfc: SIDFC

0x84 - Standard ID Filter Configuration Register

§xidfc: XIDFC

0x88 - Extended ID Filter Configuration Register

§xidam: XIDAM

0x90 - Extended ID AND Mask Register

§hpms: HPMS

0x94 - High Priority Message Status Register

§ndat1: NDAT1

0x98 - New Data 1 Register

§ndat2: NDAT2

0x9c - New Data 2 Register

§rxf0c: RXF0C

0xa0 - Receive FIFO 0 Configuration Register

§rxf0s: RXF0S

0xa4 - Receive FIFO 0 Status Register

§rxf0a: RXF0A

0xa8 - Receive FIFO 0 Acknowledge Register

§rxbc: RXBC

0xac - Receive Rx Buffer Configuration Register

§rxf1c: RXF1C

0xb0 - Receive FIFO 1 Configuration Register

§rxf1s: RXF1S

0xb4 - Receive FIFO 1 Status Register

§rxf1a: RXF1A

0xb8 - Receive FIFO 1 Acknowledge Register

§rxesc: RXESC

0xbc - Receive Buffer / FIFO Element Size Configuration Register

§txbc: TXBC

0xc0 - Transmit Buffer Configuration Register

§txfqs: TXFQS

0xc4 - Transmit FIFO/Queue Status Register

§txesc: TXESC

0xc8 - Transmit Buffer Element Size Configuration Register

§txbrp: TXBRP

0xcc - Transmit Buffer Request Pending Register

§txbar: TXBAR

0xd0 - Transmit Buffer Add Request Register

§txbcr: TXBCR

0xd4 - Transmit Buffer Cancellation Request Register

§txbto: TXBTO

0xd8 - Transmit Buffer Transmission Occurred Register

§txbcf: TXBCF

0xdc - Transmit Buffer Cancellation Finished Register

§txbtie: TXBTIE

0xe0 - Transmit Buffer Transmission Interrupt Enable Register

§txbcie: TXBCIE

0xe4 - Transmit Buffer Cancellation Finished Interrupt Enable Register

§txefc: TXEFC

0xf0 - Transmit Event FIFO Configuration Register

§txefs: TXEFS

0xf4 - Transmit Event FIFO Status Register

§txefa: TXEFA

0xf8 - Transmit Event FIFO Acknowledge Register

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.