pub struct Puf { /* private fields */ }Expand description
PUF Controller
Implementations§
Source§impl Puf
impl Puf
Sourcepub const PTR: *const RegisterBlock = {0x40006000 as *const puf::RegisterBlock}
pub const PTR: *const RegisterBlock = {0x40006000 as *const puf::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 codeoutput(&self) -> &Codeoutput
pub fn codeoutput(&self) -> &Codeoutput
0x48 - PUF Code Output
Sourcepub fn keyoutindex(&self) -> &Keyoutindex
pub fn keyoutindex(&self) -> &Keyoutindex
0x60 - PUF Key Output Index
Sourcepub fn idxblk_h_dp(&self) -> &IdxblkHDp
pub fn idxblk_h_dp(&self) -> &IdxblkHDp
0x210 - Index Block High Duplicate
Sourcepub fn keymask_iter(&self) -> impl Iterator<Item = &Keymask>
pub fn keymask_iter(&self) -> impl Iterator<Item = &Keymask>
Iterator for array of: 0x214..0x21c - Key Mask x
Sourcepub fn idxblk_l_dp(&self) -> &IdxblkLDp
pub fn idxblk_l_dp(&self) -> &IdxblkLDp
0x258 - Index Block Low Duplicate