Struct Perm
#[repr(transparent)]pub struct Perm(pub u32);Expand description
Description cluster: Get and set the applicable access permissions for the peripheral slave index n.
Tuple Fields§
§0: u32Implementations§
§impl Perm
impl Perm
pub const fn securemapping(&self) -> Securemapping
pub const fn securemapping(&self) -> Securemapping
Read capabilities for TrustZone Cortex-M secure attribute.
pub const fn set_securemapping(&mut self, val: Securemapping)
pub const fn set_securemapping(&mut self, val: Securemapping)
Read capabilities for TrustZone Cortex-M secure attribute.
pub const fn set_secattr(&mut self, val: bool)
pub const fn set_secattr(&mut self, val: bool)
Peripheral security mapping.
pub const fn set_dmasec(&mut self, val: Dmasec)
pub const fn set_dmasec(&mut self, val: Dmasec)
Security attribution for the DMA transfer.
pub const fn present(&self) -> Present
pub const fn present(&self) -> Present
Indicates if a peripheral is present with peripheral slave index n.
pub const fn set_present(&mut self, val: Present)
pub const fn set_present(&mut self, val: Present)
Indicates if a peripheral is present with peripheral slave index n.
Trait Implementations§
impl Copy for Perm
impl Eq for Perm
impl StructuralPartialEq for Perm
Auto Trait Implementations§
impl Freeze for Perm
impl RefUnwindSafe for Perm
impl Send for Perm
impl Sync for Perm
impl Unpin for Perm
impl UnsafeUnpin for Perm
impl UnwindSafe for Perm
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more