lpc54606_pac/dma0/
active0.rs1#[doc = "Reader of register ACTIVE0"]
2pub type R = crate::R<u32, super::ACTIVE0>;
3#[doc = "Reader of field `ACT`"]
4pub type ACT_R = crate::R<u32, u32>;
5impl R {
6 #[doc = "Bits 0:31 - Active flag for DMA channel n. Bit n corresponds to DMA channel n. The number of bits = number of DMA channels in this device. Other bits are reserved. 0 = not active. 1 = active."]
7 #[inline(always)]
8 pub fn act(&self) -> ACT_R {
9 ACT_R::new((self.bits & 0xffff_ffff) as u32)
10 }
11}