[][src]Struct imxrt1062_trng::RegisterBlock

#[repr(C)]pub struct RegisterBlock {
    pub mctl: MCTL,
    pub scmisc: SCMISC,
    pub pkrrng: PKRRNG,
    pub sdctl: SDCTL,
    pub frqmin: FRQMIN,
    pub status: STATUS,
    pub ent: [ENT; 16],
    pub pkrcnt10: PKRCNT10,
    pub pkrcnt32: PKRCNT32,
    pub pkrcnt54: PKRCNT54,
    pub pkrcnt76: PKRCNT76,
    pub pkrcnt98: PKRCNT98,
    pub pkrcntba: PKRCNTBA,
    pub pkrcntdc: PKRCNTDC,
    pub pkrcntfe: PKRCNTFE,
    pub sec_cfg: SEC_CFG,
    pub int_ctrl: INT_CTRL,
    pub int_mask: INT_MASK,
    pub int_status: INT_STATUS,
    pub vid1: VID1,
    pub vid2: VID2,
    // some fields omitted
}

Register block

Fields

mctl: MCTL

0x00 - Miscellaneous Control Register

scmisc: SCMISC

0x04 - Statistical Check Miscellaneous Register

pkrrng: PKRRNG

0x08 - Poker Range Register

sdctl: SDCTL

0x10 - Seed Control Register

frqmin: FRQMIN

0x18 - Frequency Count Minimum Limit Register

status: STATUS

0x3c - Status Register

ent: [ENT; 16]

0x40 - Entropy Read Register

pkrcnt10: PKRCNT10

0x80 - Statistical Check Poker Count 1 and 0 Register

pkrcnt32: PKRCNT32

0x84 - Statistical Check Poker Count 3 and 2 Register

pkrcnt54: PKRCNT54

0x88 - Statistical Check Poker Count 5 and 4 Register

pkrcnt76: PKRCNT76

0x8c - Statistical Check Poker Count 7 and 6 Register

pkrcnt98: PKRCNT98

0x90 - Statistical Check Poker Count 9 and 8 Register

pkrcntba: PKRCNTBA

0x94 - Statistical Check Poker Count B and A Register

pkrcntdc: PKRCNTDC

0x98 - Statistical Check Poker Count D and C Register

pkrcntfe: PKRCNTFE

0x9c - Statistical Check Poker Count F and E Register

sec_cfg: SEC_CFG

0xa0 - Security Configuration Register

int_ctrl: INT_CTRL

0xa4 - Interrupt Control Register

int_mask: INT_MASK

0xa8 - Mask Register

int_status: INT_STATUS

0xac - Interrupt Status Register

vid1: VID1

0xf0 - Version ID Register (MS)

vid2: VID2

0xf4 - Version ID Register (LS)

Methods

impl RegisterBlock[src]

pub fn pkrsq(&self) -> &PKRSQ[src]

0x0c - Poker Square Calculation Result Register

pub fn pkrsq_mut(&self) -> &mut PKRSQ[src]

0x0c - Poker Square Calculation Result Register

pub fn pkrmax(&self) -> &PKRMAX[src]

0x0c - Poker Maximum Limit Register

pub fn pkrmax_mut(&self) -> &mut PKRMAX[src]

0x0c - Poker Maximum Limit Register

pub fn totsam(&self) -> &TOTSAM[src]

0x14 - Total Samples Register

pub fn totsam_mut(&self) -> &mut TOTSAM[src]

0x14 - Total Samples Register

pub fn sblim(&self) -> &SBLIM[src]

0x14 - Sparse Bit Limit Register

pub fn sblim_mut(&self) -> &mut SBLIM[src]

0x14 - Sparse Bit Limit Register

pub fn frqmax(&self) -> &FRQMAX[src]

0x1c - Frequency Count Maximum Limit Register

pub fn frqmax_mut(&self) -> &mut FRQMAX[src]

0x1c - Frequency Count Maximum Limit Register

pub fn frqcnt(&self) -> &FRQCNT[src]

0x1c - Frequency Count Register

pub fn frqcnt_mut(&self) -> &mut FRQCNT[src]

0x1c - Frequency Count Register

pub fn scml(&self) -> &SCML[src]

0x20 - Statistical Check Monobit Limit Register

pub fn scml_mut(&self) -> &mut SCML[src]

0x20 - Statistical Check Monobit Limit Register

pub fn scmc(&self) -> &SCMC[src]

0x20 - Statistical Check Monobit Count Register

pub fn scmc_mut(&self) -> &mut SCMC[src]

0x20 - Statistical Check Monobit Count Register

pub fn scr1l(&self) -> &SCR1L[src]

0x24 - Statistical Check Run Length 1 Limit Register

pub fn scr1l_mut(&self) -> &mut SCR1L[src]

0x24 - Statistical Check Run Length 1 Limit Register

pub fn scr1c(&self) -> &SCR1C[src]

0x24 - Statistical Check Run Length 1 Count Register

pub fn scr1c_mut(&self) -> &mut SCR1C[src]

0x24 - Statistical Check Run Length 1 Count Register

pub fn scr2l(&self) -> &SCR2L[src]

0x28 - Statistical Check Run Length 2 Limit Register

pub fn scr2l_mut(&self) -> &mut SCR2L[src]

0x28 - Statistical Check Run Length 2 Limit Register

pub fn scr2c(&self) -> &SCR2C[src]

0x28 - Statistical Check Run Length 2 Count Register

pub fn scr2c_mut(&self) -> &mut SCR2C[src]

0x28 - Statistical Check Run Length 2 Count Register

pub fn scr3l(&self) -> &SCR3L[src]

0x2c - Statistical Check Run Length 3 Limit Register

pub fn scr3l_mut(&self) -> &mut SCR3L[src]

0x2c - Statistical Check Run Length 3 Limit Register

pub fn scr3c(&self) -> &SCR3C[src]

0x2c - Statistical Check Run Length 3 Count Register

pub fn scr3c_mut(&self) -> &mut SCR3C[src]

0x2c - Statistical Check Run Length 3 Count Register

pub fn scr4l(&self) -> &SCR4L[src]

0x30 - Statistical Check Run Length 4 Limit Register

pub fn scr4l_mut(&self) -> &mut SCR4L[src]

0x30 - Statistical Check Run Length 4 Limit Register

pub fn scr4c(&self) -> &SCR4C[src]

0x30 - Statistical Check Run Length 4 Count Register

pub fn scr4c_mut(&self) -> &mut SCR4C[src]

0x30 - Statistical Check Run Length 4 Count Register

pub fn scr5l(&self) -> &SCR5L[src]

0x34 - Statistical Check Run Length 5 Limit Register

pub fn scr5l_mut(&self) -> &mut SCR5L[src]

0x34 - Statistical Check Run Length 5 Limit Register

pub fn scr5c(&self) -> &SCR5C[src]

0x34 - Statistical Check Run Length 5 Count Register

pub fn scr5c_mut(&self) -> &mut SCR5C[src]

0x34 - Statistical Check Run Length 5 Count Register

pub fn scr6pl(&self) -> &SCR6PL[src]

0x38 - Statistical Check Run Length 6+ Limit Register

pub fn scr6pl_mut(&self) -> &mut SCR6PL[src]

0x38 - Statistical Check Run Length 6+ Limit Register

pub fn scr6pc(&self) -> &SCR6PC[src]

0x38 - Statistical Check Run Length 6+ Count Register

pub fn scr6pc_mut(&self) -> &mut SCR6PC[src]

0x38 - Statistical Check Run Length 6+ Count Register

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.