stm32u5/stm32u5a9/lptim4/
icr.rs1pub type W = crate::W<ICRrs>;
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 DIEROKCF_W<'a, REG> = crate::BitWriter<'a, REG>;
23impl core::fmt::Debug for crate::generic::Reg<ICRrs> {
24 fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result {
25 write!(f, "(not readable)")
26 }
27}
28impl W {
29 #[inline(always)]
31 pub fn cc1if(&mut self) -> CC1IF_W<ICRrs> {
32 CC1IF_W::new(self, 0)
33 }
34 #[inline(always)]
36 pub fn arrmcf(&mut self) -> ARRMCF_W<ICRrs> {
37 ARRMCF_W::new(self, 1)
38 }
39 #[inline(always)]
41 pub fn exttrigcf(&mut self) -> EXTTRIGCF_W<ICRrs> {
42 EXTTRIGCF_W::new(self, 2)
43 }
44 #[inline(always)]
46 pub fn cmp1okcf(&mut self) -> CMP1OKCF_W<ICRrs> {
47 CMP1OKCF_W::new(self, 3)
48 }
49 #[inline(always)]
51 pub fn arrokcf(&mut self) -> ARROKCF_W<ICRrs> {
52 ARROKCF_W::new(self, 4)
53 }
54 #[inline(always)]
56 pub fn upcf(&mut self) -> UPCF_W<ICRrs> {
57 UPCF_W::new(self, 5)
58 }
59 #[inline(always)]
61 pub fn downcf(&mut self) -> DOWNCF_W<ICRrs> {
62 DOWNCF_W::new(self, 6)
63 }
64 #[inline(always)]
66 pub fn uecf(&mut self) -> UECF_W<ICRrs> {
67 UECF_W::new(self, 7)
68 }
69 #[inline(always)]
71 pub fn repokcf(&mut self) -> REPOKCF_W<ICRrs> {
72 REPOKCF_W::new(self, 8)
73 }
74 #[inline(always)]
76 pub fn dierokcf(&mut self) -> DIEROKCF_W<ICRrs> {
77 DIEROKCF_W::new(self, 24)
78 }
79}
80pub struct ICRrs;
86impl crate::RegisterSpec for ICRrs {
87 type Ux = u32;
88}
89impl crate::Writable for ICRrs {
91 type Safety = crate::Unsafe;
92}
93impl crate::Resettable for ICRrs {}