Struct mcxn947_pac::I3C0

source ·
pub struct I3C0 { /* private fields */ }
Expand description

I3C

Implementations§

source§

impl I3C0

source

pub const PTR: *const RegisterBlock = {0x40021000 as *const i3c0::RegisterBlock}

Pointer to the register block

source

pub const fn ptr() -> *const RegisterBlock

Return the pointer to the register block

source

pub unsafe fn steal() -> Self

Steal an instance of this peripheral

§Safety

Ensure that the new instance of the peripheral cannot be used in a way that may race with any existing instances, for example by only accessing read-only or write-only registers, or by consuming the original peripheral and using critical sections to coordinate access between multiple new instances.

Additionally, other software such as HALs may rely on only one peripheral instance existing to ensure memory safety; ensure no stolen instances are passed to such software.

Methods from Deref<Target = RegisterBlock>§

source

pub fn mconfig(&self) -> &MCONFIG

0x00 - Controller Configuration

source

pub fn sconfig(&self) -> &SCONFIG

0x04 - Target Configuration

source

pub fn sstatus(&self) -> &SSTATUS

0x08 - Target Status

source

pub fn sctrl(&self) -> &SCTRL

0x0c - Target Control

source

pub fn sintset(&self) -> &SINTSET

0x10 - Target Interrupt Set

source

pub fn sintclr(&self) -> &SINTCLR

0x14 - Target Interrupt Clear

source

pub fn sintmasked(&self) -> &SINTMASKED

0x18 - Target Interrupt Mask

source

pub fn serrwarn(&self) -> &SERRWARN

0x1c - Target Errors and Warnings

source

pub fn sdmactrl(&self) -> &SDMACTRL

0x20 - Target DMA Control

source

pub fn sdatactrl(&self) -> &SDATACTRL

0x2c - Target Data Control

source

pub fn swdatab(&self) -> &SWDATAB

0x30 - Target Write Data Byte

source

pub fn swdatabe(&self) -> &SWDATABE

0x34 - Target Write Data Byte End

source

pub fn swdatah(&self) -> &SWDATAH

0x38 - Target Write Data Half-word

source

pub fn swdatahe(&self) -> &SWDATAHE

0x3c - Target Write Data Half-word End

source

pub fn srdatab(&self) -> &SRDATAB

0x40 - Target Read Data Byte

source

pub fn srdatah(&self) -> &SRDATAH

0x48 - Target Read Data Halfword

source

pub fn swdatab1(&self) -> &SWDATAB1

0x54 - Target Write Data Byte

source

pub fn scapabilities2(&self) -> &SCAPABILITIES2

0x5c - Target Capabilities 2

source

pub fn scapabilities(&self) -> &SCAPABILITIES

0x60 - Target Capabilities

source

pub fn sdynaddr(&self) -> &SDYNADDR

0x64 - Target Dynamic Address

source

pub fn smaxlimits(&self) -> &SMAXLIMITS

0x68 - Target Maximum Limits

source

pub fn sidpartno(&self) -> &SIDPARTNO

0x6c - Target ID Part Number

source

pub fn sidext(&self) -> &SIDEXT

0x70 - Target ID Extension

source

pub fn svendorid(&self) -> &SVENDORID

0x74 - Target Vendor ID

source

pub fn stcclock(&self) -> &STCCLOCK

0x78 - Target Time Control Clock

source

pub fn smsgmapaddr(&self) -> &SMSGMAPADDR

0x7c - Target Message Map Address

source

pub fn mctrl(&self) -> &MCTRL

0x84 - Controller Control

source

pub fn mstatus(&self) -> &MSTATUS

0x88 - Controller Status

source

pub fn mibirules(&self) -> &MIBIRULES

0x8c - Controller In-band Interrupt Registry and Rules

source

pub fn mintset(&self) -> &MINTSET

0x90 - Controller Interrupt Set

source

pub fn mintclr(&self) -> &MINTCLR

0x94 - Controller Interrupt Clear

source

pub fn mintmasked(&self) -> &MINTMASKED

0x98 - Controller Interrupt Mask

source

pub fn merrwarn(&self) -> &MERRWARN

0x9c - Controller Errors and Warnings

source

pub fn mdmactrl(&self) -> &MDMACTRL

0xa0 - Controller DMA Control

source

pub fn mdatactrl(&self) -> &MDATACTRL

0xac - Controller Data Control

source

pub fn mwdatab(&self) -> &MWDATAB

0xb0 - Controller Write Data Byte

source

pub fn mwdatabe(&self) -> &MWDATABE

0xb4 - Controller Write Data Byte End

source

pub fn mwdatah(&self) -> &MWDATAH

0xb8 - Controller Write Data Halfword

source

pub fn mwdatahe(&self) -> &MWDATAHE

0xbc - Controller Write Data Halfword End

source

pub fn mrdatab(&self) -> &MRDATAB

0xc0 - Controller Read Data Byte

source

pub fn mrdatah(&self) -> &MRDATAH

0xc8 - Controller Read Data Halfword

source

pub fn mwdatab1(&self) -> &MWDATAB1

0xcc - Controller Write Byte Data 1(to bus)

source

pub fn mwmsg_sdr_mwmsg_sdr_data(&self) -> &MWMSG_SDR_MWMSG_SDR_DATA

0xd0 - Controller Write Message Data in SDR mode

source

pub fn mwmsg_sdr_mwmsg_sdr_control(&self) -> &MWMSG_SDR_MWMSG_SDR_CONTROL

0xd0 - Controller Write Message Control in SDR mode

source

pub fn mrmsg_sdr(&self) -> &MRMSG_SDR

0xd4 - Controller Read Message in SDR mode

source

pub fn mwmsg_ddr_mwmsg_ddr_data(&self) -> &MWMSG_DDR_MWMSG_DDR_DATA

0xd8 - Controller Write Message Data in DDR mode

source

pub fn mwmsg_ddr_mwmsg_ddr_control2(&self) -> &MWMSG_DDR_MWMSG_DDR_CONTROL2

0xd8 - Controller Write Message in DDR mode Control 2

source

pub fn mwmsg_ddr_mwmsg_ddr_control(&self) -> &MWMSG_DDR_MWMSG_DDR_CONTROL

0xd8 - Controller Write Message in DDR mode: First Control Word

source

pub fn mrmsg_ddr(&self) -> &MRMSG_DDR

0xdc - Controller Read Message in DDR mode

source

pub fn mdynaddr(&self) -> &MDYNADDR

0xe4 - Controller Dynamic Address

source

pub fn smapctrl0(&self) -> &SMAPCTRL0

0x11c - Map Feature Control 0

source

pub fn ibiext1(&self) -> &IBIEXT1

0x140 - Extended IBI Data 1

source

pub fn ibiext2(&self) -> &IBIEXT2

0x144 - Extended IBI Data 2

source

pub fn sid(&self) -> &SID

0xffc - Target Module ID

Trait Implementations§

source§

impl Debug for I3C0

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Deref for I3C0

§

type Target = RegisterBlock

The resulting type after dereferencing.
source§

fn deref(&self) -> &Self::Target

Dereferences the value.
source§

impl Send for I3C0

Auto Trait Implementations§

§

impl RefUnwindSafe for I3C0

§

impl !Sync for I3C0

§

impl Unpin for I3C0

§

impl UnwindSafe for I3C0

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.