#[repr(transparent)]pub struct ChSbr(pub u32);Expand description
Channel System Bus.
Tuple Fields§
§0: u32Implementations§
Source§impl ChSbr
impl ChSbr
Sourcepub const fn sec(&self) -> bool
pub const fn sec(&self) -> bool
Security Level. Raw bit values: false (0) = NonsecureProtection: Nonsecure protection level for DMA transfers.; true (1) = SecureProtection: Secure protection level for DMA transfers.
Sourcepub const fn set_sec(&mut self, val: bool)
pub const fn set_sec(&mut self, val: bool)
Security Level. Raw bit values: false (0) = NonsecureProtection: Nonsecure protection level for DMA transfers.; true (1) = SecureProtection: Secure protection level for DMA transfers.
Sourcepub const fn pal(&self) -> bool
pub const fn pal(&self) -> bool
Privileged Access Level. Raw bit values: false (0) = UserProtection: User protection level for DMA transfers.; true (1) = PrivilegedProtection: Privileged protection level for DMA transfers.
Trait Implementations§
impl Copy for ChSbr
impl Eq for ChSbr
impl StructuralPartialEq for ChSbr
Auto Trait Implementations§
impl Freeze for ChSbr
impl RefUnwindSafe for ChSbr
impl Send for ChSbr
impl Sync for ChSbr
impl Unpin for ChSbr
impl UnwindSafe for ChSbr
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