efm32tg11b_pac/efm32tg11b540/
letimer0.rs1#[doc = r"Register block"]
2#[repr(C)]
3pub struct RegisterBlock {
4 #[doc = "0x00 - Control Register"]
5 pub ctrl: CTRL,
6 #[doc = "0x04 - Command Register"]
7 pub cmd: CMD,
8 #[doc = "0x08 - Status Register"]
9 pub status: STATUS,
10 #[doc = "0x0c - Counter Value Register"]
11 pub cnt: CNT,
12 #[doc = "0x10 - Compare Value Register 0"]
13 pub comp0: COMP0,
14 #[doc = "0x14 - Compare Value Register 1"]
15 pub comp1: COMP1,
16 #[doc = "0x18 - Repeat Counter Register 0"]
17 pub rep0: REP0,
18 #[doc = "0x1c - Repeat Counter Register 1"]
19 pub rep1: REP1,
20 #[doc = "0x20 - Interrupt Flag Register"]
21 pub if_: IF,
22 #[doc = "0x24 - Interrupt Flag Set Register"]
23 pub ifs: IFS,
24 #[doc = "0x28 - Interrupt Flag Clear Register"]
25 pub ifc: IFC,
26 #[doc = "0x2c - Interrupt Enable Register"]
27 pub ien: IEN,
28 _reserved12: [u8; 0x04],
29 #[doc = "0x34 - Synchronization Busy Register"]
30 pub syncbusy: SYNCBUSY,
31 _reserved13: [u8; 0x08],
32 #[doc = "0x40 - I/O Routing Pin Enable Register"]
33 pub routepen: ROUTEPEN,
34 #[doc = "0x44 - I/O Routing Location Register"]
35 pub routeloc0: ROUTELOC0,
36 _reserved15: [u8; 0x08],
37 #[doc = "0x50 - PRS Input Select Register"]
38 pub prssel: PRSSEL,
39}
40#[doc = "CTRL (rw) register accessor: an alias for `Reg<CTRL_SPEC>`"]
41pub type CTRL = crate::Reg<ctrl::CTRL_SPEC>;
42#[doc = "Control Register"]
43pub mod ctrl;
44#[doc = "CMD (w) register accessor: an alias for `Reg<CMD_SPEC>`"]
45pub type CMD = crate::Reg<cmd::CMD_SPEC>;
46#[doc = "Command Register"]
47pub mod cmd;
48#[doc = "STATUS (r) register accessor: an alias for `Reg<STATUS_SPEC>`"]
49pub type STATUS = crate::Reg<status::STATUS_SPEC>;
50#[doc = "Status Register"]
51pub mod status;
52#[doc = "CNT (rw) register accessor: an alias for `Reg<CNT_SPEC>`"]
53pub type CNT = crate::Reg<cnt::CNT_SPEC>;
54#[doc = "Counter Value Register"]
55pub mod cnt;
56#[doc = "COMP0 (rw) register accessor: an alias for `Reg<COMP0_SPEC>`"]
57pub type COMP0 = crate::Reg<comp0::COMP0_SPEC>;
58#[doc = "Compare Value Register 0"]
59pub mod comp0;
60#[doc = "COMP1 (rw) register accessor: an alias for `Reg<COMP1_SPEC>`"]
61pub type COMP1 = crate::Reg<comp1::COMP1_SPEC>;
62#[doc = "Compare Value Register 1"]
63pub mod comp1;
64#[doc = "REP0 (rw) register accessor: an alias for `Reg<REP0_SPEC>`"]
65pub type REP0 = crate::Reg<rep0::REP0_SPEC>;
66#[doc = "Repeat Counter Register 0"]
67pub mod rep0;
68#[doc = "REP1 (rw) register accessor: an alias for `Reg<REP1_SPEC>`"]
69pub type REP1 = crate::Reg<rep1::REP1_SPEC>;
70#[doc = "Repeat Counter Register 1"]
71pub mod rep1;
72#[doc = "IF (r) register accessor: an alias for `Reg<IF_SPEC>`"]
73pub type IF = crate::Reg<if_::IF_SPEC>;
74#[doc = "Interrupt Flag Register"]
75pub mod if_;
76#[doc = "IFS (w) register accessor: an alias for `Reg<IFS_SPEC>`"]
77pub type IFS = crate::Reg<ifs::IFS_SPEC>;
78#[doc = "Interrupt Flag Set Register"]
79pub mod ifs;
80#[doc = "IFC (w) register accessor: an alias for `Reg<IFC_SPEC>`"]
81pub type IFC = crate::Reg<ifc::IFC_SPEC>;
82#[doc = "Interrupt Flag Clear Register"]
83pub mod ifc;
84#[doc = "IEN (rw) register accessor: an alias for `Reg<IEN_SPEC>`"]
85pub type IEN = crate::Reg<ien::IEN_SPEC>;
86#[doc = "Interrupt Enable Register"]
87pub mod ien;
88#[doc = "SYNCBUSY (r) register accessor: an alias for `Reg<SYNCBUSY_SPEC>`"]
89pub type SYNCBUSY = crate::Reg<syncbusy::SYNCBUSY_SPEC>;
90#[doc = "Synchronization Busy Register"]
91pub mod syncbusy;
92#[doc = "ROUTEPEN (rw) register accessor: an alias for `Reg<ROUTEPEN_SPEC>`"]
93pub type ROUTEPEN = crate::Reg<routepen::ROUTEPEN_SPEC>;
94#[doc = "I/O Routing Pin Enable Register"]
95pub mod routepen;
96#[doc = "ROUTELOC0 (rw) register accessor: an alias for `Reg<ROUTELOC0_SPEC>`"]
97pub type ROUTELOC0 = crate::Reg<routeloc0::ROUTELOC0_SPEC>;
98#[doc = "I/O Routing Location Register"]
99pub mod routeloc0;
100#[doc = "PRSSEL (rw) register accessor: an alias for `Reg<PRSSEL_SPEC>`"]
101pub type PRSSEL = crate::Reg<prssel::PRSSEL_SPEC>;
102#[doc = "PRS Input Select Register"]
103pub mod prssel;