esp32h2/dma/ch/
out_dscr.rs

1#[doc = "Register `OUT_DSCR` reader"]
2pub type R = crate::R<OUT_DSCR_SPEC>;
3#[doc = "Field `OUTLINK_DSCR` reader - The address of the current outlink descriptor y."]
4pub type OUTLINK_DSCR_R = crate::FieldReader<u32>;
5impl R {
6    #[doc = "Bits 0:31 - The address of the current outlink descriptor y."]
7    #[inline(always)]
8    pub fn outlink_dscr(&self) -> OUTLINK_DSCR_R {
9        OUTLINK_DSCR_R::new(self.bits)
10    }
11}
12#[cfg(feature = "impl-register-debug")]
13impl core::fmt::Debug for R {
14    fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result {
15        f.debug_struct("OUT_DSCR")
16            .field("outlink_dscr", &self.outlink_dscr())
17            .finish()
18    }
19}
20#[doc = "Current inlink descriptor address of Tx channel 0\n\nYou can [`read`](crate::Reg::read) this register and get [`out_dscr::R`](R). See [API](https://docs.rs/svd2rust/#read--modify--write-api)."]
21pub struct OUT_DSCR_SPEC;
22impl crate::RegisterSpec for OUT_DSCR_SPEC {
23    type Ux = u32;
24}
25#[doc = "`read()` method returns [`out_dscr::R`](R) reader structure"]
26impl crate::Readable for OUT_DSCR_SPEC {}
27#[doc = "`reset()` method sets OUT_DSCR to value 0"]
28impl crate::Resettable for OUT_DSCR_SPEC {}