nxp-pac

Crates

git

Versions

mimxrt1011

Flavors

Ocotp

Struct Ocotp 

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

no description available

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 hw_ocotp_ctrl(self) -> Reg<HwOcotpCtrl, RW>

OTP Controller Control and Status Register

Source

pub const fn hw_ocotp_ctrl_set(self) -> Reg<HwOcotpCtrlSet, RW>

OTP Controller Control and Status Register

Source

pub const fn hw_ocotp_ctrl_clr(self) -> Reg<HwOcotpCtrlClr, RW>

OTP Controller Control and Status Register

Source

pub const fn hw_ocotp_ctrl_tog(self) -> Reg<HwOcotpCtrlTog, RW>

OTP Controller Control and Status Register

Source

pub const fn hw_ocotp_timing(self) -> Reg<HwOcotpTiming, RW>

OTP Controller Timing Register

Source

pub const fn hw_ocotp_data(self) -> Reg<HwOcotpData, RW>

OTP Controller Write Data Register

Source

pub const fn hw_ocotp_read_ctrl(self) -> Reg<HwOcotpReadCtrl, RW>

OTP Controller Write Data Register

Source

pub const fn hw_ocotp_read_fuse_data(self) -> Reg<HwOcotpReadFuseData, RW>

OTP Controller Read Data Register

Source

pub const fn hw_ocotp_sw_sticky(self) -> Reg<HwOcotpSwSticky, RW>

Sticky bit Register

Source

pub const fn hw_ocotp_scs(self) -> Reg<HwOcotpScs, RW>

Software Controllable Signals Register

Source

pub const fn hw_ocotp_scs_set(self) -> Reg<HwOcotpScsSet, RW>

Software Controllable Signals Register

Source

pub const fn hw_ocotp_scs_clr(self) -> Reg<HwOcotpScsClr, RW>

Software Controllable Signals Register

Source

pub const fn hw_ocotp_scs_tog(self) -> Reg<HwOcotpScsTog, RW>

Software Controllable Signals Register

Source

pub const fn hw_ocotp_version(self) -> Reg<HwOcotpVersion, R>

OTP Controller Version Register

Source

pub const fn hw_ocotp_timing2(self) -> Reg<HwOcotpTiming2, RW>

OTP Controller Timing Register 2

Source

pub const fn hw_ocotp_lock(self) -> Reg<HwOcotpLock, RW>

Value of OTP Bank0 Word0 (Lock controls)

Source

pub const fn hw_ocotp_cfg0(self) -> Reg<HwOcotpCfg0, RW>

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

Source

pub const fn hw_ocotp_cfg1(self) -> Reg<HwOcotpCfg1, RW>

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

Source

pub const fn hw_ocotp_cfg2(self) -> Reg<HwOcotpCfg2, RW>

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

Source

pub const fn hw_ocotp_cfg3(self) -> Reg<HwOcotpCfg3, RW>

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

Source

pub const fn hw_ocotp_cfg4(self) -> Reg<HwOcotpCfg4, RW>

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

Source

pub const fn hw_ocotp_cfg5(self) -> Reg<HwOcotpCfg5, RW>

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

Source

pub const fn hw_ocotp_cfg6(self) -> Reg<HwOcotpCfg6, RW>

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

Source

pub const fn hw_ocotp_mem0(self) -> Reg<HwOcotpMem0, RW>

Value of OTP Bank1 Word0 (Memory Related Info.)

Source

pub const fn hw_ocotp_mem1(self) -> Reg<HwOcotpMem1, RW>

Value of OTP Bank1 Word1 (Memory Related Info.)

Source

pub const fn hw_ocotp_mem2(self) -> Reg<HwOcotpMem2, RW>

Value of OTP Bank1 Word2 (Memory Related Info.)

Source

pub const fn hw_ocotp_mem3(self) -> Reg<HwOcotpMem3, RW>

Value of OTP Bank1 Word3 (Memory Related Info.)

Source

pub const fn hw_ocotp_mem4(self) -> Reg<HwOcotpMem4, RW>

Value of OTP Bank 1 Word 4 (Memory Related Info.)

Source

pub const fn hw_ocotp_ana0(self) -> Reg<HwOcotpAna0, RW>

Value of OTP Bank 1 Word 5 (Analog Info.)

Source

pub const fn hw_ocotp_ana1(self) -> Reg<HwOcotpAna1, RW>

Value of OTP Bank 1 Word 6 (Analog Info.)

Source

pub const fn hw_ocotp_ana2(self) -> Reg<HwOcotpAna2, RW>

Value of OTP Bank 1 Word 7 (Analog Info.)

Source

pub const fn hw_ocotp_srk0(self) -> Reg<HwOcotpSrk0, RW>

Shadow Register for OTP Bank3 Word0 (SRK Hash)

Source

pub const fn hw_ocotp_srk1(self) -> Reg<HwOcotpSrk1, RW>

Shadow Register for OTP Bank3 Word1 (SRK Hash)

Source

pub const fn hw_ocotp_srk2(self) -> Reg<HwOcotpSrk2, RW>

Shadow Register for OTP Bank3 Word2 (SRK Hash)

Source

pub const fn hw_ocotp_srk3(self) -> Reg<HwOcotpSrk3, RW>

Shadow Register for OTP Bank3 Word3 (SRK Hash)

Source

pub const fn hw_ocotp_srk4(self) -> Reg<HwOcotpSrk4, RW>

Shadow Register for OTP Bank3 Word4 (SRK Hash)

Source

pub const fn hw_ocotp_srk5(self) -> Reg<HwOcotpSrk5, RW>

Shadow Register for OTP Bank3 Word5 (SRK Hash)

Source

pub const fn hw_ocotp_srk6(self) -> Reg<HwOcotpSrk6, RW>

Shadow Register for OTP Bank3 Word6 (SRK Hash)

Source

pub const fn hw_ocotp_srk7(self) -> Reg<HwOcotpSrk7, RW>

Shadow Register for OTP Bank3 Word7 (SRK Hash)

Source

pub const fn hw_ocotp_sjc_resp0(self) -> Reg<HwOcotpSjcResp0, RW>

Value of OTP Bank4 Word0 (Secure JTAG Response Field)

Source

pub const fn hw_ocotp_sjc_resp1(self) -> Reg<HwOcotpSjcResp1, RW>

Value of OTP Bank4 Word1 (Secure JTAG Response Field)

Source

pub const fn hw_ocotp_otfad_cfg0(self) -> Reg<HwOcotpOtfadCfg0, RW>

Value of OTP Bank4 Word2 (OTFAD)

Source

pub const fn hw_ocotp_otfad_cfg1(self) -> Reg<HwOcotpOtfadCfg1, RW>

Value of OTP Bank4 Word3 (OTFAD)

Source

pub const fn hw_ocotp_gp3(self) -> Reg<HwOcotpGp3, RW>

Value of OTP Bank4 Word4 (OTFAD)

Source

pub const fn hw_ocotp_gp1(self) -> Reg<HwOcotpGp1, RW>

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

Source

pub const fn hw_ocotp_gp2(self) -> Reg<HwOcotpGp2, RW>

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

Source

pub const fn hw_ocotp_sw_gp1(self) -> Reg<HwOcotpSwGp1, RW>

Value of OTP Bank5 Word0 (SW GP1)

Source

pub const fn hw_ocotp_sw_gp20(self) -> Reg<HwOcotpSwGp20, RW>

Value of OTP Bank5 Word1 (SW GP2)

Source

pub const fn hw_ocotp_sw_gp21(self) -> Reg<HwOcotpSwGp21, RW>

Value of OTP Bank5 Word2 (SW GP2)

Source

pub const fn hw_ocotp_sw_gp22(self) -> Reg<HwOcotpSwGp22, RW>

Value of OTP Bank5 Word3 (SW GP2)

Source

pub const fn hw_ocotp_sw_gp23(self) -> Reg<HwOcotpSwGp23, RW>

Value of OTP Bank5 Word4 (SW GP2)

Source

pub const fn hw_ocotp_misc_conf0(self) -> Reg<HwOcotpMiscConf0, RW>

Value of OTP Bank5 Word5 (Misc Conf)

Source

pub const fn hw_ocotp_misc_conf1(self) -> Reg<HwOcotpMiscConf1, RW>

Value of OTP Bank5 Word6 (Misc Conf)

Source

pub const fn hw_ocotp_srk_revoke(self) -> Reg<HwOcotpSrkRevoke, RW>

Value of OTP Bank5 Word7 (SRK Revoke)

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.