stm32u5/stm32u585/lptim1/
icr_output.rs1pub type W = crate::W<ICR_OUTPUTrs>;
3pub type CC1IF_W<'a, REG> = crate::BitWriter<'a, REG>;
5pub type ARRMCF_W<'a, REG> = crate::BitWriter<'a, REG>;
7pub type EXTTRIGCF_W<'a, REG> = crate::BitWriter<'a, REG>;
9pub type CMP1OKCF_W<'a, REG> = crate::BitWriter<'a, REG>;
11pub type ARROKCF_W<'a, REG> = crate::BitWriter<'a, REG>;
13pub type UPCF_W<'a, REG> = crate::BitWriter<'a, REG>;
15pub type DOWNCF_W<'a, REG> = crate::BitWriter<'a, REG>;
17pub type UECF_W<'a, REG> = crate::BitWriter<'a, REG>;
19pub type REPOKCF_W<'a, REG> = crate::BitWriter<'a, REG>;
21pub type CC2CF_W<'a, REG> = crate::BitWriter<'a, REG>;
23pub type CMP2OKCF_W<'a, REG> = crate::BitWriter<'a, REG>;
25pub type DIEROKCF_W<'a, REG> = crate::BitWriter<'a, REG>;
27impl core::fmt::Debug for crate::generic::Reg<ICR_OUTPUTrs> {
28 fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result {
29 write!(f, "(not readable)")
30 }
31}
32impl W {
33 #[inline(always)]
35 pub fn cc1if(&mut self) -> CC1IF_W<ICR_OUTPUTrs> {
36 CC1IF_W::new(self, 0)
37 }
38 #[inline(always)]
40 pub fn arrmcf(&mut self) -> ARRMCF_W<ICR_OUTPUTrs> {
41 ARRMCF_W::new(self, 1)
42 }
43 #[inline(always)]
45 pub fn exttrigcf(&mut self) -> EXTTRIGCF_W<ICR_OUTPUTrs> {
46 EXTTRIGCF_W::new(self, 2)
47 }
48 #[inline(always)]
50 pub fn cmp1okcf(&mut self) -> CMP1OKCF_W<ICR_OUTPUTrs> {
51 CMP1OKCF_W::new(self, 3)
52 }
53 #[inline(always)]
55 pub fn arrokcf(&mut self) -> ARROKCF_W<ICR_OUTPUTrs> {
56 ARROKCF_W::new(self, 4)
57 }
58 #[inline(always)]
60 pub fn upcf(&mut self) -> UPCF_W<ICR_OUTPUTrs> {
61 UPCF_W::new(self, 5)
62 }
63 #[inline(always)]
65 pub fn downcf(&mut self) -> DOWNCF_W<ICR_OUTPUTrs> {
66 DOWNCF_W::new(self, 6)
67 }
68 #[inline(always)]
70 pub fn uecf(&mut self) -> UECF_W<ICR_OUTPUTrs> {
71 UECF_W::new(self, 7)
72 }
73 #[inline(always)]
75 pub fn repokcf(&mut self) -> REPOKCF_W<ICR_OUTPUTrs> {
76 REPOKCF_W::new(self, 8)
77 }
78 #[inline(always)]
80 pub fn cc2cf(&mut self) -> CC2CF_W<ICR_OUTPUTrs> {
81 CC2CF_W::new(self, 9)
82 }
83 #[inline(always)]
85 pub fn cmp2okcf(&mut self) -> CMP2OKCF_W<ICR_OUTPUTrs> {
86 CMP2OKCF_W::new(self, 19)
87 }
88 #[inline(always)]
90 pub fn dierokcf(&mut self) -> DIEROKCF_W<ICR_OUTPUTrs> {
91 DIEROKCF_W::new(self, 24)
92 }
93}
94pub struct ICR_OUTPUTrs;
100impl crate::RegisterSpec for ICR_OUTPUTrs {
101 type Ux = u32;
102}
103impl crate::Writable for ICR_OUTPUTrs {
105 type Safety = crate::Unsafe;
106}
107impl crate::Resettable for ICR_OUTPUTrs {}