esp32c3/dma/ch/
out_conf1.rs1#[doc = "Register `OUT_CONF1` reader"]
2pub type R = crate::R<OUT_CONF1_SPEC>;
3#[doc = "Register `OUT_CONF1` writer"]
4pub type W = crate::W<OUT_CONF1_SPEC>;
5#[doc = "Field `OUT_CHECK_OWNER` reader - Set this bit to enable checking the owner attribute of the link descriptor."]
6pub type OUT_CHECK_OWNER_R = crate::BitReader;
7#[doc = "Field `OUT_CHECK_OWNER` writer - Set this bit to enable checking the owner attribute of the link descriptor."]
8pub type OUT_CHECK_OWNER_W<'a, REG> = crate::BitWriter<'a, REG>;
9impl R {
10 #[doc = "Bit 12 - Set this bit to enable checking the owner attribute of the link descriptor."]
11 #[inline(always)]
12 pub fn out_check_owner(&self) -> OUT_CHECK_OWNER_R {
13 OUT_CHECK_OWNER_R::new(((self.bits >> 12) & 1) != 0)
14 }
15}
16#[cfg(feature = "impl-register-debug")]
17impl core::fmt::Debug for R {
18 fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result {
19 f.debug_struct("OUT_CONF1")
20 .field("out_check_owner", &self.out_check_owner())
21 .finish()
22 }
23}
24impl W {
25 #[doc = "Bit 12 - Set this bit to enable checking the owner attribute of the link descriptor."]
26 #[inline(always)]
27 pub fn out_check_owner(&mut self) -> OUT_CHECK_OWNER_W<OUT_CONF1_SPEC> {
28 OUT_CHECK_OWNER_W::new(self, 12)
29 }
30}
31#[doc = "DMA_OUT_CONF1_CH0_REG.\n\nYou can [`read`](crate::Reg::read) this register and get [`out_conf1::R`](R). You can [`reset`](crate::Reg::reset), [`write`](crate::Reg::write), [`write_with_zero`](crate::Reg::write_with_zero) this register using [`out_conf1::W`](W). You can also [`modify`](crate::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api)."]
32pub struct OUT_CONF1_SPEC;
33impl crate::RegisterSpec for OUT_CONF1_SPEC {
34 type Ux = u32;
35}
36#[doc = "`read()` method returns [`out_conf1::R`](R) reader structure"]
37impl crate::Readable for OUT_CONF1_SPEC {}
38#[doc = "`write(|w| ..)` method takes [`out_conf1::W`](W) writer structure"]
39impl crate::Writable for OUT_CONF1_SPEC {
40 type Safety = crate::Unsafe;
41}
42#[doc = "`reset()` method sets OUT_CONF1 to value 0"]
43impl crate::Resettable for OUT_CONF1_SPEC {}