#[repr(transparent)]pub struct ChannelctrlClr(pub u32);Expand description
DCP channel control register
Tuple Fields§
§0: u32Implementations§
Source§impl ChannelctrlClr
impl ChannelctrlClr
Sourcepub const fn enable_channel(&self) -> ChannelctrlClrEnableChannel
pub const fn enable_channel(&self) -> ChannelctrlClrEnableChannel
Setting a bit in this field enables the DMA channel associated with it
Sourcepub const fn set_enable_channel(&mut self, val: ChannelctrlClrEnableChannel)
pub const fn set_enable_channel(&mut self, val: ChannelctrlClrEnableChannel)
Setting a bit in this field enables the DMA channel associated with it
Sourcepub const fn high_priority_channel(&self) -> ChannelctrlClrHighPriorityChannel
pub const fn high_priority_channel(&self) -> ChannelctrlClrHighPriorityChannel
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: ChannelctrlClrHighPriorityChannel,
)
pub const fn set_high_priority_channel( &mut self, val: ChannelctrlClrHighPriorityChannel, )
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 ChannelctrlClr
impl Clone for ChannelctrlClr
Source§fn clone(&self) -> ChannelctrlClr
fn clone(&self) -> ChannelctrlClr
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 ChannelctrlClr
impl Debug for ChannelctrlClr
Source§impl Default for ChannelctrlClr
impl Default for ChannelctrlClr
Source§fn default() -> ChannelctrlClr
fn default() -> ChannelctrlClr
Returns the “default value” for a type. Read more
Source§impl PartialEq for ChannelctrlClr
impl PartialEq for ChannelctrlClr
impl Copy for ChannelctrlClr
impl Eq for ChannelctrlClr
impl StructuralPartialEq for ChannelctrlClr
Auto Trait Implementations§
impl Freeze for ChannelctrlClr
impl RefUnwindSafe for ChannelctrlClr
impl Send for ChannelctrlClr
impl Sync for ChannelctrlClr
impl Unpin for ChannelctrlClr
impl UnwindSafe for ChannelctrlClr
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