#[repr(transparent)]pub struct MpCsr8(pub u32);Expand description
Management Page Control.
Tuple Fields§
§0: u32Implementations§
Source§impl MpCsr8
impl MpCsr8
Sourcepub const fn hae(&self) -> bool
pub const fn hae(&self) -> bool
Halt After Error. Raw bit values: false (0) = NormalOperation: Normal operation.; true (1) = Halt: Any error causes the HALT field to be set to 1.
Sourcepub const fn set_hae(&mut self, val: bool)
pub const fn set_hae(&mut self, val: bool)
Halt After Error. Raw bit values: false (0) = NormalOperation: Normal operation.; true (1) = Halt: Any error causes the HALT field to be set to 1.
Sourcepub const fn halt(&self) -> bool
pub const fn halt(&self) -> bool
Halt DMA Operations. Raw bit values: false (0) = NormalOperation: Normal operation.; true (1) = Stall: Stall the start of any new channels.
Sourcepub const fn set_halt(&mut self, val: bool)
pub const fn set_halt(&mut self, val: bool)
Halt DMA Operations. Raw bit values: false (0) = NormalOperation: Normal operation.; true (1) = Stall: Stall the start of any new channels.
Sourcepub const fn ecx(&self) -> bool
pub const fn ecx(&self) -> bool
Cancel Transfer With Error. Raw bit values: false (0) = NORMAL_OPERATION: Normal operation.; true (1) = CANCEL: Cancel the remaining data transfer.
Sourcepub const fn set_ecx(&mut self, val: bool)
pub const fn set_ecx(&mut self, val: bool)
Cancel Transfer With Error. Raw bit values: false (0) = NORMAL_OPERATION: Normal operation.; true (1) = CANCEL: Cancel the remaining data transfer.
Sourcepub const fn cx(&self) -> bool
pub const fn cx(&self) -> bool
Cancel Transfer. Raw bit values: false (0) = NormalOperation: Normal operation.; true (1) = DataTransferCancel: Cancel the remaining data transfer.
Sourcepub const fn set_cx(&mut self, val: bool)
pub const fn set_cx(&mut self, val: bool)
Cancel Transfer. Raw bit values: false (0) = NormalOperation: Normal operation.; true (1) = DataTransferCancel: Cancel the remaining data transfer.
Sourcepub const fn set_active_id(&mut self, val: u8)
pub const fn set_active_id(&mut self, val: u8)
Active Channel ID.
Sourcepub const fn active(&self) -> bool
pub const fn active(&self) -> bool
DMA Active Status. Raw bit values: false (0) = Idle: eDMA is idle.; true (1) = Execution: eDMA is executing a channel.
Sourcepub const fn set_active(&mut self, val: bool)
pub const fn set_active(&mut self, val: bool)
DMA Active Status. Raw bit values: false (0) = Idle: eDMA is idle.; true (1) = Execution: eDMA is executing a channel.