d1_pac/dmac/
dmac_cur_dest.rs

1#[doc = "Register `dmac_cur_dest%s` reader"]
2pub type R = crate::R<DMAC_CUR_DEST_SPEC>;
3impl core::fmt::Debug for R {
4    fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result {
5        write!(f, "{}", self.bits())
6    }
7}
8impl core::fmt::Debug for crate::generic::Reg<DMAC_CUR_DEST_SPEC> {
9    fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result {
10        core::fmt::Debug::fmt(&self.read(), f)
11    }
12}
13#[doc = "DMAC Channel Current Destination Register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`dmac_cur_dest::R`](R).  See [API](https://docs.rs/svd2rust/#read--modify--write-api)."]
14pub struct DMAC_CUR_DEST_SPEC;
15impl crate::RegisterSpec for DMAC_CUR_DEST_SPEC {
16    type Ux = u32;
17}
18#[doc = "`read()` method returns [`dmac_cur_dest::R`](R) reader structure"]
19impl crate::Readable for DMAC_CUR_DEST_SPEC {}
20#[doc = "`reset()` method sets dmac_cur_dest%s to value 0"]
21impl crate::Resettable for DMAC_CUR_DEST_SPEC {
22    const RESET_VALUE: Self::Ux = 0;
23}