I2C2

Struct I2C2 

Source
pub struct I2C2 { /* private fields */ }

Implementations§

Source§

impl I2C2

Source

pub const fn i2c2_ack_general_call_reg( &self, ) -> &'static Reg<I2C2AckGeneralCallReg_SPEC, RW>

I2C ACK General Call Register

Source

pub const fn i2c2_clr_activity_reg( &self, ) -> &'static Reg<I2C2ClrActivityReg_SPEC, RW>

Clear ACTIVITY Interrupt Register

Source

pub const fn i2c2_clr_gen_call_reg( &self, ) -> &'static Reg<I2C2ClrGenCallReg_SPEC, RW>

Clear GEN_CALL Interrupt Register

Source

pub const fn i2c2_clr_intr_reg(&self) -> &'static Reg<I2C2ClrIntrReg_SPEC, RW>

Clear Combined and Individual Interrupt Register

Source

pub const fn i2c2_clr_rd_req_reg( &self, ) -> &'static Reg<I2C2ClrRdReqReg_SPEC, RW>

Clear RD_REQ Interrupt Register

Source

pub const fn i2c2_clr_rx_done_reg( &self, ) -> &'static Reg<I2C2ClrRxDoneReg_SPEC, RW>

Clear RX_DONE Interrupt Register

Source

pub const fn i2c2_clr_rx_over_reg( &self, ) -> &'static Reg<I2C2ClrRxOverReg_SPEC, RW>

Clear RX_OVER Interrupt Register

Source

pub const fn i2c2_clr_rx_under_reg( &self, ) -> &'static Reg<I2C2ClrRxUnderReg_SPEC, RW>

Clear RX_UNDER Interrupt Register

Source

pub const fn i2c2_clr_start_det_reg( &self, ) -> &'static Reg<I2C2ClrStartDetReg_SPEC, RW>

Clear START_DET Interrupt Register

Source

pub const fn i2c2_clr_stop_det_reg( &self, ) -> &'static Reg<I2C2ClrStopDetReg_SPEC, RW>

Clear STOP_DET Interrupt Register

Source

pub const fn i2c2_clr_tx_abrt_reg( &self, ) -> &'static Reg<I2C2ClrTxAbrtReg_SPEC, RW>

Clear TX_ABRT Interrupt Register

Source

pub const fn i2c2_clr_tx_over_reg( &self, ) -> &'static Reg<I2C2ClrTxOverReg_SPEC, RW>

Clear TX_OVER Interrupt Register

Source

pub const fn i2c2_comp2_version( &self, ) -> &'static Reg<I2C2Comp2Version_SPEC, RW>

I2C Component2 Version Register

Source

pub const fn i2c2_comp_param1_reg( &self, ) -> &'static Reg<I2C2CompParam1Reg_SPEC, RW>

Component Parameter Register

Source

pub const fn i2c2_comp_param2_reg( &self, ) -> &'static Reg<I2C2CompParam2Reg_SPEC, RW>

Component Parameter Register 2

Source

pub const fn i2c2_comp_type2_reg( &self, ) -> &'static Reg<I2C2CompType2Reg_SPEC, RW>

I2C Component2 Type Register

Source

pub const fn i2c2_comp_type_reg(&self) -> &'static Reg<I2C2CompTypeReg_SPEC, RW>

I2C Component Type Register

Source

pub const fn i2c2_comp_version_reg( &self, ) -> &'static Reg<I2C2CompVersionReg_SPEC, RW>

I2C Component Version Register

Source

pub const fn i2c2_con_reg(&self) -> &'static Reg<I2C2ConReg_SPEC, RW>

I2C Control Register

Source

pub const fn i2c2_data_cmd_reg(&self) -> &'static Reg<I2C2DataCmdReg_SPEC, RW>

I2C Rx/Tx Data Buffer and Command Register

Source

pub const fn i2c2_dma_cr_reg(&self) -> &'static Reg<I2C2DmaCrReg_SPEC, RW>

DMA Control Register

Source

pub const fn i2c2_dma_rdlr_reg(&self) -> &'static Reg<I2C2DmaRdlrReg_SPEC, RW>

I2C Receive Data Level Register

Source

pub const fn i2c2_dma_tdlr_reg(&self) -> &'static Reg<I2C2DmaTdlrReg_SPEC, RW>

DMA Transmit Data Level Register

Source

pub const fn i2c2_enable_reg(&self) -> &'static Reg<I2C2EnableReg_SPEC, RW>

I2C Enable Register

Source

pub const fn i2c2_enable_status_reg( &self, ) -> &'static Reg<I2C2EnableStatusReg_SPEC, RW>

I2C Enable Status Register

Source

pub const fn i2c2_fs_scl_hcnt_reg( &self, ) -> &'static Reg<I2C2FsSclHcntReg_SPEC, RW>

Fast Speed I2C Clock SCL High Count Register

Source

pub const fn i2c2_fs_scl_lcnt_reg( &self, ) -> &'static Reg<I2C2FsSclLcntReg_SPEC, RW>

Fast Speed I2C Clock SCL Low Count Register

Source

pub const fn i2c2_ic_fs_spklen_reg( &self, ) -> &'static Reg<I2C2IcFsSpklenReg_SPEC, RW>

I2C SS and FS spike suppression limit Size

Source

pub const fn i2c2_intr_mask_reg(&self) -> &'static Reg<I2C2IntrMaskReg_SPEC, RW>

I2C Interrupt Mask Register

Source

pub const fn i2c2_intr_stat_reg(&self) -> &'static Reg<I2C2IntrStatReg_SPEC, RW>

I2C Interrupt Status Register

Source

pub const fn i2c2_raw_intr_stat_reg( &self, ) -> &'static Reg<I2C2RawIntrStatReg_SPEC, RW>

I2C Raw Interrupt Status Register

Source

pub const fn i2c2_rxflr_reg(&self) -> &'static Reg<I2C2RxflrReg_SPEC, RW>

I2C Receive FIFO Level Register

Source

pub const fn i2c2_rx_tl_reg(&self) -> &'static Reg<I2C2RxTlReg_SPEC, RW>

I2C Receive FIFO Threshold Register

Source

pub const fn i2c2_sar_reg(&self) -> &'static Reg<I2C2SarReg_SPEC, RW>

I2C Slave Address Register

Source

pub const fn i2c2_sda_hold_reg(&self) -> &'static Reg<I2C2SdaHoldReg_SPEC, RW>

I2C SDA Hold Time Length Register

Source

pub const fn i2c2_sda_setup_reg(&self) -> &'static Reg<I2C2SdaSetupReg_SPEC, RW>

I2C SDA Setup Register

Source

pub const fn i2c2_ss_scl_hcnt_reg( &self, ) -> &'static Reg<I2C2SsSclHcntReg_SPEC, RW>

Standard Speed I2C Clock SCL High Count Register

Source

pub const fn i2c2_ss_scl_lcnt_reg( &self, ) -> &'static Reg<I2C2SsSclLcntReg_SPEC, RW>

Standard Speed I2C Clock SCL Low Count Register

Source

pub const fn i2c2_status_reg(&self) -> &'static Reg<I2C2StatusReg_SPEC, RW>

I2C Status Register

Source

pub const fn i2c2_tar_reg(&self) -> &'static Reg<I2C2TarReg_SPEC, RW>

I2C Target Address Register

Source

pub const fn i2c2_txflr_reg(&self) -> &'static Reg<I2C2TxflrReg_SPEC, RW>

I2C Transmit FIFO Level Register

Source

pub const fn i2c2_tx_abrt_source_reg( &self, ) -> &'static Reg<I2C2TxAbrtSourceReg_SPEC, RW>

I2C Transmit Abort Source Register

Source

pub const fn i2c2_tx_tl_reg(&self) -> &'static Reg<I2C2TxTlReg_SPEC, RW>

I2C Transmit FIFO Threshold Register

Trait Implementations§

Source§

impl Clone for I2C2

Source§

fn clone(&self) -> I2C2

Returns a duplicate of the value. Read more
1.0.0 · Source§

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

Performs copy-assignment from source. Read more
Source§

impl PartialEq for I2C2

Source§

fn eq(&self, other: &I2C2) -> 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.
Source§

impl Copy for I2C2

Source§

impl Eq for I2C2

Source§

impl Send for I2C2

I2C2 registers

Source§

impl StructuralPartialEq for I2C2

Source§

impl Sync for I2C2

Auto Trait Implementations§

§

impl Freeze for I2C2

§

impl RefUnwindSafe for I2C2

§

impl Unpin for I2C2

§

impl UnwindSafe for I2C2

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, dest: *mut u8)

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