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