[−][src]Struct imxrt1062_lpi2c1::R
Register/field reader
Result of the read
method of a register.
Also it can be used in the modify
method
Methods
impl<U, T> R<U, T> where
U: Copy,
[src]
U: Copy,
impl<FI> R<bool, FI>
[src]
pub fn bit(&self) -> bool
[src]
Value of the field as raw bits
pub fn bit_is_clear(&self) -> bool
[src]
Returns true
if the bit is clear (0)
pub fn bit_is_set(&self) -> bool
[src]
Returns true
if the bit is set (1)
impl R<u16, FEATURE_A>
[src]
pub fn variant(&self) -> Variant<u16, FEATURE_A>
[src]
Get enumerated values variant
pub fn is_feature_2(&self) -> bool
[src]
Checks if the value of the field is FEATURE_2
pub fn is_feature_3(&self) -> bool
[src]
Checks if the value of the field is FEATURE_3
impl R<u32, Reg<u32, _VERID>>
[src]
pub fn feature(&self) -> FEATURE_R
[src]
Bits 0:15 - Feature Specification Number
pub fn minor(&self) -> MINOR_R
[src]
Bits 16:23 - Minor Version Number
pub fn major(&self) -> MAJOR_R
[src]
Bits 24:31 - Major Version Number
impl R<u32, Reg<u32, _PARAM>>
[src]
pub fn mtxfifo(&self) -> MTXFIFO_R
[src]
Bits 0:3 - Master Transmit FIFO Size
pub fn mrxfifo(&self) -> MRXFIFO_R
[src]
Bits 8:11 - Master Receive FIFO Size
impl R<bool, MEN_A>
[src]
pub fn variant(&self) -> MEN_A
[src]
Get enumerated values variant
pub fn is_men_0(&self) -> bool
[src]
Checks if the value of the field is MEN_0
pub fn is_men_1(&self) -> bool
[src]
Checks if the value of the field is MEN_1
impl R<bool, RST_A>
[src]
pub fn variant(&self) -> RST_A
[src]
Get enumerated values variant
pub fn is_rst_0(&self) -> bool
[src]
Checks if the value of the field is RST_0
pub fn is_rst_1(&self) -> bool
[src]
Checks if the value of the field is RST_1
impl R<bool, DOZEN_A>
[src]
pub fn variant(&self) -> DOZEN_A
[src]
Get enumerated values variant
pub fn is_dozen_0(&self) -> bool
[src]
Checks if the value of the field is DOZEN_0
pub fn is_dozen_1(&self) -> bool
[src]
Checks if the value of the field is DOZEN_1
impl R<bool, DBGEN_A>
[src]
pub fn variant(&self) -> DBGEN_A
[src]
Get enumerated values variant
pub fn is_dbgen_0(&self) -> bool
[src]
Checks if the value of the field is DBGEN_0
pub fn is_dbgen_1(&self) -> bool
[src]
Checks if the value of the field is DBGEN_1
impl R<bool, RTF_A>
[src]
pub fn variant(&self) -> RTF_A
[src]
Get enumerated values variant
pub fn is_rtf_0(&self) -> bool
[src]
Checks if the value of the field is RTF_0
pub fn is_rtf_1(&self) -> bool
[src]
Checks if the value of the field is RTF_1
impl R<bool, RRF_A>
[src]
pub fn variant(&self) -> RRF_A
[src]
Get enumerated values variant
pub fn is_rrf_0(&self) -> bool
[src]
Checks if the value of the field is RRF_0
pub fn is_rrf_1(&self) -> bool
[src]
Checks if the value of the field is RRF_1
impl R<u32, Reg<u32, _MCR>>
[src]
pub fn men(&self) -> MEN_R
[src]
Bit 0 - Master Enable
pub fn rst(&self) -> RST_R
[src]
Bit 1 - Software Reset
pub fn dozen(&self) -> DOZEN_R
[src]
Bit 2 - Doze mode enable
pub fn dbgen(&self) -> DBGEN_R
[src]
Bit 3 - Debug Enable
pub fn rtf(&self) -> RTF_R
[src]
Bit 8 - Reset Transmit FIFO
pub fn rrf(&self) -> RRF_R
[src]
Bit 9 - Reset Receive FIFO
impl R<bool, TDF_A>
[src]
pub fn variant(&self) -> TDF_A
[src]
Get enumerated values variant
pub fn is_tdf_0(&self) -> bool
[src]
Checks if the value of the field is TDF_0
pub fn is_tdf_1(&self) -> bool
[src]
Checks if the value of the field is TDF_1
impl R<bool, RDF_A>
[src]
pub fn variant(&self) -> RDF_A
[src]
Get enumerated values variant
pub fn is_rdf_0(&self) -> bool
[src]
Checks if the value of the field is RDF_0
pub fn is_rdf_1(&self) -> bool
[src]
Checks if the value of the field is RDF_1
impl R<bool, EPF_A>
[src]
pub fn variant(&self) -> EPF_A
[src]
Get enumerated values variant
pub fn is_epf_0(&self) -> bool
[src]
Checks if the value of the field is EPF_0
pub fn is_epf_1(&self) -> bool
[src]
Checks if the value of the field is EPF_1
impl R<bool, SDF_A>
[src]
pub fn variant(&self) -> SDF_A
[src]
Get enumerated values variant
pub fn is_sdf_0(&self) -> bool
[src]
Checks if the value of the field is SDF_0
pub fn is_sdf_1(&self) -> bool
[src]
Checks if the value of the field is SDF_1
impl R<bool, NDF_A>
[src]
pub fn variant(&self) -> NDF_A
[src]
Get enumerated values variant
pub fn is_ndf_0(&self) -> bool
[src]
Checks if the value of the field is NDF_0
pub fn is_ndf_1(&self) -> bool
[src]
Checks if the value of the field is NDF_1
impl R<bool, ALF_A>
[src]
pub fn variant(&self) -> ALF_A
[src]
Get enumerated values variant
pub fn is_alf_0(&self) -> bool
[src]
Checks if the value of the field is ALF_0
pub fn is_alf_1(&self) -> bool
[src]
Checks if the value of the field is ALF_1
impl R<bool, FEF_A>
[src]
pub fn variant(&self) -> FEF_A
[src]
Get enumerated values variant
pub fn is_fef_0(&self) -> bool
[src]
Checks if the value of the field is FEF_0
pub fn is_fef_1(&self) -> bool
[src]
Checks if the value of the field is FEF_1
impl R<bool, PLTF_A>
[src]
pub fn variant(&self) -> PLTF_A
[src]
Get enumerated values variant
pub fn is_pltf_0(&self) -> bool
[src]
Checks if the value of the field is PLTF_0
pub fn is_pltf_1(&self) -> bool
[src]
Checks if the value of the field is PLTF_1
impl R<bool, DMF_A>
[src]
pub fn variant(&self) -> DMF_A
[src]
Get enumerated values variant
pub fn is_dmf_0(&self) -> bool
[src]
Checks if the value of the field is DMF_0
pub fn is_dmf_1(&self) -> bool
[src]
Checks if the value of the field is DMF_1
impl R<bool, MBF_A>
[src]
pub fn variant(&self) -> MBF_A
[src]
Get enumerated values variant
pub fn is_mbf_0(&self) -> bool
[src]
Checks if the value of the field is MBF_0
pub fn is_mbf_1(&self) -> bool
[src]
Checks if the value of the field is MBF_1
impl R<bool, BBF_A>
[src]
pub fn variant(&self) -> BBF_A
[src]
Get enumerated values variant
pub fn is_bbf_0(&self) -> bool
[src]
Checks if the value of the field is BBF_0
pub fn is_bbf_1(&self) -> bool
[src]
Checks if the value of the field is BBF_1
impl R<u32, Reg<u32, _MSR>>
[src]
pub fn tdf(&self) -> TDF_R
[src]
Bit 0 - Transmit Data Flag
pub fn rdf(&self) -> RDF_R
[src]
Bit 1 - Receive Data Flag
pub fn epf(&self) -> EPF_R
[src]
Bit 8 - End Packet Flag
pub fn sdf(&self) -> SDF_R
[src]
Bit 9 - STOP Detect Flag
pub fn ndf(&self) -> NDF_R
[src]
Bit 10 - NACK Detect Flag
pub fn alf(&self) -> ALF_R
[src]
Bit 11 - Arbitration Lost Flag
pub fn fef(&self) -> FEF_R
[src]
Bit 12 - FIFO Error Flag
pub fn pltf(&self) -> PLTF_R
[src]
Bit 13 - Pin Low Timeout Flag
pub fn dmf(&self) -> DMF_R
[src]
Bit 14 - Data Match Flag
pub fn mbf(&self) -> MBF_R
[src]
Bit 24 - Master Busy Flag
pub fn bbf(&self) -> BBF_R
[src]
Bit 25 - Bus Busy Flag
impl R<bool, TDIE_A>
[src]
pub fn variant(&self) -> TDIE_A
[src]
Get enumerated values variant
pub fn is_tdie_0(&self) -> bool
[src]
Checks if the value of the field is TDIE_0
pub fn is_tdie_1(&self) -> bool
[src]
Checks if the value of the field is TDIE_1
impl R<bool, RDIE_A>
[src]
pub fn variant(&self) -> RDIE_A
[src]
Get enumerated values variant
pub fn is_rdie_0(&self) -> bool
[src]
Checks if the value of the field is RDIE_0
pub fn is_rdie_1(&self) -> bool
[src]
Checks if the value of the field is RDIE_1
impl R<bool, EPIE_A>
[src]
pub fn variant(&self) -> EPIE_A
[src]
Get enumerated values variant
pub fn is_epie_0(&self) -> bool
[src]
Checks if the value of the field is EPIE_0
pub fn is_epie_1(&self) -> bool
[src]
Checks if the value of the field is EPIE_1
impl R<bool, SDIE_A>
[src]
pub fn variant(&self) -> SDIE_A
[src]
Get enumerated values variant
pub fn is_sdie_0(&self) -> bool
[src]
Checks if the value of the field is SDIE_0
pub fn is_sdie_1(&self) -> bool
[src]
Checks if the value of the field is SDIE_1
impl R<bool, NDIE_A>
[src]
pub fn variant(&self) -> NDIE_A
[src]
Get enumerated values variant
pub fn is_ndie_0(&self) -> bool
[src]
Checks if the value of the field is NDIE_0
pub fn is_ndie_1(&self) -> bool
[src]
Checks if the value of the field is NDIE_1
impl R<bool, ALIE_A>
[src]
pub fn variant(&self) -> ALIE_A
[src]
Get enumerated values variant
pub fn is_alie_0(&self) -> bool
[src]
Checks if the value of the field is ALIE_0
pub fn is_alie_1(&self) -> bool
[src]
Checks if the value of the field is ALIE_1
impl R<bool, FEIE_A>
[src]
pub fn variant(&self) -> FEIE_A
[src]
Get enumerated values variant
pub fn is_feie_0(&self) -> bool
[src]
Checks if the value of the field is FEIE_0
pub fn is_feie_1(&self) -> bool
[src]
Checks if the value of the field is FEIE_1
impl R<bool, PLTIE_A>
[src]
pub fn variant(&self) -> PLTIE_A
[src]
Get enumerated values variant
pub fn is_pltie_0(&self) -> bool
[src]
Checks if the value of the field is PLTIE_0
pub fn is_pltie_1(&self) -> bool
[src]
Checks if the value of the field is PLTIE_1
impl R<bool, DMIE_A>
[src]
pub fn variant(&self) -> DMIE_A
[src]
Get enumerated values variant
pub fn is_dmie_0(&self) -> bool
[src]
Checks if the value of the field is DMIE_0
pub fn is_dmie_1(&self) -> bool
[src]
Checks if the value of the field is DMIE_1
impl R<u32, Reg<u32, _MIER>>
[src]
pub fn tdie(&self) -> TDIE_R
[src]
Bit 0 - Transmit Data Interrupt Enable
pub fn rdie(&self) -> RDIE_R
[src]
Bit 1 - Receive Data Interrupt Enable
pub fn epie(&self) -> EPIE_R
[src]
Bit 8 - End Packet Interrupt Enable
pub fn sdie(&self) -> SDIE_R
[src]
Bit 9 - STOP Detect Interrupt Enable
pub fn ndie(&self) -> NDIE_R
[src]
Bit 10 - NACK Detect Interrupt Enable
pub fn alie(&self) -> ALIE_R
[src]
Bit 11 - Arbitration Lost Interrupt Enable
pub fn feie(&self) -> FEIE_R
[src]
Bit 12 - FIFO Error Interrupt Enable
pub fn pltie(&self) -> PLTIE_R
[src]
Bit 13 - Pin Low Timeout Interrupt Enable
pub fn dmie(&self) -> DMIE_R
[src]
Bit 14 - Data Match Interrupt Enable
impl R<bool, TDDE_A>
[src]
pub fn variant(&self) -> TDDE_A
[src]
Get enumerated values variant
pub fn is_tdde_0(&self) -> bool
[src]
Checks if the value of the field is TDDE_0
pub fn is_tdde_1(&self) -> bool
[src]
Checks if the value of the field is TDDE_1
impl R<bool, RDDE_A>
[src]
pub fn variant(&self) -> RDDE_A
[src]
Get enumerated values variant
pub fn is_rdde_0(&self) -> bool
[src]
Checks if the value of the field is RDDE_0
pub fn is_rdde_1(&self) -> bool
[src]
Checks if the value of the field is RDDE_1
impl R<u32, Reg<u32, _MDER>>
[src]
pub fn tdde(&self) -> TDDE_R
[src]
Bit 0 - Transmit Data DMA Enable
pub fn rdde(&self) -> RDDE_R
[src]
Bit 1 - Receive Data DMA Enable
impl R<bool, HREN_A>
[src]
pub fn variant(&self) -> HREN_A
[src]
Get enumerated values variant
pub fn is_hren_0(&self) -> bool
[src]
Checks if the value of the field is HREN_0
pub fn is_hren_1(&self) -> bool
[src]
Checks if the value of the field is HREN_1
impl R<bool, HRPOL_A>
[src]
pub fn variant(&self) -> HRPOL_A
[src]
Get enumerated values variant
pub fn is_hrpol_0(&self) -> bool
[src]
Checks if the value of the field is HRPOL_0
pub fn is_hrpol_1(&self) -> bool
[src]
Checks if the value of the field is HRPOL_1
impl R<bool, HRSEL_A>
[src]
pub fn variant(&self) -> HRSEL_A
[src]
Get enumerated values variant
pub fn is_hrsel_0(&self) -> bool
[src]
Checks if the value of the field is HRSEL_0
pub fn is_hrsel_1(&self) -> bool
[src]
Checks if the value of the field is HRSEL_1
impl R<bool, CIRFIFO_A>
[src]
pub fn variant(&self) -> CIRFIFO_A
[src]
Get enumerated values variant
pub fn is_cirfifo_0(&self) -> bool
[src]
Checks if the value of the field is CIRFIFO_0
pub fn is_cirfifo_1(&self) -> bool
[src]
Checks if the value of the field is CIRFIFO_1
impl R<bool, RDMO_A>
[src]
pub fn variant(&self) -> RDMO_A
[src]
Get enumerated values variant
pub fn is_rdmo_0(&self) -> bool
[src]
Checks if the value of the field is RDMO_0
pub fn is_rdmo_1(&self) -> bool
[src]
Checks if the value of the field is RDMO_1
impl R<u32, Reg<u32, _MCFGR0>>
[src]
pub fn hren(&self) -> HREN_R
[src]
Bit 0 - Host Request Enable
pub fn hrpol(&self) -> HRPOL_R
[src]
Bit 1 - Host Request Polarity
pub fn hrsel(&self) -> HRSEL_R
[src]
Bit 2 - Host Request Select
pub fn cirfifo(&self) -> CIRFIFO_R
[src]
Bit 8 - Circular FIFO Enable
pub fn rdmo(&self) -> RDMO_R
[src]
Bit 9 - Receive Data Match Only
impl R<u8, PRESCALE_A>
[src]
pub fn variant(&self) -> PRESCALE_A
[src]
Get enumerated values variant
pub fn is_prescale_0(&self) -> bool
[src]
Checks if the value of the field is PRESCALE_0
pub fn is_prescale_1(&self) -> bool
[src]
Checks if the value of the field is PRESCALE_1
pub fn is_prescale_2(&self) -> bool
[src]
Checks if the value of the field is PRESCALE_2
pub fn is_prescale_3(&self) -> bool
[src]
Checks if the value of the field is PRESCALE_3
pub fn is_prescale_4(&self) -> bool
[src]
Checks if the value of the field is PRESCALE_4
pub fn is_prescale_5(&self) -> bool
[src]
Checks if the value of the field is PRESCALE_5
pub fn is_prescale_6(&self) -> bool
[src]
Checks if the value of the field is PRESCALE_6
pub fn is_prescale_7(&self) -> bool
[src]
Checks if the value of the field is PRESCALE_7
impl R<bool, AUTOSTOP_A>
[src]
pub fn variant(&self) -> AUTOSTOP_A
[src]
Get enumerated values variant
pub fn is_autostop_0(&self) -> bool
[src]
Checks if the value of the field is AUTOSTOP_0
pub fn is_autostop_1(&self) -> bool
[src]
Checks if the value of the field is AUTOSTOP_1
impl R<bool, IGNACK_A>
[src]
pub fn variant(&self) -> IGNACK_A
[src]
Get enumerated values variant
pub fn is_ignack_0(&self) -> bool
[src]
Checks if the value of the field is IGNACK_0
pub fn is_ignack_1(&self) -> bool
[src]
Checks if the value of the field is IGNACK_1
impl R<bool, TIMECFG_A>
[src]
pub fn variant(&self) -> TIMECFG_A
[src]
Get enumerated values variant
pub fn is_timecfg_0(&self) -> bool
[src]
Checks if the value of the field is TIMECFG_0
pub fn is_timecfg_1(&self) -> bool
[src]
Checks if the value of the field is TIMECFG_1
impl R<u8, MATCFG_A>
[src]
pub fn variant(&self) -> Variant<u8, MATCFG_A>
[src]
Get enumerated values variant
pub fn is_matcfg_0(&self) -> bool
[src]
Checks if the value of the field is MATCFG_0
pub fn is_matcfg_2(&self) -> bool
[src]
Checks if the value of the field is MATCFG_2
pub fn is_matcfg_3(&self) -> bool
[src]
Checks if the value of the field is MATCFG_3
pub fn is_matcfg_4(&self) -> bool
[src]
Checks if the value of the field is MATCFG_4
pub fn is_matcfg_5(&self) -> bool
[src]
Checks if the value of the field is MATCFG_5
pub fn is_matcfg_6(&self) -> bool
[src]
Checks if the value of the field is MATCFG_6
pub fn is_matcfg_7(&self) -> bool
[src]
Checks if the value of the field is MATCFG_7
impl R<u8, PINCFG_A>
[src]
pub fn variant(&self) -> PINCFG_A
[src]
Get enumerated values variant
pub fn is_pincfg_0(&self) -> bool
[src]
Checks if the value of the field is PINCFG_0
pub fn is_pincfg_1(&self) -> bool
[src]
Checks if the value of the field is PINCFG_1
pub fn is_pincfg_2(&self) -> bool
[src]
Checks if the value of the field is PINCFG_2
pub fn is_pincfg_3(&self) -> bool
[src]
Checks if the value of the field is PINCFG_3
pub fn is_pincfg_4(&self) -> bool
[src]
Checks if the value of the field is PINCFG_4
pub fn is_pincfg_5(&self) -> bool
[src]
Checks if the value of the field is PINCFG_5
pub fn is_pincfg_6(&self) -> bool
[src]
Checks if the value of the field is PINCFG_6
pub fn is_pincfg_7(&self) -> bool
[src]
Checks if the value of the field is PINCFG_7
impl R<u32, Reg<u32, _MCFGR1>>
[src]
pub fn prescale(&self) -> PRESCALE_R
[src]
Bits 0:2 - Prescaler
pub fn autostop(&self) -> AUTOSTOP_R
[src]
Bit 8 - Automatic STOP Generation
pub fn ignack(&self) -> IGNACK_R
[src]
Bit 9 - IGNACK
pub fn timecfg(&self) -> TIMECFG_R
[src]
Bit 10 - Timeout Configuration
pub fn matcfg(&self) -> MATCFG_R
[src]
Bits 16:18 - Match Configuration
pub fn pincfg(&self) -> PINCFG_R
[src]
Bits 24:26 - Pin Configuration
impl R<u32, Reg<u32, _MCFGR2>>
[src]
pub fn busidle(&self) -> BUSIDLE_R
[src]
Bits 0:11 - Bus Idle Timeout
pub fn filtscl(&self) -> FILTSCL_R
[src]
Bits 16:19 - Glitch Filter SCL
pub fn filtsda(&self) -> FILTSDA_R
[src]
Bits 24:27 - Glitch Filter SDA
impl R<u32, Reg<u32, _MCFGR3>>
[src]
impl R<u32, Reg<u32, _MDMR>>
[src]
pub fn match0(&self) -> MATCH0_R
[src]
Bits 0:7 - Match 0 Value
pub fn match1(&self) -> MATCH1_R
[src]
Bits 16:23 - Match 1 Value
impl R<u32, Reg<u32, _MCCR0>>
[src]
pub fn clklo(&self) -> CLKLO_R
[src]
Bits 0:5 - Clock Low Period
pub fn clkhi(&self) -> CLKHI_R
[src]
Bits 8:13 - Clock High Period
pub fn sethold(&self) -> SETHOLD_R
[src]
Bits 16:21 - Setup Hold Delay
pub fn datavd(&self) -> DATAVD_R
[src]
Bits 24:29 - Data Valid Delay
impl R<u32, Reg<u32, _MCCR1>>
[src]
pub fn clklo(&self) -> CLKLO_R
[src]
Bits 0:5 - Clock Low Period
pub fn clkhi(&self) -> CLKHI_R
[src]
Bits 8:13 - Clock High Period
pub fn sethold(&self) -> SETHOLD_R
[src]
Bits 16:21 - Setup Hold Delay
pub fn datavd(&self) -> DATAVD_R
[src]
Bits 24:29 - Data Valid Delay
impl R<u32, Reg<u32, _MFCR>>
[src]
pub fn txwater(&self) -> TXWATER_R
[src]
Bits 0:1 - Transmit FIFO Watermark
pub fn rxwater(&self) -> RXWATER_R
[src]
Bits 16:17 - Receive FIFO Watermark
impl R<u32, Reg<u32, _MFSR>>
[src]
pub fn txcount(&self) -> TXCOUNT_R
[src]
Bits 0:2 - Transmit FIFO Count
pub fn rxcount(&self) -> RXCOUNT_R
[src]
Bits 16:18 - Receive FIFO Count
impl R<bool, RXEMPTY_A>
[src]
pub fn variant(&self) -> RXEMPTY_A
[src]
Get enumerated values variant
pub fn is_rxempty_0(&self) -> bool
[src]
Checks if the value of the field is RXEMPTY_0
pub fn is_rxempty_1(&self) -> bool
[src]
Checks if the value of the field is RXEMPTY_1
impl R<u32, Reg<u32, _MRDR>>
[src]
pub fn data(&self) -> DATA_R
[src]
Bits 0:7 - Receive Data
pub fn rxempty(&self) -> RXEMPTY_R
[src]
Bit 14 - RX Empty
impl R<bool, SEN_A>
[src]
pub fn variant(&self) -> SEN_A
[src]
Get enumerated values variant
pub fn is_sen_0(&self) -> bool
[src]
Checks if the value of the field is SEN_0
pub fn is_sen_1(&self) -> bool
[src]
Checks if the value of the field is SEN_1
impl R<bool, RST_A>
[src]
pub fn variant(&self) -> RST_A
[src]
Get enumerated values variant
pub fn is_rst_0(&self) -> bool
[src]
Checks if the value of the field is RST_0
pub fn is_rst_1(&self) -> bool
[src]
Checks if the value of the field is RST_1
impl R<bool, FILTEN_A>
[src]
pub fn variant(&self) -> FILTEN_A
[src]
Get enumerated values variant
pub fn is_filten_0(&self) -> bool
[src]
Checks if the value of the field is FILTEN_0
pub fn is_filten_1(&self) -> bool
[src]
Checks if the value of the field is FILTEN_1
impl R<bool, FILTDZ_A>
[src]
pub fn variant(&self) -> FILTDZ_A
[src]
Get enumerated values variant
pub fn is_filtdz_0(&self) -> bool
[src]
Checks if the value of the field is FILTDZ_0
pub fn is_filtdz_1(&self) -> bool
[src]
Checks if the value of the field is FILTDZ_1
impl R<bool, RTF_A>
[src]
pub fn variant(&self) -> RTF_A
[src]
Get enumerated values variant
pub fn is_rtf_0(&self) -> bool
[src]
Checks if the value of the field is RTF_0
pub fn is_rtf_1(&self) -> bool
[src]
Checks if the value of the field is RTF_1
impl R<bool, RRF_A>
[src]
pub fn variant(&self) -> RRF_A
[src]
Get enumerated values variant
pub fn is_rrf_0(&self) -> bool
[src]
Checks if the value of the field is RRF_0
pub fn is_rrf_1(&self) -> bool
[src]
Checks if the value of the field is RRF_1
impl R<u32, Reg<u32, _SCR>>
[src]
pub fn sen(&self) -> SEN_R
[src]
Bit 0 - Slave Enable
pub fn rst(&self) -> RST_R
[src]
Bit 1 - Software Reset
pub fn filten(&self) -> FILTEN_R
[src]
Bit 4 - Filter Enable
pub fn filtdz(&self) -> FILTDZ_R
[src]
Bit 5 - Filter Doze Enable
pub fn rtf(&self) -> RTF_R
[src]
Bit 8 - Reset Transmit FIFO
pub fn rrf(&self) -> RRF_R
[src]
Bit 9 - Reset Receive FIFO
impl R<bool, TDF_A>
[src]
pub fn variant(&self) -> TDF_A
[src]
Get enumerated values variant
pub fn is_tdf_0(&self) -> bool
[src]
Checks if the value of the field is TDF_0
pub fn is_tdf_1(&self) -> bool
[src]
Checks if the value of the field is TDF_1
impl R<bool, RDF_A>
[src]
pub fn variant(&self) -> RDF_A
[src]
Get enumerated values variant
pub fn is_rdf_0(&self) -> bool
[src]
Checks if the value of the field is RDF_0
pub fn is_rdf_1(&self) -> bool
[src]
Checks if the value of the field is RDF_1
impl R<bool, AVF_A>
[src]
pub fn variant(&self) -> AVF_A
[src]
Get enumerated values variant
pub fn is_avf_0(&self) -> bool
[src]
Checks if the value of the field is AVF_0
pub fn is_avf_1(&self) -> bool
[src]
Checks if the value of the field is AVF_1
impl R<bool, TAF_A>
[src]
pub fn variant(&self) -> TAF_A
[src]
Get enumerated values variant
pub fn is_taf_0(&self) -> bool
[src]
Checks if the value of the field is TAF_0
pub fn is_taf_1(&self) -> bool
[src]
Checks if the value of the field is TAF_1
impl R<bool, RSF_A>
[src]
pub fn variant(&self) -> RSF_A
[src]
Get enumerated values variant
pub fn is_rsf_0(&self) -> bool
[src]
Checks if the value of the field is RSF_0
pub fn is_rsf_1(&self) -> bool
[src]
Checks if the value of the field is RSF_1
impl R<bool, SDF_A>
[src]
pub fn variant(&self) -> SDF_A
[src]
Get enumerated values variant
pub fn is_sdf_0(&self) -> bool
[src]
Checks if the value of the field is SDF_0
pub fn is_sdf_1(&self) -> bool
[src]
Checks if the value of the field is SDF_1
impl R<bool, BEF_A>
[src]
pub fn variant(&self) -> BEF_A
[src]
Get enumerated values variant
pub fn is_bef_0(&self) -> bool
[src]
Checks if the value of the field is BEF_0
pub fn is_bef_1(&self) -> bool
[src]
Checks if the value of the field is BEF_1
impl R<bool, FEF_A>
[src]
pub fn variant(&self) -> FEF_A
[src]
Get enumerated values variant
pub fn is_fef_0(&self) -> bool
[src]
Checks if the value of the field is FEF_0
pub fn is_fef_1(&self) -> bool
[src]
Checks if the value of the field is FEF_1
impl R<bool, AM0F_A>
[src]
pub fn variant(&self) -> AM0F_A
[src]
Get enumerated values variant
pub fn is_am0f_0(&self) -> bool
[src]
Checks if the value of the field is AM0F_0
pub fn is_am0f_1(&self) -> bool
[src]
Checks if the value of the field is AM0F_1
impl R<bool, AM1F_A>
[src]
pub fn variant(&self) -> AM1F_A
[src]
Get enumerated values variant
pub fn is_am1f_0(&self) -> bool
[src]
Checks if the value of the field is AM1F_0
pub fn is_am1f_1(&self) -> bool
[src]
Checks if the value of the field is AM1F_1
impl R<bool, GCF_A>
[src]
pub fn variant(&self) -> GCF_A
[src]
Get enumerated values variant
pub fn is_gcf_0(&self) -> bool
[src]
Checks if the value of the field is GCF_0
pub fn is_gcf_1(&self) -> bool
[src]
Checks if the value of the field is GCF_1
impl R<bool, SARF_A>
[src]
pub fn variant(&self) -> SARF_A
[src]
Get enumerated values variant
pub fn is_sarf_0(&self) -> bool
[src]
Checks if the value of the field is SARF_0
pub fn is_sarf_1(&self) -> bool
[src]
Checks if the value of the field is SARF_1
impl R<bool, SBF_A>
[src]
pub fn variant(&self) -> SBF_A
[src]
Get enumerated values variant
pub fn is_sbf_0(&self) -> bool
[src]
Checks if the value of the field is SBF_0
pub fn is_sbf_1(&self) -> bool
[src]
Checks if the value of the field is SBF_1
impl R<bool, BBF_A>
[src]
pub fn variant(&self) -> BBF_A
[src]
Get enumerated values variant
pub fn is_bbf_0(&self) -> bool
[src]
Checks if the value of the field is BBF_0
pub fn is_bbf_1(&self) -> bool
[src]
Checks if the value of the field is BBF_1
impl R<u32, Reg<u32, _SSR>>
[src]
pub fn tdf(&self) -> TDF_R
[src]
Bit 0 - Transmit Data Flag
pub fn rdf(&self) -> RDF_R
[src]
Bit 1 - Receive Data Flag
pub fn avf(&self) -> AVF_R
[src]
Bit 2 - Address Valid Flag
pub fn taf(&self) -> TAF_R
[src]
Bit 3 - Transmit ACK Flag
pub fn rsf(&self) -> RSF_R
[src]
Bit 8 - Repeated Start Flag
pub fn sdf(&self) -> SDF_R
[src]
Bit 9 - STOP Detect Flag
pub fn bef(&self) -> BEF_R
[src]
Bit 10 - Bit Error Flag
pub fn fef(&self) -> FEF_R
[src]
Bit 11 - FIFO Error Flag
pub fn am0f(&self) -> AM0F_R
[src]
Bit 12 - Address Match 0 Flag
pub fn am1f(&self) -> AM1F_R
[src]
Bit 13 - Address Match 1 Flag
pub fn gcf(&self) -> GCF_R
[src]
Bit 14 - General Call Flag
pub fn sarf(&self) -> SARF_R
[src]
Bit 15 - SMBus Alert Response Flag
pub fn sbf(&self) -> SBF_R
[src]
Bit 24 - Slave Busy Flag
pub fn bbf(&self) -> BBF_R
[src]
Bit 25 - Bus Busy Flag
impl R<bool, TDIE_A>
[src]
pub fn variant(&self) -> TDIE_A
[src]
Get enumerated values variant
pub fn is_tdie_0(&self) -> bool
[src]
Checks if the value of the field is TDIE_0
pub fn is_tdie_1(&self) -> bool
[src]
Checks if the value of the field is TDIE_1
impl R<bool, RDIE_A>
[src]
pub fn variant(&self) -> RDIE_A
[src]
Get enumerated values variant
pub fn is_rdie_0(&self) -> bool
[src]
Checks if the value of the field is RDIE_0
pub fn is_rdie_1(&self) -> bool
[src]
Checks if the value of the field is RDIE_1
impl R<bool, AVIE_A>
[src]
pub fn variant(&self) -> AVIE_A
[src]
Get enumerated values variant
pub fn is_avie_0(&self) -> bool
[src]
Checks if the value of the field is AVIE_0
pub fn is_avie_1(&self) -> bool
[src]
Checks if the value of the field is AVIE_1
impl R<bool, TAIE_A>
[src]
pub fn variant(&self) -> TAIE_A
[src]
Get enumerated values variant
pub fn is_taie_0(&self) -> bool
[src]
Checks if the value of the field is TAIE_0
pub fn is_taie_1(&self) -> bool
[src]
Checks if the value of the field is TAIE_1
impl R<bool, RSIE_A>
[src]
pub fn variant(&self) -> RSIE_A
[src]
Get enumerated values variant
pub fn is_rsie_0(&self) -> bool
[src]
Checks if the value of the field is RSIE_0
pub fn is_rsie_1(&self) -> bool
[src]
Checks if the value of the field is RSIE_1
impl R<bool, SDIE_A>
[src]
pub fn variant(&self) -> SDIE_A
[src]
Get enumerated values variant
pub fn is_sdie_0(&self) -> bool
[src]
Checks if the value of the field is SDIE_0
pub fn is_sdie_1(&self) -> bool
[src]
Checks if the value of the field is SDIE_1
impl R<bool, BEIE_A>
[src]
pub fn variant(&self) -> BEIE_A
[src]
Get enumerated values variant
pub fn is_beie_0(&self) -> bool
[src]
Checks if the value of the field is BEIE_0
pub fn is_beie_1(&self) -> bool
[src]
Checks if the value of the field is BEIE_1
impl R<bool, FEIE_A>
[src]
pub fn variant(&self) -> FEIE_A
[src]
Get enumerated values variant
pub fn is_feie_0(&self) -> bool
[src]
Checks if the value of the field is FEIE_0
pub fn is_feie_1(&self) -> bool
[src]
Checks if the value of the field is FEIE_1
impl R<bool, AM0IE_A>
[src]
pub fn variant(&self) -> AM0IE_A
[src]
Get enumerated values variant
pub fn is_am0ie_0(&self) -> bool
[src]
Checks if the value of the field is AM0IE_0
pub fn is_am0ie_1(&self) -> bool
[src]
Checks if the value of the field is AM0IE_1
impl R<bool, AM1F_A>
[src]
pub fn variant(&self) -> AM1F_A
[src]
Get enumerated values variant
pub fn is_am1f_0(&self) -> bool
[src]
Checks if the value of the field is AM1F_0
pub fn is_am1f_1(&self) -> bool
[src]
Checks if the value of the field is AM1F_1
impl R<bool, GCIE_A>
[src]
pub fn variant(&self) -> GCIE_A
[src]
Get enumerated values variant
pub fn is_gcie_0(&self) -> bool
[src]
Checks if the value of the field is GCIE_0
pub fn is_gcie_1(&self) -> bool
[src]
Checks if the value of the field is GCIE_1
impl R<bool, SARIE_A>
[src]
pub fn variant(&self) -> SARIE_A
[src]
Get enumerated values variant
pub fn is_sarie_0(&self) -> bool
[src]
Checks if the value of the field is SARIE_0
pub fn is_sarie_1(&self) -> bool
[src]
Checks if the value of the field is SARIE_1
impl R<u32, Reg<u32, _SIER>>
[src]
pub fn tdie(&self) -> TDIE_R
[src]
Bit 0 - Transmit Data Interrupt Enable
pub fn rdie(&self) -> RDIE_R
[src]
Bit 1 - Receive Data Interrupt Enable
pub fn avie(&self) -> AVIE_R
[src]
Bit 2 - Address Valid Interrupt Enable
pub fn taie(&self) -> TAIE_R
[src]
Bit 3 - Transmit ACK Interrupt Enable
pub fn rsie(&self) -> RSIE_R
[src]
Bit 8 - Repeated Start Interrupt Enable
pub fn sdie(&self) -> SDIE_R
[src]
Bit 9 - STOP Detect Interrupt Enable
pub fn beie(&self) -> BEIE_R
[src]
Bit 10 - Bit Error Interrupt Enable
pub fn feie(&self) -> FEIE_R
[src]
Bit 11 - FIFO Error Interrupt Enable
pub fn am0ie(&self) -> AM0IE_R
[src]
Bit 12 - Address Match 0 Interrupt Enable
pub fn am1f(&self) -> AM1F_R
[src]
Bit 13 - Address Match 1 Interrupt Enable
pub fn gcie(&self) -> GCIE_R
[src]
Bit 14 - General Call Interrupt Enable
pub fn sarie(&self) -> SARIE_R
[src]
Bit 15 - SMBus Alert Response Interrupt Enable
impl R<bool, TDDE_A>
[src]
pub fn variant(&self) -> TDDE_A
[src]
Get enumerated values variant
pub fn is_tdde_0(&self) -> bool
[src]
Checks if the value of the field is TDDE_0
pub fn is_tdde_1(&self) -> bool
[src]
Checks if the value of the field is TDDE_1
impl R<bool, RDDE_A>
[src]
pub fn variant(&self) -> RDDE_A
[src]
Get enumerated values variant
pub fn is_rdde_0(&self) -> bool
[src]
Checks if the value of the field is RDDE_0
pub fn is_rdde_1(&self) -> bool
[src]
Checks if the value of the field is RDDE_1
impl R<bool, AVDE_A>
[src]
pub fn variant(&self) -> AVDE_A
[src]
Get enumerated values variant
pub fn is_avde_0(&self) -> bool
[src]
Checks if the value of the field is AVDE_0
pub fn is_avde_1(&self) -> bool
[src]
Checks if the value of the field is AVDE_1
impl R<u32, Reg<u32, _SDER>>
[src]
pub fn tdde(&self) -> TDDE_R
[src]
Bit 0 - Transmit Data DMA Enable
pub fn rdde(&self) -> RDDE_R
[src]
Bit 1 - Receive Data DMA Enable
pub fn avde(&self) -> AVDE_R
[src]
Bit 2 - Address Valid DMA Enable
impl R<bool, ADRSTALL_A>
[src]
pub fn variant(&self) -> ADRSTALL_A
[src]
Get enumerated values variant
pub fn is_adrstall_0(&self) -> bool
[src]
Checks if the value of the field is ADRSTALL_0
pub fn is_adrstall_1(&self) -> bool
[src]
Checks if the value of the field is ADRSTALL_1
impl R<bool, RXSTALL_A>
[src]
pub fn variant(&self) -> RXSTALL_A
[src]
Get enumerated values variant
pub fn is_rxstall_0(&self) -> bool
[src]
Checks if the value of the field is RXSTALL_0
pub fn is_rxstall_1(&self) -> bool
[src]
Checks if the value of the field is RXSTALL_1
impl R<bool, TXDSTALL_A>
[src]
pub fn variant(&self) -> TXDSTALL_A
[src]
Get enumerated values variant
pub fn is_txdstall_0(&self) -> bool
[src]
Checks if the value of the field is TXDSTALL_0
pub fn is_txdstall_1(&self) -> bool
[src]
Checks if the value of the field is TXDSTALL_1
impl R<bool, ACKSTALL_A>
[src]
pub fn variant(&self) -> ACKSTALL_A
[src]
Get enumerated values variant
pub fn is_ackstall_0(&self) -> bool
[src]
Checks if the value of the field is ACKSTALL_0
pub fn is_ackstall_1(&self) -> bool
[src]
Checks if the value of the field is ACKSTALL_1
impl R<bool, GCEN_A>
[src]
pub fn variant(&self) -> GCEN_A
[src]
Get enumerated values variant
pub fn is_gcen_0(&self) -> bool
[src]
Checks if the value of the field is GCEN_0
pub fn is_gcen_1(&self) -> bool
[src]
Checks if the value of the field is GCEN_1
impl R<bool, SAEN_A>
[src]
pub fn variant(&self) -> SAEN_A
[src]
Get enumerated values variant
pub fn is_saen_0(&self) -> bool
[src]
Checks if the value of the field is SAEN_0
pub fn is_saen_1(&self) -> bool
[src]
Checks if the value of the field is SAEN_1
impl R<bool, TXCFG_A>
[src]
pub fn variant(&self) -> TXCFG_A
[src]
Get enumerated values variant
pub fn is_txcfg_0(&self) -> bool
[src]
Checks if the value of the field is TXCFG_0
pub fn is_txcfg_1(&self) -> bool
[src]
Checks if the value of the field is TXCFG_1
impl R<bool, RXCFG_A>
[src]
pub fn variant(&self) -> RXCFG_A
[src]
Get enumerated values variant
pub fn is_rxcfg_0(&self) -> bool
[src]
Checks if the value of the field is RXCFG_0
pub fn is_rxcfg_1(&self) -> bool
[src]
Checks if the value of the field is RXCFG_1
impl R<bool, IGNACK_A>
[src]
pub fn variant(&self) -> IGNACK_A
[src]
Get enumerated values variant
pub fn is_ignack_0(&self) -> bool
[src]
Checks if the value of the field is IGNACK_0
pub fn is_ignack_1(&self) -> bool
[src]
Checks if the value of the field is IGNACK_1
impl R<bool, HSMEN_A>
[src]
pub fn variant(&self) -> HSMEN_A
[src]
Get enumerated values variant
pub fn is_hsmen_0(&self) -> bool
[src]
Checks if the value of the field is HSMEN_0
pub fn is_hsmen_1(&self) -> bool
[src]
Checks if the value of the field is HSMEN_1
impl R<u8, ADDRCFG_A>
[src]
pub fn variant(&self) -> ADDRCFG_A
[src]
Get enumerated values variant
pub fn is_addrcfg_0(&self) -> bool
[src]
Checks if the value of the field is ADDRCFG_0
pub fn is_addrcfg_1(&self) -> bool
[src]
Checks if the value of the field is ADDRCFG_1
pub fn is_addrcfg_2(&self) -> bool
[src]
Checks if the value of the field is ADDRCFG_2
pub fn is_addrcfg_3(&self) -> bool
[src]
Checks if the value of the field is ADDRCFG_3
pub fn is_addrcfg_4(&self) -> bool
[src]
Checks if the value of the field is ADDRCFG_4
pub fn is_addrcfg_5(&self) -> bool
[src]
Checks if the value of the field is ADDRCFG_5
pub fn is_addrcfg_6(&self) -> bool
[src]
Checks if the value of the field is ADDRCFG_6
pub fn is_addrcfg_7(&self) -> bool
[src]
Checks if the value of the field is ADDRCFG_7
impl R<u32, Reg<u32, _SCFGR1>>
[src]
pub fn adrstall(&self) -> ADRSTALL_R
[src]
Bit 0 - Address SCL Stall
pub fn rxstall(&self) -> RXSTALL_R
[src]
Bit 1 - RX SCL Stall
pub fn txdstall(&self) -> TXDSTALL_R
[src]
Bit 2 - TX Data SCL Stall
pub fn ackstall(&self) -> ACKSTALL_R
[src]
Bit 3 - ACK SCL Stall
pub fn gcen(&self) -> GCEN_R
[src]
Bit 8 - General Call Enable
pub fn saen(&self) -> SAEN_R
[src]
Bit 9 - SMBus Alert Enable
pub fn txcfg(&self) -> TXCFG_R
[src]
Bit 10 - Transmit Flag Configuration
pub fn rxcfg(&self) -> RXCFG_R
[src]
Bit 11 - Receive Data Configuration
pub fn ignack(&self) -> IGNACK_R
[src]
Bit 12 - Ignore NACK
pub fn hsmen(&self) -> HSMEN_R
[src]
Bit 13 - High Speed Mode Enable
pub fn addrcfg(&self) -> ADDRCFG_R
[src]
Bits 16:18 - Address Configuration
impl R<u32, Reg<u32, _SCFGR2>>
[src]
pub fn clkhold(&self) -> CLKHOLD_R
[src]
Bits 0:3 - Clock Hold Time
pub fn datavd(&self) -> DATAVD_R
[src]
Bits 8:13 - Data Valid Delay
pub fn filtscl(&self) -> FILTSCL_R
[src]
Bits 16:19 - Glitch Filter SCL
pub fn filtsda(&self) -> FILTSDA_R
[src]
Bits 24:27 - Glitch Filter SDA
impl R<u32, Reg<u32, _SAMR>>
[src]
pub fn addr0(&self) -> ADDR0_R
[src]
Bits 1:10 - Address 0 Value
pub fn addr1(&self) -> ADDR1_R
[src]
Bits 17:26 - Address 1 Value
impl R<bool, ANV_A>
[src]
pub fn variant(&self) -> ANV_A
[src]
Get enumerated values variant
pub fn is_anv_0(&self) -> bool
[src]
Checks if the value of the field is ANV_0
pub fn is_anv_1(&self) -> bool
[src]
Checks if the value of the field is ANV_1
impl R<u32, Reg<u32, _SASR>>
[src]
pub fn raddr(&self) -> RADDR_R
[src]
Bits 0:10 - Received Address
pub fn anv(&self) -> ANV_R
[src]
Bit 14 - Address Not Valid
impl R<bool, TXNACK_A>
[src]
pub fn variant(&self) -> TXNACK_A
[src]
Get enumerated values variant
pub fn is_txnack_0(&self) -> bool
[src]
Checks if the value of the field is TXNACK_0
pub fn is_txnack_1(&self) -> bool
[src]
Checks if the value of the field is TXNACK_1
impl R<u32, Reg<u32, _STAR>>
[src]
impl R<bool, RXEMPTY_A>
[src]
pub fn variant(&self) -> RXEMPTY_A
[src]
Get enumerated values variant
pub fn is_rxempty_0(&self) -> bool
[src]
Checks if the value of the field is RXEMPTY_0
pub fn is_rxempty_1(&self) -> bool
[src]
Checks if the value of the field is RXEMPTY_1
impl R<bool, SOF_A>
[src]
pub fn variant(&self) -> SOF_A
[src]
Get enumerated values variant
pub fn is_sof_0(&self) -> bool
[src]
Checks if the value of the field is SOF_0
pub fn is_sof_1(&self) -> bool
[src]
Checks if the value of the field is SOF_1
impl R<u32, Reg<u32, _SRDR>>
[src]
pub fn data(&self) -> DATA_R
[src]
Bits 0:7 - Receive Data
pub fn rxempty(&self) -> RXEMPTY_R
[src]
Bit 14 - RX Empty
pub fn sof(&self) -> SOF_R
[src]
Bit 15 - Start Of Frame
Trait Implementations
Auto Trait Implementations
impl<U, T> Send for R<U, T> where
T: Send,
U: Send,
T: Send,
U: Send,
impl<U, T> Sync for R<U, T> where
T: Sync,
U: Sync,
T: Sync,
U: Sync,
impl<U, T> Unpin for R<U, T> where
T: Unpin,
U: Unpin,
T: Unpin,
U: Unpin,
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,