[][src]Struct imxrt1062_flexio1::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_0(&self) -> bool[src]

Checks if the value of the field is FEATURE_0

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

Checks if the value of the field is FEATURE_1

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 shifter(&self) -> SHIFTER_R[src]

Bits 0:7 - Shifter Number

pub fn timer(&self) -> TIMER_R[src]

Bits 8:15 - Timer Number

pub fn pin(&self) -> PIN_R[src]

Bits 16:23 - Pin Number

pub fn trigger(&self) -> TRIGGER_R[src]

Bits 24:31 - Trigger Number

impl R<bool, FLEXEN_A>[src]

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

Get enumerated values variant

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

Checks if the value of the field is FLEXEN_0

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

Checks if the value of the field is FLEXEN_1

impl R<bool, SWRST_A>[src]

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

Get enumerated values variant

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

Checks if the value of the field is SWRST_0

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

Checks if the value of the field is SWRST_1

impl R<bool, FASTACC_A>[src]

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

Get enumerated values variant

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

Checks if the value of the field is FASTACC_0

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

Checks if the value of the field is FASTACC_1

impl R<bool, DBGE_A>[src]

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

Get enumerated values variant

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

Checks if the value of the field is DBGE_0

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

Checks if the value of the field is DBGE_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<u32, Reg<u32, _CTRL>>[src]

pub fn flexen(&self) -> FLEXEN_R[src]

Bit 0 - FlexIO Enable

pub fn swrst(&self) -> SWRST_R[src]

Bit 1 - Software Reset

pub fn fastacc(&self) -> FASTACC_R[src]

Bit 2 - Fast Access

pub fn dbge(&self) -> DBGE_R[src]

Bit 30 - Debug Enable

pub fn dozen(&self) -> DOZEN_R[src]

Bit 31 - Doze Enable

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

pub fn pdi(&self) -> PDI_R[src]

Bits 0:15 - Pin Data Input

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

pub fn ssf(&self) -> SSF_R[src]

Bits 0:3 - Shifter Status Flag

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

pub fn sef(&self) -> SEF_R[src]

Bits 0:3 - Shifter Error Flags

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

pub fn tsf(&self) -> TSF_R[src]

Bits 0:3 - Timer Status Flags

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

pub fn ssie(&self) -> SSIE_R[src]

Bits 0:3 - Shifter Status Interrupt Enable

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

pub fn seie(&self) -> SEIE_R[src]

Bits 0:3 - Shifter Error Interrupt Enable

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

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

Bits 0:3 - Timer Status Interrupt Enable

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

pub fn ssde(&self) -> SSDE_R[src]

Bits 0:3 - Shifter Status DMA Enable

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

pub fn state(&self) -> STATE_R[src]

Bits 0:2 - Current State Pointer

impl R<u8, SMOD_A>[src]

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

Get enumerated values variant

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

Checks if the value of the field is SMOD_0

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

Checks if the value of the field is SMOD_1

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

Checks if the value of the field is SMOD_2

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

Checks if the value of the field is SMOD_4

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

Checks if the value of the field is SMOD_5

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

Checks if the value of the field is SMOD_6

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

Checks if the value of the field is SMOD_7

impl R<bool, PINPOL_A>[src]

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

Get enumerated values variant

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

Checks if the value of the field is PINPOL_0

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

Checks if the value of the field is PINPOL_1

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

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

Get enumerated values variant

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

Checks if the value of the field is TIMPOL_0

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

Checks if the value of the field is TIMPOL_1

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

pub fn smod(&self) -> SMOD_R[src]

Bits 0:2 - Shifter Mode

pub fn pinpol(&self) -> PINPOL_R[src]

Bit 7 - Shifter Pin Polarity

pub fn pinsel(&self) -> PINSEL_R[src]

Bits 8:11 - Shifter Pin Select

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

Bits 16:17 - Shifter Pin Configuration

pub fn timpol(&self) -> TIMPOL_R[src]

Bit 23 - Timer Polarity

pub fn timsel(&self) -> TIMSEL_R[src]

Bits 24:25 - Timer Select

impl R<u8, SSTART_A>[src]

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

Get enumerated values variant

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

Checks if the value of the field is SSTART_0

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

Checks if the value of the field is SSTART_1

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

Checks if the value of the field is SSTART_2

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

Checks if the value of the field is SSTART_3

impl R<u8, SSTOP_A>[src]

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

Get enumerated values variant

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

Checks if the value of the field is SSTOP_0

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

Checks if the value of the field is SSTOP_2

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

Checks if the value of the field is SSTOP_3

impl R<bool, INSRC_A>[src]

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

Get enumerated values variant

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

Checks if the value of the field is INSRC_0

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

Checks if the value of the field is INSRC_1

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

pub fn sstart(&self) -> SSTART_R[src]

Bits 0:1 - Shifter Start bit

pub fn sstop(&self) -> SSTOP_R[src]

Bits 4:5 - Shifter Stop bit

pub fn insrc(&self) -> INSRC_R[src]

Bit 8 - Input Source

pub fn pwidth(&self) -> PWIDTH_R[src]

Bits 16:19 - Parallel Width

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

pub fn shiftbuf(&self) -> SHIFTBUF_R[src]

Bits 0:31 - Shift Buffer

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

pub fn shiftbufbis(&self) -> SHIFTBUFBIS_R[src]

Bits 0:31 - Shift Buffer

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

pub fn shiftbufbys(&self) -> SHIFTBUFBYS_R[src]

Bits 0:31 - Shift Buffer

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

pub fn shiftbufbbs(&self) -> SHIFTBUFBBS_R[src]

Bits 0:31 - Shift Buffer

impl R<u8, TIMOD_A>[src]

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

Get enumerated values variant

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

Checks if the value of the field is TIMOD_0

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

Checks if the value of the field is TIMOD_1

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

Checks if the value of the field is TIMOD_2

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

Checks if the value of the field is TIMOD_3

impl R<bool, PINPOL_A>[src]

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

Get enumerated values variant

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

Checks if the value of the field is PINPOL_0

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

Checks if the value of the field is PINPOL_1

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

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

Get enumerated values variant

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

Checks if the value of the field is TRGSRC_0

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

Checks if the value of the field is TRGSRC_1

impl R<bool, TRGPOL_A>[src]

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

Get enumerated values variant

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

Checks if the value of the field is TRGPOL_0

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

Checks if the value of the field is TRGPOL_1

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

pub fn timod(&self) -> TIMOD_R[src]

Bits 0:1 - Timer Mode

pub fn pinpol(&self) -> PINPOL_R[src]

Bit 7 - Timer Pin Polarity

pub fn pinsel(&self) -> PINSEL_R[src]

Bits 8:11 - Timer Pin Select

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

Bits 16:17 - Timer Pin Configuration

pub fn trgsrc(&self) -> TRGSRC_R[src]

Bit 22 - Trigger Source

pub fn trgpol(&self) -> TRGPOL_R[src]

Bit 23 - Trigger Polarity

pub fn trgsel(&self) -> TRGSEL_R[src]

Bits 24:28 - Trigger Select

impl R<bool, TSTART_A>[src]

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

Get enumerated values variant

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

Checks if the value of the field is TSTART_0

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

Checks if the value of the field is TSTART_1

impl R<u8, TSTOP_A>[src]

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

Get enumerated values variant

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

Checks if the value of the field is TSTOP_0

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

Checks if the value of the field is TSTOP_1

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

Checks if the value of the field is TSTOP_2

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

Checks if the value of the field is TSTOP_3

impl R<u8, TIMENA_A>[src]

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

Get enumerated values variant

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

Checks if the value of the field is TIMENA_0

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

Checks if the value of the field is TIMENA_1

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

Checks if the value of the field is TIMENA_2

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

Checks if the value of the field is TIMENA_3

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

Checks if the value of the field is TIMENA_4

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

Checks if the value of the field is TIMENA_5

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

Checks if the value of the field is TIMENA_6

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

Checks if the value of the field is TIMENA_7

impl R<u8, TIMDIS_A>[src]

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

Get enumerated values variant

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

Checks if the value of the field is TIMDIS_0

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

Checks if the value of the field is TIMDIS_1

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

Checks if the value of the field is TIMDIS_2

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

Checks if the value of the field is TIMDIS_3

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

Checks if the value of the field is TIMDIS_4

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

Checks if the value of the field is TIMDIS_5

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

Checks if the value of the field is TIMDIS_6

impl R<u8, TIMRST_A>[src]

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

Get enumerated values variant

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

Checks if the value of the field is TIMRST_0

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

Checks if the value of the field is TIMRST_2

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

Checks if the value of the field is TIMRST_3

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

Checks if the value of the field is TIMRST_4

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

Checks if the value of the field is TIMRST_6

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

Checks if the value of the field is TIMRST_7

impl R<u8, TIMDEC_A>[src]

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

Get enumerated values variant

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

Checks if the value of the field is TIMDEC_0

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

Checks if the value of the field is TIMDEC_1

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

Checks if the value of the field is TIMDEC_2

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

Checks if the value of the field is TIMDEC_3

impl R<u8, TIMOUT_A>[src]

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

Get enumerated values variant

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

Checks if the value of the field is TIMOUT_0

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

Checks if the value of the field is TIMOUT_1

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

Checks if the value of the field is TIMOUT_2

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

Checks if the value of the field is TIMOUT_3

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

pub fn tstart(&self) -> TSTART_R[src]

Bit 1 - Timer Start Bit

pub fn tstop(&self) -> TSTOP_R[src]

Bits 4:5 - Timer Stop Bit

pub fn timena(&self) -> TIMENA_R[src]

Bits 8:10 - Timer Enable

pub fn timdis(&self) -> TIMDIS_R[src]

Bits 12:14 - Timer Disable

pub fn timrst(&self) -> TIMRST_R[src]

Bits 16:18 - Timer Reset

pub fn timdec(&self) -> TIMDEC_R[src]

Bits 20:21 - Timer Decrement

pub fn timout(&self) -> TIMOUT_R[src]

Bits 24:25 - Timer Output

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

pub fn cmp(&self) -> CMP_R[src]

Bits 0:15 - Timer Compare Value

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

pub fn shiftbufnbs(&self) -> SHIFTBUFNBS_R[src]

Bits 0:31 - Shift Buffer

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

pub fn shiftbufhws(&self) -> SHIFTBUFHWS_R[src]

Bits 0:31 - Shift Buffer

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

pub fn shiftbufnis(&self) -> SHIFTBUFNIS_R[src]

Bits 0:31 - Shift Buffer

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.