Embassy
stm32-metapac

Crates

git

Versions

stm32h563vg

Flavors

Struct stm32_metapac::i3c::I3c

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

Improved inter-integrated circuit.

Implementations§

§

impl I3c

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

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

pub const fn cr(self) -> Reg<Cr, RW>

I3C message control register.

pub const fn cr_alternate(self) -> Reg<CrAlternate, RW>

I3C message control register alternate.

pub const fn cfgr(self) -> Reg<Cfgr, RW>

I3C configuration register.

pub const fn rx_data_regs(self) -> DataRegs

pub const fn tx_data_regs(self) -> DataRegs

pub const fn ibidr(self) -> Reg<Ibidr, RW>

I3C IBI payload data register.

pub const fn tgttdr(self) -> Reg<Tgttdr, RW>

I3C target transmit configuration register.

pub const fn sr(self) -> Reg<Sr, RW>

I3C status register.

pub const fn ser(self) -> Reg<Ser, RW>

I3C status error register.

pub const fn rmr(self) -> Reg<Rmr, RW>

I3C received message register.

pub const fn evr(self) -> Reg<Evr, RW>

I3C event register.

pub const fn ier(self) -> Reg<Ier, RW>

I3C interrupt enable register.

pub const fn cevr(self) -> Reg<Cevr, RW>

I3C clear event register.

pub const fn devr0(self) -> Reg<Devr0, RW>

I3C own device characteristics register.

pub const fn devr(self, n: usize) -> Reg<Devr, RW>

I3C device 1 characteristics register.

pub const fn maxrlr(self) -> Reg<Maxrlr, RW>

I3C maximum read length register.

pub const fn maxwlr(self) -> Reg<Maxwlr, RW>

I3C maximum write length register.

pub const fn timingr0(self) -> Reg<Timingr0, RW>

I3C timing register 0.

pub const fn timingr1(self) -> Reg<Timingr1, RW>

I3C timing register 1.

pub const fn timingr2(self) -> Reg<Timingr2, RW>

I3C timing register 2.

pub const fn bcr(self) -> Reg<Bcr, RW>

I3C bus characteristics register.

pub const fn dcr(self) -> Reg<Dcr, RW>

I3C device characteristics register.

pub const fn getcapr(self) -> Reg<Getcapr, RW>

I3C get capability register.

pub const fn crcapr(self) -> Reg<Crcapr, RW>

I3C controller-role capability register.

pub const fn getmxdsr(self) -> Reg<Getmxdsr, RW>

I3C get capability register.

pub const fn epidr(self) -> Reg<Epidr, RW>

I3C extended provisioned ID register.

Trait Implementations§

§

impl Clone for I3c

§

fn clone(&self) -> I3c

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 I3c

§

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

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

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

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

impl Copy for I3c

§

impl Eq for I3c

§

impl Send for I3c

§

impl StructuralEq for I3c

§

impl StructuralPartialEq for I3c

§

impl Sync for I3c

Auto Trait Implementations§

§

impl RefUnwindSafe for I3c

§

impl Unpin for I3c

§

impl UnwindSafe for I3c

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.