I2C

Struct I2C 

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

Implementations§

Source§

impl I2C

Source

pub const fn i2c_ack_general_call_reg( &self, ) -> &'static Reg<I2CAckGeneralCallReg_SPEC, RW>

I2C ACK General Call Register

Source

pub const fn i2c_clr_activity_reg( &self, ) -> &'static Reg<I2CClrActivityReg_SPEC, RW>

Clear ACTIVITY Interrupt Register

Source

pub const fn i2c_clr_gen_call_reg( &self, ) -> &'static Reg<I2CClrGenCallReg_SPEC, RW>

Clear GEN_CALL Interrupt Register

Source

pub const fn i2c_clr_intr_reg(&self) -> &'static Reg<I2CClrIntrReg_SPEC, RW>

Clear Combined and Individual Interrupt Register

Source

pub const fn i2c_clr_rd_req_reg(&self) -> &'static Reg<I2CClrRdReqReg_SPEC, RW>

Clear RD_REQ Interrupt Register

Source

pub const fn i2c_clr_rx_done_reg( &self, ) -> &'static Reg<I2CClrRxDoneReg_SPEC, RW>

Clear RX_DONE Interrupt Register

Source

pub const fn i2c_clr_rx_over_reg( &self, ) -> &'static Reg<I2CClrRxOverReg_SPEC, RW>

Clear RX_OVER Interrupt Register

Source

pub const fn i2c_clr_rx_under_reg( &self, ) -> &'static Reg<I2CClrRxUnderReg_SPEC, RW>

Clear RX_UNDER Interrupt Register

Source

pub const fn i2c_clr_start_det_reg( &self, ) -> &'static Reg<I2CClrStartDetReg_SPEC, RW>

Clear START_DET Interrupt Register

Source

pub const fn i2c_clr_stop_det_reg( &self, ) -> &'static Reg<I2CClrStopDetReg_SPEC, RW>

Clear STOP_DET Interrupt Register

Source

pub const fn i2c_clr_tx_abrt_reg( &self, ) -> &'static Reg<I2CClrTxAbrtReg_SPEC, RW>

Clear TX_ABRT Interrupt Register

Source

pub const fn i2c_clr_tx_over_reg( &self, ) -> &'static Reg<I2CClrTxOverReg_SPEC, RW>

Clear TX_OVER Interrupt Register

Source

pub const fn i2c_comp2_version(&self) -> &'static Reg<I2CComp2Version_SPEC, RW>

I2C Component2 Version Register

Source

pub const fn i2c_comp_param1_reg( &self, ) -> &'static Reg<I2CCompParam1Reg_SPEC, RW>

Component Parameter Register

Source

pub const fn i2c_comp_param2_reg( &self, ) -> &'static Reg<I2CCompParam2Reg_SPEC, RW>

Component Parameter Register 2

Source

pub const fn i2c_comp_type2_reg(&self) -> &'static Reg<I2CCompType2Reg_SPEC, RW>

I2C Component2 Type Register

Source

pub const fn i2c_comp_type_reg(&self) -> &'static Reg<I2CCompTypeReg_SPEC, RW>

I2C Component Type Register

Source

pub const fn i2c_comp_version_reg( &self, ) -> &'static Reg<I2CCompVersionReg_SPEC, RW>

I2C Component Version Register

Source

pub const fn i2c_con_reg(&self) -> &'static Reg<I2CConReg_SPEC, RW>

I2C Control Register

Source

pub const fn i2c_data_cmd_reg(&self) -> &'static Reg<I2CDataCmdReg_SPEC, RW>

I2C Rx/Tx Data Buffer and Command Register

Source

pub const fn i2c_dma_cr_reg(&self) -> &'static Reg<I2CDmaCrReg_SPEC, RW>

DMA Control Register

Source

pub const fn i2c_dma_rdlr_reg(&self) -> &'static Reg<I2CDmaRdlrReg_SPEC, RW>

I2C Receive Data Level Register

Source

pub const fn i2c_dma_tdlr_reg(&self) -> &'static Reg<I2CDmaTdlrReg_SPEC, RW>

DMA Transmit Data Level Register

Source

pub const fn i2c_enable_reg(&self) -> &'static Reg<I2CEnableReg_SPEC, RW>

I2C Enable Register

Source

pub const fn i2c_enable_status_reg( &self, ) -> &'static Reg<I2CEnableStatusReg_SPEC, RW>

I2C Enable Status Register

Source

pub const fn i2c_fs_scl_hcnt_reg( &self, ) -> &'static Reg<I2CFsSclHcntReg_SPEC, RW>

Fast Speed I2C Clock SCL High Count Register

Source

pub const fn i2c_fs_scl_lcnt_reg( &self, ) -> &'static Reg<I2CFsSclLcntReg_SPEC, RW>

Fast Speed I2C Clock SCL Low Count Register

Source

pub const fn i2c_ic_fs_spklen_reg( &self, ) -> &'static Reg<I2CIcFsSpklenReg_SPEC, RW>

I2C SS and FS spike suppression limit Size

Source

pub const fn i2c_intr_mask_reg(&self) -> &'static Reg<I2CIntrMaskReg_SPEC, RW>

I2C Interrupt Mask Register

Source

pub const fn i2c_intr_stat_reg(&self) -> &'static Reg<I2CIntrStatReg_SPEC, RW>

I2C Interrupt Status Register

Source

pub const fn i2c_raw_intr_stat_reg( &self, ) -> &'static Reg<I2CRawIntrStatReg_SPEC, RW>

I2C Raw Interrupt Status Register

Source

pub const fn i2c_rxflr_reg(&self) -> &'static Reg<I2CRxflrReg_SPEC, RW>

I2C Receive FIFO Level Register

Source

pub const fn i2c_rx_tl_reg(&self) -> &'static Reg<I2CRxTlReg_SPEC, RW>

I2C Receive FIFO Threshold Register

Source

pub const fn i2c_sar_reg(&self) -> &'static Reg<I2CSarReg_SPEC, RW>

I2C Slave Address Register

Source

pub const fn i2c_sda_hold_reg(&self) -> &'static Reg<I2CSdaHoldReg_SPEC, RW>

I2C SDA Hold Time Length Register

Source

pub const fn i2c_sda_setup_reg(&self) -> &'static Reg<I2CSdaSetupReg_SPEC, RW>

I2C SDA Setup Register

Source

pub const fn i2c_ss_scl_hcnt_reg( &self, ) -> &'static Reg<I2CSsSclHcntReg_SPEC, RW>

Standard Speed I2C Clock SCL High Count Register

Source

pub const fn i2c_ss_scl_lcnt_reg( &self, ) -> &'static Reg<I2CSsSclLcntReg_SPEC, RW>

Standard Speed I2C Clock SCL Low Count Register

Source

pub const fn i2c_status_reg(&self) -> &'static Reg<I2CStatusReg_SPEC, RW>

I2C Status Register

Source

pub const fn i2c_tar_reg(&self) -> &'static Reg<I2CTarReg_SPEC, RW>

I2C Target Address Register

Source

pub const fn i2c_txflr_reg(&self) -> &'static Reg<I2CTxflrReg_SPEC, RW>

I2C Transmit FIFO Level Register

Source

pub const fn i2c_tx_abrt_source_reg( &self, ) -> &'static Reg<I2CTxAbrtSourceReg_SPEC, RW>

I2C Transmit Abort Source Register

Source

pub const fn i2c_tx_tl_reg(&self) -> &'static Reg<I2CTxTlReg_SPEC, RW>

I2C Transmit FIFO Threshold Register

Trait Implementations§

Source§

impl Clone for I2C

Source§

fn clone(&self) -> I2C

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 I2C

Source§

fn eq(&self, other: &I2C) -> 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 I2C

Source§

impl Eq for I2C

Source§

impl Send for I2C

I2C registers

Source§

impl StructuralPartialEq for I2C

Source§

impl Sync for I2C

Auto Trait Implementations§

§

impl Freeze for I2C

§

impl RefUnwindSafe for I2C

§

impl Unpin for I2C

§

impl UnwindSafe for I2C

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.