stm32-metapac

Crates

git

Versions

stm32h7s3i8

Flavors

Struct stm32_metapac::can::Fdcan

pub struct Fdcan { /* private fields */ }
Expand description

Controller area network with flexible data rate (FD)

Implementations§

§

impl Fdcan

pub const unsafe fn from_ptr(ptr: *mut ()) -> Self

pub const fn as_ptr(&self) -> *mut ()

pub const fn crel(self) -> Reg<Crel, RW>

FDCAN Core Release Register

pub const fn endn(self) -> Reg<Endn, RW>

FDCAN Core Release Register

pub const fn dbtp(self) -> Reg<Dbtp, RW>

FDCAN Data Bit Timing and Prescaler Register

pub const fn test(self) -> Reg<Test, RW>

FDCAN Test Register

pub const fn rwd(self) -> Reg<Rwd, RW>

FDCAN RAM Watchdog Register

pub const fn cccr(self) -> Reg<Cccr, RW>

FDCAN CC Control Register

pub const fn nbtp(self) -> Reg<Nbtp, RW>

FDCAN Nominal Bit Timing and Prescaler Register

pub const fn tscc(self) -> Reg<Tscc, RW>

FDCAN Timestamp Counter Configuration Register

pub const fn tscv(self) -> Reg<Tscv, RW>

FDCAN Timestamp Counter Value Register

pub const fn tocc(self) -> Reg<Tocc, RW>

FDCAN Timeout Counter Configuration Register

pub const fn tocv(self) -> Reg<Tocv, RW>

FDCAN Timeout Counter Value Register

pub const fn ecr(self) -> Reg<Ecr, RW>

FDCAN Error Counter Register

pub const fn psr(self) -> Reg<Psr, RW>

FDCAN Protocol Status Register

pub const fn tdcr(self) -> Reg<Tdcr, RW>

FDCAN Transmitter Delay Compensation Register

pub const fn ir(self) -> Reg<Ir, RW>

FDCAN Interrupt Register

pub const fn ie(self) -> Reg<Ie, RW>

FDCAN Interrupt Enable Register

pub const fn ils(self) -> Reg<Ils, RW>

FDCAN Interrupt Line Select Register

pub const fn ile(self) -> Reg<Ile, RW>

FDCAN Interrupt Line Enable Register

pub const fn gfc(self) -> Reg<Gfc, RW>

FDCAN Global Filter Configuration Register

pub const fn sidfc(self) -> Reg<Sidfc, RW>

FDCAN Standard ID Filter Configuration Register

pub const fn xidfc(self) -> Reg<Xidfc, RW>

FDCAN Extended ID Filter Configuration Register

pub const fn xidam(self) -> Reg<Xidam, RW>

FDCAN Extended ID and Mask Register

pub const fn hpms(self) -> Reg<Hpms, RW>

FDCAN High Priority Message Status Register

pub const fn ndat1(self) -> Reg<Ndat1, RW>

FDCAN New Data 1 Register

pub const fn ndat2(self) -> Reg<Ndat2, RW>

FDCAN New Data 2 Register

pub const fn rxfc(self, n: usize) -> Reg<Rxfc, RW>

FDCAN Rx FIFO X Configuration Register

pub const fn rxfs(self, n: usize) -> Reg<Rxfs, RW>

FDCAN Rx FIFO X Status Register

pub const fn rxfa(self, n: usize) -> Reg<Rxfa, RW>

CAN Rx FIFO X Acknowledge Register

pub const fn rxbc(self) -> Reg<Rxbc, RW>

FDCAN Rx Buffer Configuration Register

pub const fn rxesc(self) -> Reg<Rxesc, RW>

FDCAN Rx Buffer Element Size Configuration Register

pub const fn txbc(self) -> Reg<Txbc, RW>

FDCAN Tx Buffer Configuration Register

pub const fn txfqs(self) -> Reg<Txfqs, RW>

FDCAN Tx FIFO/Queue Status Register

pub const fn txesc(self) -> Reg<Txesc, RW>

FDCAN Tx Buffer Element Size Configuration Register

pub const fn txbrp(self) -> Reg<Txbrp, RW>

FDCAN Tx Buffer Request Pending Register

pub const fn txbar(self) -> Reg<Txbar, RW>

FDCAN Tx Buffer Add Request Register

pub const fn txbcr(self) -> Reg<Txbcr, RW>

FDCAN Tx Buffer Cancellation Request Register

pub const fn txbto(self) -> Reg<Txbto, RW>

FDCAN Tx Buffer Transmission Occurred Register

pub const fn txbcf(self) -> Reg<Txbcf, RW>

FDCAN Tx Buffer Cancellation Finished Register

pub const fn txbtie(self) -> Reg<Txbtie, RW>

FDCAN Tx Buffer Transmission Interrupt Enable Register

pub const fn txbcie(self) -> Reg<Txbcie, RW>

FDCAN Tx Buffer Cancellation Finished Interrupt Enable Register

pub const fn txefc(self) -> Reg<Txefc, RW>

FDCAN Tx Event FIFO Configuration Register

pub const fn txefs(self) -> Reg<Txefs, RW>

FDCAN Tx Event FIFO Status Register

pub const fn txefa(self) -> Reg<Txefa, RW>

FDCAN Tx Event FIFO Acknowledge Register

pub const fn tttmc(self) -> Reg<Tttmc, RW>

FDCAN TT Trigger Memory Configuration Register

pub const fn ttrmc(self) -> Reg<Ttrmc, RW>

FDCAN TT Reference Message Configuration Register

pub const fn ttocf(self) -> Reg<Ttocf, RW>

FDCAN TT Operation Configuration Register

pub const fn ttmlm(self) -> Reg<Ttmlm, RW>

FDCAN TT Matrix Limits Register

pub const fn turcf(self) -> Reg<Turcf, RW>

FDCAN TUR Configuration Register

pub const fn ttocn(self) -> Reg<Ttocn, RW>

FDCAN TT Operation Control Register

pub const fn ttgtp(self) -> Reg<Ttgtp, RW>

FDCAN TT Global Time Preset Register

pub const fn tttmk(self) -> Reg<Tttmk, RW>

FDCAN TT Time Mark Register

pub const fn ttir(self) -> Reg<Ttir, RW>

FDCAN TT Interrupt Register

pub const fn ttie(self) -> Reg<Ttie, RW>

FDCAN TT Interrupt Enable Register

pub const fn ttils(self) -> Reg<Ttils, RW>

FDCAN TT Interrupt Line Select Register

pub const fn ttost(self) -> Reg<Ttost, RW>

FDCAN TT Operation Status Register

pub const fn turna(self) -> Reg<Turna, RW>

FDCAN TUR Numerator Actual Register

pub const fn ttlgt(self) -> Reg<Ttlgt, RW>

FDCAN TT Local and Global Time Register

pub const fn ttctc(self) -> Reg<Ttctc, RW>

FDCAN TT Cycle Time and Count Register

pub const fn ttcpt(self) -> Reg<Ttcpt, RW>

FDCAN TT Capture Time Register

pub const fn ttcsm(self) -> Reg<Ttcsm, RW>

FDCAN TT Cycle Sync Mark Register

pub const fn ttts(self) -> Reg<Ttts, RW>

FDCAN TT Trigger Select Register

Trait Implementations§

§

impl Clone for Fdcan

§

fn clone(&self) -> Fdcan

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
§

impl PartialEq for Fdcan

§

fn eq(&self, other: &Fdcan) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
§

impl Copy for Fdcan

§

impl Eq for Fdcan

§

impl Send for Fdcan

§

impl StructuralPartialEq for Fdcan

§

impl Sync for Fdcan

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> CloneToUninit for T
where T: Clone,

source§

unsafe fn clone_to_uninit(&self, dst: *mut T)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. 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>,

source§

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>,

source§

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.