nxp-pac

Crates

git

Versions

mimxrt1064

Flavors

Ocotp

Struct Ocotp 

Source
pub struct Ocotp { /* private fields */ }
Expand description

OCOTP

Implementations§

Source§

impl Ocotp

Source

pub const unsafe fn from_ptr(ptr: *mut ()) -> Self

Source

pub const fn as_ptr(&self) -> *mut ()

Source

pub const fn ctrl(self) -> Reg<Ctrl, RW>

OTP Controller Control and Status Register

Source

pub const fn ctrl_set(self) -> Reg<CtrlSet, RW>

OTP Controller Control and Status Register

Source

pub const fn ctrl_clr(self) -> Reg<CtrlClr, RW>

OTP Controller Control and Status Register

Source

pub const fn ctrl_tog(self) -> Reg<CtrlTog, RW>

OTP Controller Control and Status Register

Source

pub const fn timing(self) -> Reg<Timing, RW>

OTP Controller Timing Register

Source

pub const fn data(self) -> Reg<Data, RW>

OTP Controller Write Data Register

Source

pub const fn read_ctrl(self) -> Reg<ReadCtrl, RW>

OTP Controller Write Data Register

Source

pub const fn read_fuse_data(self) -> Reg<ReadFuseData, RW>

OTP Controller Read Data Register

Source

pub const fn sw_sticky(self) -> Reg<SwSticky, RW>

Sticky bit Register

Source

pub const fn scs(self) -> Reg<Scs, RW>

Software Controllable Signals Register

Source

pub const fn scs_set(self) -> Reg<ScsSet, RW>

Software Controllable Signals Register

Source

pub const fn scs_clr(self) -> Reg<ScsClr, RW>

Software Controllable Signals Register

Source

pub const fn scs_tog(self) -> Reg<ScsTog, RW>

Software Controllable Signals Register

Source

pub const fn version(self) -> Reg<Version, R>

OTP Controller Version Register

Source

pub const fn timing2(self) -> Reg<Timing2, RW>

OTP Controller Timing Register 2

Source

pub const fn lock(self) -> Reg<Lock, RW>

Value of OTP Bank0 Word0 (Lock controls)

Source

pub const fn cfg0(self) -> Reg<Cfg0, RW>

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

Source

pub const fn cfg1(self) -> Reg<Cfg1, RW>

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

Source

pub const fn cfg2(self) -> Reg<Cfg2, RW>

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

Source

pub const fn cfg3(self) -> Reg<Cfg3, RW>

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

Source

pub const fn cfg4(self) -> Reg<Cfg4, RW>

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

Source

pub const fn cfg5(self) -> Reg<Cfg5, RW>

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

Source

pub const fn cfg6(self) -> Reg<Cfg6, RW>

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

Source

pub const fn mem0(self) -> Reg<Mem0, RW>

Value of OTP Bank1 Word0 (Memory Related Info.)

Source

pub const fn mem1(self) -> Reg<Mem1, RW>

Value of OTP Bank1 Word1 (Memory Related Info.)

Source

pub const fn mem2(self) -> Reg<Mem2, RW>

Value of OTP Bank1 Word2 (Memory Related Info.)

Source

pub const fn mem3(self) -> Reg<Mem3, RW>

Value of OTP Bank1 Word3 (Memory Related Info.)

Source

pub const fn mem4(self) -> Reg<Mem4, RW>

Value of OTP Bank1 Word4 (Memory Related Info.)

Source

pub const fn ana0(self) -> Reg<Ana0, RW>

Value of OTP Bank1 Word5 (Analog Info.)

Source

pub const fn ana1(self) -> Reg<Ana1, RW>

Value of OTP Bank1 Word6 (Analog Info.)

Source

pub const fn ana2(self) -> Reg<Ana2, RW>

Value of OTP Bank1 Word7 (Analog Info.)

Source

pub const fn srk0(self) -> Reg<Srk0, RW>

Shadow Register for OTP Bank3 Word0 (SRK Hash)

Source

pub const fn srk1(self) -> Reg<Srk1, RW>

Shadow Register for OTP Bank3 Word1 (SRK Hash)

Source

pub const fn srk2(self) -> Reg<Srk2, RW>

Shadow Register for OTP Bank3 Word2 (SRK Hash)

Source

pub const fn srk3(self) -> Reg<Srk3, RW>

Shadow Register for OTP Bank3 Word3 (SRK Hash)

Source

pub const fn srk4(self) -> Reg<Srk4, RW>

Shadow Register for OTP Bank3 Word4 (SRK Hash)

Source

pub const fn srk5(self) -> Reg<Srk5, RW>

Shadow Register for OTP Bank3 Word5 (SRK Hash)

Source

pub const fn srk6(self) -> Reg<Srk6, RW>

Shadow Register for OTP Bank3 Word6 (SRK Hash)

Source

pub const fn srk7(self) -> Reg<Srk7, RW>

Shadow Register for OTP Bank3 Word7 (SRK Hash)

Source

pub const fn sjc_resp0(self) -> Reg<SjcResp0, RW>

Value of OTP Bank4 Word0 (Secure JTAG Response Field)

Source

pub const fn sjc_resp1(self) -> Reg<SjcResp1, RW>

Value of OTP Bank4 Word1 (Secure JTAG Response Field)

Source

pub const fn mac0(self) -> Reg<Mac0, RW>

Value of OTP Bank4 Word2 (MAC Address)

Source

pub const fn mac1(self) -> Reg<Mac1, RW>

Value of OTP Bank4 Word3 (MAC Address)

Source

pub const fn mac2(self) -> Reg<Mac2, RW>

Value of OTP Bank4 Word4 (MAC2 Address)

Source

pub const fn gp1(self) -> Reg<Gp1, RW>

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

Source

pub const fn gp2(self) -> Reg<Gp2, RW>

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

Source

pub const fn sw_gp1(self) -> Reg<SwGp1, RW>

Value of OTP Bank5 Word0 (SW GP1)

Source

pub const fn sw_gp20(self) -> Reg<SwGp20, RW>

Value of OTP Bank5 Word1 (SW GP2)

Source

pub const fn sw_gp21(self) -> Reg<SwGp21, RW>

Value of OTP Bank5 Word2 (SW GP2)

Source

pub const fn sw_gp22(self) -> Reg<SwGp22, RW>

Value of OTP Bank5 Word3 (SW GP2)

Source

pub const fn sw_gp23(self) -> Reg<SwGp23, RW>

Value of OTP Bank5 Word4 (SW GP2)

Source

pub const fn misc_conf0(self) -> Reg<MiscConf0, RW>

Value of OTP Bank5 Word5 (Misc Conf)

Source

pub const fn misc_conf1(self) -> Reg<MiscConf1, RW>

Value of OTP Bank5 Word6 (Misc Conf)

Source

pub const fn srk_revoke(self) -> Reg<SrkRevoke, RW>

Value of OTP Bank5 Word7 (SRK Revoke)

Source

pub const fn gp30(self) -> Reg<Gp30, RW>

Value of OTP Bank7 Word0 (GP3)

Source

pub const fn gp31(self) -> Reg<Gp31, RW>

Value of OTP Bank7 Word1 (GP3)

Source

pub const fn gp32(self) -> Reg<Gp32, RW>

Value of OTP Bank7 Word2 (GP3)

Source

pub const fn gp33(self) -> Reg<Gp33, RW>

Value of OTP Bank7 Word3 (GP3)

Source

pub const fn gp40(self) -> Reg<Gp40, RW>

Value of OTP Bank7 Word4 (GP4)

Source

pub const fn gp41(self) -> Reg<Gp41, RW>

Value of OTP Bank7 Word5 (GP4)

Source

pub const fn gp42(self) -> Reg<Gp42, RW>

Value of OTP Bank7 Word6 (GP4)

Source

pub const fn gp43(self) -> Reg<Gp43, RW>

Value of OTP Bank7 Word7 (GP4)

Trait Implementations§

Source§

impl Clone for Ocotp

Source§

fn clone(&self) -> Ocotp

Returns a duplicate of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl PartialEq for Ocotp

Source§

fn eq(&self, other: &Ocotp) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl Copy for Ocotp

Source§

impl Eq for Ocotp

Source§

impl Send for Ocotp

Source§

impl StructuralPartialEq for Ocotp

Source§

impl Sync for Ocotp

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

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

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.