ra4m3/
gpt320.rs

1#[doc = r"Register block"]
2#[repr(C)]
3pub struct RegisterBlock {
4    #[doc = "0x00 - General PWM Timer Write-Protection Register"]
5    pub gtwp: GTWP,
6    #[doc = "0x04 - General PWM Timer Software Start Register"]
7    pub gtstr: GTSTR,
8    #[doc = "0x08 - General PWM Timer Software Stop Register"]
9    pub gtstp: GTSTP,
10    #[doc = "0x0c - General PWM Timer Software Clear Register"]
11    pub gtclr: GTCLR,
12    #[doc = "0x10 - General PWM Timer Start Source Select Register"]
13    pub gtssr: GTSSR,
14    #[doc = "0x14 - General PWM Timer Stop Source Select Register"]
15    pub gtpsr: GTPSR,
16    #[doc = "0x18 - General PWM Timer Clear Source Select Register"]
17    pub gtcsr: GTCSR,
18    #[doc = "0x1c - General PWM Timer Up Count Source Select Register"]
19    pub gtupsr: GTUPSR,
20    #[doc = "0x20 - General PWM Timer Down Count Source Select Register"]
21    pub gtdnsr: GTDNSR,
22    #[doc = "0x24 - General PWM Timer Input Capture Source Select Register A"]
23    pub gticasr: GTICASR,
24    #[doc = "0x28 - General PWM Timer Input Capture Source Select Register B"]
25    pub gticbsr: GTICBSR,
26    #[doc = "0x2c - General PWM Timer Control Register"]
27    pub gtcr: GTCR,
28    #[doc = "0x30 - General PWM Timer Count Direction and Duty Setting Register"]
29    pub gtuddtyc: GTUDDTYC,
30    #[doc = "0x34 - General PWM Timer I/O Control Register"]
31    pub gtior: GTIOR,
32    #[doc = "0x38 - General PWM Timer Interrupt Output Setting Register"]
33    pub gtintad: GTINTAD,
34    #[doc = "0x3c - General PWM Timer Status Register"]
35    pub gtst: GTST,
36    #[doc = "0x40 - General PWM Timer Buffer Enable Register"]
37    pub gtber: GTBER,
38    _reserved17: [u8; 0x04],
39    #[doc = "0x48 - General PWM Timer Counter"]
40    pub gtcnt: GTCNT,
41    #[doc = "0x4c - General PWM Timer Compare Capture Register A"]
42    pub gtccra: GTCCRA,
43    #[doc = "0x50 - General PWM Timer Compare Capture Register B"]
44    pub gtccrb: GTCCRB,
45    #[doc = "0x54 - General PWM Timer Compare Capture Register C"]
46    pub gtccrc: GTCCRC,
47    #[doc = "0x58 - General PWM Timer Compare Capture Register E"]
48    pub gtccre: GTCCRE,
49    #[doc = "0x5c - General PWM Timer Compare Capture Register D"]
50    pub gtccrd: GTCCRD,
51    #[doc = "0x60 - General PWM Timer Compare Capture Register F"]
52    pub gtccrf: GTCCRF,
53    #[doc = "0x64 - General PWM Timer Cycle Setting Register"]
54    pub gtpr: GTPR,
55    #[doc = "0x68 - General PWM Timer Cycle Setting Buffer Register"]
56    pub gtpbr: GTPBR,
57    _reserved26: [u8; 0x1c],
58    #[doc = "0x88 - General PWM Timer Dead Time Control Register"]
59    pub gtdtcr: GTDTCR,
60    #[doc = "0x8c - General PWM Timer Dead Time Value Register U"]
61    pub gtdvu: GTDVU,
62    _reserved28: [u8; 0x28],
63    #[doc = "0xb8 - General PWM Timer Inter Channel Logical Operation Function Setting Register"]
64    pub gticlf: GTICLF,
65    #[doc = "0xbc - General PWM Timer Period Count Register"]
66    pub gtpc: GTPC,
67    _reserved30: [u8; 0x10],
68    #[doc = "0xd0 - General PWM Timer Operation Enable Bit Simultaneous Control Channel Select Register"]
69    pub gtsecsr: GTSECSR,
70    #[doc = "0xd4 - General PWM Timer Operation Enable Bit Simultaneous Control Register"]
71    pub gtsecr: GTSECR,
72}
73#[doc = "GTWP (rw) register accessor: an alias for `Reg<GTWP_SPEC>`"]
74pub type GTWP = crate::Reg<gtwp::GTWP_SPEC>;
75#[doc = "General PWM Timer Write-Protection Register"]
76pub mod gtwp;
77#[doc = "GTSTR (rw) register accessor: an alias for `Reg<GTSTR_SPEC>`"]
78pub type GTSTR = crate::Reg<gtstr::GTSTR_SPEC>;
79#[doc = "General PWM Timer Software Start Register"]
80pub mod gtstr;
81#[doc = "GTSTP (rw) register accessor: an alias for `Reg<GTSTP_SPEC>`"]
82pub type GTSTP = crate::Reg<gtstp::GTSTP_SPEC>;
83#[doc = "General PWM Timer Software Stop Register"]
84pub mod gtstp;
85#[doc = "GTCLR (w) register accessor: an alias for `Reg<GTCLR_SPEC>`"]
86pub type GTCLR = crate::Reg<gtclr::GTCLR_SPEC>;
87#[doc = "General PWM Timer Software Clear Register"]
88pub mod gtclr;
89#[doc = "GTSSR (rw) register accessor: an alias for `Reg<GTSSR_SPEC>`"]
90pub type GTSSR = crate::Reg<gtssr::GTSSR_SPEC>;
91#[doc = "General PWM Timer Start Source Select Register"]
92pub mod gtssr;
93#[doc = "GTPSR (rw) register accessor: an alias for `Reg<GTPSR_SPEC>`"]
94pub type GTPSR = crate::Reg<gtpsr::GTPSR_SPEC>;
95#[doc = "General PWM Timer Stop Source Select Register"]
96pub mod gtpsr;
97#[doc = "GTCSR (rw) register accessor: an alias for `Reg<GTCSR_SPEC>`"]
98pub type GTCSR = crate::Reg<gtcsr::GTCSR_SPEC>;
99#[doc = "General PWM Timer Clear Source Select Register"]
100pub mod gtcsr;
101#[doc = "GTUPSR (rw) register accessor: an alias for `Reg<GTUPSR_SPEC>`"]
102pub type GTUPSR = crate::Reg<gtupsr::GTUPSR_SPEC>;
103#[doc = "General PWM Timer Up Count Source Select Register"]
104pub mod gtupsr;
105#[doc = "GTDNSR (rw) register accessor: an alias for `Reg<GTDNSR_SPEC>`"]
106pub type GTDNSR = crate::Reg<gtdnsr::GTDNSR_SPEC>;
107#[doc = "General PWM Timer Down Count Source Select Register"]
108pub mod gtdnsr;
109#[doc = "GTICASR (rw) register accessor: an alias for `Reg<GTICASR_SPEC>`"]
110pub type GTICASR = crate::Reg<gticasr::GTICASR_SPEC>;
111#[doc = "General PWM Timer Input Capture Source Select Register A"]
112pub mod gticasr;
113#[doc = "GTICBSR (rw) register accessor: an alias for `Reg<GTICBSR_SPEC>`"]
114pub type GTICBSR = crate::Reg<gticbsr::GTICBSR_SPEC>;
115#[doc = "General PWM Timer Input Capture Source Select Register B"]
116pub mod gticbsr;
117#[doc = "GTCR (rw) register accessor: an alias for `Reg<GTCR_SPEC>`"]
118pub type GTCR = crate::Reg<gtcr::GTCR_SPEC>;
119#[doc = "General PWM Timer Control Register"]
120pub mod gtcr;
121#[doc = "GTUDDTYC (rw) register accessor: an alias for `Reg<GTUDDTYC_SPEC>`"]
122pub type GTUDDTYC = crate::Reg<gtuddtyc::GTUDDTYC_SPEC>;
123#[doc = "General PWM Timer Count Direction and Duty Setting Register"]
124pub mod gtuddtyc;
125#[doc = "GTIOR (rw) register accessor: an alias for `Reg<GTIOR_SPEC>`"]
126pub type GTIOR = crate::Reg<gtior::GTIOR_SPEC>;
127#[doc = "General PWM Timer I/O Control Register"]
128pub mod gtior;
129#[doc = "GTINTAD (rw) register accessor: an alias for `Reg<GTINTAD_SPEC>`"]
130pub type GTINTAD = crate::Reg<gtintad::GTINTAD_SPEC>;
131#[doc = "General PWM Timer Interrupt Output Setting Register"]
132pub mod gtintad;
133#[doc = "GTST (rw) register accessor: an alias for `Reg<GTST_SPEC>`"]
134pub type GTST = crate::Reg<gtst::GTST_SPEC>;
135#[doc = "General PWM Timer Status Register"]
136pub mod gtst;
137#[doc = "GTBER (rw) register accessor: an alias for `Reg<GTBER_SPEC>`"]
138pub type GTBER = crate::Reg<gtber::GTBER_SPEC>;
139#[doc = "General PWM Timer Buffer Enable Register"]
140pub mod gtber;
141#[doc = "GTCNT (rw) register accessor: an alias for `Reg<GTCNT_SPEC>`"]
142pub type GTCNT = crate::Reg<gtcnt::GTCNT_SPEC>;
143#[doc = "General PWM Timer Counter"]
144pub mod gtcnt;
145#[doc = "GTCCRA (rw) register accessor: an alias for `Reg<GTCCRA_SPEC>`"]
146pub type GTCCRA = crate::Reg<gtccra::GTCCRA_SPEC>;
147#[doc = "General PWM Timer Compare Capture Register A"]
148pub mod gtccra;
149#[doc = "GTCCRB (rw) register accessor: an alias for `Reg<GTCCRB_SPEC>`"]
150pub type GTCCRB = crate::Reg<gtccrb::GTCCRB_SPEC>;
151#[doc = "General PWM Timer Compare Capture Register B"]
152pub mod gtccrb;
153#[doc = "GTCCRC (rw) register accessor: an alias for `Reg<GTCCRC_SPEC>`"]
154pub type GTCCRC = crate::Reg<gtccrc::GTCCRC_SPEC>;
155#[doc = "General PWM Timer Compare Capture Register C"]
156pub mod gtccrc;
157#[doc = "GTCCRE (rw) register accessor: an alias for `Reg<GTCCRE_SPEC>`"]
158pub type GTCCRE = crate::Reg<gtccre::GTCCRE_SPEC>;
159#[doc = "General PWM Timer Compare Capture Register E"]
160pub mod gtccre;
161#[doc = "GTCCRD (rw) register accessor: an alias for `Reg<GTCCRD_SPEC>`"]
162pub type GTCCRD = crate::Reg<gtccrd::GTCCRD_SPEC>;
163#[doc = "General PWM Timer Compare Capture Register D"]
164pub mod gtccrd;
165#[doc = "GTCCRF (rw) register accessor: an alias for `Reg<GTCCRF_SPEC>`"]
166pub type GTCCRF = crate::Reg<gtccrf::GTCCRF_SPEC>;
167#[doc = "General PWM Timer Compare Capture Register F"]
168pub mod gtccrf;
169#[doc = "GTPR (rw) register accessor: an alias for `Reg<GTPR_SPEC>`"]
170pub type GTPR = crate::Reg<gtpr::GTPR_SPEC>;
171#[doc = "General PWM Timer Cycle Setting Register"]
172pub mod gtpr;
173#[doc = "GTPBR (rw) register accessor: an alias for `Reg<GTPBR_SPEC>`"]
174pub type GTPBR = crate::Reg<gtpbr::GTPBR_SPEC>;
175#[doc = "General PWM Timer Cycle Setting Buffer Register"]
176pub mod gtpbr;
177#[doc = "GTDTCR (rw) register accessor: an alias for `Reg<GTDTCR_SPEC>`"]
178pub type GTDTCR = crate::Reg<gtdtcr::GTDTCR_SPEC>;
179#[doc = "General PWM Timer Dead Time Control Register"]
180pub mod gtdtcr;
181#[doc = "GTDVU (rw) register accessor: an alias for `Reg<GTDVU_SPEC>`"]
182pub type GTDVU = crate::Reg<gtdvu::GTDVU_SPEC>;
183#[doc = "General PWM Timer Dead Time Value Register U"]
184pub mod gtdvu;
185#[doc = "GTICLF (rw) register accessor: an alias for `Reg<GTICLF_SPEC>`"]
186pub type GTICLF = crate::Reg<gticlf::GTICLF_SPEC>;
187#[doc = "General PWM Timer Inter Channel Logical Operation Function Setting Register"]
188pub mod gticlf;
189#[doc = "GTPC (rw) register accessor: an alias for `Reg<GTPC_SPEC>`"]
190pub type GTPC = crate::Reg<gtpc::GTPC_SPEC>;
191#[doc = "General PWM Timer Period Count Register"]
192pub mod gtpc;
193#[doc = "GTSECSR (rw) register accessor: an alias for `Reg<GTSECSR_SPEC>`"]
194pub type GTSECSR = crate::Reg<gtsecsr::GTSECSR_SPEC>;
195#[doc = "General PWM Timer Operation Enable Bit Simultaneous Control Channel Select Register"]
196pub mod gtsecsr;
197#[doc = "GTSECR (rw) register accessor: an alias for `Reg<GTSECR_SPEC>`"]
198pub type GTSECR = crate::Reg<gtsecr::GTSECR_SPEC>;
199#[doc = "General PWM Timer Operation Enable Bit Simultaneous Control Register"]
200pub mod gtsecr;