#[repr(transparent)]pub struct ChSbrDma0(pub u32);Expand description
DMA0 Channel System Bus. Known reset bits construct 0x6, not a live security or privilege observation. Attribute-output bits 17 through 20 are reserved on N.
Tuple Fields§
§0: u32Implementations§
Source§impl ChSbrDma0
impl ChSbrDma0
Sourcepub const fn mid(&self) -> u8
pub const fn mid(&self) -> u8
Read-only captured master ID. Captured when the programming master writes the channel security attributes.
Sourcepub const fn set_mid(&mut self, val: u8)
pub const fn set_mid(&mut self, val: u8)
Read-only captured master ID. Captured when the programming master writes the channel security attributes.
Sourcepub const fn sec(&self) -> bool
pub const fn sec(&self) -> bool
Security level, restricted by the writing master’s security and privilege. 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, restricted by the writing master’s security and privilege. 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
Privilege level, restricted by the writing master’s security and privilege. Raw bit values: false (0) = UserProtection: User protection level for DMA transfers.; true (1) = PrivilegedProtection: Privileged protection level for DMA transfers.
Sourcepub const fn set_pal(&mut self, val: bool)
pub const fn set_pal(&mut self, val: bool)
Privilege level, restricted by the writing master’s security and privilege. Raw bit values: false (0) = UserProtection: User protection level for DMA transfers.; true (1) = PrivilegedProtection: Privileged protection level for DMA transfers.