Skip to main content

RegisterBlock

Struct RegisterBlock 

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

Register block

Implementations§

Source§

impl RegisterBlock

Source

pub const fn mctl(&self) -> &Mctl

0x00 - Miscellaneous Control Register

Source

pub const fn scmisc(&self) -> &Scmisc

0x04 - Statistical Check Miscellaneous Register

Source

pub const fn pkrrng(&self) -> &Pkrrng

0x08 - Poker Range Register

Source

pub const fn pkrsq(&self) -> &Pkrsq

0x0c - Poker Square Calculation Result Register

Source

pub const fn pkrmax(&self) -> &Pkrmax

0x0c - Poker Maximum Limit Register

Source

pub const fn sdctl(&self) -> &Sdctl

0x10 - Seed Control Register

Source

pub const fn totsam(&self) -> &Totsam

0x14 - Total Samples Register

Source

pub const fn sblim(&self) -> &Sblim

0x14 - Sparse Bit Limit Register

Source

pub const fn osc2_frqcnt(&self) -> &Osc2Frqcnt

0x18 - Oscillator-2 Frequency Count Register

Source

pub const fn frqmin(&self) -> &Frqmin

0x18 - Frequency Count Minimum Limit Register

Source

pub const fn frqmax(&self) -> &Frqmax

0x1c - Frequency Count Maximum Limit Register

Source

pub const fn frqcnt(&self) -> &Frqcnt

0x1c - Frequency Count Register

Source

pub const fn scml(&self) -> &Scml

0x20 - Statistical Check Monobit Limit Register

Source

pub const fn scmc(&self) -> &Scmc

0x20 - Statistical Check Monobit Count Register

Source

pub const fn scr1l(&self) -> &Scr1l

0x24 - Statistical Check Run Length 1 Limit Register

Source

pub const fn scr1c(&self) -> &Scr1c

0x24 - Statistical Check Run Length 1 Count Register

Source

pub const fn scr2l(&self) -> &Scr2l

0x28 - Statistical Check Run Length 2 Limit Register

Source

pub const fn scr2c(&self) -> &Scr2c

0x28 - Statistical Check Run Length 2 Count Register

Source

pub const fn scr3l(&self) -> &Scr3l

0x2c - Statistical Check Run Length 3 Limit Register

Source

pub const fn scr3c(&self) -> &Scr3c

0x2c - Statistical Check Run Length 3 Count Register

Source

pub const fn scr4l(&self) -> &Scr4l

0x30 - Statistical Check Run Length 4 Limit Register

Source

pub const fn scr4c(&self) -> &Scr4c

0x30 - Statistical Check Run Length 4 Count Register

Source

pub const fn scr5l(&self) -> &Scr5l

0x34 - Statistical Check Run Length 5 Limit Register

Source

pub const fn scr5c(&self) -> &Scr5c

0x34 - Statistical Check Run Length 5 Count Register

Source

pub const fn scr6pl(&self) -> &Scr6pl

0x38 - Statistical Check Run Length 6+ Limit Register

Source

pub const fn scr6pc(&self) -> &Scr6pc

0x38 - Statistical Check Run Length 6+ Count Register

Source

pub const fn status(&self) -> &Status

0x3c - Status Register

Source

pub const fn ent(&self, n: usize) -> &Ent

0x40..0x60 - Entropy Read Register

Source

pub fn ent_iter(&self) -> impl Iterator<Item = &Ent>

Iterator for array of: 0x40..0x60 - Entropy Read Register

Source

pub const fn pkrcnt10(&self) -> &Pkrcnt10

0x80 - Statistical Check Poker Count 1 and 0 Register

Source

pub const fn pkrcnt32(&self) -> &Pkrcnt32

0x84 - Statistical Check Poker Count 3 and 2 Register

Source

pub const fn pkrcnt54(&self) -> &Pkrcnt54

0x88 - Statistical Check Poker Count 5 and 4 Register

Source

pub const fn pkrcnt76(&self) -> &Pkrcnt76

0x8c - Statistical Check Poker Count 7 and 6 Register

Source

pub const fn pkrcnt98(&self) -> &Pkrcnt98

0x90 - Statistical Check Poker Count 9 and 8 Register

Source

pub const fn pkrcntba(&self) -> &Pkrcntba

0x94 - Statistical Check Poker Count B and A Register

Source

pub const fn pkrcntdc(&self) -> &Pkrcntdc

0x98 - Statistical Check Poker Count D and C Register

Source

pub const fn pkrcntfe(&self) -> &Pkrcntfe

0x9c - Statistical Check Poker Count F and E Register

Source

pub const fn sec_cfg(&self) -> &SecCfg

0xa0 - Security Configuration Register

Source

pub const fn int_ctrl(&self) -> &IntCtrl

0xa4 - Interrupt Control Register

Source

pub const fn int_mask(&self) -> &IntMask

0xa8 - Mask Register

Source

pub const fn int_status(&self) -> &IntStatus

0xac - Interrupt Status Register

Source

pub const fn cser(&self) -> &Cser

0xb0 - Common Security Error Register

Source

pub const fn csclr(&self) -> &Csclr

0xb4 - Common Security Clear Register

Source

pub const fn osc2_ctl(&self) -> &Osc2Ctl

0xec - TRNG Oscillator 2 Control Register

Source

pub const fn vid1(&self) -> &Vid1

0xf0 - Version ID Register (MS)

Source

pub const fn vid2(&self) -> &Vid2

0xf4 - Version ID Register (LS)

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> 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.