[][src]Struct imxrt1062_lpspi1::R

pub struct R<U, T> { /* fields omitted */ }

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]

pub fn bits(&self) -> U[src]

Read raw bits from register/field

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_4(&self) -> bool[src]

Checks if the value of the field is FEATURE_4

impl R<u32, Reg<u32, _VERID>>[src]

pub fn feature(&self) -> FEATURE_R[src]

Bits 0:15 - Module 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

pub fn pcsnum(&self) -> PCSNUM_R[src]

Bits 16:23 - PCS Number

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<u32, Reg<u32, _CR>>[src]

pub fn men(&self) -> MEN_R[src]

Bit 0 - Module 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

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, WCF_A>[src]

pub fn variant(&self) -> WCF_A[src]

Get enumerated values variant

pub fn is_wcf_0(&self) -> bool[src]

Checks if the value of the field is WCF_0

pub fn is_wcf_1(&self) -> bool[src]

Checks if the value of the field is WCF_1

impl R<bool, FCF_A>[src]

pub fn variant(&self) -> FCF_A[src]

Get enumerated values variant

pub fn is_fcf_0(&self) -> bool[src]

Checks if the value of the field is FCF_0

pub fn is_fcf_1(&self) -> bool[src]

Checks if the value of the field is FCF_1

impl R<bool, TCF_A>[src]

pub fn variant(&self) -> TCF_A[src]

Get enumerated values variant

pub fn is_tcf_0(&self) -> bool[src]

Checks if the value of the field is TCF_0

pub fn is_tcf_1(&self) -> bool[src]

Checks if the value of the field is TCF_1

impl R<bool, TEF_A>[src]

pub fn variant(&self) -> TEF_A[src]

Get enumerated values variant

pub fn is_tef_0(&self) -> bool[src]

Checks if the value of the field is TEF_0

pub fn is_tef_1(&self) -> bool[src]

Checks if the value of the field is TEF_1

impl R<bool, REF_A>[src]

pub fn variant(&self) -> REF_A[src]

Get enumerated values variant

pub fn is_ref_0(&self) -> bool[src]

Checks if the value of the field is REF_0

pub fn is_ref_1(&self) -> bool[src]

Checks if the value of the field is REF_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<u32, Reg<u32, _SR>>[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 wcf(&self) -> WCF_R[src]

Bit 8 - Word Complete Flag

pub fn fcf(&self) -> FCF_R[src]

Bit 9 - Frame Complete Flag

pub fn tcf(&self) -> TCF_R[src]

Bit 10 - Transfer Complete Flag

pub fn tef(&self) -> TEF_R[src]

Bit 11 - Transmit Error Flag

pub fn ref_(&self) -> REF_R[src]

Bit 12 - Receive Error Flag

pub fn dmf(&self) -> DMF_R[src]

Bit 13 - Data Match Flag

pub fn mbf(&self) -> MBF_R[src]

Bit 24 - Module 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, WCIE_A>[src]

pub fn variant(&self) -> WCIE_A[src]

Get enumerated values variant

pub fn is_wcie_0(&self) -> bool[src]

Checks if the value of the field is WCIE_0

pub fn is_wcie_1(&self) -> bool[src]

Checks if the value of the field is WCIE_1

impl R<bool, FCIE_A>[src]

pub fn variant(&self) -> FCIE_A[src]

Get enumerated values variant

pub fn is_fcie_0(&self) -> bool[src]

Checks if the value of the field is FCIE_0

pub fn is_fcie_1(&self) -> bool[src]

Checks if the value of the field is FCIE_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, TEIE_A>[src]

pub fn variant(&self) -> TEIE_A[src]

Get enumerated values variant

pub fn is_teie_0(&self) -> bool[src]

Checks if the value of the field is TEIE_0

pub fn is_teie_1(&self) -> bool[src]

Checks if the value of the field is TEIE_1

impl R<bool, REIE_A>[src]

pub fn variant(&self) -> REIE_A[src]

Get enumerated values variant

pub fn is_reie_0(&self) -> bool[src]

Checks if the value of the field is REIE_0

pub fn is_reie_1(&self) -> bool[src]

Checks if the value of the field is REIE_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, _IER>>[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 wcie(&self) -> WCIE_R[src]

Bit 8 - Word Complete Interrupt Enable

pub fn fcie(&self) -> FCIE_R[src]

Bit 9 - Frame Complete Interrupt Enable

pub fn tcie(&self) -> TCIE_R[src]

Bit 10 - Transfer Complete Interrupt Enable

pub fn teie(&self) -> TEIE_R[src]

Bit 11 - Transmit Error Interrupt Enable

pub fn reie(&self) -> REIE_R[src]

Bit 12 - Receive Error Interrupt Enable

pub fn dmie(&self) -> DMIE_R[src]

Bit 13 - 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, _DER>>[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, _CFGR0>>[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<bool, MASTER_A>[src]

pub fn variant(&self) -> MASTER_A[src]

Get enumerated values variant

pub fn is_master_0(&self) -> bool[src]

Checks if the value of the field is MASTER_0

pub fn is_master_1(&self) -> bool[src]

Checks if the value of the field is MASTER_1

impl R<bool, SAMPLE_A>[src]

pub fn variant(&self) -> SAMPLE_A[src]

Get enumerated values variant

pub fn is_sample_0(&self) -> bool[src]

Checks if the value of the field is SAMPLE_0

pub fn is_sample_1(&self) -> bool[src]

Checks if the value of the field is SAMPLE_1

impl R<bool, AUTOPCS_A>[src]

pub fn variant(&self) -> AUTOPCS_A[src]

Get enumerated values variant

pub fn is_autopcs_0(&self) -> bool[src]

Checks if the value of the field is AUTOPCS_0

pub fn is_autopcs_1(&self) -> bool[src]

Checks if the value of the field is AUTOPCS_1

impl R<bool, NOSTALL_A>[src]

pub fn variant(&self) -> NOSTALL_A[src]

Get enumerated values variant

pub fn is_nostall_0(&self) -> bool[src]

Checks if the value of the field is NOSTALL_0

pub fn is_nostall_1(&self) -> bool[src]

Checks if the value of the field is NOSTALL_1

impl R<u8, PCSPOL_A>[src]

pub fn variant(&self) -> Variant<u8, PCSPOL_A>[src]

Get enumerated values variant

pub fn is_pcspol_0(&self) -> bool[src]

Checks if the value of the field is PCSPOL_0

pub fn is_pcspol_1(&self) -> bool[src]

Checks if the value of the field is PCSPOL_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

impl R<bool, OUTCFG_A>[src]

pub fn variant(&self) -> OUTCFG_A[src]

Get enumerated values variant

pub fn is_outcfg_0(&self) -> bool[src]

Checks if the value of the field is OUTCFG_0

pub fn is_outcfg_1(&self) -> bool[src]

Checks if the value of the field is OUTCFG_1

impl R<bool, PCSCFG_A>[src]

pub fn variant(&self) -> PCSCFG_A[src]

Get enumerated values variant

pub fn is_pcscfg_0(&self) -> bool[src]

Checks if the value of the field is PCSCFG_0

pub fn is_pcscfg_1(&self) -> bool[src]

Checks if the value of the field is PCSCFG_1

impl R<u32, Reg<u32, _CFGR1>>[src]

pub fn master(&self) -> MASTER_R[src]

Bit 0 - Master Mode

pub fn sample(&self) -> SAMPLE_R[src]

Bit 1 - Sample Point

pub fn autopcs(&self) -> AUTOPCS_R[src]

Bit 2 - Automatic PCS

pub fn nostall(&self) -> NOSTALL_R[src]

Bit 3 - No Stall

pub fn pcspol(&self) -> PCSPOL_R[src]

Bits 8:11 - Peripheral Chip Select Polarity

pub fn matcfg(&self) -> MATCFG_R[src]

Bits 16:18 - Match Configuration

pub fn pincfg(&self) -> PINCFG_R[src]

Bits 24:25 - Pin Configuration

pub fn outcfg(&self) -> OUTCFG_R[src]

Bit 26 - Output Config

pub fn pcscfg(&self) -> PCSCFG_R[src]

Bit 27 - Peripheral Chip Select Configuration

impl R<u32, Reg<u32, _DMR0>>[src]

pub fn match0(&self) -> MATCH0_R[src]

Bits 0:31 - Match 0 Value

impl R<u32, Reg<u32, _DMR1>>[src]

pub fn match1(&self) -> MATCH1_R[src]

Bits 0:31 - Match 1 Value

impl R<u32, Reg<u32, _CCR>>[src]

pub fn sckdiv(&self) -> SCKDIV_R[src]

Bits 0:7 - SCK Divider

pub fn dbt(&self) -> DBT_R[src]

Bits 8:15 - Delay Between Transfers

pub fn pcssck(&self) -> PCSSCK_R[src]

Bits 16:23 - PCS-to-SCK Delay

pub fn sckpcs(&self) -> SCKPCS_R[src]

Bits 24:31 - SCK-to-PCS Delay

impl R<u32, Reg<u32, _FCR>>[src]

pub fn txwater(&self) -> TXWATER_R[src]

Bits 0:3 - Transmit FIFO Watermark

pub fn rxwater(&self) -> RXWATER_R[src]

Bits 16:19 - Receive FIFO Watermark

impl R<u32, Reg<u32, _FSR>>[src]

pub fn txcount(&self) -> TXCOUNT_R[src]

Bits 0:4 - Transmit FIFO Count

pub fn rxcount(&self) -> RXCOUNT_R[src]

Bits 16:20 - Receive FIFO Count

impl R<u8, WIDTH_A>[src]

pub fn variant(&self) -> Variant<u8, WIDTH_A>[src]

Get enumerated values variant

pub fn is_width_0(&self) -> bool[src]

Checks if the value of the field is WIDTH_0

pub fn is_width_1(&self) -> bool[src]

Checks if the value of the field is WIDTH_1

pub fn is_width_2(&self) -> bool[src]

Checks if the value of the field is WIDTH_2

impl R<bool, TXMSK_A>[src]

pub fn variant(&self) -> TXMSK_A[src]

Get enumerated values variant

pub fn is_txmsk_0(&self) -> bool[src]

Checks if the value of the field is TXMSK_0

pub fn is_txmsk_1(&self) -> bool[src]

Checks if the value of the field is TXMSK_1

impl R<bool, RXMSK_A>[src]

pub fn variant(&self) -> RXMSK_A[src]

Get enumerated values variant

pub fn is_rxmsk_0(&self) -> bool[src]

Checks if the value of the field is RXMSK_0

pub fn is_rxmsk_1(&self) -> bool[src]

Checks if the value of the field is RXMSK_1

impl R<bool, CONTC_A>[src]

pub fn variant(&self) -> CONTC_A[src]

Get enumerated values variant

pub fn is_contc_0(&self) -> bool[src]

Checks if the value of the field is CONTC_0

pub fn is_contc_1(&self) -> bool[src]

Checks if the value of the field is CONTC_1

impl R<bool, CONT_A>[src]

pub fn variant(&self) -> CONT_A[src]

Get enumerated values variant

pub fn is_cont_0(&self) -> bool[src]

Checks if the value of the field is CONT_0

pub fn is_cont_1(&self) -> bool[src]

Checks if the value of the field is CONT_1

impl R<bool, BYSW_A>[src]

pub fn variant(&self) -> BYSW_A[src]

Get enumerated values variant

pub fn is_bysw_0(&self) -> bool[src]

Checks if the value of the field is BYSW_0

pub fn is_bysw_1(&self) -> bool[src]

Checks if the value of the field is BYSW_1

impl R<bool, LSBF_A>[src]

pub fn variant(&self) -> LSBF_A[src]

Get enumerated values variant

pub fn is_lsbf_0(&self) -> bool[src]

Checks if the value of the field is LSBF_0

pub fn is_lsbf_1(&self) -> bool[src]

Checks if the value of the field is LSBF_1

impl R<u8, PCS_A>[src]

pub fn variant(&self) -> PCS_A[src]

Get enumerated values variant

pub fn is_pcs_0(&self) -> bool[src]

Checks if the value of the field is PCS_0

pub fn is_pcs_1(&self) -> bool[src]

Checks if the value of the field is PCS_1

pub fn is_pcs_2(&self) -> bool[src]

Checks if the value of the field is PCS_2

pub fn is_pcs_3(&self) -> bool[src]

Checks if the value of the field is PCS_3

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, CPHA_A>[src]

pub fn variant(&self) -> CPHA_A[src]

Get enumerated values variant

pub fn is_cpha_0(&self) -> bool[src]

Checks if the value of the field is CPHA_0

pub fn is_cpha_1(&self) -> bool[src]

Checks if the value of the field is CPHA_1

impl R<bool, CPOL_A>[src]

pub fn variant(&self) -> CPOL_A[src]

Get enumerated values variant

pub fn is_cpol_0(&self) -> bool[src]

Checks if the value of the field is CPOL_0

pub fn is_cpol_1(&self) -> bool[src]

Checks if the value of the field is CPOL_1

impl R<u32, Reg<u32, _TCR>>[src]

pub fn framesz(&self) -> FRAMESZ_R[src]

Bits 0:11 - Frame Size

pub fn width(&self) -> WIDTH_R[src]

Bits 16:17 - Transfer Width

pub fn txmsk(&self) -> TXMSK_R[src]

Bit 18 - Transmit Data Mask

pub fn rxmsk(&self) -> RXMSK_R[src]

Bit 19 - Receive Data Mask

pub fn contc(&self) -> CONTC_R[src]

Bit 20 - Continuing Command

pub fn cont(&self) -> CONT_R[src]

Bit 21 - Continuous Transfer

pub fn bysw(&self) -> BYSW_R[src]

Bit 22 - Byte Swap

pub fn lsbf(&self) -> LSBF_R[src]

Bit 23 - LSB First

pub fn pcs(&self) -> PCS_R[src]

Bits 24:25 - Peripheral Chip Select

pub fn prescale(&self) -> PRESCALE_R[src]

Bits 27:29 - Prescaler Value

pub fn cpha(&self) -> CPHA_R[src]

Bit 30 - Clock Phase

pub fn cpol(&self) -> CPOL_R[src]

Bit 31 - Clock Polarity

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<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, _RSR>>[src]

pub fn sof(&self) -> SOF_R[src]

Bit 0 - Start Of Frame

pub fn rxempty(&self) -> RXEMPTY_R[src]

Bit 1 - RX FIFO Empty

impl R<u32, Reg<u32, _RDR>>[src]

pub fn data(&self) -> DATA_R[src]

Bits 0:31 - Receive Data

Trait Implementations

impl<U, T, FI> PartialEq<FI> for R<U, T> where
    U: PartialEq,
    FI: Copy + Into<U>, 
[src]

Auto Trait Implementations

impl<U, T> Send for R<U, T> where
    T: Send,
    U: Send

impl<U, T> Sync for R<U, T> where
    T: Sync,
    U: Sync

impl<U, T> Unpin for R<U, T> where
    T: Unpin,
    U: Unpin

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.