Struct I3C_MST

Source
pub struct I3C_MST { /* private fields */ }
Expand description

I3C Controller (Master)

Implementations§

Source§

impl I3C_MST

Source

pub const PTR: *const RegisterBlock = {0x500da000 as *const i3c_mst::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 device_ctrl(&self) -> &DEVICE_CTRL

0x00 - DEVICE_CTRL register controls the transfer properties and disposition of controllers capabilities.

Source

pub fn buffer_thld_ctrl(&self) -> &BUFFER_THLD_CTRL

0x1c - In-Band Interrupt Status Threshold Value . Every In Band Interrupt received by I3C controller generates an IBI status. This field controls the number of IBI status entries in the IBI buffer that trigger the IBI_STATUS_THLD_STAT interrupt.

Source

pub fn data_buffer_thld_ctrl(&self) -> &DATA_BUFFER_THLD_CTRL

0x20 - NA

Source

pub fn ibi_notify_ctrl(&self) -> &IBI_NOTIFY_CTRL

0x24 - NA

Source

pub fn ibi_sir_req_payload(&self) -> &IBI_SIR_REQ_PAYLOAD

0x28 - NA

Source

pub fn ibi_sir_req_reject(&self) -> &IBI_SIR_REQ_REJECT

0x2c - NA

Source

pub fn int_clr(&self) -> &INT_CLR

0x30 - NA

Source

pub fn int_raw(&self) -> &INT_RAW

0x34 - NA

Source

pub fn int_st(&self) -> &INT_ST

0x38 - NA

Source

pub fn int_st_ena(&self) -> &INT_ST_ENA

0x3c - The Interrupt status will be updated in INTR_STATUS register if corresponding Status Enable bit set.

Source

pub fn reset_ctrl(&self) -> &RESET_CTRL

0x44 - NA

Source

pub fn buffer_status_level(&self) -> &BUFFER_STATUS_LEVEL

0x48 - BUFFER_STATUS_LEVEL reflects the status level of Buffers in the controller.

Source

pub fn data_buffer_status_level(&self) -> &DATA_BUFFER_STATUS_LEVEL

0x4c - DATA_BUFFER_STATUS_LEVEL reflects the status level of the Buffers in the controller.

Source

pub fn present_state0(&self) -> &PRESENT_STATE0

0x50 - NA

Source

pub fn present_state1(&self) -> &PRESENT_STATE1

0x54 - NA

Source

pub fn device_table(&self) -> &DEVICE_TABLE

0x58 - Pointer for Device Address Table

Source

pub fn time_out_value(&self) -> &TIME_OUT_VALUE

0x5c - NA

Source

pub fn scl_i3c_mst_od_time(&self) -> &SCL_I3C_MST_OD_TIME

0x60 - NA

Source

pub fn scl_i3c_mst_pp_time(&self) -> &SCL_I3C_MST_PP_TIME

0x64 - NA

Source

pub fn scl_i2c_fm_time(&self) -> &SCL_I2C_FM_TIME

0x68 - NA

Source

pub fn scl_i2c_fmp_time(&self) -> &SCL_I2C_FMP_TIME

0x6c - NA

Source

pub fn scl_ext_low_time(&self) -> &SCL_EXT_LOW_TIME

0x70 - NA

Source

pub fn sda_sample_time(&self) -> &SDA_SAMPLE_TIME

0x74 - NA

Source

pub fn sda_hold_time(&self) -> &SDA_HOLD_TIME

0x78 - NA

Source

pub fn scl_start_hold(&self) -> &SCL_START_HOLD

0x7c - NA

Source

pub fn scl_rstart_setup(&self) -> &SCL_RSTART_SETUP

0x80 - NA

Source

pub fn scl_stop_hold(&self) -> &SCL_STOP_HOLD

0x84 - NA

Source

pub fn scl_stop_setup(&self) -> &SCL_STOP_SETUP

0x88 - NA

Source

pub fn bus_free_time(&self) -> &BUS_FREE_TIME

0x90 - NA

Source

pub fn scl_termn_t_ext_low_time(&self) -> &SCL_TERMN_T_EXT_LOW_TIME

0x94 - NA

Source

pub fn ver_id(&self) -> &VER_ID

0xa0 - NA

Source

pub fn ver_type(&self) -> &VER_TYPE

0xa4 - NA

Source

pub fn fpga_debug_probe(&self) -> &FPGA_DEBUG_PROBE

0xac - NA

Source

pub fn rnd_eco_cs(&self) -> &RND_ECO_CS

0xb0 - NA

Source

pub fn rnd_eco_low(&self) -> &RND_ECO_LOW

0xb4 - NA

Source

pub fn rnd_eco_high(&self) -> &RND_ECO_HIGH

0xb8 - NA

Trait Implementations§

Source§

impl Debug for I3C_MST

Source§

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

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

impl Deref for I3C_MST

Source§

type Target = RegisterBlock

The resulting type after dereferencing.
Source§

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

Dereferences the value.
Source§

impl Send for I3C_MST

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<P, T> Receiver for P
where P: Deref<Target = T> + ?Sized, T: ?Sized,

Source§

type Target = T

🔬This is a nightly-only experimental API. (arbitrary_self_types)
The target type on which the method may be called.
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.