Struct mcxn947_pac::TRNG0
source · pub struct TRNG0 { /* private fields */ }
Expand description
TRNG0
Implementations§
source§impl TRNG0
impl TRNG0
sourcepub const PTR: *const RegisterBlock = {0x4005a000 as *const trng0::RegisterBlock}
pub const PTR: *const RegisterBlock = {0x4005a000 as *const trng0::RegisterBlock}
Pointer to the register block
sourcepub const fn ptr() -> *const RegisterBlock
pub const fn ptr() -> *const RegisterBlock
Return the pointer to the register block
sourcepub unsafe fn steal() -> Self
pub unsafe fn steal() -> Self
Steal an instance of this peripheral
§Safety
Ensure that the new instance of the peripheral cannot be used in a way that may race with any existing instances, for example by only accessing read-only or write-only registers, or by consuming the original peripheral and using critical sections to coordinate access between multiple new instances.
Additionally, other software such as HALs may rely on only one peripheral instance existing to ensure memory safety; ensure no stolen instances are passed to such software.
Methods from Deref<Target = RegisterBlock>§
sourcepub fn min_cnt_osc2_frqcnt(&self) -> &MIN_CNT_OSC2_FRQCNT
pub fn min_cnt_osc2_frqcnt(&self) -> &MIN_CNT_OSC2_FRQCNT
0x18 - Oscillator-2 Frequency Count Register
sourcepub fn min_cnt_frqmin(&self) -> &MIN_CNT_FRQMIN
pub fn min_cnt_frqmin(&self) -> &MIN_CNT_FRQMIN
0x18 - Frequency Count Minimum Limit Register
sourcepub fn max_cnt_frqmax(&self) -> &MAX_CNT_FRQMAX
pub fn max_cnt_frqmax(&self) -> &MAX_CNT_FRQMAX
0x1c - Frequency Count Maximum Limit Register
sourcepub fn max_cnt_frqcnt(&self) -> &MAX_CNT_FRQCNT
pub fn max_cnt_frqcnt(&self) -> &MAX_CNT_FRQCNT
0x1c - Frequency Count Register
sourcepub fn scml_mc_scml(&self) -> &SCML_MC_SCML
pub fn scml_mc_scml(&self) -> &SCML_MC_SCML
0x20 - Statistical Check Monobit Limit Register
sourcepub fn scml_mc_scmc(&self) -> &SCML_MC_SCMC
pub fn scml_mc_scmc(&self) -> &SCML_MC_SCMC
0x20 - Statistical Check Monobit Count Register
sourcepub fn scr1l_1c_scr1l(&self) -> &SCR1L_1C_SCR1L
pub fn scr1l_1c_scr1l(&self) -> &SCR1L_1C_SCR1L
0x24 - Statistical Check Run Length 1 Limit Register
sourcepub fn scr1l_1c_scr1c(&self) -> &SCR1L_1C_SCR1C
pub fn scr1l_1c_scr1c(&self) -> &SCR1L_1C_SCR1C
0x24 - Statistical Check Run Length 1 Count Register
sourcepub fn scr2l_2c_scr2l(&self) -> &SCR2L_2C_SCR2L
pub fn scr2l_2c_scr2l(&self) -> &SCR2L_2C_SCR2L
0x28 - Statistical Check Run Length 2 Limit Register
sourcepub fn scr2l_2c_scr2c(&self) -> &SCR2L_2C_SCR2C
pub fn scr2l_2c_scr2c(&self) -> &SCR2L_2C_SCR2C
0x28 - Statistical Check Run Length 2 Count Register
sourcepub fn scr3l_3c_scr3l(&self) -> &SCR3L_3C_SCR3L
pub fn scr3l_3c_scr3l(&self) -> &SCR3L_3C_SCR3L
0x2c - Statistical Check Run Length 3 Limit Register
sourcepub fn scr3l_3c_scr3c(&self) -> &SCR3L_3C_SCR3C
pub fn scr3l_3c_scr3c(&self) -> &SCR3L_3C_SCR3C
0x2c - Statistical Check Run Length 3 Count Register
sourcepub fn ent_iter(&self) -> impl Iterator<Item = &ENT>
pub fn ent_iter(&self) -> impl Iterator<Item = &ENT>
Iterator for array of: 0x40..0x60 - Entropy Read Register
sourcepub fn int_status(&self) -> &INT_STATUS
pub fn int_status(&self) -> &INT_STATUS
0xac - Interrupt Status Register