[][src]Struct imxrt1062_ocotp::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, WR_UNLOCK_A>[src]

pub fn variant(&self) -> Variant<u16, WR_UNLOCK_A>[src]

Get enumerated values variant

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

Checks if the value of the field is KEY

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

pub fn addr(&self) -> ADDR_R[src]

Bits 0:5 - ADDR

pub fn rsvd0(&self) -> RSVD0_R[src]

Bits 6:7 - RSVD0

pub fn busy(&self) -> BUSY_R[src]

Bit 8 - BUSY

pub fn error(&self) -> ERROR_R[src]

Bit 9 - ERROR

pub fn reload_shadows(&self) -> RELOAD_SHADOWS_R[src]

Bit 10 - RELOAD_SHADOWS

pub fn crc_test(&self) -> CRC_TEST_R[src]

Bit 11 - CRC_TEST

pub fn crc_fail(&self) -> CRC_FAIL_R[src]

Bit 12 - CRC_FAIL

pub fn rsvd1(&self) -> RSVD1_R[src]

Bits 13:15 - RSVD1

pub fn wr_unlock(&self) -> WR_UNLOCK_R[src]

Bits 16:31 - WR_UNLOCK

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

pub fn addr(&self) -> ADDR_R[src]

Bits 0:5 - ADDR

pub fn rsvd0(&self) -> RSVD0_R[src]

Bits 6:7 - RSVD0

pub fn busy(&self) -> BUSY_R[src]

Bit 8 - BUSY

pub fn error(&self) -> ERROR_R[src]

Bit 9 - ERROR

pub fn reload_shadows(&self) -> RELOAD_SHADOWS_R[src]

Bit 10 - RELOAD_SHADOWS

pub fn crc_test(&self) -> CRC_TEST_R[src]

Bit 11 - CRC_TEST

pub fn crc_fail(&self) -> CRC_FAIL_R[src]

Bit 12 - CRC_FAIL

pub fn rsvd1(&self) -> RSVD1_R[src]

Bits 13:15 - RSVD1

pub fn wr_unlock(&self) -> WR_UNLOCK_R[src]

Bits 16:31 - WR_UNLOCK

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

pub fn addr(&self) -> ADDR_R[src]

Bits 0:5 - ADDR

pub fn rsvd0(&self) -> RSVD0_R[src]

Bits 6:7 - RSVD0

pub fn busy(&self) -> BUSY_R[src]

Bit 8 - BUSY

pub fn error(&self) -> ERROR_R[src]

Bit 9 - ERROR

pub fn reload_shadows(&self) -> RELOAD_SHADOWS_R[src]

Bit 10 - RELOAD_SHADOWS

pub fn crc_test(&self) -> CRC_TEST_R[src]

Bit 11 - CRC_TEST

pub fn crc_fail(&self) -> CRC_FAIL_R[src]

Bit 12 - CRC_FAIL

pub fn rsvd1(&self) -> RSVD1_R[src]

Bits 13:15 - RSVD1

pub fn wr_unlock(&self) -> WR_UNLOCK_R[src]

Bits 16:31 - WR_UNLOCK

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

pub fn addr(&self) -> ADDR_R[src]

Bits 0:5 - ADDR

pub fn rsvd0(&self) -> RSVD0_R[src]

Bits 6:7 - RSVD0

pub fn busy(&self) -> BUSY_R[src]

Bit 8 - BUSY

pub fn error(&self) -> ERROR_R[src]

Bit 9 - ERROR

pub fn reload_shadows(&self) -> RELOAD_SHADOWS_R[src]

Bit 10 - RELOAD_SHADOWS

pub fn crc_test(&self) -> CRC_TEST_R[src]

Bit 11 - CRC_TEST

pub fn crc_fail(&self) -> CRC_FAIL_R[src]

Bit 12 - CRC_FAIL

pub fn rsvd1(&self) -> RSVD1_R[src]

Bits 13:15 - RSVD1

pub fn wr_unlock(&self) -> WR_UNLOCK_R[src]

Bits 16:31 - WR_UNLOCK

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

pub fn strobe_prog(&self) -> STROBE_PROG_R[src]

Bits 0:11 - STROBE_PROG

pub fn relax(&self) -> RELAX_R[src]

Bits 12:15 - RELAX

pub fn strobe_read(&self) -> STROBE_READ_R[src]

Bits 16:21 - STROBE_READ

pub fn wait(&self) -> WAIT_R[src]

Bits 22:27 - WAIT

pub fn rsrvd0(&self) -> RSRVD0_R[src]

Bits 28:31 - RSRVD0

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

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

Bits 0:31 - DATA

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

pub fn read_fuse(&self) -> READ_FUSE_R[src]

Bit 0 - READ_FUSE

pub fn rsvd0(&self) -> RSVD0_R[src]

Bits 1:31 - RSVD0

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

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

Bits 0:31 - DATA

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

pub fn block_dtcp_key(&self) -> BLOCK_DTCP_KEY_R[src]

Bit 0 - BLOCK_DTCP_KEY

pub fn srk_revoke_lock(&self) -> SRK_REVOKE_LOCK_R[src]

Bit 1 - SRK_REVOKE_LOCK

pub fn field_return_lock(&self) -> FIELD_RETURN_LOCK_R[src]

Bit 2 - FIELD_RETURN_LOCK

pub fn block_rom_part(&self) -> BLOCK_ROM_PART_R[src]

Bit 3 - BLOCK_ROM_PART

pub fn jtag_block_release(&self) -> JTAG_BLOCK_RELEASE_R[src]

Bit 4 - JTAG_BLOCK_RELEASE

pub fn rsvd0(&self) -> RSVD0_R[src]

Bits 5:31 - RSVD0

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

pub fn hab_jde(&self) -> HAB_JDE_R[src]

Bit 0 - HAB_JDE

pub fn spare(&self) -> SPARE_R[src]

Bits 1:30 - SPARE

pub fn lock(&self) -> LOCK_R[src]

Bit 31 - LOCK

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

pub fn hab_jde(&self) -> HAB_JDE_R[src]

Bit 0 - HAB_JDE

pub fn spare(&self) -> SPARE_R[src]

Bits 1:30 - SPARE

pub fn lock(&self) -> LOCK_R[src]

Bit 31 - LOCK

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

pub fn hab_jde(&self) -> HAB_JDE_R[src]

Bit 0 - HAB_JDE

pub fn spare(&self) -> SPARE_R[src]

Bits 1:30 - SPARE

pub fn lock(&self) -> LOCK_R[src]

Bit 31 - LOCK

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

pub fn hab_jde(&self) -> HAB_JDE_R[src]

Bit 0 - HAB_JDE

pub fn spare(&self) -> SPARE_R[src]

Bits 1:30 - SPARE

pub fn lock(&self) -> LOCK_R[src]

Bit 31 - LOCK

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

pub fn data_start_addr(&self) -> DATA_START_ADDR_R[src]

Bits 0:7 - DATA_START_ADDR

pub fn data_end_addr(&self) -> DATA_END_ADDR_R[src]

Bits 8:15 - DATA_END_ADDR

pub fn crc_addr(&self) -> CRC_ADDR_R[src]

Bits 16:23 - CRC_ADDR

pub fn otpmk_crc(&self) -> OTPMK_CRC_R[src]

Bit 24 - OTPMK_CRC

pub fn rsvd0(&self) -> RSVD0_R[src]

Bits 25:31 - RSVD0

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

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

Bits 0:31 - DATA

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

pub fn step(&self) -> STEP_R[src]

Bits 0:15 - STEP

pub fn minor(&self) -> MINOR_R[src]

Bits 16:23 - MINOR

pub fn major(&self) -> MAJOR_R[src]

Bits 24:31 - MAJOR

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

pub fn relax_prog(&self) -> RELAX_PROG_R[src]

Bits 0:11 - RELAX_PROG

pub fn rsrvd0(&self) -> RSRVD0_R[src]

Bits 12:15 - RSRVD0

pub fn relax_read(&self) -> RELAX_READ_R[src]

Bits 16:21 - RELAX_READ

pub fn rsrvd1(&self) -> RSRVD1_R[src]

Bits 22:31 - RSRVD0

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

pub fn tester(&self) -> TESTER_R[src]

Bits 0:1 - TESTER

pub fn boot_cfg(&self) -> BOOT_CFG_R[src]

Bits 2:3 - BOOT_CFG

pub fn mem_trim(&self) -> MEM_TRIM_R[src]

Bits 4:5 - MEM_TRIM

pub fn sjc_resp(&self) -> SJC_RESP_R[src]

Bit 6 - SJC_RESP

pub fn gp4_rlock(&self) -> GP4_RLOCK_R[src]

Bit 7 - GP4_RLOCK

pub fn mac_addr(&self) -> MAC_ADDR_R[src]

Bits 8:9 - MAC_ADDR

pub fn gp1(&self) -> GP1_R[src]

Bits 10:11 - GP1

pub fn gp2(&self) -> GP2_R[src]

Bits 12:13 - GP2

pub fn rom_patch(&self) -> ROM_PATCH_R[src]

Bit 15 - ROM_PATCH

pub fn sw_gp1(&self) -> SW_GP1_R[src]

Bit 16 - SW_GP1

pub fn otpmk(&self) -> OTPMK_R[src]

Bit 17 - OTPMK

pub fn analog(&self) -> ANALOG_R[src]

Bits 18:19 - ANALOG

pub fn otpmk_crc(&self) -> OTPMK_CRC_R[src]

Bit 20 - OTPMK_CRC

pub fn sw_gp2_lock(&self) -> SW_GP2_LOCK_R[src]

Bit 21 - SW_GP2_LOCK

pub fn misc_conf(&self) -> MISC_CONF_R[src]

Bit 22 - MISC_CONF

pub fn sw_gp2_rlock(&self) -> SW_GP2_RLOCK_R[src]

Bit 23 - SW_GP2_RLOCK

pub fn gp4(&self) -> GP4_R[src]

Bits 24:25 - GP4

pub fn gp3(&self) -> GP3_R[src]

Bits 26:27 - GP3

pub fn field_return(&self) -> FIELD_RETURN_R[src]

Bits 28:31 - FIELD_RETURN

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

pub fn bits_(&self) -> BITS_R[src]

Bits 0:31 - BITS

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

pub fn bits_(&self) -> BITS_R[src]

Bits 0:31 - BITS

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

pub fn bits_(&self) -> BITS_R[src]

Bits 0:31 - BITS

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

pub fn bits_(&self) -> BITS_R[src]

Bits 0:31 - BITS

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

pub fn bits_(&self) -> BITS_R[src]

Bits 0:31 - BITS

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

pub fn bits_(&self) -> BITS_R[src]

Bits 0:31 - BITS

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

pub fn bits_(&self) -> BITS_R[src]

Bits 0:31 - BITS

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

pub fn bits_(&self) -> BITS_R[src]

Bits 0:31 - BITS

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

pub fn bits_(&self) -> BITS_R[src]

Bits 0:31 - BITS

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

pub fn bits_(&self) -> BITS_R[src]

Bits 0:31 - BITS

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

pub fn bits_(&self) -> BITS_R[src]

Bits 0:31 - BITS

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

pub fn bits_(&self) -> BITS_R[src]

Bits 0:31 - BITS

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

pub fn bits_(&self) -> BITS_R[src]

Bits 0:31 - BITS

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

pub fn bits_(&self) -> BITS_R[src]

Bits 0:31 - BITS

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

pub fn bits_(&self) -> BITS_R[src]

Bits 0:31 - BITS

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

pub fn bits_(&self) -> BITS_R[src]

Bits 0:31 - BITS

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

pub fn bits_(&self) -> BITS_R[src]

Bits 0:31 - BITS

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

pub fn bits_(&self) -> BITS_R[src]

Bits 0:31 - BITS

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

pub fn bits_(&self) -> BITS_R[src]

Bits 0:31 - BITS

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

pub fn bits_(&self) -> BITS_R[src]

Bits 0:31 - BITS

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

pub fn bits_(&self) -> BITS_R[src]

Bits 0:31 - BITS

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

pub fn bits_(&self) -> BITS_R[src]

Bits 0:31 - BITS

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

pub fn bits_(&self) -> BITS_R[src]

Bits 0:31 - BITS

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

pub fn bits_(&self) -> BITS_R[src]

Bits 0:31 - BITS

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

pub fn bits_(&self) -> BITS_R[src]

Bits 0:31 - BITS

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

pub fn bits_(&self) -> BITS_R[src]

Bits 0:31 - BITS

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

pub fn bits_(&self) -> BITS_R[src]

Bits 0:31 - BITS

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

pub fn bits_(&self) -> BITS_R[src]

Bits 0:31 - BITS

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

pub fn bits_(&self) -> BITS_R[src]

Bits 0:31 - BITS

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

pub fn bits_(&self) -> BITS_R[src]

Bits 0:31 - BITS

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

pub fn bits_(&self) -> BITS_R[src]

Bits 0:31 - BITS

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

pub fn bits_(&self) -> BITS_R[src]

Bits 0:31 - BITS

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

pub fn bits_(&self) -> BITS_R[src]

Bits 0:31 - BITS

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

pub fn bits_(&self) -> BITS_R[src]

Bits 0:31 - BITS

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

pub fn bits_(&self) -> BITS_R[src]

Bits 0:31 - BITS

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

pub fn bits_(&self) -> BITS_R[src]

Bits 0:31 - BITS

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

pub fn bits_(&self) -> BITS_R[src]

Bits 0:31 - BITS

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

pub fn bits_(&self) -> BITS_R[src]

Bits 0:31 - BITS

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

pub fn bits_(&self) -> BITS_R[src]

Bits 0:31 - BITS

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

pub fn bits_(&self) -> BITS_R[src]

Bits 0:31 - BITS

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

pub fn bits_(&self) -> BITS_R[src]

Bits 0:31 - BITS

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

pub fn bits_(&self) -> BITS_R[src]

Bits 0:31 - BITS

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

pub fn bits_(&self) -> BITS_R[src]

Bits 0:31 - BITS

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

pub fn bits_(&self) -> BITS_R[src]

Bits 0:31 - BITS

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

pub fn bits_(&self) -> BITS_R[src]

Bits 0:31 - BITS

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

pub fn bits_(&self) -> BITS_R[src]

Bits 0:31 - BITS

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

pub fn bits_(&self) -> BITS_R[src]

Bits 0:31 - BITS

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

pub fn bits_(&self) -> BITS_R[src]

Bits 0:31 - BITS

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

pub fn bits_(&self) -> BITS_R[src]

Bits 0:31 - BITS

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

pub fn bits_(&self) -> BITS_R[src]

Bits 0:31 - BITS

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

pub fn bits_(&self) -> BITS_R[src]

Bits 0:31 - BITS

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

pub fn bits_(&self) -> BITS_R[src]

Bits 0:31 - BITS

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

pub fn bits_(&self) -> BITS_R[src]

Bits 0:31 - BITS

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

pub fn bits_(&self) -> BITS_R[src]

Bits 0:31 - BITS

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

pub fn bits_(&self) -> BITS_R[src]

Bits 0:31 - BITS

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

pub fn bits_(&self) -> BITS_R[src]

Bits 0:31 - BITS

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

pub fn bits_(&self) -> BITS_R[src]

Bits 0:31 - BITS

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

pub fn bits_(&self) -> BITS_R[src]

Bits 0:31 - BITS

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

pub fn bits_(&self) -> BITS_R[src]

Bits 0:31 - BITS

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

pub fn bits_(&self) -> BITS_R[src]

Bits 0:31 - BITS

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

pub fn bits_(&self) -> BITS_R[src]

Bits 0:31 - BITS

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

pub fn bits_(&self) -> BITS_R[src]

Bits 0:31 - BITS

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

pub fn bits_(&self) -> BITS_R[src]

Bits 0:31 - BITS

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.