pub struct I2C { /* private fields */ }Implementations§
Source§impl I2C
impl I2C
Sourcepub const fn i2c_ack_general_call_reg(
&self,
) -> &'static Reg<I2CAckGeneralCallReg_SPEC, RW>
pub const fn i2c_ack_general_call_reg( &self, ) -> &'static Reg<I2CAckGeneralCallReg_SPEC, RW>
I2C ACK General Call Register
Sourcepub const fn i2c_clr_activity_reg(
&self,
) -> &'static Reg<I2CClrActivityReg_SPEC, RW>
pub const fn i2c_clr_activity_reg( &self, ) -> &'static Reg<I2CClrActivityReg_SPEC, RW>
Clear ACTIVITY Interrupt Register
Sourcepub const fn i2c_clr_gen_call_reg(
&self,
) -> &'static Reg<I2CClrGenCallReg_SPEC, RW>
pub const fn i2c_clr_gen_call_reg( &self, ) -> &'static Reg<I2CClrGenCallReg_SPEC, RW>
Clear GEN_CALL Interrupt Register
Sourcepub const fn i2c_clr_intr_reg(&self) -> &'static Reg<I2CClrIntrReg_SPEC, RW>
pub const fn i2c_clr_intr_reg(&self) -> &'static Reg<I2CClrIntrReg_SPEC, RW>
Clear Combined and Individual Interrupt Register
Sourcepub const fn i2c_clr_rd_req_reg(&self) -> &'static Reg<I2CClrRdReqReg_SPEC, RW>
pub const fn i2c_clr_rd_req_reg(&self) -> &'static Reg<I2CClrRdReqReg_SPEC, RW>
Clear RD_REQ Interrupt Register
Sourcepub const fn i2c_clr_rx_done_reg(
&self,
) -> &'static Reg<I2CClrRxDoneReg_SPEC, RW>
pub const fn i2c_clr_rx_done_reg( &self, ) -> &'static Reg<I2CClrRxDoneReg_SPEC, RW>
Clear RX_DONE Interrupt Register
Sourcepub const fn i2c_clr_rx_over_reg(
&self,
) -> &'static Reg<I2CClrRxOverReg_SPEC, RW>
pub const fn i2c_clr_rx_over_reg( &self, ) -> &'static Reg<I2CClrRxOverReg_SPEC, RW>
Clear RX_OVER Interrupt Register
Sourcepub const fn i2c_clr_rx_under_reg(
&self,
) -> &'static Reg<I2CClrRxUnderReg_SPEC, RW>
pub const fn i2c_clr_rx_under_reg( &self, ) -> &'static Reg<I2CClrRxUnderReg_SPEC, RW>
Clear RX_UNDER Interrupt Register
Sourcepub const fn i2c_clr_start_det_reg(
&self,
) -> &'static Reg<I2CClrStartDetReg_SPEC, RW>
pub const fn i2c_clr_start_det_reg( &self, ) -> &'static Reg<I2CClrStartDetReg_SPEC, RW>
Clear START_DET Interrupt Register
Sourcepub const fn i2c_clr_stop_det_reg(
&self,
) -> &'static Reg<I2CClrStopDetReg_SPEC, RW>
pub const fn i2c_clr_stop_det_reg( &self, ) -> &'static Reg<I2CClrStopDetReg_SPEC, RW>
Clear STOP_DET Interrupt Register
Sourcepub const fn i2c_clr_tx_abrt_reg(
&self,
) -> &'static Reg<I2CClrTxAbrtReg_SPEC, RW>
pub const fn i2c_clr_tx_abrt_reg( &self, ) -> &'static Reg<I2CClrTxAbrtReg_SPEC, RW>
Clear TX_ABRT Interrupt Register
Sourcepub const fn i2c_clr_tx_over_reg(
&self,
) -> &'static Reg<I2CClrTxOverReg_SPEC, RW>
pub const fn i2c_clr_tx_over_reg( &self, ) -> &'static Reg<I2CClrTxOverReg_SPEC, RW>
Clear TX_OVER Interrupt Register
Sourcepub const fn i2c_comp2_version(&self) -> &'static Reg<I2CComp2Version_SPEC, RW>
pub const fn i2c_comp2_version(&self) -> &'static Reg<I2CComp2Version_SPEC, RW>
I2C Component2 Version Register
Sourcepub const fn i2c_comp_param1_reg(
&self,
) -> &'static Reg<I2CCompParam1Reg_SPEC, RW>
pub const fn i2c_comp_param1_reg( &self, ) -> &'static Reg<I2CCompParam1Reg_SPEC, RW>
Component Parameter Register
Sourcepub const fn i2c_comp_param2_reg(
&self,
) -> &'static Reg<I2CCompParam2Reg_SPEC, RW>
pub const fn i2c_comp_param2_reg( &self, ) -> &'static Reg<I2CCompParam2Reg_SPEC, RW>
Component Parameter Register 2
Sourcepub const fn i2c_comp_type2_reg(&self) -> &'static Reg<I2CCompType2Reg_SPEC, RW>
pub const fn i2c_comp_type2_reg(&self) -> &'static Reg<I2CCompType2Reg_SPEC, RW>
I2C Component2 Type Register
Sourcepub const fn i2c_comp_type_reg(&self) -> &'static Reg<I2CCompTypeReg_SPEC, RW>
pub const fn i2c_comp_type_reg(&self) -> &'static Reg<I2CCompTypeReg_SPEC, RW>
I2C Component Type Register
Sourcepub const fn i2c_comp_version_reg(
&self,
) -> &'static Reg<I2CCompVersionReg_SPEC, RW>
pub const fn i2c_comp_version_reg( &self, ) -> &'static Reg<I2CCompVersionReg_SPEC, RW>
I2C Component Version Register
Sourcepub const fn i2c_con_reg(&self) -> &'static Reg<I2CConReg_SPEC, RW>
pub const fn i2c_con_reg(&self) -> &'static Reg<I2CConReg_SPEC, RW>
I2C Control Register
Sourcepub const fn i2c_data_cmd_reg(&self) -> &'static Reg<I2CDataCmdReg_SPEC, RW>
pub const fn i2c_data_cmd_reg(&self) -> &'static Reg<I2CDataCmdReg_SPEC, RW>
I2C Rx/Tx Data Buffer and Command Register
Sourcepub const fn i2c_dma_cr_reg(&self) -> &'static Reg<I2CDmaCrReg_SPEC, RW>
pub const fn i2c_dma_cr_reg(&self) -> &'static Reg<I2CDmaCrReg_SPEC, RW>
DMA Control Register
Sourcepub const fn i2c_dma_rdlr_reg(&self) -> &'static Reg<I2CDmaRdlrReg_SPEC, RW>
pub const fn i2c_dma_rdlr_reg(&self) -> &'static Reg<I2CDmaRdlrReg_SPEC, RW>
I2C Receive Data Level Register
Sourcepub const fn i2c_dma_tdlr_reg(&self) -> &'static Reg<I2CDmaTdlrReg_SPEC, RW>
pub const fn i2c_dma_tdlr_reg(&self) -> &'static Reg<I2CDmaTdlrReg_SPEC, RW>
DMA Transmit Data Level Register
Sourcepub const fn i2c_enable_reg(&self) -> &'static Reg<I2CEnableReg_SPEC, RW>
pub const fn i2c_enable_reg(&self) -> &'static Reg<I2CEnableReg_SPEC, RW>
I2C Enable Register
Sourcepub const fn i2c_enable_status_reg(
&self,
) -> &'static Reg<I2CEnableStatusReg_SPEC, RW>
pub const fn i2c_enable_status_reg( &self, ) -> &'static Reg<I2CEnableStatusReg_SPEC, RW>
I2C Enable Status Register
Sourcepub const fn i2c_fs_scl_hcnt_reg(
&self,
) -> &'static Reg<I2CFsSclHcntReg_SPEC, RW>
pub const fn i2c_fs_scl_hcnt_reg( &self, ) -> &'static Reg<I2CFsSclHcntReg_SPEC, RW>
Fast Speed I2C Clock SCL High Count Register
Sourcepub const fn i2c_fs_scl_lcnt_reg(
&self,
) -> &'static Reg<I2CFsSclLcntReg_SPEC, RW>
pub const fn i2c_fs_scl_lcnt_reg( &self, ) -> &'static Reg<I2CFsSclLcntReg_SPEC, RW>
Fast Speed I2C Clock SCL Low Count Register
Sourcepub const fn i2c_ic_fs_spklen_reg(
&self,
) -> &'static Reg<I2CIcFsSpklenReg_SPEC, RW>
pub const fn i2c_ic_fs_spklen_reg( &self, ) -> &'static Reg<I2CIcFsSpklenReg_SPEC, RW>
I2C SS and FS spike suppression limit Size
Sourcepub const fn i2c_intr_mask_reg(&self) -> &'static Reg<I2CIntrMaskReg_SPEC, RW>
pub const fn i2c_intr_mask_reg(&self) -> &'static Reg<I2CIntrMaskReg_SPEC, RW>
I2C Interrupt Mask Register
Sourcepub const fn i2c_intr_stat_reg(&self) -> &'static Reg<I2CIntrStatReg_SPEC, RW>
pub const fn i2c_intr_stat_reg(&self) -> &'static Reg<I2CIntrStatReg_SPEC, RW>
I2C Interrupt Status Register
Sourcepub const fn i2c_raw_intr_stat_reg(
&self,
) -> &'static Reg<I2CRawIntrStatReg_SPEC, RW>
pub const fn i2c_raw_intr_stat_reg( &self, ) -> &'static Reg<I2CRawIntrStatReg_SPEC, RW>
I2C Raw Interrupt Status Register
Sourcepub const fn i2c_rxflr_reg(&self) -> &'static Reg<I2CRxflrReg_SPEC, RW>
pub const fn i2c_rxflr_reg(&self) -> &'static Reg<I2CRxflrReg_SPEC, RW>
I2C Receive FIFO Level Register
Sourcepub const fn i2c_rx_tl_reg(&self) -> &'static Reg<I2CRxTlReg_SPEC, RW>
pub const fn i2c_rx_tl_reg(&self) -> &'static Reg<I2CRxTlReg_SPEC, RW>
I2C Receive FIFO Threshold Register
Sourcepub const fn i2c_sar_reg(&self) -> &'static Reg<I2CSarReg_SPEC, RW>
pub const fn i2c_sar_reg(&self) -> &'static Reg<I2CSarReg_SPEC, RW>
I2C Slave Address Register
Sourcepub const fn i2c_sda_hold_reg(&self) -> &'static Reg<I2CSdaHoldReg_SPEC, RW>
pub const fn i2c_sda_hold_reg(&self) -> &'static Reg<I2CSdaHoldReg_SPEC, RW>
I2C SDA Hold Time Length Register
Sourcepub const fn i2c_sda_setup_reg(&self) -> &'static Reg<I2CSdaSetupReg_SPEC, RW>
pub const fn i2c_sda_setup_reg(&self) -> &'static Reg<I2CSdaSetupReg_SPEC, RW>
I2C SDA Setup Register
Sourcepub const fn i2c_ss_scl_hcnt_reg(
&self,
) -> &'static Reg<I2CSsSclHcntReg_SPEC, RW>
pub const fn i2c_ss_scl_hcnt_reg( &self, ) -> &'static Reg<I2CSsSclHcntReg_SPEC, RW>
Standard Speed I2C Clock SCL High Count Register
Sourcepub const fn i2c_ss_scl_lcnt_reg(
&self,
) -> &'static Reg<I2CSsSclLcntReg_SPEC, RW>
pub const fn i2c_ss_scl_lcnt_reg( &self, ) -> &'static Reg<I2CSsSclLcntReg_SPEC, RW>
Standard Speed I2C Clock SCL Low Count Register
Sourcepub const fn i2c_status_reg(&self) -> &'static Reg<I2CStatusReg_SPEC, RW>
pub const fn i2c_status_reg(&self) -> &'static Reg<I2CStatusReg_SPEC, RW>
I2C Status Register
Sourcepub const fn i2c_tar_reg(&self) -> &'static Reg<I2CTarReg_SPEC, RW>
pub const fn i2c_tar_reg(&self) -> &'static Reg<I2CTarReg_SPEC, RW>
I2C Target Address Register
Sourcepub const fn i2c_txflr_reg(&self) -> &'static Reg<I2CTxflrReg_SPEC, RW>
pub const fn i2c_txflr_reg(&self) -> &'static Reg<I2CTxflrReg_SPEC, RW>
I2C Transmit FIFO Level Register
Sourcepub const fn i2c_tx_abrt_source_reg(
&self,
) -> &'static Reg<I2CTxAbrtSourceReg_SPEC, RW>
pub const fn i2c_tx_abrt_source_reg( &self, ) -> &'static Reg<I2CTxAbrtSourceReg_SPEC, RW>
I2C Transmit Abort Source Register
Sourcepub const fn i2c_tx_tl_reg(&self) -> &'static Reg<I2CTxTlReg_SPEC, RW>
pub const fn i2c_tx_tl_reg(&self) -> &'static Reg<I2CTxTlReg_SPEC, RW>
I2C Transmit FIFO Threshold Register
Trait Implementations§
impl Copy for I2C
impl Eq for I2C
impl Send for I2C
I2C registers