pub trait SingleChannel: Sealed {
Show 14 methods
// Required methods
fn ch(&self) -> &CH;
fn id(&self) -> u8;
// Provided methods
fn listen_irq0(&mut self) { ... }
fn enable_irq0(&mut self) { ... }
fn is_enabled_irq0(&mut self) -> bool { ... }
fn unlisten_irq0(&mut self) { ... }
fn disable_irq0(&mut self) { ... }
fn check_irq0(&mut self) -> bool { ... }
fn listen_irq1(&mut self) { ... }
fn enable_irq1(&mut self) { ... }
fn is_enabled_irq1(&mut self) -> bool { ... }
fn unlisten_irq1(&mut self) { ... }
fn disable_irq1(&mut self) { ... }
fn check_irq1(&mut self) -> bool { ... }
}Expand description
Trait which implements low-level functionality for transfers using a single DMA channel.
Required Methods§
Provided Methods§
Sourcefn listen_irq0(&mut self)
👎Deprecated: Renamed to enable_irq0
fn listen_irq0(&mut self)
Enables the DMA_IRQ_0 signal for this channel.
Sourcefn enable_irq0(&mut self)
fn enable_irq0(&mut self)
Enables the DMA_IRQ_0 signal for this channel.
Sourcefn is_enabled_irq0(&mut self) -> bool
fn is_enabled_irq0(&mut self) -> bool
Check if the DMA_IRQ_0 signal for this channel is enabled.
Sourcefn unlisten_irq0(&mut self)
👎Deprecated: Renamed to disable_irq0
fn unlisten_irq0(&mut self)
Disables the DMA_IRQ_0 signal for this channel.
Sourcefn disable_irq0(&mut self)
fn disable_irq0(&mut self)
Disables the DMA_IRQ_0 signal for this channel.
Sourcefn check_irq0(&mut self) -> bool
fn check_irq0(&mut self) -> bool
Check if an interrupt is pending for this channel and clear the corresponding pending bit
Sourcefn listen_irq1(&mut self)
👎Deprecated: Renamed to enable_irq1
fn listen_irq1(&mut self)
Enables the DMA_IRQ_1 signal for this channel.
Sourcefn enable_irq1(&mut self)
fn enable_irq1(&mut self)
Enables the DMA_IRQ_1 signal for this channel.
Sourcefn is_enabled_irq1(&mut self) -> bool
fn is_enabled_irq1(&mut self) -> bool
Check if the DMA_IRQ_1 signal for this channel is enabled.
Sourcefn unlisten_irq1(&mut self)
👎Deprecated: Renamed to disable_irq1
fn unlisten_irq1(&mut self)
Disables the DMA_IRQ_1 signal for this channel.
Sourcefn disable_irq1(&mut self)
fn disable_irq1(&mut self)
Disables the DMA_IRQ_1 signal for this channel.
Sourcefn check_irq1(&mut self) -> bool
fn check_irq1(&mut self) -> bool
Check if an interrupt is pending for this channel and clear the corresponding pending bit