efm32pg1b_pac/pcnt0/
ifs.rs1pub type W = crate::W<IFSrs>;
3pub type UfW<'a, REG> = crate::BitWriter<'a, REG>;
5pub type OfW<'a, REG> = crate::BitWriter<'a, REG>;
7pub type DircngW<'a, REG> = crate::BitWriter<'a, REG>;
9pub type AuxofW<'a, REG> = crate::BitWriter<'a, REG>;
11pub type TccW<'a, REG> = crate::BitWriter<'a, REG>;
13pub type OqsterrW<'a, REG> = crate::BitWriter<'a, REG>;
15impl core::fmt::Debug for crate::generic::Reg<IFSrs> {
16 fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result {
17 write!(f, "(not readable)")
18 }
19}
20impl W {
21 #[inline(always)]
23 pub fn uf(&mut self) -> UfW<'_, IFSrs> {
24 UfW::new(self, 0)
25 }
26 #[inline(always)]
28 pub fn of(&mut self) -> OfW<'_, IFSrs> {
29 OfW::new(self, 1)
30 }
31 #[inline(always)]
33 pub fn dircng(&mut self) -> DircngW<'_, IFSrs> {
34 DircngW::new(self, 2)
35 }
36 #[inline(always)]
38 pub fn auxof(&mut self) -> AuxofW<'_, IFSrs> {
39 AuxofW::new(self, 3)
40 }
41 #[inline(always)]
43 pub fn tcc(&mut self) -> TccW<'_, IFSrs> {
44 TccW::new(self, 4)
45 }
46 #[inline(always)]
48 pub fn oqsterr(&mut self) -> OqsterrW<'_, IFSrs> {
49 OqsterrW::new(self, 5)
50 }
51}
52pub struct IFSrs;
56impl crate::RegisterSpec for IFSrs {
57 type Ux = u32;
58}
59impl crate::Writable for IFSrs {
61 type Safety = crate::Unsafe;
62}
63impl crate::Resettable for IFSrs {}