[][src]Struct imxrt1062_gpio1::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<u32, Reg<u32, _DR>>[src]

pub fn dr(&self) -> DR_R[src]

Bits 0:31 - DR

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

pub fn gdir(&self) -> GDIR_R[src]

Bits 0:31 - GDIR

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

pub fn psr(&self) -> PSR_R[src]

Bits 0:31 - PSR

impl R<u8, ICR0_A>[src]

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

Get enumerated values variant

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

Checks if the value of the field is LOW_LEVEL

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

Checks if the value of the field is HIGH_LEVEL

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

Checks if the value of the field is RISING_EDGE

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

Checks if the value of the field is FALLING_EDGE

impl R<u8, ICR1_A>[src]

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

Get enumerated values variant

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

Checks if the value of the field is LOW_LEVEL

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

Checks if the value of the field is HIGH_LEVEL

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

Checks if the value of the field is RISING_EDGE

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

Checks if the value of the field is FALLING_EDGE

impl R<u8, ICR2_A>[src]

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

Get enumerated values variant

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

Checks if the value of the field is LOW_LEVEL

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

Checks if the value of the field is HIGH_LEVEL

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

Checks if the value of the field is RISING_EDGE

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

Checks if the value of the field is FALLING_EDGE

impl R<u8, ICR3_A>[src]

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

Get enumerated values variant

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

Checks if the value of the field is LOW_LEVEL

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

Checks if the value of the field is HIGH_LEVEL

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

Checks if the value of the field is RISING_EDGE

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

Checks if the value of the field is FALLING_EDGE

impl R<u8, ICR4_A>[src]

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

Get enumerated values variant

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

Checks if the value of the field is LOW_LEVEL

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

Checks if the value of the field is HIGH_LEVEL

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

Checks if the value of the field is RISING_EDGE

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

Checks if the value of the field is FALLING_EDGE

impl R<u8, ICR5_A>[src]

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

Get enumerated values variant

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

Checks if the value of the field is LOW_LEVEL

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

Checks if the value of the field is HIGH_LEVEL

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

Checks if the value of the field is RISING_EDGE

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

Checks if the value of the field is FALLING_EDGE

impl R<u8, ICR6_A>[src]

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

Get enumerated values variant

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

Checks if the value of the field is LOW_LEVEL

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

Checks if the value of the field is HIGH_LEVEL

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

Checks if the value of the field is RISING_EDGE

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

Checks if the value of the field is FALLING_EDGE

impl R<u8, ICR7_A>[src]

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

Get enumerated values variant

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

Checks if the value of the field is LOW_LEVEL

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

Checks if the value of the field is HIGH_LEVEL

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

Checks if the value of the field is RISING_EDGE

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

Checks if the value of the field is FALLING_EDGE

impl R<u8, ICR8_A>[src]

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

Get enumerated values variant

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

Checks if the value of the field is LOW_LEVEL

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

Checks if the value of the field is HIGH_LEVEL

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

Checks if the value of the field is RISING_EDGE

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

Checks if the value of the field is FALLING_EDGE

impl R<u8, ICR9_A>[src]

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

Get enumerated values variant

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

Checks if the value of the field is LOW_LEVEL

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

Checks if the value of the field is HIGH_LEVEL

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

Checks if the value of the field is RISING_EDGE

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

Checks if the value of the field is FALLING_EDGE

impl R<u8, ICR10_A>[src]

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

Get enumerated values variant

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

Checks if the value of the field is LOW_LEVEL

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

Checks if the value of the field is HIGH_LEVEL

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

Checks if the value of the field is RISING_EDGE

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

Checks if the value of the field is FALLING_EDGE

impl R<u8, ICR11_A>[src]

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

Get enumerated values variant

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

Checks if the value of the field is LOW_LEVEL

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

Checks if the value of the field is HIGH_LEVEL

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

Checks if the value of the field is RISING_EDGE

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

Checks if the value of the field is FALLING_EDGE

impl R<u8, ICR12_A>[src]

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

Get enumerated values variant

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

Checks if the value of the field is LOW_LEVEL

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

Checks if the value of the field is HIGH_LEVEL

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

Checks if the value of the field is RISING_EDGE

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

Checks if the value of the field is FALLING_EDGE

impl R<u8, ICR13_A>[src]

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

Get enumerated values variant

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

Checks if the value of the field is LOW_LEVEL

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

Checks if the value of the field is HIGH_LEVEL

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

Checks if the value of the field is RISING_EDGE

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

Checks if the value of the field is FALLING_EDGE

impl R<u8, ICR14_A>[src]

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

Get enumerated values variant

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

Checks if the value of the field is LOW_LEVEL

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

Checks if the value of the field is HIGH_LEVEL

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

Checks if the value of the field is RISING_EDGE

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

Checks if the value of the field is FALLING_EDGE

impl R<u8, ICR15_A>[src]

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

Get enumerated values variant

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

Checks if the value of the field is LOW_LEVEL

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

Checks if the value of the field is HIGH_LEVEL

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

Checks if the value of the field is RISING_EDGE

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

Checks if the value of the field is FALLING_EDGE

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

pub fn icr0(&self) -> ICR0_R[src]

Bits 0:1 - ICR0

pub fn icr1(&self) -> ICR1_R[src]

Bits 2:3 - ICR1

pub fn icr2(&self) -> ICR2_R[src]

Bits 4:5 - ICR2

pub fn icr3(&self) -> ICR3_R[src]

Bits 6:7 - ICR3

pub fn icr4(&self) -> ICR4_R[src]

Bits 8:9 - ICR4

pub fn icr5(&self) -> ICR5_R[src]

Bits 10:11 - ICR5

pub fn icr6(&self) -> ICR6_R[src]

Bits 12:13 - ICR6

pub fn icr7(&self) -> ICR7_R[src]

Bits 14:15 - ICR7

pub fn icr8(&self) -> ICR8_R[src]

Bits 16:17 - ICR8

pub fn icr9(&self) -> ICR9_R[src]

Bits 18:19 - ICR9

pub fn icr10(&self) -> ICR10_R[src]

Bits 20:21 - ICR10

pub fn icr11(&self) -> ICR11_R[src]

Bits 22:23 - ICR11

pub fn icr12(&self) -> ICR12_R[src]

Bits 24:25 - ICR12

pub fn icr13(&self) -> ICR13_R[src]

Bits 26:27 - ICR13

pub fn icr14(&self) -> ICR14_R[src]

Bits 28:29 - ICR14

pub fn icr15(&self) -> ICR15_R[src]

Bits 30:31 - ICR15

impl R<u8, ICR16_A>[src]

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

Get enumerated values variant

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

Checks if the value of the field is LOW_LEVEL

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

Checks if the value of the field is HIGH_LEVEL

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

Checks if the value of the field is RISING_EDGE

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

Checks if the value of the field is FALLING_EDGE

impl R<u8, ICR17_A>[src]

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

Get enumerated values variant

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

Checks if the value of the field is LOW_LEVEL

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

Checks if the value of the field is HIGH_LEVEL

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

Checks if the value of the field is RISING_EDGE

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

Checks if the value of the field is FALLING_EDGE

impl R<u8, ICR18_A>[src]

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

Get enumerated values variant

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

Checks if the value of the field is LOW_LEVEL

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

Checks if the value of the field is HIGH_LEVEL

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

Checks if the value of the field is RISING_EDGE

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

Checks if the value of the field is FALLING_EDGE

impl R<u8, ICR19_A>[src]

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

Get enumerated values variant

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

Checks if the value of the field is LOW_LEVEL

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

Checks if the value of the field is HIGH_LEVEL

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

Checks if the value of the field is RISING_EDGE

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

Checks if the value of the field is FALLING_EDGE

impl R<u8, ICR20_A>[src]

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

Get enumerated values variant

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

Checks if the value of the field is LOW_LEVEL

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

Checks if the value of the field is HIGH_LEVEL

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

Checks if the value of the field is RISING_EDGE

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

Checks if the value of the field is FALLING_EDGE

impl R<u8, ICR21_A>[src]

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

Get enumerated values variant

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

Checks if the value of the field is LOW_LEVEL

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

Checks if the value of the field is HIGH_LEVEL

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

Checks if the value of the field is RISING_EDGE

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

Checks if the value of the field is FALLING_EDGE

impl R<u8, ICR22_A>[src]

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

Get enumerated values variant

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

Checks if the value of the field is LOW_LEVEL

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

Checks if the value of the field is HIGH_LEVEL

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

Checks if the value of the field is RISING_EDGE

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

Checks if the value of the field is FALLING_EDGE

impl R<u8, ICR23_A>[src]

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

Get enumerated values variant

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

Checks if the value of the field is LOW_LEVEL

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

Checks if the value of the field is HIGH_LEVEL

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

Checks if the value of the field is RISING_EDGE

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

Checks if the value of the field is FALLING_EDGE

impl R<u8, ICR24_A>[src]

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

Get enumerated values variant

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

Checks if the value of the field is LOW_LEVEL

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

Checks if the value of the field is HIGH_LEVEL

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

Checks if the value of the field is RISING_EDGE

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

Checks if the value of the field is FALLING_EDGE

impl R<u8, ICR25_A>[src]

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

Get enumerated values variant

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

Checks if the value of the field is LOW_LEVEL

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

Checks if the value of the field is HIGH_LEVEL

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

Checks if the value of the field is RISING_EDGE

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

Checks if the value of the field is FALLING_EDGE

impl R<u8, ICR26_A>[src]

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

Get enumerated values variant

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

Checks if the value of the field is LOW_LEVEL

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

Checks if the value of the field is HIGH_LEVEL

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

Checks if the value of the field is RISING_EDGE

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

Checks if the value of the field is FALLING_EDGE

impl R<u8, ICR27_A>[src]

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

Get enumerated values variant

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

Checks if the value of the field is LOW_LEVEL

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

Checks if the value of the field is HIGH_LEVEL

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

Checks if the value of the field is RISING_EDGE

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

Checks if the value of the field is FALLING_EDGE

impl R<u8, ICR28_A>[src]

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

Get enumerated values variant

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

Checks if the value of the field is LOW_LEVEL

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

Checks if the value of the field is HIGH_LEVEL

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

Checks if the value of the field is RISING_EDGE

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

Checks if the value of the field is FALLING_EDGE

impl R<u8, ICR29_A>[src]

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

Get enumerated values variant

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

Checks if the value of the field is LOW_LEVEL

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

Checks if the value of the field is HIGH_LEVEL

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

Checks if the value of the field is RISING_EDGE

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

Checks if the value of the field is FALLING_EDGE

impl R<u8, ICR30_A>[src]

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

Get enumerated values variant

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

Checks if the value of the field is LOW_LEVEL

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

Checks if the value of the field is HIGH_LEVEL

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

Checks if the value of the field is RISING_EDGE

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

Checks if the value of the field is FALLING_EDGE

impl R<u8, ICR31_A>[src]

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

Get enumerated values variant

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

Checks if the value of the field is LOW_LEVEL

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

Checks if the value of the field is HIGH_LEVEL

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

Checks if the value of the field is RISING_EDGE

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

Checks if the value of the field is FALLING_EDGE

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

pub fn icr16(&self) -> ICR16_R[src]

Bits 0:1 - ICR16

pub fn icr17(&self) -> ICR17_R[src]

Bits 2:3 - ICR17

pub fn icr18(&self) -> ICR18_R[src]

Bits 4:5 - ICR18

pub fn icr19(&self) -> ICR19_R[src]

Bits 6:7 - ICR19

pub fn icr20(&self) -> ICR20_R[src]

Bits 8:9 - ICR20

pub fn icr21(&self) -> ICR21_R[src]

Bits 10:11 - ICR21

pub fn icr22(&self) -> ICR22_R[src]

Bits 12:13 - ICR22

pub fn icr23(&self) -> ICR23_R[src]

Bits 14:15 - ICR23

pub fn icr24(&self) -> ICR24_R[src]

Bits 16:17 - ICR24

pub fn icr25(&self) -> ICR25_R[src]

Bits 18:19 - ICR25

pub fn icr26(&self) -> ICR26_R[src]

Bits 20:21 - ICR26

pub fn icr27(&self) -> ICR27_R[src]

Bits 22:23 - ICR27

pub fn icr28(&self) -> ICR28_R[src]

Bits 24:25 - ICR28

pub fn icr29(&self) -> ICR29_R[src]

Bits 26:27 - ICR29

pub fn icr30(&self) -> ICR30_R[src]

Bits 28:29 - ICR30

pub fn icr31(&self) -> ICR31_R[src]

Bits 30:31 - ICR31

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

pub fn imr(&self) -> IMR_R[src]

Bits 0:31 - IMR

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

pub fn isr(&self) -> ISR_R[src]

Bits 0:31 - ISR

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

pub fn gpio_edge_sel(&self) -> GPIO_EDGE_SEL_R[src]

Bits 0:31 - GPIO_EDGE_SEL

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.