[−][src]Struct imxrt1062_lpuart1::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_1(&self) -> bool
[src]
Checks if the value of the field is FEATURE_1
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 Identification 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 txfifo(&self) -> TXFIFO_R
[src]
Bits 0:7 - Transmit FIFO Size
pub fn rxfifo(&self) -> RXFIFO_R
[src]
Bits 8:15 - Receive FIFO Size
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<u32, Reg<u32, _GLOBAL>>
[src]
impl R<u8, TRGSEL_A>
[src]
pub fn variant(&self) -> TRGSEL_A
[src]
Get enumerated values variant
pub fn is_trgsel_0(&self) -> bool
[src]
Checks if the value of the field is TRGSEL_0
pub fn is_trgsel_1(&self) -> bool
[src]
Checks if the value of the field is TRGSEL_1
pub fn is_trgsel_2(&self) -> bool
[src]
Checks if the value of the field is TRGSEL_2
pub fn is_trgsel_3(&self) -> bool
[src]
Checks if the value of the field is TRGSEL_3
impl R<u32, Reg<u32, _PINCFG>>
[src]
impl R<bool, SBNS_A>
[src]
pub fn variant(&self) -> SBNS_A
[src]
Get enumerated values variant
pub fn is_sbns_0(&self) -> bool
[src]
Checks if the value of the field is SBNS_0
pub fn is_sbns_1(&self) -> bool
[src]
Checks if the value of the field is SBNS_1
impl R<bool, RXEDGIE_A>
[src]
pub fn variant(&self) -> RXEDGIE_A
[src]
Get enumerated values variant
pub fn is_rxedgie_0(&self) -> bool
[src]
Checks if the value of the field is RXEDGIE_0
pub fn is_rxedgie_1(&self) -> bool
[src]
Checks if the value of the field is RXEDGIE_1
impl R<bool, LBKDIE_A>
[src]
pub fn variant(&self) -> LBKDIE_A
[src]
Get enumerated values variant
pub fn is_lbkdie_0(&self) -> bool
[src]
Checks if the value of the field is LBKDIE_0
pub fn is_lbkdie_1(&self) -> bool
[src]
Checks if the value of the field is LBKDIE_1
impl R<bool, RESYNCDIS_A>
[src]
pub fn variant(&self) -> RESYNCDIS_A
[src]
Get enumerated values variant
pub fn is_resyncdis_0(&self) -> bool
[src]
Checks if the value of the field is RESYNCDIS_0
pub fn is_resyncdis_1(&self) -> bool
[src]
Checks if the value of the field is RESYNCDIS_1
impl R<bool, BOTHEDGE_A>
[src]
pub fn variant(&self) -> BOTHEDGE_A
[src]
Get enumerated values variant
pub fn is_bothedge_0(&self) -> bool
[src]
Checks if the value of the field is BOTHEDGE_0
pub fn is_bothedge_1(&self) -> bool
[src]
Checks if the value of the field is BOTHEDGE_1
impl R<u8, MATCFG_A>
[src]
pub fn variant(&self) -> 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_1(&self) -> bool
[src]
Checks if the value of the field is MATCFG_1
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
impl R<bool, RIDMAE_A>
[src]
pub fn variant(&self) -> RIDMAE_A
[src]
Get enumerated values variant
pub fn is_ridmae_0(&self) -> bool
[src]
Checks if the value of the field is RIDMAE_0
pub fn is_ridmae_1(&self) -> bool
[src]
Checks if the value of the field is RIDMAE_1
impl R<bool, RDMAE_A>
[src]
pub fn variant(&self) -> RDMAE_A
[src]
Get enumerated values variant
pub fn is_rdmae_0(&self) -> bool
[src]
Checks if the value of the field is RDMAE_0
pub fn is_rdmae_1(&self) -> bool
[src]
Checks if the value of the field is RDMAE_1
impl R<bool, TDMAE_A>
[src]
pub fn variant(&self) -> TDMAE_A
[src]
Get enumerated values variant
pub fn is_tdmae_0(&self) -> bool
[src]
Checks if the value of the field is TDMAE_0
pub fn is_tdmae_1(&self) -> bool
[src]
Checks if the value of the field is TDMAE_1
impl R<u8, OSR_A>
[src]
pub fn variant(&self) -> Variant<u8, OSR_A>
[src]
Get enumerated values variant
pub fn is_osr_0(&self) -> bool
[src]
Checks if the value of the field is OSR_0
pub fn is_osr_3(&self) -> bool
[src]
Checks if the value of the field is OSR_3
pub fn is_osr_4(&self) -> bool
[src]
Checks if the value of the field is OSR_4
pub fn is_osr_5(&self) -> bool
[src]
Checks if the value of the field is OSR_5
pub fn is_osr_6(&self) -> bool
[src]
Checks if the value of the field is OSR_6
pub fn is_osr_7(&self) -> bool
[src]
Checks if the value of the field is OSR_7
pub fn is_osr_8(&self) -> bool
[src]
Checks if the value of the field is OSR_8
pub fn is_osr_9(&self) -> bool
[src]
Checks if the value of the field is OSR_9
pub fn is_osr_10(&self) -> bool
[src]
Checks if the value of the field is OSR_10
pub fn is_osr_11(&self) -> bool
[src]
Checks if the value of the field is OSR_11
pub fn is_osr_12(&self) -> bool
[src]
Checks if the value of the field is OSR_12
pub fn is_osr_13(&self) -> bool
[src]
Checks if the value of the field is OSR_13
pub fn is_osr_14(&self) -> bool
[src]
Checks if the value of the field is OSR_14
pub fn is_osr_15(&self) -> bool
[src]
Checks if the value of the field is OSR_15
pub fn is_osr_16(&self) -> bool
[src]
Checks if the value of the field is OSR_16
pub fn is_osr_17(&self) -> bool
[src]
Checks if the value of the field is OSR_17
pub fn is_osr_18(&self) -> bool
[src]
Checks if the value of the field is OSR_18
pub fn is_osr_19(&self) -> bool
[src]
Checks if the value of the field is OSR_19
pub fn is_osr_20(&self) -> bool
[src]
Checks if the value of the field is OSR_20
pub fn is_osr_21(&self) -> bool
[src]
Checks if the value of the field is OSR_21
pub fn is_osr_22(&self) -> bool
[src]
Checks if the value of the field is OSR_22
pub fn is_osr_23(&self) -> bool
[src]
Checks if the value of the field is OSR_23
pub fn is_osr_24(&self) -> bool
[src]
Checks if the value of the field is OSR_24
pub fn is_osr_25(&self) -> bool
[src]
Checks if the value of the field is OSR_25
pub fn is_osr_26(&self) -> bool
[src]
Checks if the value of the field is OSR_26
pub fn is_osr_27(&self) -> bool
[src]
Checks if the value of the field is OSR_27
pub fn is_osr_28(&self) -> bool
[src]
Checks if the value of the field is OSR_28
pub fn is_osr_29(&self) -> bool
[src]
Checks if the value of the field is OSR_29
pub fn is_osr_30(&self) -> bool
[src]
Checks if the value of the field is OSR_30
pub fn is_osr_31(&self) -> bool
[src]
Checks if the value of the field is OSR_31
impl R<bool, M10_A>
[src]
pub fn variant(&self) -> M10_A
[src]
Get enumerated values variant
pub fn is_m10_0(&self) -> bool
[src]
Checks if the value of the field is M10_0
pub fn is_m10_1(&self) -> bool
[src]
Checks if the value of the field is M10_1
impl R<bool, MAEN2_A>
[src]
pub fn variant(&self) -> MAEN2_A
[src]
Get enumerated values variant
pub fn is_maen2_0(&self) -> bool
[src]
Checks if the value of the field is MAEN2_0
pub fn is_maen2_1(&self) -> bool
[src]
Checks if the value of the field is MAEN2_1
impl R<bool, MAEN1_A>
[src]
pub fn variant(&self) -> MAEN1_A
[src]
Get enumerated values variant
pub fn is_maen1_0(&self) -> bool
[src]
Checks if the value of the field is MAEN1_0
pub fn is_maen1_1(&self) -> bool
[src]
Checks if the value of the field is MAEN1_1
impl R<u32, Reg<u32, _BAUD>>
[src]
pub fn sbr(&self) -> SBR_R
[src]
Bits 0:12 - Baud Rate Modulo Divisor.
pub fn sbns(&self) -> SBNS_R
[src]
Bit 13 - Stop Bit Number Select
pub fn rxedgie(&self) -> RXEDGIE_R
[src]
Bit 14 - RX Input Active Edge Interrupt Enable
pub fn lbkdie(&self) -> LBKDIE_R
[src]
Bit 15 - LIN Break Detect Interrupt Enable
pub fn resyncdis(&self) -> RESYNCDIS_R
[src]
Bit 16 - Resynchronization Disable
pub fn bothedge(&self) -> BOTHEDGE_R
[src]
Bit 17 - Both Edge Sampling
pub fn matcfg(&self) -> MATCFG_R
[src]
Bits 18:19 - Match Configuration
pub fn ridmae(&self) -> RIDMAE_R
[src]
Bit 20 - Receiver Idle DMA Enable
pub fn rdmae(&self) -> RDMAE_R
[src]
Bit 21 - Receiver Full DMA Enable
pub fn tdmae(&self) -> TDMAE_R
[src]
Bit 23 - Transmitter DMA Enable
pub fn osr(&self) -> OSR_R
[src]
Bits 24:28 - Oversampling Ratio
pub fn m10(&self) -> M10_R
[src]
Bit 29 - 10-bit Mode select
pub fn maen2(&self) -> MAEN2_R
[src]
Bit 30 - Match Address Mode Enable 2
pub fn maen1(&self) -> MAEN1_R
[src]
Bit 31 - Match Address Mode Enable 1
impl R<bool, MA2F_A>
[src]
pub fn variant(&self) -> MA2F_A
[src]
Get enumerated values variant
pub fn is_ma2f_0(&self) -> bool
[src]
Checks if the value of the field is MA2F_0
pub fn is_ma2f_1(&self) -> bool
[src]
Checks if the value of the field is MA2F_1
impl R<bool, MA1F_A>
[src]
pub fn variant(&self) -> MA1F_A
[src]
Get enumerated values variant
pub fn is_ma1f_0(&self) -> bool
[src]
Checks if the value of the field is MA1F_0
pub fn is_ma1f_1(&self) -> bool
[src]
Checks if the value of the field is MA1F_1
impl R<bool, PF_A>
[src]
pub fn variant(&self) -> PF_A
[src]
Get enumerated values variant
pub fn is_pf_0(&self) -> bool
[src]
Checks if the value of the field is PF_0
pub fn is_pf_1(&self) -> bool
[src]
Checks if the value of the field is PF_1
impl R<bool, FE_A>
[src]
pub fn variant(&self) -> FE_A
[src]
Get enumerated values variant
pub fn is_fe_0(&self) -> bool
[src]
Checks if the value of the field is FE_0
pub fn is_fe_1(&self) -> bool
[src]
Checks if the value of the field is FE_1
impl R<bool, NF_A>
[src]
pub fn variant(&self) -> NF_A
[src]
Get enumerated values variant
pub fn is_nf_0(&self) -> bool
[src]
Checks if the value of the field is NF_0
pub fn is_nf_1(&self) -> bool
[src]
Checks if the value of the field is NF_1
impl R<bool, OR_A>
[src]
pub fn variant(&self) -> OR_A
[src]
Get enumerated values variant
pub fn is_or_0(&self) -> bool
[src]
Checks if the value of the field is OR_0
pub fn is_or_1(&self) -> bool
[src]
Checks if the value of the field is OR_1
impl R<bool, IDLE_A>
[src]
pub fn variant(&self) -> IDLE_A
[src]
Get enumerated values variant
pub fn is_idle_0(&self) -> bool
[src]
Checks if the value of the field is IDLE_0
pub fn is_idle_1(&self) -> bool
[src]
Checks if the value of the field is IDLE_1
impl R<bool, RDRF_A>
[src]
pub fn variant(&self) -> RDRF_A
[src]
Get enumerated values variant
pub fn is_rdrf_0(&self) -> bool
[src]
Checks if the value of the field is RDRF_0
pub fn is_rdrf_1(&self) -> bool
[src]
Checks if the value of the field is RDRF_1
impl R<bool, TC_A>
[src]
pub fn variant(&self) -> TC_A
[src]
Get enumerated values variant
pub fn is_tc_0(&self) -> bool
[src]
Checks if the value of the field is TC_0
pub fn is_tc_1(&self) -> bool
[src]
Checks if the value of the field is TC_1
impl R<bool, TDRE_A>
[src]
pub fn variant(&self) -> TDRE_A
[src]
Get enumerated values variant
pub fn is_tdre_0(&self) -> bool
[src]
Checks if the value of the field is TDRE_0
pub fn is_tdre_1(&self) -> bool
[src]
Checks if the value of the field is TDRE_1
impl R<bool, RAF_A>
[src]
pub fn variant(&self) -> RAF_A
[src]
Get enumerated values variant
pub fn is_raf_0(&self) -> bool
[src]
Checks if the value of the field is RAF_0
pub fn is_raf_1(&self) -> bool
[src]
Checks if the value of the field is RAF_1
impl R<bool, LBKDE_A>
[src]
pub fn variant(&self) -> LBKDE_A
[src]
Get enumerated values variant
pub fn is_lbkde_0(&self) -> bool
[src]
Checks if the value of the field is LBKDE_0
pub fn is_lbkde_1(&self) -> bool
[src]
Checks if the value of the field is LBKDE_1
impl R<bool, BRK13_A>
[src]
pub fn variant(&self) -> BRK13_A
[src]
Get enumerated values variant
pub fn is_brk13_0(&self) -> bool
[src]
Checks if the value of the field is BRK13_0
pub fn is_brk13_1(&self) -> bool
[src]
Checks if the value of the field is BRK13_1
impl R<bool, RWUID_A>
[src]
pub fn variant(&self) -> RWUID_A
[src]
Get enumerated values variant
pub fn is_rwuid_0(&self) -> bool
[src]
Checks if the value of the field is RWUID_0
pub fn is_rwuid_1(&self) -> bool
[src]
Checks if the value of the field is RWUID_1
impl R<bool, RXINV_A>
[src]
pub fn variant(&self) -> RXINV_A
[src]
Get enumerated values variant
pub fn is_rxinv_0(&self) -> bool
[src]
Checks if the value of the field is RXINV_0
pub fn is_rxinv_1(&self) -> bool
[src]
Checks if the value of the field is RXINV_1
impl R<bool, MSBF_A>
[src]
pub fn variant(&self) -> MSBF_A
[src]
Get enumerated values variant
pub fn is_msbf_0(&self) -> bool
[src]
Checks if the value of the field is MSBF_0
pub fn is_msbf_1(&self) -> bool
[src]
Checks if the value of the field is MSBF_1
impl R<bool, RXEDGIF_A>
[src]
pub fn variant(&self) -> RXEDGIF_A
[src]
Get enumerated values variant
pub fn is_rxedgif_0(&self) -> bool
[src]
Checks if the value of the field is RXEDGIF_0
pub fn is_rxedgif_1(&self) -> bool
[src]
Checks if the value of the field is RXEDGIF_1
impl R<bool, LBKDIF_A>
[src]
pub fn variant(&self) -> LBKDIF_A
[src]
Get enumerated values variant
pub fn is_lbkdif_0(&self) -> bool
[src]
Checks if the value of the field is LBKDIF_0
pub fn is_lbkdif_1(&self) -> bool
[src]
Checks if the value of the field is LBKDIF_1
impl R<u32, Reg<u32, _STAT>>
[src]
pub fn ma2f(&self) -> MA2F_R
[src]
Bit 14 - Match 2 Flag
pub fn ma1f(&self) -> MA1F_R
[src]
Bit 15 - Match 1 Flag
pub fn pf(&self) -> PF_R
[src]
Bit 16 - Parity Error Flag
pub fn fe(&self) -> FE_R
[src]
Bit 17 - Framing Error Flag
pub fn nf(&self) -> NF_R
[src]
Bit 18 - Noise Flag
pub fn or(&self) -> OR_R
[src]
Bit 19 - Receiver Overrun Flag
pub fn idle(&self) -> IDLE_R
[src]
Bit 20 - Idle Line Flag
pub fn rdrf(&self) -> RDRF_R
[src]
Bit 21 - Receive Data Register Full Flag
pub fn tc(&self) -> TC_R
[src]
Bit 22 - Transmission Complete Flag
pub fn tdre(&self) -> TDRE_R
[src]
Bit 23 - Transmit Data Register Empty Flag
pub fn raf(&self) -> RAF_R
[src]
Bit 24 - Receiver Active Flag
pub fn lbkde(&self) -> LBKDE_R
[src]
Bit 25 - LIN Break Detection Enable
pub fn brk13(&self) -> BRK13_R
[src]
Bit 26 - Break Character Generation Length
pub fn rwuid(&self) -> RWUID_R
[src]
Bit 27 - Receive Wake Up Idle Detect
pub fn rxinv(&self) -> RXINV_R
[src]
Bit 28 - Receive Data Inversion
pub fn msbf(&self) -> MSBF_R
[src]
Bit 29 - MSB First
pub fn rxedgif(&self) -> RXEDGIF_R
[src]
Bit 30 - RXD Pin Active Edge Interrupt Flag
pub fn lbkdif(&self) -> LBKDIF_R
[src]
Bit 31 - LIN Break Detect Interrupt Flag
impl R<bool, PT_A>
[src]
pub fn variant(&self) -> PT_A
[src]
Get enumerated values variant
pub fn is_pt_0(&self) -> bool
[src]
Checks if the value of the field is PT_0
pub fn is_pt_1(&self) -> bool
[src]
Checks if the value of the field is PT_1
impl R<bool, PE_A>
[src]
pub fn variant(&self) -> PE_A
[src]
Get enumerated values variant
pub fn is_pe_0(&self) -> bool
[src]
Checks if the value of the field is PE_0
pub fn is_pe_1(&self) -> bool
[src]
Checks if the value of the field is PE_1
impl R<bool, ILT_A>
[src]
pub fn variant(&self) -> ILT_A
[src]
Get enumerated values variant
pub fn is_ilt_0(&self) -> bool
[src]
Checks if the value of the field is ILT_0
pub fn is_ilt_1(&self) -> bool
[src]
Checks if the value of the field is ILT_1
impl R<bool, WAKE_A>
[src]
pub fn variant(&self) -> WAKE_A
[src]
Get enumerated values variant
pub fn is_wake_0(&self) -> bool
[src]
Checks if the value of the field is WAKE_0
pub fn is_wake_1(&self) -> bool
[src]
Checks if the value of the field is WAKE_1
impl R<bool, M_A>
[src]
pub fn variant(&self) -> M_A
[src]
Get enumerated values variant
pub fn is_m_0(&self) -> bool
[src]
Checks if the value of the field is M_0
pub fn is_m_1(&self) -> bool
[src]
Checks if the value of the field is M_1
impl R<bool, RSRC_A>
[src]
pub fn variant(&self) -> RSRC_A
[src]
Get enumerated values variant
pub fn is_rsrc_0(&self) -> bool
[src]
Checks if the value of the field is RSRC_0
pub fn is_rsrc_1(&self) -> bool
[src]
Checks if the value of the field is RSRC_1
impl R<bool, DOZEEN_A>
[src]
pub fn variant(&self) -> DOZEEN_A
[src]
Get enumerated values variant
pub fn is_dozeen_0(&self) -> bool
[src]
Checks if the value of the field is DOZEEN_0
pub fn is_dozeen_1(&self) -> bool
[src]
Checks if the value of the field is DOZEEN_1
impl R<bool, LOOPS_A>
[src]
pub fn variant(&self) -> LOOPS_A
[src]
Get enumerated values variant
pub fn is_loops_0(&self) -> bool
[src]
Checks if the value of the field is LOOPS_0
pub fn is_loops_1(&self) -> bool
[src]
Checks if the value of the field is LOOPS_1
impl R<u8, IDLECFG_A>
[src]
pub fn variant(&self) -> IDLECFG_A
[src]
Get enumerated values variant
pub fn is_idlecfg_0(&self) -> bool
[src]
Checks if the value of the field is IDLECFG_0
pub fn is_idlecfg_1(&self) -> bool
[src]
Checks if the value of the field is IDLECFG_1
pub fn is_idlecfg_2(&self) -> bool
[src]
Checks if the value of the field is IDLECFG_2
pub fn is_idlecfg_3(&self) -> bool
[src]
Checks if the value of the field is IDLECFG_3
pub fn is_idlecfg_4(&self) -> bool
[src]
Checks if the value of the field is IDLECFG_4
pub fn is_idlecfg_5(&self) -> bool
[src]
Checks if the value of the field is IDLECFG_5
pub fn is_idlecfg_6(&self) -> bool
[src]
Checks if the value of the field is IDLECFG_6
pub fn is_idlecfg_7(&self) -> bool
[src]
Checks if the value of the field is IDLECFG_7
impl R<bool, M7_A>
[src]
pub fn variant(&self) -> M7_A
[src]
Get enumerated values variant
pub fn is_m7_0(&self) -> bool
[src]
Checks if the value of the field is M7_0
pub fn is_m7_1(&self) -> bool
[src]
Checks if the value of the field is M7_1
impl R<bool, MA2IE_A>
[src]
pub fn variant(&self) -> MA2IE_A
[src]
Get enumerated values variant
pub fn is_ma2ie_0(&self) -> bool
[src]
Checks if the value of the field is MA2IE_0
pub fn is_ma2ie_1(&self) -> bool
[src]
Checks if the value of the field is MA2IE_1
impl R<bool, MA1IE_A>
[src]
pub fn variant(&self) -> MA1IE_A
[src]
Get enumerated values variant
pub fn is_ma1ie_0(&self) -> bool
[src]
Checks if the value of the field is MA1IE_0
pub fn is_ma1ie_1(&self) -> bool
[src]
Checks if the value of the field is MA1IE_1
impl R<bool, SBK_A>
[src]
pub fn variant(&self) -> SBK_A
[src]
Get enumerated values variant
pub fn is_sbk_0(&self) -> bool
[src]
Checks if the value of the field is SBK_0
pub fn is_sbk_1(&self) -> bool
[src]
Checks if the value of the field is SBK_1
impl R<bool, RWU_A>
[src]
pub fn variant(&self) -> RWU_A
[src]
Get enumerated values variant
pub fn is_rwu_0(&self) -> bool
[src]
Checks if the value of the field is RWU_0
pub fn is_rwu_1(&self) -> bool
[src]
Checks if the value of the field is RWU_1
impl R<bool, RE_A>
[src]
pub fn variant(&self) -> RE_A
[src]
Get enumerated values variant
pub fn is_re_0(&self) -> bool
[src]
Checks if the value of the field is RE_0
pub fn is_re_1(&self) -> bool
[src]
Checks if the value of the field is RE_1
impl R<bool, TE_A>
[src]
pub fn variant(&self) -> TE_A
[src]
Get enumerated values variant
pub fn is_te_0(&self) -> bool
[src]
Checks if the value of the field is TE_0
pub fn is_te_1(&self) -> bool
[src]
Checks if the value of the field is TE_1
impl R<bool, ILIE_A>
[src]
pub fn variant(&self) -> ILIE_A
[src]
Get enumerated values variant
pub fn is_ilie_0(&self) -> bool
[src]
Checks if the value of the field is ILIE_0
pub fn is_ilie_1(&self) -> bool
[src]
Checks if the value of the field is ILIE_1
impl R<bool, RIE_A>
[src]
pub fn variant(&self) -> RIE_A
[src]
Get enumerated values variant
pub fn is_rie_0(&self) -> bool
[src]
Checks if the value of the field is RIE_0
pub fn is_rie_1(&self) -> bool
[src]
Checks if the value of the field is RIE_1
impl R<bool, TCIE_A>
[src]
pub fn variant(&self) -> TCIE_A
[src]
Get enumerated values variant
pub fn is_tcie_0(&self) -> bool
[src]
Checks if the value of the field is TCIE_0
pub fn is_tcie_1(&self) -> bool
[src]
Checks if the value of the field is TCIE_1
impl R<bool, TIE_A>
[src]
pub fn variant(&self) -> TIE_A
[src]
Get enumerated values variant
pub fn is_tie_0(&self) -> bool
[src]
Checks if the value of the field is TIE_0
pub fn is_tie_1(&self) -> bool
[src]
Checks if the value of the field is TIE_1
impl R<bool, PEIE_A>
[src]
pub fn variant(&self) -> PEIE_A
[src]
Get enumerated values variant
pub fn is_peie_0(&self) -> bool
[src]
Checks if the value of the field is PEIE_0
pub fn is_peie_1(&self) -> bool
[src]
Checks if the value of the field is PEIE_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, NEIE_A>
[src]
pub fn variant(&self) -> NEIE_A
[src]
Get enumerated values variant
pub fn is_neie_0(&self) -> bool
[src]
Checks if the value of the field is NEIE_0
pub fn is_neie_1(&self) -> bool
[src]
Checks if the value of the field is NEIE_1
impl R<bool, ORIE_A>
[src]
pub fn variant(&self) -> ORIE_A
[src]
Get enumerated values variant
pub fn is_orie_0(&self) -> bool
[src]
Checks if the value of the field is ORIE_0
pub fn is_orie_1(&self) -> bool
[src]
Checks if the value of the field is ORIE_1
impl R<bool, TXINV_A>
[src]
pub fn variant(&self) -> TXINV_A
[src]
Get enumerated values variant
pub fn is_txinv_0(&self) -> bool
[src]
Checks if the value of the field is TXINV_0
pub fn is_txinv_1(&self) -> bool
[src]
Checks if the value of the field is TXINV_1
impl R<bool, TXDIR_A>
[src]
pub fn variant(&self) -> TXDIR_A
[src]
Get enumerated values variant
pub fn is_txdir_0(&self) -> bool
[src]
Checks if the value of the field is TXDIR_0
pub fn is_txdir_1(&self) -> bool
[src]
Checks if the value of the field is TXDIR_1
impl R<u32, Reg<u32, _CTRL>>
[src]
pub fn pt(&self) -> PT_R
[src]
Bit 0 - Parity Type
pub fn pe(&self) -> PE_R
[src]
Bit 1 - Parity Enable
pub fn ilt(&self) -> ILT_R
[src]
Bit 2 - Idle Line Type Select
pub fn wake(&self) -> WAKE_R
[src]
Bit 3 - Receiver Wakeup Method Select
pub fn m(&self) -> M_R
[src]
Bit 4 - 9-Bit or 8-Bit Mode Select
pub fn rsrc(&self) -> RSRC_R
[src]
Bit 5 - Receiver Source Select
pub fn dozeen(&self) -> DOZEEN_R
[src]
Bit 6 - Doze Enable
pub fn loops(&self) -> LOOPS_R
[src]
Bit 7 - Loop Mode Select
pub fn idlecfg(&self) -> IDLECFG_R
[src]
Bits 8:10 - Idle Configuration
pub fn m7(&self) -> M7_R
[src]
Bit 11 - 7-Bit Mode Select
pub fn ma2ie(&self) -> MA2IE_R
[src]
Bit 14 - Match 2 Interrupt Enable
pub fn ma1ie(&self) -> MA1IE_R
[src]
Bit 15 - Match 1 Interrupt Enable
pub fn sbk(&self) -> SBK_R
[src]
Bit 16 - Send Break
pub fn rwu(&self) -> RWU_R
[src]
Bit 17 - Receiver Wakeup Control
pub fn re(&self) -> RE_R
[src]
Bit 18 - Receiver Enable
pub fn te(&self) -> TE_R
[src]
Bit 19 - Transmitter Enable
pub fn ilie(&self) -> ILIE_R
[src]
Bit 20 - Idle Line Interrupt Enable
pub fn rie(&self) -> RIE_R
[src]
Bit 21 - Receiver Interrupt Enable
pub fn tcie(&self) -> TCIE_R
[src]
Bit 22 - Transmission Complete Interrupt Enable for
pub fn tie(&self) -> TIE_R
[src]
Bit 23 - Transmit Interrupt Enable
pub fn peie(&self) -> PEIE_R
[src]
Bit 24 - Parity Error Interrupt Enable
pub fn feie(&self) -> FEIE_R
[src]
Bit 25 - Framing Error Interrupt Enable
pub fn neie(&self) -> NEIE_R
[src]
Bit 26 - Noise Error Interrupt Enable
pub fn orie(&self) -> ORIE_R
[src]
Bit 27 - Overrun Interrupt Enable
pub fn txinv(&self) -> TXINV_R
[src]
Bit 28 - Transmit Data Inversion
pub fn txdir(&self) -> TXDIR_R
[src]
Bit 29 - TXD Pin Direction in Single-Wire Mode
pub fn r9t8(&self) -> R9T8_R
[src]
Bit 30 - Receive Bit 9 / Transmit Bit 8
pub fn r8t9(&self) -> R8T9_R
[src]
Bit 31 - Receive Bit 8 / Transmit Bit 9
impl R<bool, IDLINE_A>
[src]
pub fn variant(&self) -> IDLINE_A
[src]
Get enumerated values variant
pub fn is_idline_0(&self) -> bool
[src]
Checks if the value of the field is IDLINE_0
pub fn is_idline_1(&self) -> bool
[src]
Checks if the value of the field is IDLINE_1
impl R<bool, RXEMPT_A>
[src]
pub fn variant(&self) -> RXEMPT_A
[src]
Get enumerated values variant
pub fn is_rxempt_0(&self) -> bool
[src]
Checks if the value of the field is RXEMPT_0
pub fn is_rxempt_1(&self) -> bool
[src]
Checks if the value of the field is RXEMPT_1
impl R<bool, FRETSC_A>
[src]
pub fn variant(&self) -> FRETSC_A
[src]
Get enumerated values variant
pub fn is_fretsc_0(&self) -> bool
[src]
Checks if the value of the field is FRETSC_0
pub fn is_fretsc_1(&self) -> bool
[src]
Checks if the value of the field is FRETSC_1
impl R<bool, PARITYE_A>
[src]
pub fn variant(&self) -> PARITYE_A
[src]
Get enumerated values variant
pub fn is_paritye_0(&self) -> bool
[src]
Checks if the value of the field is PARITYE_0
pub fn is_paritye_1(&self) -> bool
[src]
Checks if the value of the field is PARITYE_1
impl R<bool, NOISY_A>
[src]
pub fn variant(&self) -> NOISY_A
[src]
Get enumerated values variant
pub fn is_noisy_0(&self) -> bool
[src]
Checks if the value of the field is NOISY_0
pub fn is_noisy_1(&self) -> bool
[src]
Checks if the value of the field is NOISY_1
impl R<u32, Reg<u32, _DATA>>
[src]
pub fn r0t0(&self) -> R0T0_R
[src]
Bit 0 - R0T0
pub fn r1t1(&self) -> R1T1_R
[src]
Bit 1 - R1T1
pub fn r2t2(&self) -> R2T2_R
[src]
Bit 2 - R2T2
pub fn r3t3(&self) -> R3T3_R
[src]
Bit 3 - R3T3
pub fn r4t4(&self) -> R4T4_R
[src]
Bit 4 - R4T4
pub fn r5t5(&self) -> R5T5_R
[src]
Bit 5 - R5T5
pub fn r6t6(&self) -> R6T6_R
[src]
Bit 6 - R6T6
pub fn r7t7(&self) -> R7T7_R
[src]
Bit 7 - R7T7
pub fn r8t8(&self) -> R8T8_R
[src]
Bit 8 - R8T8
pub fn r9t9(&self) -> R9T9_R
[src]
Bit 9 - R9T9
pub fn idline(&self) -> IDLINE_R
[src]
Bit 11 - Idle Line
pub fn rxempt(&self) -> RXEMPT_R
[src]
Bit 12 - Receive Buffer Empty
pub fn fretsc(&self) -> FRETSC_R
[src]
Bit 13 - Frame Error / Transmit Special Character
pub fn paritye(&self) -> PARITYE_R
[src]
Bit 14 - PARITYE
pub fn noisy(&self) -> NOISY_R
[src]
Bit 15 - NOISY
impl R<u32, Reg<u32, _MATCH>>
[src]
pub fn ma1(&self) -> MA1_R
[src]
Bits 0:9 - Match Address 1
pub fn ma2(&self) -> MA2_R
[src]
Bits 16:25 - Match Address 2
impl R<bool, TXCTSE_A>
[src]
pub fn variant(&self) -> TXCTSE_A
[src]
Get enumerated values variant
pub fn is_txctse_0(&self) -> bool
[src]
Checks if the value of the field is TXCTSE_0
pub fn is_txctse_1(&self) -> bool
[src]
Checks if the value of the field is TXCTSE_1
impl R<bool, TXRTSE_A>
[src]
pub fn variant(&self) -> TXRTSE_A
[src]
Get enumerated values variant
pub fn is_txrtse_0(&self) -> bool
[src]
Checks if the value of the field is TXRTSE_0
pub fn is_txrtse_1(&self) -> bool
[src]
Checks if the value of the field is TXRTSE_1
impl R<bool, TXRTSPOL_A>
[src]
pub fn variant(&self) -> TXRTSPOL_A
[src]
Get enumerated values variant
pub fn is_txrtspol_0(&self) -> bool
[src]
Checks if the value of the field is TXRTSPOL_0
pub fn is_txrtspol_1(&self) -> bool
[src]
Checks if the value of the field is TXRTSPOL_1
impl R<bool, RXRTSE_A>
[src]
pub fn variant(&self) -> RXRTSE_A
[src]
Get enumerated values variant
pub fn is_rxrtse_0(&self) -> bool
[src]
Checks if the value of the field is RXRTSE_0
pub fn is_rxrtse_1(&self) -> bool
[src]
Checks if the value of the field is RXRTSE_1
impl R<bool, TXCTSC_A>
[src]
pub fn variant(&self) -> TXCTSC_A
[src]
Get enumerated values variant
pub fn is_txctsc_0(&self) -> bool
[src]
Checks if the value of the field is TXCTSC_0
pub fn is_txctsc_1(&self) -> bool
[src]
Checks if the value of the field is TXCTSC_1
impl R<bool, TXCTSSRC_A>
[src]
pub fn variant(&self) -> TXCTSSRC_A
[src]
Get enumerated values variant
pub fn is_txctssrc_0(&self) -> bool
[src]
Checks if the value of the field is TXCTSSRC_0
pub fn is_txctssrc_1(&self) -> bool
[src]
Checks if the value of the field is TXCTSSRC_1
impl R<u8, TNP_A>
[src]
pub fn variant(&self) -> TNP_A
[src]
Get enumerated values variant
pub fn is_tnp_0(&self) -> bool
[src]
Checks if the value of the field is TNP_0
pub fn is_tnp_1(&self) -> bool
[src]
Checks if the value of the field is TNP_1
pub fn is_tnp_2(&self) -> bool
[src]
Checks if the value of the field is TNP_2
pub fn is_tnp_3(&self) -> bool
[src]
Checks if the value of the field is TNP_3
impl R<bool, IREN_A>
[src]
pub fn variant(&self) -> IREN_A
[src]
Get enumerated values variant
pub fn is_iren_0(&self) -> bool
[src]
Checks if the value of the field is IREN_0
pub fn is_iren_1(&self) -> bool
[src]
Checks if the value of the field is IREN_1
impl R<u32, Reg<u32, _MODIR>>
[src]
pub fn txctse(&self) -> TXCTSE_R
[src]
Bit 0 - Transmitter clear-to-send enable
pub fn txrtse(&self) -> TXRTSE_R
[src]
Bit 1 - Transmitter request-to-send enable
pub fn txrtspol(&self) -> TXRTSPOL_R
[src]
Bit 2 - Transmitter request-to-send polarity
pub fn rxrtse(&self) -> RXRTSE_R
[src]
Bit 3 - Receiver request-to-send enable
pub fn txctsc(&self) -> TXCTSC_R
[src]
Bit 4 - Transmit CTS Configuration
pub fn txctssrc(&self) -> TXCTSSRC_R
[src]
Bit 5 - Transmit CTS Source
pub fn rtswater(&self) -> RTSWATER_R
[src]
Bits 8:9 - Receive RTS Configuration
pub fn tnp(&self) -> TNP_R
[src]
Bits 16:17 - Transmitter narrow pulse
pub fn iren(&self) -> IREN_R
[src]
Bit 18 - Infrared enable
impl R<u8, RXFIFOSIZE_A>
[src]
pub fn variant(&self) -> RXFIFOSIZE_A
[src]
Get enumerated values variant
pub fn is_rxfifosize_0(&self) -> bool
[src]
Checks if the value of the field is RXFIFOSIZE_0
pub fn is_rxfifosize_1(&self) -> bool
[src]
Checks if the value of the field is RXFIFOSIZE_1
pub fn is_rxfifosize_2(&self) -> bool
[src]
Checks if the value of the field is RXFIFOSIZE_2
pub fn is_rxfifosize_3(&self) -> bool
[src]
Checks if the value of the field is RXFIFOSIZE_3
pub fn is_rxfifosize_4(&self) -> bool
[src]
Checks if the value of the field is RXFIFOSIZE_4
pub fn is_rxfifosize_5(&self) -> bool
[src]
Checks if the value of the field is RXFIFOSIZE_5
pub fn is_rxfifosize_6(&self) -> bool
[src]
Checks if the value of the field is RXFIFOSIZE_6
pub fn is_rxfifosize_7(&self) -> bool
[src]
Checks if the value of the field is RXFIFOSIZE_7
impl R<bool, RXFE_A>
[src]
pub fn variant(&self) -> RXFE_A
[src]
Get enumerated values variant
pub fn is_rxfe_0(&self) -> bool
[src]
Checks if the value of the field is RXFE_0
pub fn is_rxfe_1(&self) -> bool
[src]
Checks if the value of the field is RXFE_1
impl R<u8, TXFIFOSIZE_A>
[src]
pub fn variant(&self) -> TXFIFOSIZE_A
[src]
Get enumerated values variant
pub fn is_txfifosize_0(&self) -> bool
[src]
Checks if the value of the field is TXFIFOSIZE_0
pub fn is_txfifosize_1(&self) -> bool
[src]
Checks if the value of the field is TXFIFOSIZE_1
pub fn is_txfifosize_2(&self) -> bool
[src]
Checks if the value of the field is TXFIFOSIZE_2
pub fn is_txfifosize_3(&self) -> bool
[src]
Checks if the value of the field is TXFIFOSIZE_3
pub fn is_txfifosize_4(&self) -> bool
[src]
Checks if the value of the field is TXFIFOSIZE_4
pub fn is_txfifosize_5(&self) -> bool
[src]
Checks if the value of the field is TXFIFOSIZE_5
pub fn is_txfifosize_6(&self) -> bool
[src]
Checks if the value of the field is TXFIFOSIZE_6
pub fn is_txfifosize_7(&self) -> bool
[src]
Checks if the value of the field is TXFIFOSIZE_7
impl R<bool, TXFE_A>
[src]
pub fn variant(&self) -> TXFE_A
[src]
Get enumerated values variant
pub fn is_txfe_0(&self) -> bool
[src]
Checks if the value of the field is TXFE_0
pub fn is_txfe_1(&self) -> bool
[src]
Checks if the value of the field is TXFE_1
impl R<bool, RXUFE_A>
[src]
pub fn variant(&self) -> RXUFE_A
[src]
Get enumerated values variant
pub fn is_rxufe_0(&self) -> bool
[src]
Checks if the value of the field is RXUFE_0
pub fn is_rxufe_1(&self) -> bool
[src]
Checks if the value of the field is RXUFE_1
impl R<bool, TXOFE_A>
[src]
pub fn variant(&self) -> TXOFE_A
[src]
Get enumerated values variant
pub fn is_txofe_0(&self) -> bool
[src]
Checks if the value of the field is TXOFE_0
pub fn is_txofe_1(&self) -> bool
[src]
Checks if the value of the field is TXOFE_1
impl R<u8, RXIDEN_A>
[src]
pub fn variant(&self) -> RXIDEN_A
[src]
Get enumerated values variant
pub fn is_rxiden_0(&self) -> bool
[src]
Checks if the value of the field is RXIDEN_0
pub fn is_rxiden_1(&self) -> bool
[src]
Checks if the value of the field is RXIDEN_1
pub fn is_rxiden_2(&self) -> bool
[src]
Checks if the value of the field is RXIDEN_2
pub fn is_rxiden_3(&self) -> bool
[src]
Checks if the value of the field is RXIDEN_3
pub fn is_rxiden_4(&self) -> bool
[src]
Checks if the value of the field is RXIDEN_4
pub fn is_rxiden_5(&self) -> bool
[src]
Checks if the value of the field is RXIDEN_5
pub fn is_rxiden_6(&self) -> bool
[src]
Checks if the value of the field is RXIDEN_6
pub fn is_rxiden_7(&self) -> bool
[src]
Checks if the value of the field is RXIDEN_7
impl R<bool, RXFLUSH_A>
[src]
pub fn variant(&self) -> RXFLUSH_A
[src]
Get enumerated values variant
pub fn is_rxflush_0(&self) -> bool
[src]
Checks if the value of the field is RXFLUSH_0
pub fn is_rxflush_1(&self) -> bool
[src]
Checks if the value of the field is RXFLUSH_1
impl R<bool, TXFLUSH_A>
[src]
pub fn variant(&self) -> TXFLUSH_A
[src]
Get enumerated values variant
pub fn is_txflush_0(&self) -> bool
[src]
Checks if the value of the field is TXFLUSH_0
pub fn is_txflush_1(&self) -> bool
[src]
Checks if the value of the field is TXFLUSH_1
impl R<bool, RXUF_A>
[src]
pub fn variant(&self) -> RXUF_A
[src]
Get enumerated values variant
pub fn is_rxuf_0(&self) -> bool
[src]
Checks if the value of the field is RXUF_0
pub fn is_rxuf_1(&self) -> bool
[src]
Checks if the value of the field is RXUF_1
impl R<bool, TXOF_A>
[src]
pub fn variant(&self) -> TXOF_A
[src]
Get enumerated values variant
pub fn is_txof_0(&self) -> bool
[src]
Checks if the value of the field is TXOF_0
pub fn is_txof_1(&self) -> bool
[src]
Checks if the value of the field is TXOF_1
impl R<bool, RXEMPT_A>
[src]
pub fn variant(&self) -> RXEMPT_A
[src]
Get enumerated values variant
pub fn is_rxempt_0(&self) -> bool
[src]
Checks if the value of the field is RXEMPT_0
pub fn is_rxempt_1(&self) -> bool
[src]
Checks if the value of the field is RXEMPT_1
impl R<bool, TXEMPT_A>
[src]
pub fn variant(&self) -> TXEMPT_A
[src]
Get enumerated values variant
pub fn is_txempt_0(&self) -> bool
[src]
Checks if the value of the field is TXEMPT_0
pub fn is_txempt_1(&self) -> bool
[src]
Checks if the value of the field is TXEMPT_1
impl R<u32, Reg<u32, _FIFO>>
[src]
pub fn rxfifosize(&self) -> RXFIFOSIZE_R
[src]
Bits 0:2 - Receive FIFO Buffer Depth
pub fn rxfe(&self) -> RXFE_R
[src]
Bit 3 - Receive FIFO Enable
pub fn txfifosize(&self) -> TXFIFOSIZE_R
[src]
Bits 4:6 - Transmit FIFO Buffer Depth
pub fn txfe(&self) -> TXFE_R
[src]
Bit 7 - Transmit FIFO Enable
pub fn rxufe(&self) -> RXUFE_R
[src]
Bit 8 - Receive FIFO Underflow Interrupt Enable
pub fn txofe(&self) -> TXOFE_R
[src]
Bit 9 - Transmit FIFO Overflow Interrupt Enable
pub fn rxiden(&self) -> RXIDEN_R
[src]
Bits 10:12 - Receiver Idle Empty Enable
pub fn rxflush(&self) -> RXFLUSH_R
[src]
Bit 14 - Receive FIFO/Buffer Flush
pub fn txflush(&self) -> TXFLUSH_R
[src]
Bit 15 - Transmit FIFO/Buffer Flush
pub fn rxuf(&self) -> RXUF_R
[src]
Bit 16 - Receiver Buffer Underflow Flag
pub fn txof(&self) -> TXOF_R
[src]
Bit 17 - Transmitter Buffer Overflow Flag
pub fn rxempt(&self) -> RXEMPT_R
[src]
Bit 22 - Receive Buffer/FIFO Empty
pub fn txempt(&self) -> TXEMPT_R
[src]
Bit 23 - Transmit Buffer/FIFO Empty
impl R<u32, Reg<u32, _WATER>>
[src]
pub fn txwater(&self) -> TXWATER_R
[src]
Bits 0:1 - Transmit Watermark
pub fn txcount(&self) -> TXCOUNT_R
[src]
Bits 8:10 - Transmit Counter
pub fn rxwater(&self) -> RXWATER_R
[src]
Bits 16:17 - Receive Watermark
pub fn rxcount(&self) -> RXCOUNT_R
[src]
Bits 24:26 - Receive Counter
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>,