#[repr(transparent)]pub struct ChannelctrlSet(pub u32);Expand description
DCP channel control register
Tuple Fields§
§0: u32Implementations§
Source§impl ChannelctrlSet
impl ChannelctrlSet
Sourcepub const fn enable_channel(&self) -> ChannelctrlSetEnableChannel
pub const fn enable_channel(&self) -> ChannelctrlSetEnableChannel
Setting a bit in this field enables the DMA channel associated with it
Sourcepub const fn set_enable_channel(&mut self, val: ChannelctrlSetEnableChannel)
pub const fn set_enable_channel(&mut self, val: ChannelctrlSetEnableChannel)
Setting a bit in this field enables the DMA channel associated with it
Sourcepub const fn high_priority_channel(&self) -> ChannelctrlSetHighPriorityChannel
pub const fn high_priority_channel(&self) -> ChannelctrlSetHighPriorityChannel
Setting a bit in this field causes the corresponding channel to have high-priority arbitration
Sourcepub const fn set_high_priority_channel(
&mut self,
val: ChannelctrlSetHighPriorityChannel,
)
pub const fn set_high_priority_channel( &mut self, val: ChannelctrlSetHighPriorityChannel, )
Setting a bit in this field causes the corresponding channel to have high-priority arbitration
Sourcepub const fn ch0_irq_merged(&self) -> bool
pub const fn ch0_irq_merged(&self) -> bool
Indicates that the interrupt for channel 0 must be merged with the other interrupts on the shared dcp_irq interrupt
Sourcepub const fn set_ch0_irq_merged(&mut self, val: bool)
pub const fn set_ch0_irq_merged(&mut self, val: bool)
Indicates that the interrupt for channel 0 must be merged with the other interrupts on the shared dcp_irq interrupt
Trait Implementations§
Source§impl Clone for ChannelctrlSet
impl Clone for ChannelctrlSet
Source§fn clone(&self) -> ChannelctrlSet
fn clone(&self) -> ChannelctrlSet
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ChannelctrlSet
impl Debug for ChannelctrlSet
Source§impl Default for ChannelctrlSet
impl Default for ChannelctrlSet
Source§fn default() -> ChannelctrlSet
fn default() -> ChannelctrlSet
Returns the “default value” for a type. Read more
Source§impl PartialEq for ChannelctrlSet
impl PartialEq for ChannelctrlSet
impl Copy for ChannelctrlSet
impl Eq for ChannelctrlSet
impl StructuralPartialEq for ChannelctrlSet
Auto Trait Implementations§
impl Freeze for ChannelctrlSet
impl RefUnwindSafe for ChannelctrlSet
impl Send for ChannelctrlSet
impl Sync for ChannelctrlSet
impl Unpin for ChannelctrlSet
impl UnwindSafe for ChannelctrlSet
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