#[repr(transparent)]pub struct ChSbrDma1(pub u32);Expand description
DMA1 Channel System Bus. Known reset bits construct 0x7, independently of DMA0. Captured MID is read-only; SEC and PAL are constrained by the programming master; EMI requires GMRC.
Tuple Fields§
§0: u32Implementations§
Source§impl ChSbrDma1
impl ChSbrDma1
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.