[][src]Struct imxrt1062_ocotp::RegisterBlock

#[repr(C)]pub struct RegisterBlock {
    pub ctrl: CTRL,
    pub ctrl_set: CTRL_SET,
    pub ctrl_clr: CTRL_CLR,
    pub ctrl_tog: CTRL_TOG,
    pub timing: TIMING,
    pub data: DATA,
    pub read_ctrl: READ_CTRL,
    pub read_fuse_data: READ_FUSE_DATA,
    pub sw_sticky: SW_STICKY,
    pub scs: SCS,
    pub scs_set: SCS_SET,
    pub scs_clr: SCS_CLR,
    pub scs_tog: SCS_TOG,
    pub crc_addr: CRC_ADDR,
    pub crc_value: CRC_VALUE,
    pub version: VERSION,
    pub timing2: TIMING2,
    pub lock: LOCK,
    pub cfg0: CFG0,
    pub cfg1: CFG1,
    pub cfg2: CFG2,
    pub cfg3: CFG3,
    pub cfg4: CFG4,
    pub cfg5: CFG5,
    pub cfg6: CFG6,
    pub mem0: MEM0,
    pub mem1: MEM1,
    pub mem2: MEM2,
    pub mem3: MEM3,
    pub mem4: MEM4,
    pub ana0: ANA0,
    pub ana1: ANA1,
    pub ana2: ANA2,
    pub otpmk0: OTPMK0,
    pub otpmk1: OTPMK1,
    pub otpmk2: OTPMK2,
    pub otpmk3: OTPMK3,
    pub otpmk4: OTPMK4,
    pub otpmk5: OTPMK5,
    pub otpmk6: OTPMK6,
    pub otpmk7: OTPMK7,
    pub srk0: SRK0,
    pub srk1: SRK1,
    pub srk2: SRK2,
    pub srk3: SRK3,
    pub srk4: SRK4,
    pub srk5: SRK5,
    pub srk6: SRK6,
    pub srk7: SRK7,
    pub sjc_resp0: SJC_RESP0,
    pub sjc_resp1: SJC_RESP1,
    pub mac0: MAC0,
    pub mac1: MAC1,
    pub mac2: MAC2,
    pub otpmk_crc32: OTPMK_CRC32,
    pub gp1: GP1,
    pub gp2: GP2,
    pub sw_gp1: SW_GP1,
    pub sw_gp20: SW_GP20,
    pub sw_gp21: SW_GP21,
    pub sw_gp22: SW_GP22,
    pub sw_gp23: SW_GP23,
    pub misc_conf0: MISC_CONF0,
    pub misc_conf1: MISC_CONF1,
    pub srk_revoke: SRK_REVOKE,
    pub rom_patch0: ROM_PATCH0,
    pub rom_patch1: ROM_PATCH1,
    pub rom_patch2: ROM_PATCH2,
    pub rom_patch3: ROM_PATCH3,
    pub rom_patch4: ROM_PATCH4,
    pub rom_patch5: ROM_PATCH5,
    pub rom_patch6: ROM_PATCH6,
    pub rom_patch7: ROM_PATCH7,
    pub gp30: GP30,
    pub gp31: GP31,
    pub gp32: GP32,
    pub gp33: GP33,
    pub gp40: GP40,
    pub gp41: GP41,
    pub gp42: GP42,
    pub gp43: GP43,
    // some fields omitted
}

Register block

Fields

ctrl: CTRL

0x00 - OTP Controller Control Register

ctrl_set: CTRL_SET

0x04 - OTP Controller Control Register

ctrl_clr: CTRL_CLR

0x08 - OTP Controller Control Register

ctrl_tog: CTRL_TOG

0x0c - OTP Controller Control Register

timing: TIMING

0x10 - OTP Controller Timing Register

data: DATA

0x20 - OTP Controller Write Data Register

read_ctrl: READ_CTRL

0x30 - OTP Controller Write Data Register

read_fuse_data: READ_FUSE_DATA

0x40 - OTP Controller Read Data Register

sw_sticky: SW_STICKY

0x50 - Sticky bit Register

scs: SCS

0x60 - Software Controllable Signals Register

scs_set: SCS_SET

0x64 - Software Controllable Signals Register

scs_clr: SCS_CLR

0x68 - Software Controllable Signals Register

scs_tog: SCS_TOG

0x6c - Software Controllable Signals Register

crc_addr: CRC_ADDR

0x70 - OTP Controller CRC test address

crc_value: CRC_VALUE

0x80 - OTP Controller CRC Value Register

version: VERSION

0x90 - OTP Controller Version Register

timing2: TIMING2

0x100 - OTP Controller Timing Register

lock: LOCK

0x400 - Value of OTP Bank0 Word0 (Lock controls)

cfg0: CFG0

0x410 - Value of OTP Bank0 Word1 (Configuration and Manufacturing Info.)

cfg1: CFG1

0x420 - Value of OTP Bank0 Word2 (Configuration and Manufacturing Info.)

cfg2: CFG2

0x430 - Value of OTP Bank0 Word3 (Configuration and Manufacturing Info.)

cfg3: CFG3

0x440 - Value of OTP Bank0 Word4 (Configuration and Manufacturing Info.)

cfg4: CFG4

0x450 - Value of OTP Bank0 Word5 (Configuration and Manufacturing Info.)

cfg5: CFG5

0x460 - Value of OTP Bank0 Word6 (Configuration and Manufacturing Info.)

cfg6: CFG6

0x470 - Value of OTP Bank0 Word7 (Configuration and Manufacturing Info.)

mem0: MEM0

0x480 - Value of OTP Bank1 Word0 (Memory Related Info.)

mem1: MEM1

0x490 - Value of OTP Bank1 Word1 (Memory Related Info.)

mem2: MEM2

0x4a0 - Value of OTP Bank1 Word2 (Memory Related Info.)

mem3: MEM3

0x4b0 - Value of OTP Bank1 Word3 (Memory Related Info.)

mem4: MEM4

0x4c0 - Value of OTP Bank1 Word4 (Memory Related Info.)

ana0: ANA0

0x4d0 - Value of OTP Bank1 Word5 (Memory Related Info.)

ana1: ANA1

0x4e0 - Value of OTP Bank1 Word6 (General Purpose Customer Defined Info.)

ana2: ANA2

0x4f0 - Value of OTP Bank1 Word7 (General Purpose Customer Defined Info.)

otpmk0: OTPMK0

0x500 - Value of OTP Bank2 Word0 (OTPMK Key)

otpmk1: OTPMK1

0x510 - Value of OTP Bank2 Word1 (OTPMK Key)

otpmk2: OTPMK2

0x520 - Value of OTP Bank2 Word2 (OTPMK Key)

otpmk3: OTPMK3

0x530 - Value of OTP Bank2 Word3 (OTPMK Key)

otpmk4: OTPMK4

0x540 - Value of OTP Bank2 Word4 (OTPMK Key)

otpmk5: OTPMK5

0x550 - Value of OTP Bank2 Word5 (OTPMK Key)

otpmk6: OTPMK6

0x560 - Value of OTP Bank2 Word6 (OTPMK Key)

otpmk7: OTPMK7

0x570 - Value of OTP Bank2 Word7 (OTPMK Key)

srk0: SRK0

0x580 - Shadow Register for OTP Bank3 Word0 (SRK Hash)

srk1: SRK1

0x590 - Shadow Register for OTP Bank3 Word1 (SRK Hash)

srk2: SRK2

0x5a0 - Shadow Register for OTP Bank3 Word2 (SRK Hash)

srk3: SRK3

0x5b0 - Shadow Register for OTP Bank3 Word3 (SRK Hash)

srk4: SRK4

0x5c0 - Shadow Register for OTP Bank3 Word4 (SRK Hash)

srk5: SRK5

0x5d0 - Shadow Register for OTP Bank3 Word5 (SRK Hash)

srk6: SRK6

0x5e0 - Shadow Register for OTP Bank3 Word6 (SRK Hash)

srk7: SRK7

0x5f0 - Shadow Register for OTP Bank3 Word7 (SRK Hash)

sjc_resp0: SJC_RESP0

0x600 - Value of OTP Bank4 Word0 (Secure JTAG Response Field)

sjc_resp1: SJC_RESP1

0x610 - Value of OTP Bank4 Word1 (Secure JTAG Response Field)

mac0: MAC0

0x620 - Value of OTP Bank4 Word2 (MAC Address)

mac1: MAC1

0x630 - Value of OTP Bank4 Word3 (MAC Address)

mac2: MAC2

0x640 - Value of OTP Bank4 Word4 (MAC2 Address)

otpmk_crc32: OTPMK_CRC32

0x650 - Value of OTP Bank4 Word5 (CRC Key)

gp1: GP1

0x660 - Value of OTP Bank4 Word6 (General Purpose Customer Defined Info)

gp2: GP2

0x670 - Value of OTP Bank4 Word7 (General Purpose Customer Defined Info)

sw_gp1: SW_GP1

0x680 - Value of OTP Bank5 Word0 (SW GP1)

sw_gp20: SW_GP20

0x690 - Value of OTP Bank5 Word1 (SW GP2)

sw_gp21: SW_GP21

0x6a0 - Value of OTP Bank5 Word2 (SW GP2)

sw_gp22: SW_GP22

0x6b0 - Value of OTP Bank5 Word3 (SW GP2)

sw_gp23: SW_GP23

0x6c0 - Value of OTP Bank5 Word4 (SW GP2)

misc_conf0: MISC_CONF0

0x6d0 - Value of OTP Bank5 Word5 (Misc Conf)

misc_conf1: MISC_CONF1

0x6e0 - Value of OTP Bank5 Word6 (Misc Conf)

srk_revoke: SRK_REVOKE

0x6f0 - Value of OTP Bank5 Word7 (SRK Revoke)

rom_patch0: ROM_PATCH0

0x800 - Value of OTP Bank6 Word0 (ROM Patch)

rom_patch1: ROM_PATCH1

0x810 - Value of OTP Bank6 Word1 (ROM Patch)

rom_patch2: ROM_PATCH2

0x820 - Value of OTP Bank6 Word2 (ROM Patch)

rom_patch3: ROM_PATCH3

0x830 - Value of OTP Bank6 Word3 (ROM Patch)

rom_patch4: ROM_PATCH4

0x840 - Value of OTP Bank6 Word4 (ROM Patch)

rom_patch5: ROM_PATCH5

0x850 - Value of OTP Bank6 Word5 (ROM Patch)

rom_patch6: ROM_PATCH6

0x860 - Value of OTP Bank6 Word6 (ROM Patch)

rom_patch7: ROM_PATCH7

0x870 - Value of OTP Bank6 Word7 (ROM Patch)

gp30: GP30

0x880 - Value of OTP Bank7 Word0 (GP3)

gp31: GP31

0x890 - Value of OTP Bank7 Word1 (GP3)

gp32: GP32

0x8a0 - Value of OTP Bank7 Word2 (GP3)

gp33: GP33

0x8b0 - Value of OTP Bank7 Word3 (GP3)

gp40: GP40

0x8c0 - Value of OTP Bank7 Word4 (GP4)

gp41: GP41

0x8d0 - Value of OTP Bank7 Word5 (GP4)

gp42: GP42

0x8e0 - Value of OTP Bank7 Word6 (GP4)

gp43: GP43

0x8f0 - Value of OTP Bank7 Word7 (GP4)

Auto Trait Implementations

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.