pub trait VdmaDmaChannel: Sealed {
// Required method
fn channel_id(&self) -> u8;
}Available on crate feature
unstable only.Expand description
Implemented by VDMA channel singletons (VDMA_CH0–VDMA_CH3).
Provides the hardware channel index without exposing the full DMA trait surface, since VDMA uses DW-GDMA linked-list mode which is incompatible with the standard GDMA channel traits.
Required Methods§
Sourcefn channel_id(&self) -> u8
fn channel_id(&self) -> u8
Zero-based hardware channel index (0–3).
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".