Struct rp2040_pac::dma::n_channels::N_CHANNELS_SPEC
source · pub struct N_CHANNELS_SPEC;
Expand description
The number of channels this DMA instance is equipped with. This DMA supports up to 16 hardware channels, but can be configured with as few as one, to minimise silicon area.
You can read
this register and get n_channels::R
. See API.
Trait Implementations§
source§impl RegisterSpec for N_CHANNELS_SPEC
impl RegisterSpec for N_CHANNELS_SPEC
source§impl Resettable for N_CHANNELS_SPEC
impl Resettable for N_CHANNELS_SPEC
reset()
method sets N_CHANNELS to value 0
source§const RESET_VALUE: u32 = 0u32
const RESET_VALUE: u32 = 0u32
Reset value of the register.
source§fn reset_value() -> Self::Ux
fn reset_value() -> Self::Ux
Reset value of the register.
impl Readable for N_CHANNELS_SPEC
read()
method returns n_channels::R
reader structure
Auto Trait Implementations§
impl Freeze for N_CHANNELS_SPEC
impl RefUnwindSafe for N_CHANNELS_SPEC
impl Send for N_CHANNELS_SPEC
impl Sync for N_CHANNELS_SPEC
impl Unpin for N_CHANNELS_SPEC
impl UnwindSafe for N_CHANNELS_SPEC
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