1 // THIS HEADER FILE IS AUTOMATICALLY GENERATED -- DO NOT EDIT
2 
3 /**
4  * Copyright (c) 2024 Raspberry Pi Ltd.
5  *
6  * SPDX-License-Identifier: BSD-3-Clause
7  */
8 // =============================================================================
9 // Register block : PWM
10 // Version        : 1
11 // Bus type       : apb
12 // Description    : Simple PWM
13 // =============================================================================
14 #ifndef _HARDWARE_REGS_PWM_H
15 #define _HARDWARE_REGS_PWM_H
16 // =============================================================================
17 // Register    : PWM_CH0_CSR
18 // Description : Control and status register
19 #define PWM_CH0_CSR_OFFSET _u(0x00000000)
20 #define PWM_CH0_CSR_BITS   _u(0x000000ff)
21 #define PWM_CH0_CSR_RESET  _u(0x00000000)
22 // -----------------------------------------------------------------------------
23 // Field       : PWM_CH0_CSR_PH_ADV
24 // Description : Advance the phase of the counter by 1 count, while it is
25 //               running.
26 //               Self-clearing. Write a 1, and poll until low. Counter must be
27 //               running
28 //               at less than full speed (div_int + div_frac / 16 > 1)
29 #define PWM_CH0_CSR_PH_ADV_RESET  _u(0x0)
30 #define PWM_CH0_CSR_PH_ADV_BITS   _u(0x00000080)
31 #define PWM_CH0_CSR_PH_ADV_MSB    _u(7)
32 #define PWM_CH0_CSR_PH_ADV_LSB    _u(7)
33 #define PWM_CH0_CSR_PH_ADV_ACCESS "SC"
34 // -----------------------------------------------------------------------------
35 // Field       : PWM_CH0_CSR_PH_RET
36 // Description : Retard the phase of the counter by 1 count, while it is
37 //               running.
38 //               Self-clearing. Write a 1, and poll until low. Counter must be
39 //               running.
40 #define PWM_CH0_CSR_PH_RET_RESET  _u(0x0)
41 #define PWM_CH0_CSR_PH_RET_BITS   _u(0x00000040)
42 #define PWM_CH0_CSR_PH_RET_MSB    _u(6)
43 #define PWM_CH0_CSR_PH_RET_LSB    _u(6)
44 #define PWM_CH0_CSR_PH_RET_ACCESS "SC"
45 // -----------------------------------------------------------------------------
46 // Field       : PWM_CH0_CSR_DIVMODE
47 //               0x0 -> Free-running counting at rate dictated by fractional divider
48 //               0x1 -> Fractional divider operation is gated by the PWM B pin.
49 //               0x2 -> Counter advances with each rising edge of the PWM B pin.
50 //               0x3 -> Counter advances with each falling edge of the PWM B pin.
51 #define PWM_CH0_CSR_DIVMODE_RESET  _u(0x0)
52 #define PWM_CH0_CSR_DIVMODE_BITS   _u(0x00000030)
53 #define PWM_CH0_CSR_DIVMODE_MSB    _u(5)
54 #define PWM_CH0_CSR_DIVMODE_LSB    _u(4)
55 #define PWM_CH0_CSR_DIVMODE_ACCESS "RW"
56 #define PWM_CH0_CSR_DIVMODE_VALUE_DIV _u(0x0)
57 #define PWM_CH0_CSR_DIVMODE_VALUE_LEVEL _u(0x1)
58 #define PWM_CH0_CSR_DIVMODE_VALUE_RISE _u(0x2)
59 #define PWM_CH0_CSR_DIVMODE_VALUE_FALL _u(0x3)
60 // -----------------------------------------------------------------------------
61 // Field       : PWM_CH0_CSR_B_INV
62 // Description : Invert output B
63 #define PWM_CH0_CSR_B_INV_RESET  _u(0x0)
64 #define PWM_CH0_CSR_B_INV_BITS   _u(0x00000008)
65 #define PWM_CH0_CSR_B_INV_MSB    _u(3)
66 #define PWM_CH0_CSR_B_INV_LSB    _u(3)
67 #define PWM_CH0_CSR_B_INV_ACCESS "RW"
68 // -----------------------------------------------------------------------------
69 // Field       : PWM_CH0_CSR_A_INV
70 // Description : Invert output A
71 #define PWM_CH0_CSR_A_INV_RESET  _u(0x0)
72 #define PWM_CH0_CSR_A_INV_BITS   _u(0x00000004)
73 #define PWM_CH0_CSR_A_INV_MSB    _u(2)
74 #define PWM_CH0_CSR_A_INV_LSB    _u(2)
75 #define PWM_CH0_CSR_A_INV_ACCESS "RW"
76 // -----------------------------------------------------------------------------
77 // Field       : PWM_CH0_CSR_PH_CORRECT
78 // Description : 1: Enable phase-correct modulation. 0: Trailing-edge
79 #define PWM_CH0_CSR_PH_CORRECT_RESET  _u(0x0)
80 #define PWM_CH0_CSR_PH_CORRECT_BITS   _u(0x00000002)
81 #define PWM_CH0_CSR_PH_CORRECT_MSB    _u(1)
82 #define PWM_CH0_CSR_PH_CORRECT_LSB    _u(1)
83 #define PWM_CH0_CSR_PH_CORRECT_ACCESS "RW"
84 // -----------------------------------------------------------------------------
85 // Field       : PWM_CH0_CSR_EN
86 // Description : Enable the PWM channel.
87 #define PWM_CH0_CSR_EN_RESET  _u(0x0)
88 #define PWM_CH0_CSR_EN_BITS   _u(0x00000001)
89 #define PWM_CH0_CSR_EN_MSB    _u(0)
90 #define PWM_CH0_CSR_EN_LSB    _u(0)
91 #define PWM_CH0_CSR_EN_ACCESS "RW"
92 // =============================================================================
93 // Register    : PWM_CH0_DIV
94 // Description : INT and FRAC form a fixed-point fractional number.
95 //               Counting rate is system clock frequency divided by this number.
96 //               Fractional division uses simple 1st-order sigma-delta.
97 #define PWM_CH0_DIV_OFFSET _u(0x00000004)
98 #define PWM_CH0_DIV_BITS   _u(0x00000fff)
99 #define PWM_CH0_DIV_RESET  _u(0x00000010)
100 // -----------------------------------------------------------------------------
101 // Field       : PWM_CH0_DIV_INT
102 #define PWM_CH0_DIV_INT_RESET  _u(0x01)
103 #define PWM_CH0_DIV_INT_BITS   _u(0x00000ff0)
104 #define PWM_CH0_DIV_INT_MSB    _u(11)
105 #define PWM_CH0_DIV_INT_LSB    _u(4)
106 #define PWM_CH0_DIV_INT_ACCESS "RW"
107 // -----------------------------------------------------------------------------
108 // Field       : PWM_CH0_DIV_FRAC
109 #define PWM_CH0_DIV_FRAC_RESET  _u(0x0)
110 #define PWM_CH0_DIV_FRAC_BITS   _u(0x0000000f)
111 #define PWM_CH0_DIV_FRAC_MSB    _u(3)
112 #define PWM_CH0_DIV_FRAC_LSB    _u(0)
113 #define PWM_CH0_DIV_FRAC_ACCESS "RW"
114 // =============================================================================
115 // Register    : PWM_CH0_CTR
116 // Description : Direct access to the PWM counter
117 #define PWM_CH0_CTR_OFFSET _u(0x00000008)
118 #define PWM_CH0_CTR_BITS   _u(0x0000ffff)
119 #define PWM_CH0_CTR_RESET  _u(0x00000000)
120 #define PWM_CH0_CTR_MSB    _u(15)
121 #define PWM_CH0_CTR_LSB    _u(0)
122 #define PWM_CH0_CTR_ACCESS "RW"
123 // =============================================================================
124 // Register    : PWM_CH0_CC
125 // Description : Counter compare values
126 #define PWM_CH0_CC_OFFSET _u(0x0000000c)
127 #define PWM_CH0_CC_BITS   _u(0xffffffff)
128 #define PWM_CH0_CC_RESET  _u(0x00000000)
129 // -----------------------------------------------------------------------------
130 // Field       : PWM_CH0_CC_B
131 #define PWM_CH0_CC_B_RESET  _u(0x0000)
132 #define PWM_CH0_CC_B_BITS   _u(0xffff0000)
133 #define PWM_CH0_CC_B_MSB    _u(31)
134 #define PWM_CH0_CC_B_LSB    _u(16)
135 #define PWM_CH0_CC_B_ACCESS "RW"
136 // -----------------------------------------------------------------------------
137 // Field       : PWM_CH0_CC_A
138 #define PWM_CH0_CC_A_RESET  _u(0x0000)
139 #define PWM_CH0_CC_A_BITS   _u(0x0000ffff)
140 #define PWM_CH0_CC_A_MSB    _u(15)
141 #define PWM_CH0_CC_A_LSB    _u(0)
142 #define PWM_CH0_CC_A_ACCESS "RW"
143 // =============================================================================
144 // Register    : PWM_CH0_TOP
145 // Description : Counter wrap value
146 #define PWM_CH0_TOP_OFFSET _u(0x00000010)
147 #define PWM_CH0_TOP_BITS   _u(0x0000ffff)
148 #define PWM_CH0_TOP_RESET  _u(0x0000ffff)
149 #define PWM_CH0_TOP_MSB    _u(15)
150 #define PWM_CH0_TOP_LSB    _u(0)
151 #define PWM_CH0_TOP_ACCESS "RW"
152 // =============================================================================
153 // Register    : PWM_CH1_CSR
154 // Description : Control and status register
155 #define PWM_CH1_CSR_OFFSET _u(0x00000014)
156 #define PWM_CH1_CSR_BITS   _u(0x000000ff)
157 #define PWM_CH1_CSR_RESET  _u(0x00000000)
158 // -----------------------------------------------------------------------------
159 // Field       : PWM_CH1_CSR_PH_ADV
160 // Description : Advance the phase of the counter by 1 count, while it is
161 //               running.
162 //               Self-clearing. Write a 1, and poll until low. Counter must be
163 //               running
164 //               at less than full speed (div_int + div_frac / 16 > 1)
165 #define PWM_CH1_CSR_PH_ADV_RESET  _u(0x0)
166 #define PWM_CH1_CSR_PH_ADV_BITS   _u(0x00000080)
167 #define PWM_CH1_CSR_PH_ADV_MSB    _u(7)
168 #define PWM_CH1_CSR_PH_ADV_LSB    _u(7)
169 #define PWM_CH1_CSR_PH_ADV_ACCESS "SC"
170 // -----------------------------------------------------------------------------
171 // Field       : PWM_CH1_CSR_PH_RET
172 // Description : Retard the phase of the counter by 1 count, while it is
173 //               running.
174 //               Self-clearing. Write a 1, and poll until low. Counter must be
175 //               running.
176 #define PWM_CH1_CSR_PH_RET_RESET  _u(0x0)
177 #define PWM_CH1_CSR_PH_RET_BITS   _u(0x00000040)
178 #define PWM_CH1_CSR_PH_RET_MSB    _u(6)
179 #define PWM_CH1_CSR_PH_RET_LSB    _u(6)
180 #define PWM_CH1_CSR_PH_RET_ACCESS "SC"
181 // -----------------------------------------------------------------------------
182 // Field       : PWM_CH1_CSR_DIVMODE
183 //               0x0 -> Free-running counting at rate dictated by fractional divider
184 //               0x1 -> Fractional divider operation is gated by the PWM B pin.
185 //               0x2 -> Counter advances with each rising edge of the PWM B pin.
186 //               0x3 -> Counter advances with each falling edge of the PWM B pin.
187 #define PWM_CH1_CSR_DIVMODE_RESET  _u(0x0)
188 #define PWM_CH1_CSR_DIVMODE_BITS   _u(0x00000030)
189 #define PWM_CH1_CSR_DIVMODE_MSB    _u(5)
190 #define PWM_CH1_CSR_DIVMODE_LSB    _u(4)
191 #define PWM_CH1_CSR_DIVMODE_ACCESS "RW"
192 #define PWM_CH1_CSR_DIVMODE_VALUE_DIV _u(0x0)
193 #define PWM_CH1_CSR_DIVMODE_VALUE_LEVEL _u(0x1)
194 #define PWM_CH1_CSR_DIVMODE_VALUE_RISE _u(0x2)
195 #define PWM_CH1_CSR_DIVMODE_VALUE_FALL _u(0x3)
196 // -----------------------------------------------------------------------------
197 // Field       : PWM_CH1_CSR_B_INV
198 // Description : Invert output B
199 #define PWM_CH1_CSR_B_INV_RESET  _u(0x0)
200 #define PWM_CH1_CSR_B_INV_BITS   _u(0x00000008)
201 #define PWM_CH1_CSR_B_INV_MSB    _u(3)
202 #define PWM_CH1_CSR_B_INV_LSB    _u(3)
203 #define PWM_CH1_CSR_B_INV_ACCESS "RW"
204 // -----------------------------------------------------------------------------
205 // Field       : PWM_CH1_CSR_A_INV
206 // Description : Invert output A
207 #define PWM_CH1_CSR_A_INV_RESET  _u(0x0)
208 #define PWM_CH1_CSR_A_INV_BITS   _u(0x00000004)
209 #define PWM_CH1_CSR_A_INV_MSB    _u(2)
210 #define PWM_CH1_CSR_A_INV_LSB    _u(2)
211 #define PWM_CH1_CSR_A_INV_ACCESS "RW"
212 // -----------------------------------------------------------------------------
213 // Field       : PWM_CH1_CSR_PH_CORRECT
214 // Description : 1: Enable phase-correct modulation. 0: Trailing-edge
215 #define PWM_CH1_CSR_PH_CORRECT_RESET  _u(0x0)
216 #define PWM_CH1_CSR_PH_CORRECT_BITS   _u(0x00000002)
217 #define PWM_CH1_CSR_PH_CORRECT_MSB    _u(1)
218 #define PWM_CH1_CSR_PH_CORRECT_LSB    _u(1)
219 #define PWM_CH1_CSR_PH_CORRECT_ACCESS "RW"
220 // -----------------------------------------------------------------------------
221 // Field       : PWM_CH1_CSR_EN
222 // Description : Enable the PWM channel.
223 #define PWM_CH1_CSR_EN_RESET  _u(0x0)
224 #define PWM_CH1_CSR_EN_BITS   _u(0x00000001)
225 #define PWM_CH1_CSR_EN_MSB    _u(0)
226 #define PWM_CH1_CSR_EN_LSB    _u(0)
227 #define PWM_CH1_CSR_EN_ACCESS "RW"
228 // =============================================================================
229 // Register    : PWM_CH1_DIV
230 // Description : INT and FRAC form a fixed-point fractional number.
231 //               Counting rate is system clock frequency divided by this number.
232 //               Fractional division uses simple 1st-order sigma-delta.
233 #define PWM_CH1_DIV_OFFSET _u(0x00000018)
234 #define PWM_CH1_DIV_BITS   _u(0x00000fff)
235 #define PWM_CH1_DIV_RESET  _u(0x00000010)
236 // -----------------------------------------------------------------------------
237 // Field       : PWM_CH1_DIV_INT
238 #define PWM_CH1_DIV_INT_RESET  _u(0x01)
239 #define PWM_CH1_DIV_INT_BITS   _u(0x00000ff0)
240 #define PWM_CH1_DIV_INT_MSB    _u(11)
241 #define PWM_CH1_DIV_INT_LSB    _u(4)
242 #define PWM_CH1_DIV_INT_ACCESS "RW"
243 // -----------------------------------------------------------------------------
244 // Field       : PWM_CH1_DIV_FRAC
245 #define PWM_CH1_DIV_FRAC_RESET  _u(0x0)
246 #define PWM_CH1_DIV_FRAC_BITS   _u(0x0000000f)
247 #define PWM_CH1_DIV_FRAC_MSB    _u(3)
248 #define PWM_CH1_DIV_FRAC_LSB    _u(0)
249 #define PWM_CH1_DIV_FRAC_ACCESS "RW"
250 // =============================================================================
251 // Register    : PWM_CH1_CTR
252 // Description : Direct access to the PWM counter
253 #define PWM_CH1_CTR_OFFSET _u(0x0000001c)
254 #define PWM_CH1_CTR_BITS   _u(0x0000ffff)
255 #define PWM_CH1_CTR_RESET  _u(0x00000000)
256 #define PWM_CH1_CTR_MSB    _u(15)
257 #define PWM_CH1_CTR_LSB    _u(0)
258 #define PWM_CH1_CTR_ACCESS "RW"
259 // =============================================================================
260 // Register    : PWM_CH1_CC
261 // Description : Counter compare values
262 #define PWM_CH1_CC_OFFSET _u(0x00000020)
263 #define PWM_CH1_CC_BITS   _u(0xffffffff)
264 #define PWM_CH1_CC_RESET  _u(0x00000000)
265 // -----------------------------------------------------------------------------
266 // Field       : PWM_CH1_CC_B
267 #define PWM_CH1_CC_B_RESET  _u(0x0000)
268 #define PWM_CH1_CC_B_BITS   _u(0xffff0000)
269 #define PWM_CH1_CC_B_MSB    _u(31)
270 #define PWM_CH1_CC_B_LSB    _u(16)
271 #define PWM_CH1_CC_B_ACCESS "RW"
272 // -----------------------------------------------------------------------------
273 // Field       : PWM_CH1_CC_A
274 #define PWM_CH1_CC_A_RESET  _u(0x0000)
275 #define PWM_CH1_CC_A_BITS   _u(0x0000ffff)
276 #define PWM_CH1_CC_A_MSB    _u(15)
277 #define PWM_CH1_CC_A_LSB    _u(0)
278 #define PWM_CH1_CC_A_ACCESS "RW"
279 // =============================================================================
280 // Register    : PWM_CH1_TOP
281 // Description : Counter wrap value
282 #define PWM_CH1_TOP_OFFSET _u(0x00000024)
283 #define PWM_CH1_TOP_BITS   _u(0x0000ffff)
284 #define PWM_CH1_TOP_RESET  _u(0x0000ffff)
285 #define PWM_CH1_TOP_MSB    _u(15)
286 #define PWM_CH1_TOP_LSB    _u(0)
287 #define PWM_CH1_TOP_ACCESS "RW"
288 // =============================================================================
289 // Register    : PWM_CH2_CSR
290 // Description : Control and status register
291 #define PWM_CH2_CSR_OFFSET _u(0x00000028)
292 #define PWM_CH2_CSR_BITS   _u(0x000000ff)
293 #define PWM_CH2_CSR_RESET  _u(0x00000000)
294 // -----------------------------------------------------------------------------
295 // Field       : PWM_CH2_CSR_PH_ADV
296 // Description : Advance the phase of the counter by 1 count, while it is
297 //               running.
298 //               Self-clearing. Write a 1, and poll until low. Counter must be
299 //               running
300 //               at less than full speed (div_int + div_frac / 16 > 1)
301 #define PWM_CH2_CSR_PH_ADV_RESET  _u(0x0)
302 #define PWM_CH2_CSR_PH_ADV_BITS   _u(0x00000080)
303 #define PWM_CH2_CSR_PH_ADV_MSB    _u(7)
304 #define PWM_CH2_CSR_PH_ADV_LSB    _u(7)
305 #define PWM_CH2_CSR_PH_ADV_ACCESS "SC"
306 // -----------------------------------------------------------------------------
307 // Field       : PWM_CH2_CSR_PH_RET
308 // Description : Retard the phase of the counter by 1 count, while it is
309 //               running.
310 //               Self-clearing. Write a 1, and poll until low. Counter must be
311 //               running.
312 #define PWM_CH2_CSR_PH_RET_RESET  _u(0x0)
313 #define PWM_CH2_CSR_PH_RET_BITS   _u(0x00000040)
314 #define PWM_CH2_CSR_PH_RET_MSB    _u(6)
315 #define PWM_CH2_CSR_PH_RET_LSB    _u(6)
316 #define PWM_CH2_CSR_PH_RET_ACCESS "SC"
317 // -----------------------------------------------------------------------------
318 // Field       : PWM_CH2_CSR_DIVMODE
319 //               0x0 -> Free-running counting at rate dictated by fractional divider
320 //               0x1 -> Fractional divider operation is gated by the PWM B pin.
321 //               0x2 -> Counter advances with each rising edge of the PWM B pin.
322 //               0x3 -> Counter advances with each falling edge of the PWM B pin.
323 #define PWM_CH2_CSR_DIVMODE_RESET  _u(0x0)
324 #define PWM_CH2_CSR_DIVMODE_BITS   _u(0x00000030)
325 #define PWM_CH2_CSR_DIVMODE_MSB    _u(5)
326 #define PWM_CH2_CSR_DIVMODE_LSB    _u(4)
327 #define PWM_CH2_CSR_DIVMODE_ACCESS "RW"
328 #define PWM_CH2_CSR_DIVMODE_VALUE_DIV _u(0x0)
329 #define PWM_CH2_CSR_DIVMODE_VALUE_LEVEL _u(0x1)
330 #define PWM_CH2_CSR_DIVMODE_VALUE_RISE _u(0x2)
331 #define PWM_CH2_CSR_DIVMODE_VALUE_FALL _u(0x3)
332 // -----------------------------------------------------------------------------
333 // Field       : PWM_CH2_CSR_B_INV
334 // Description : Invert output B
335 #define PWM_CH2_CSR_B_INV_RESET  _u(0x0)
336 #define PWM_CH2_CSR_B_INV_BITS   _u(0x00000008)
337 #define PWM_CH2_CSR_B_INV_MSB    _u(3)
338 #define PWM_CH2_CSR_B_INV_LSB    _u(3)
339 #define PWM_CH2_CSR_B_INV_ACCESS "RW"
340 // -----------------------------------------------------------------------------
341 // Field       : PWM_CH2_CSR_A_INV
342 // Description : Invert output A
343 #define PWM_CH2_CSR_A_INV_RESET  _u(0x0)
344 #define PWM_CH2_CSR_A_INV_BITS   _u(0x00000004)
345 #define PWM_CH2_CSR_A_INV_MSB    _u(2)
346 #define PWM_CH2_CSR_A_INV_LSB    _u(2)
347 #define PWM_CH2_CSR_A_INV_ACCESS "RW"
348 // -----------------------------------------------------------------------------
349 // Field       : PWM_CH2_CSR_PH_CORRECT
350 // Description : 1: Enable phase-correct modulation. 0: Trailing-edge
351 #define PWM_CH2_CSR_PH_CORRECT_RESET  _u(0x0)
352 #define PWM_CH2_CSR_PH_CORRECT_BITS   _u(0x00000002)
353 #define PWM_CH2_CSR_PH_CORRECT_MSB    _u(1)
354 #define PWM_CH2_CSR_PH_CORRECT_LSB    _u(1)
355 #define PWM_CH2_CSR_PH_CORRECT_ACCESS "RW"
356 // -----------------------------------------------------------------------------
357 // Field       : PWM_CH2_CSR_EN
358 // Description : Enable the PWM channel.
359 #define PWM_CH2_CSR_EN_RESET  _u(0x0)
360 #define PWM_CH2_CSR_EN_BITS   _u(0x00000001)
361 #define PWM_CH2_CSR_EN_MSB    _u(0)
362 #define PWM_CH2_CSR_EN_LSB    _u(0)
363 #define PWM_CH2_CSR_EN_ACCESS "RW"
364 // =============================================================================
365 // Register    : PWM_CH2_DIV
366 // Description : INT and FRAC form a fixed-point fractional number.
367 //               Counting rate is system clock frequency divided by this number.
368 //               Fractional division uses simple 1st-order sigma-delta.
369 #define PWM_CH2_DIV_OFFSET _u(0x0000002c)
370 #define PWM_CH2_DIV_BITS   _u(0x00000fff)
371 #define PWM_CH2_DIV_RESET  _u(0x00000010)
372 // -----------------------------------------------------------------------------
373 // Field       : PWM_CH2_DIV_INT
374 #define PWM_CH2_DIV_INT_RESET  _u(0x01)
375 #define PWM_CH2_DIV_INT_BITS   _u(0x00000ff0)
376 #define PWM_CH2_DIV_INT_MSB    _u(11)
377 #define PWM_CH2_DIV_INT_LSB    _u(4)
378 #define PWM_CH2_DIV_INT_ACCESS "RW"
379 // -----------------------------------------------------------------------------
380 // Field       : PWM_CH2_DIV_FRAC
381 #define PWM_CH2_DIV_FRAC_RESET  _u(0x0)
382 #define PWM_CH2_DIV_FRAC_BITS   _u(0x0000000f)
383 #define PWM_CH2_DIV_FRAC_MSB    _u(3)
384 #define PWM_CH2_DIV_FRAC_LSB    _u(0)
385 #define PWM_CH2_DIV_FRAC_ACCESS "RW"
386 // =============================================================================
387 // Register    : PWM_CH2_CTR
388 // Description : Direct access to the PWM counter
389 #define PWM_CH2_CTR_OFFSET _u(0x00000030)
390 #define PWM_CH2_CTR_BITS   _u(0x0000ffff)
391 #define PWM_CH2_CTR_RESET  _u(0x00000000)
392 #define PWM_CH2_CTR_MSB    _u(15)
393 #define PWM_CH2_CTR_LSB    _u(0)
394 #define PWM_CH2_CTR_ACCESS "RW"
395 // =============================================================================
396 // Register    : PWM_CH2_CC
397 // Description : Counter compare values
398 #define PWM_CH2_CC_OFFSET _u(0x00000034)
399 #define PWM_CH2_CC_BITS   _u(0xffffffff)
400 #define PWM_CH2_CC_RESET  _u(0x00000000)
401 // -----------------------------------------------------------------------------
402 // Field       : PWM_CH2_CC_B
403 #define PWM_CH2_CC_B_RESET  _u(0x0000)
404 #define PWM_CH2_CC_B_BITS   _u(0xffff0000)
405 #define PWM_CH2_CC_B_MSB    _u(31)
406 #define PWM_CH2_CC_B_LSB    _u(16)
407 #define PWM_CH2_CC_B_ACCESS "RW"
408 // -----------------------------------------------------------------------------
409 // Field       : PWM_CH2_CC_A
410 #define PWM_CH2_CC_A_RESET  _u(0x0000)
411 #define PWM_CH2_CC_A_BITS   _u(0x0000ffff)
412 #define PWM_CH2_CC_A_MSB    _u(15)
413 #define PWM_CH2_CC_A_LSB    _u(0)
414 #define PWM_CH2_CC_A_ACCESS "RW"
415 // =============================================================================
416 // Register    : PWM_CH2_TOP
417 // Description : Counter wrap value
418 #define PWM_CH2_TOP_OFFSET _u(0x00000038)
419 #define PWM_CH2_TOP_BITS   _u(0x0000ffff)
420 #define PWM_CH2_TOP_RESET  _u(0x0000ffff)
421 #define PWM_CH2_TOP_MSB    _u(15)
422 #define PWM_CH2_TOP_LSB    _u(0)
423 #define PWM_CH2_TOP_ACCESS "RW"
424 // =============================================================================
425 // Register    : PWM_CH3_CSR
426 // Description : Control and status register
427 #define PWM_CH3_CSR_OFFSET _u(0x0000003c)
428 #define PWM_CH3_CSR_BITS   _u(0x000000ff)
429 #define PWM_CH3_CSR_RESET  _u(0x00000000)
430 // -----------------------------------------------------------------------------
431 // Field       : PWM_CH3_CSR_PH_ADV
432 // Description : Advance the phase of the counter by 1 count, while it is
433 //               running.
434 //               Self-clearing. Write a 1, and poll until low. Counter must be
435 //               running
436 //               at less than full speed (div_int + div_frac / 16 > 1)
437 #define PWM_CH3_CSR_PH_ADV_RESET  _u(0x0)
438 #define PWM_CH3_CSR_PH_ADV_BITS   _u(0x00000080)
439 #define PWM_CH3_CSR_PH_ADV_MSB    _u(7)
440 #define PWM_CH3_CSR_PH_ADV_LSB    _u(7)
441 #define PWM_CH3_CSR_PH_ADV_ACCESS "SC"
442 // -----------------------------------------------------------------------------
443 // Field       : PWM_CH3_CSR_PH_RET
444 // Description : Retard the phase of the counter by 1 count, while it is
445 //               running.
446 //               Self-clearing. Write a 1, and poll until low. Counter must be
447 //               running.
448 #define PWM_CH3_CSR_PH_RET_RESET  _u(0x0)
449 #define PWM_CH3_CSR_PH_RET_BITS   _u(0x00000040)
450 #define PWM_CH3_CSR_PH_RET_MSB    _u(6)
451 #define PWM_CH3_CSR_PH_RET_LSB    _u(6)
452 #define PWM_CH3_CSR_PH_RET_ACCESS "SC"
453 // -----------------------------------------------------------------------------
454 // Field       : PWM_CH3_CSR_DIVMODE
455 //               0x0 -> Free-running counting at rate dictated by fractional divider
456 //               0x1 -> Fractional divider operation is gated by the PWM B pin.
457 //               0x2 -> Counter advances with each rising edge of the PWM B pin.
458 //               0x3 -> Counter advances with each falling edge of the PWM B pin.
459 #define PWM_CH3_CSR_DIVMODE_RESET  _u(0x0)
460 #define PWM_CH3_CSR_DIVMODE_BITS   _u(0x00000030)
461 #define PWM_CH3_CSR_DIVMODE_MSB    _u(5)
462 #define PWM_CH3_CSR_DIVMODE_LSB    _u(4)
463 #define PWM_CH3_CSR_DIVMODE_ACCESS "RW"
464 #define PWM_CH3_CSR_DIVMODE_VALUE_DIV _u(0x0)
465 #define PWM_CH3_CSR_DIVMODE_VALUE_LEVEL _u(0x1)
466 #define PWM_CH3_CSR_DIVMODE_VALUE_RISE _u(0x2)
467 #define PWM_CH3_CSR_DIVMODE_VALUE_FALL _u(0x3)
468 // -----------------------------------------------------------------------------
469 // Field       : PWM_CH3_CSR_B_INV
470 // Description : Invert output B
471 #define PWM_CH3_CSR_B_INV_RESET  _u(0x0)
472 #define PWM_CH3_CSR_B_INV_BITS   _u(0x00000008)
473 #define PWM_CH3_CSR_B_INV_MSB    _u(3)
474 #define PWM_CH3_CSR_B_INV_LSB    _u(3)
475 #define PWM_CH3_CSR_B_INV_ACCESS "RW"
476 // -----------------------------------------------------------------------------
477 // Field       : PWM_CH3_CSR_A_INV
478 // Description : Invert output A
479 #define PWM_CH3_CSR_A_INV_RESET  _u(0x0)
480 #define PWM_CH3_CSR_A_INV_BITS   _u(0x00000004)
481 #define PWM_CH3_CSR_A_INV_MSB    _u(2)
482 #define PWM_CH3_CSR_A_INV_LSB    _u(2)
483 #define PWM_CH3_CSR_A_INV_ACCESS "RW"
484 // -----------------------------------------------------------------------------
485 // Field       : PWM_CH3_CSR_PH_CORRECT
486 // Description : 1: Enable phase-correct modulation. 0: Trailing-edge
487 #define PWM_CH3_CSR_PH_CORRECT_RESET  _u(0x0)
488 #define PWM_CH3_CSR_PH_CORRECT_BITS   _u(0x00000002)
489 #define PWM_CH3_CSR_PH_CORRECT_MSB    _u(1)
490 #define PWM_CH3_CSR_PH_CORRECT_LSB    _u(1)
491 #define PWM_CH3_CSR_PH_CORRECT_ACCESS "RW"
492 // -----------------------------------------------------------------------------
493 // Field       : PWM_CH3_CSR_EN
494 // Description : Enable the PWM channel.
495 #define PWM_CH3_CSR_EN_RESET  _u(0x0)
496 #define PWM_CH3_CSR_EN_BITS   _u(0x00000001)
497 #define PWM_CH3_CSR_EN_MSB    _u(0)
498 #define PWM_CH3_CSR_EN_LSB    _u(0)
499 #define PWM_CH3_CSR_EN_ACCESS "RW"
500 // =============================================================================
501 // Register    : PWM_CH3_DIV
502 // Description : INT and FRAC form a fixed-point fractional number.
503 //               Counting rate is system clock frequency divided by this number.
504 //               Fractional division uses simple 1st-order sigma-delta.
505 #define PWM_CH3_DIV_OFFSET _u(0x00000040)
506 #define PWM_CH3_DIV_BITS   _u(0x00000fff)
507 #define PWM_CH3_DIV_RESET  _u(0x00000010)
508 // -----------------------------------------------------------------------------
509 // Field       : PWM_CH3_DIV_INT
510 #define PWM_CH3_DIV_INT_RESET  _u(0x01)
511 #define PWM_CH3_DIV_INT_BITS   _u(0x00000ff0)
512 #define PWM_CH3_DIV_INT_MSB    _u(11)
513 #define PWM_CH3_DIV_INT_LSB    _u(4)
514 #define PWM_CH3_DIV_INT_ACCESS "RW"
515 // -----------------------------------------------------------------------------
516 // Field       : PWM_CH3_DIV_FRAC
517 #define PWM_CH3_DIV_FRAC_RESET  _u(0x0)
518 #define PWM_CH3_DIV_FRAC_BITS   _u(0x0000000f)
519 #define PWM_CH3_DIV_FRAC_MSB    _u(3)
520 #define PWM_CH3_DIV_FRAC_LSB    _u(0)
521 #define PWM_CH3_DIV_FRAC_ACCESS "RW"
522 // =============================================================================
523 // Register    : PWM_CH3_CTR
524 // Description : Direct access to the PWM counter
525 #define PWM_CH3_CTR_OFFSET _u(0x00000044)
526 #define PWM_CH3_CTR_BITS   _u(0x0000ffff)
527 #define PWM_CH3_CTR_RESET  _u(0x00000000)
528 #define PWM_CH3_CTR_MSB    _u(15)
529 #define PWM_CH3_CTR_LSB    _u(0)
530 #define PWM_CH3_CTR_ACCESS "RW"
531 // =============================================================================
532 // Register    : PWM_CH3_CC
533 // Description : Counter compare values
534 #define PWM_CH3_CC_OFFSET _u(0x00000048)
535 #define PWM_CH3_CC_BITS   _u(0xffffffff)
536 #define PWM_CH3_CC_RESET  _u(0x00000000)
537 // -----------------------------------------------------------------------------
538 // Field       : PWM_CH3_CC_B
539 #define PWM_CH3_CC_B_RESET  _u(0x0000)
540 #define PWM_CH3_CC_B_BITS   _u(0xffff0000)
541 #define PWM_CH3_CC_B_MSB    _u(31)
542 #define PWM_CH3_CC_B_LSB    _u(16)
543 #define PWM_CH3_CC_B_ACCESS "RW"
544 // -----------------------------------------------------------------------------
545 // Field       : PWM_CH3_CC_A
546 #define PWM_CH3_CC_A_RESET  _u(0x0000)
547 #define PWM_CH3_CC_A_BITS   _u(0x0000ffff)
548 #define PWM_CH3_CC_A_MSB    _u(15)
549 #define PWM_CH3_CC_A_LSB    _u(0)
550 #define PWM_CH3_CC_A_ACCESS "RW"
551 // =============================================================================
552 // Register    : PWM_CH3_TOP
553 // Description : Counter wrap value
554 #define PWM_CH3_TOP_OFFSET _u(0x0000004c)
555 #define PWM_CH3_TOP_BITS   _u(0x0000ffff)
556 #define PWM_CH3_TOP_RESET  _u(0x0000ffff)
557 #define PWM_CH3_TOP_MSB    _u(15)
558 #define PWM_CH3_TOP_LSB    _u(0)
559 #define PWM_CH3_TOP_ACCESS "RW"
560 // =============================================================================
561 // Register    : PWM_CH4_CSR
562 // Description : Control and status register
563 #define PWM_CH4_CSR_OFFSET _u(0x00000050)
564 #define PWM_CH4_CSR_BITS   _u(0x000000ff)
565 #define PWM_CH4_CSR_RESET  _u(0x00000000)
566 // -----------------------------------------------------------------------------
567 // Field       : PWM_CH4_CSR_PH_ADV
568 // Description : Advance the phase of the counter by 1 count, while it is
569 //               running.
570 //               Self-clearing. Write a 1, and poll until low. Counter must be
571 //               running
572 //               at less than full speed (div_int + div_frac / 16 > 1)
573 #define PWM_CH4_CSR_PH_ADV_RESET  _u(0x0)
574 #define PWM_CH4_CSR_PH_ADV_BITS   _u(0x00000080)
575 #define PWM_CH4_CSR_PH_ADV_MSB    _u(7)
576 #define PWM_CH4_CSR_PH_ADV_LSB    _u(7)
577 #define PWM_CH4_CSR_PH_ADV_ACCESS "SC"
578 // -----------------------------------------------------------------------------
579 // Field       : PWM_CH4_CSR_PH_RET
580 // Description : Retard the phase of the counter by 1 count, while it is
581 //               running.
582 //               Self-clearing. Write a 1, and poll until low. Counter must be
583 //               running.
584 #define PWM_CH4_CSR_PH_RET_RESET  _u(0x0)
585 #define PWM_CH4_CSR_PH_RET_BITS   _u(0x00000040)
586 #define PWM_CH4_CSR_PH_RET_MSB    _u(6)
587 #define PWM_CH4_CSR_PH_RET_LSB    _u(6)
588 #define PWM_CH4_CSR_PH_RET_ACCESS "SC"
589 // -----------------------------------------------------------------------------
590 // Field       : PWM_CH4_CSR_DIVMODE
591 //               0x0 -> Free-running counting at rate dictated by fractional divider
592 //               0x1 -> Fractional divider operation is gated by the PWM B pin.
593 //               0x2 -> Counter advances with each rising edge of the PWM B pin.
594 //               0x3 -> Counter advances with each falling edge of the PWM B pin.
595 #define PWM_CH4_CSR_DIVMODE_RESET  _u(0x0)
596 #define PWM_CH4_CSR_DIVMODE_BITS   _u(0x00000030)
597 #define PWM_CH4_CSR_DIVMODE_MSB    _u(5)
598 #define PWM_CH4_CSR_DIVMODE_LSB    _u(4)
599 #define PWM_CH4_CSR_DIVMODE_ACCESS "RW"
600 #define PWM_CH4_CSR_DIVMODE_VALUE_DIV _u(0x0)
601 #define PWM_CH4_CSR_DIVMODE_VALUE_LEVEL _u(0x1)
602 #define PWM_CH4_CSR_DIVMODE_VALUE_RISE _u(0x2)
603 #define PWM_CH4_CSR_DIVMODE_VALUE_FALL _u(0x3)
604 // -----------------------------------------------------------------------------
605 // Field       : PWM_CH4_CSR_B_INV
606 // Description : Invert output B
607 #define PWM_CH4_CSR_B_INV_RESET  _u(0x0)
608 #define PWM_CH4_CSR_B_INV_BITS   _u(0x00000008)
609 #define PWM_CH4_CSR_B_INV_MSB    _u(3)
610 #define PWM_CH4_CSR_B_INV_LSB    _u(3)
611 #define PWM_CH4_CSR_B_INV_ACCESS "RW"
612 // -----------------------------------------------------------------------------
613 // Field       : PWM_CH4_CSR_A_INV
614 // Description : Invert output A
615 #define PWM_CH4_CSR_A_INV_RESET  _u(0x0)
616 #define PWM_CH4_CSR_A_INV_BITS   _u(0x00000004)
617 #define PWM_CH4_CSR_A_INV_MSB    _u(2)
618 #define PWM_CH4_CSR_A_INV_LSB    _u(2)
619 #define PWM_CH4_CSR_A_INV_ACCESS "RW"
620 // -----------------------------------------------------------------------------
621 // Field       : PWM_CH4_CSR_PH_CORRECT
622 // Description : 1: Enable phase-correct modulation. 0: Trailing-edge
623 #define PWM_CH4_CSR_PH_CORRECT_RESET  _u(0x0)
624 #define PWM_CH4_CSR_PH_CORRECT_BITS   _u(0x00000002)
625 #define PWM_CH4_CSR_PH_CORRECT_MSB    _u(1)
626 #define PWM_CH4_CSR_PH_CORRECT_LSB    _u(1)
627 #define PWM_CH4_CSR_PH_CORRECT_ACCESS "RW"
628 // -----------------------------------------------------------------------------
629 // Field       : PWM_CH4_CSR_EN
630 // Description : Enable the PWM channel.
631 #define PWM_CH4_CSR_EN_RESET  _u(0x0)
632 #define PWM_CH4_CSR_EN_BITS   _u(0x00000001)
633 #define PWM_CH4_CSR_EN_MSB    _u(0)
634 #define PWM_CH4_CSR_EN_LSB    _u(0)
635 #define PWM_CH4_CSR_EN_ACCESS "RW"
636 // =============================================================================
637 // Register    : PWM_CH4_DIV
638 // Description : INT and FRAC form a fixed-point fractional number.
639 //               Counting rate is system clock frequency divided by this number.
640 //               Fractional division uses simple 1st-order sigma-delta.
641 #define PWM_CH4_DIV_OFFSET _u(0x00000054)
642 #define PWM_CH4_DIV_BITS   _u(0x00000fff)
643 #define PWM_CH4_DIV_RESET  _u(0x00000010)
644 // -----------------------------------------------------------------------------
645 // Field       : PWM_CH4_DIV_INT
646 #define PWM_CH4_DIV_INT_RESET  _u(0x01)
647 #define PWM_CH4_DIV_INT_BITS   _u(0x00000ff0)
648 #define PWM_CH4_DIV_INT_MSB    _u(11)
649 #define PWM_CH4_DIV_INT_LSB    _u(4)
650 #define PWM_CH4_DIV_INT_ACCESS "RW"
651 // -----------------------------------------------------------------------------
652 // Field       : PWM_CH4_DIV_FRAC
653 #define PWM_CH4_DIV_FRAC_RESET  _u(0x0)
654 #define PWM_CH4_DIV_FRAC_BITS   _u(0x0000000f)
655 #define PWM_CH4_DIV_FRAC_MSB    _u(3)
656 #define PWM_CH4_DIV_FRAC_LSB    _u(0)
657 #define PWM_CH4_DIV_FRAC_ACCESS "RW"
658 // =============================================================================
659 // Register    : PWM_CH4_CTR
660 // Description : Direct access to the PWM counter
661 #define PWM_CH4_CTR_OFFSET _u(0x00000058)
662 #define PWM_CH4_CTR_BITS   _u(0x0000ffff)
663 #define PWM_CH4_CTR_RESET  _u(0x00000000)
664 #define PWM_CH4_CTR_MSB    _u(15)
665 #define PWM_CH4_CTR_LSB    _u(0)
666 #define PWM_CH4_CTR_ACCESS "RW"
667 // =============================================================================
668 // Register    : PWM_CH4_CC
669 // Description : Counter compare values
670 #define PWM_CH4_CC_OFFSET _u(0x0000005c)
671 #define PWM_CH4_CC_BITS   _u(0xffffffff)
672 #define PWM_CH4_CC_RESET  _u(0x00000000)
673 // -----------------------------------------------------------------------------
674 // Field       : PWM_CH4_CC_B
675 #define PWM_CH4_CC_B_RESET  _u(0x0000)
676 #define PWM_CH4_CC_B_BITS   _u(0xffff0000)
677 #define PWM_CH4_CC_B_MSB    _u(31)
678 #define PWM_CH4_CC_B_LSB    _u(16)
679 #define PWM_CH4_CC_B_ACCESS "RW"
680 // -----------------------------------------------------------------------------
681 // Field       : PWM_CH4_CC_A
682 #define PWM_CH4_CC_A_RESET  _u(0x0000)
683 #define PWM_CH4_CC_A_BITS   _u(0x0000ffff)
684 #define PWM_CH4_CC_A_MSB    _u(15)
685 #define PWM_CH4_CC_A_LSB    _u(0)
686 #define PWM_CH4_CC_A_ACCESS "RW"
687 // =============================================================================
688 // Register    : PWM_CH4_TOP
689 // Description : Counter wrap value
690 #define PWM_CH4_TOP_OFFSET _u(0x00000060)
691 #define PWM_CH4_TOP_BITS   _u(0x0000ffff)
692 #define PWM_CH4_TOP_RESET  _u(0x0000ffff)
693 #define PWM_CH4_TOP_MSB    _u(15)
694 #define PWM_CH4_TOP_LSB    _u(0)
695 #define PWM_CH4_TOP_ACCESS "RW"
696 // =============================================================================
697 // Register    : PWM_CH5_CSR
698 // Description : Control and status register
699 #define PWM_CH5_CSR_OFFSET _u(0x00000064)
700 #define PWM_CH5_CSR_BITS   _u(0x000000ff)
701 #define PWM_CH5_CSR_RESET  _u(0x00000000)
702 // -----------------------------------------------------------------------------
703 // Field       : PWM_CH5_CSR_PH_ADV
704 // Description : Advance the phase of the counter by 1 count, while it is
705 //               running.
706 //               Self-clearing. Write a 1, and poll until low. Counter must be
707 //               running
708 //               at less than full speed (div_int + div_frac / 16 > 1)
709 #define PWM_CH5_CSR_PH_ADV_RESET  _u(0x0)
710 #define PWM_CH5_CSR_PH_ADV_BITS   _u(0x00000080)
711 #define PWM_CH5_CSR_PH_ADV_MSB    _u(7)
712 #define PWM_CH5_CSR_PH_ADV_LSB    _u(7)
713 #define PWM_CH5_CSR_PH_ADV_ACCESS "SC"
714 // -----------------------------------------------------------------------------
715 // Field       : PWM_CH5_CSR_PH_RET
716 // Description : Retard the phase of the counter by 1 count, while it is
717 //               running.
718 //               Self-clearing. Write a 1, and poll until low. Counter must be
719 //               running.
720 #define PWM_CH5_CSR_PH_RET_RESET  _u(0x0)
721 #define PWM_CH5_CSR_PH_RET_BITS   _u(0x00000040)
722 #define PWM_CH5_CSR_PH_RET_MSB    _u(6)
723 #define PWM_CH5_CSR_PH_RET_LSB    _u(6)
724 #define PWM_CH5_CSR_PH_RET_ACCESS "SC"
725 // -----------------------------------------------------------------------------
726 // Field       : PWM_CH5_CSR_DIVMODE
727 //               0x0 -> Free-running counting at rate dictated by fractional divider
728 //               0x1 -> Fractional divider operation is gated by the PWM B pin.
729 //               0x2 -> Counter advances with each rising edge of the PWM B pin.
730 //               0x3 -> Counter advances with each falling edge of the PWM B pin.
731 #define PWM_CH5_CSR_DIVMODE_RESET  _u(0x0)
732 #define PWM_CH5_CSR_DIVMODE_BITS   _u(0x00000030)
733 #define PWM_CH5_CSR_DIVMODE_MSB    _u(5)
734 #define PWM_CH5_CSR_DIVMODE_LSB    _u(4)
735 #define PWM_CH5_CSR_DIVMODE_ACCESS "RW"
736 #define PWM_CH5_CSR_DIVMODE_VALUE_DIV _u(0x0)
737 #define PWM_CH5_CSR_DIVMODE_VALUE_LEVEL _u(0x1)
738 #define PWM_CH5_CSR_DIVMODE_VALUE_RISE _u(0x2)
739 #define PWM_CH5_CSR_DIVMODE_VALUE_FALL _u(0x3)
740 // -----------------------------------------------------------------------------
741 // Field       : PWM_CH5_CSR_B_INV
742 // Description : Invert output B
743 #define PWM_CH5_CSR_B_INV_RESET  _u(0x0)
744 #define PWM_CH5_CSR_B_INV_BITS   _u(0x00000008)
745 #define PWM_CH5_CSR_B_INV_MSB    _u(3)
746 #define PWM_CH5_CSR_B_INV_LSB    _u(3)
747 #define PWM_CH5_CSR_B_INV_ACCESS "RW"
748 // -----------------------------------------------------------------------------
749 // Field       : PWM_CH5_CSR_A_INV
750 // Description : Invert output A
751 #define PWM_CH5_CSR_A_INV_RESET  _u(0x0)
752 #define PWM_CH5_CSR_A_INV_BITS   _u(0x00000004)
753 #define PWM_CH5_CSR_A_INV_MSB    _u(2)
754 #define PWM_CH5_CSR_A_INV_LSB    _u(2)
755 #define PWM_CH5_CSR_A_INV_ACCESS "RW"
756 // -----------------------------------------------------------------------------
757 // Field       : PWM_CH5_CSR_PH_CORRECT
758 // Description : 1: Enable phase-correct modulation. 0: Trailing-edge
759 #define PWM_CH5_CSR_PH_CORRECT_RESET  _u(0x0)
760 #define PWM_CH5_CSR_PH_CORRECT_BITS   _u(0x00000002)
761 #define PWM_CH5_CSR_PH_CORRECT_MSB    _u(1)
762 #define PWM_CH5_CSR_PH_CORRECT_LSB    _u(1)
763 #define PWM_CH5_CSR_PH_CORRECT_ACCESS "RW"
764 // -----------------------------------------------------------------------------
765 // Field       : PWM_CH5_CSR_EN
766 // Description : Enable the PWM channel.
767 #define PWM_CH5_CSR_EN_RESET  _u(0x0)
768 #define PWM_CH5_CSR_EN_BITS   _u(0x00000001)
769 #define PWM_CH5_CSR_EN_MSB    _u(0)
770 #define PWM_CH5_CSR_EN_LSB    _u(0)
771 #define PWM_CH5_CSR_EN_ACCESS "RW"
772 // =============================================================================
773 // Register    : PWM_CH5_DIV
774 // Description : INT and FRAC form a fixed-point fractional number.
775 //               Counting rate is system clock frequency divided by this number.
776 //               Fractional division uses simple 1st-order sigma-delta.
777 #define PWM_CH5_DIV_OFFSET _u(0x00000068)
778 #define PWM_CH5_DIV_BITS   _u(0x00000fff)
779 #define PWM_CH5_DIV_RESET  _u(0x00000010)
780 // -----------------------------------------------------------------------------
781 // Field       : PWM_CH5_DIV_INT
782 #define PWM_CH5_DIV_INT_RESET  _u(0x01)
783 #define PWM_CH5_DIV_INT_BITS   _u(0x00000ff0)
784 #define PWM_CH5_DIV_INT_MSB    _u(11)
785 #define PWM_CH5_DIV_INT_LSB    _u(4)
786 #define PWM_CH5_DIV_INT_ACCESS "RW"
787 // -----------------------------------------------------------------------------
788 // Field       : PWM_CH5_DIV_FRAC
789 #define PWM_CH5_DIV_FRAC_RESET  _u(0x0)
790 #define PWM_CH5_DIV_FRAC_BITS   _u(0x0000000f)
791 #define PWM_CH5_DIV_FRAC_MSB    _u(3)
792 #define PWM_CH5_DIV_FRAC_LSB    _u(0)
793 #define PWM_CH5_DIV_FRAC_ACCESS "RW"
794 // =============================================================================
795 // Register    : PWM_CH5_CTR
796 // Description : Direct access to the PWM counter
797 #define PWM_CH5_CTR_OFFSET _u(0x0000006c)
798 #define PWM_CH5_CTR_BITS   _u(0x0000ffff)
799 #define PWM_CH5_CTR_RESET  _u(0x00000000)
800 #define PWM_CH5_CTR_MSB    _u(15)
801 #define PWM_CH5_CTR_LSB    _u(0)
802 #define PWM_CH5_CTR_ACCESS "RW"
803 // =============================================================================
804 // Register    : PWM_CH5_CC
805 // Description : Counter compare values
806 #define PWM_CH5_CC_OFFSET _u(0x00000070)
807 #define PWM_CH5_CC_BITS   _u(0xffffffff)
808 #define PWM_CH5_CC_RESET  _u(0x00000000)
809 // -----------------------------------------------------------------------------
810 // Field       : PWM_CH5_CC_B
811 #define PWM_CH5_CC_B_RESET  _u(0x0000)
812 #define PWM_CH5_CC_B_BITS   _u(0xffff0000)
813 #define PWM_CH5_CC_B_MSB    _u(31)
814 #define PWM_CH5_CC_B_LSB    _u(16)
815 #define PWM_CH5_CC_B_ACCESS "RW"
816 // -----------------------------------------------------------------------------
817 // Field       : PWM_CH5_CC_A
818 #define PWM_CH5_CC_A_RESET  _u(0x0000)
819 #define PWM_CH5_CC_A_BITS   _u(0x0000ffff)
820 #define PWM_CH5_CC_A_MSB    _u(15)
821 #define PWM_CH5_CC_A_LSB    _u(0)
822 #define PWM_CH5_CC_A_ACCESS "RW"
823 // =============================================================================
824 // Register    : PWM_CH5_TOP
825 // Description : Counter wrap value
826 #define PWM_CH5_TOP_OFFSET _u(0x00000074)
827 #define PWM_CH5_TOP_BITS   _u(0x0000ffff)
828 #define PWM_CH5_TOP_RESET  _u(0x0000ffff)
829 #define PWM_CH5_TOP_MSB    _u(15)
830 #define PWM_CH5_TOP_LSB    _u(0)
831 #define PWM_CH5_TOP_ACCESS "RW"
832 // =============================================================================
833 // Register    : PWM_CH6_CSR
834 // Description : Control and status register
835 #define PWM_CH6_CSR_OFFSET _u(0x00000078)
836 #define PWM_CH6_CSR_BITS   _u(0x000000ff)
837 #define PWM_CH6_CSR_RESET  _u(0x00000000)
838 // -----------------------------------------------------------------------------
839 // Field       : PWM_CH6_CSR_PH_ADV
840 // Description : Advance the phase of the counter by 1 count, while it is
841 //               running.
842 //               Self-clearing. Write a 1, and poll until low. Counter must be
843 //               running
844 //               at less than full speed (div_int + div_frac / 16 > 1)
845 #define PWM_CH6_CSR_PH_ADV_RESET  _u(0x0)
846 #define PWM_CH6_CSR_PH_ADV_BITS   _u(0x00000080)
847 #define PWM_CH6_CSR_PH_ADV_MSB    _u(7)
848 #define PWM_CH6_CSR_PH_ADV_LSB    _u(7)
849 #define PWM_CH6_CSR_PH_ADV_ACCESS "SC"
850 // -----------------------------------------------------------------------------
851 // Field       : PWM_CH6_CSR_PH_RET
852 // Description : Retard the phase of the counter by 1 count, while it is
853 //               running.
854 //               Self-clearing. Write a 1, and poll until low. Counter must be
855 //               running.
856 #define PWM_CH6_CSR_PH_RET_RESET  _u(0x0)
857 #define PWM_CH6_CSR_PH_RET_BITS   _u(0x00000040)
858 #define PWM_CH6_CSR_PH_RET_MSB    _u(6)
859 #define PWM_CH6_CSR_PH_RET_LSB    _u(6)
860 #define PWM_CH6_CSR_PH_RET_ACCESS "SC"
861 // -----------------------------------------------------------------------------
862 // Field       : PWM_CH6_CSR_DIVMODE
863 //               0x0 -> Free-running counting at rate dictated by fractional divider
864 //               0x1 -> Fractional divider operation is gated by the PWM B pin.
865 //               0x2 -> Counter advances with each rising edge of the PWM B pin.
866 //               0x3 -> Counter advances with each falling edge of the PWM B pin.
867 #define PWM_CH6_CSR_DIVMODE_RESET  _u(0x0)
868 #define PWM_CH6_CSR_DIVMODE_BITS   _u(0x00000030)
869 #define PWM_CH6_CSR_DIVMODE_MSB    _u(5)
870 #define PWM_CH6_CSR_DIVMODE_LSB    _u(4)
871 #define PWM_CH6_CSR_DIVMODE_ACCESS "RW"
872 #define PWM_CH6_CSR_DIVMODE_VALUE_DIV _u(0x0)
873 #define PWM_CH6_CSR_DIVMODE_VALUE_LEVEL _u(0x1)
874 #define PWM_CH6_CSR_DIVMODE_VALUE_RISE _u(0x2)
875 #define PWM_CH6_CSR_DIVMODE_VALUE_FALL _u(0x3)
876 // -----------------------------------------------------------------------------
877 // Field       : PWM_CH6_CSR_B_INV
878 // Description : Invert output B
879 #define PWM_CH6_CSR_B_INV_RESET  _u(0x0)
880 #define PWM_CH6_CSR_B_INV_BITS   _u(0x00000008)
881 #define PWM_CH6_CSR_B_INV_MSB    _u(3)
882 #define PWM_CH6_CSR_B_INV_LSB    _u(3)
883 #define PWM_CH6_CSR_B_INV_ACCESS "RW"
884 // -----------------------------------------------------------------------------
885 // Field       : PWM_CH6_CSR_A_INV
886 // Description : Invert output A
887 #define PWM_CH6_CSR_A_INV_RESET  _u(0x0)
888 #define PWM_CH6_CSR_A_INV_BITS   _u(0x00000004)
889 #define PWM_CH6_CSR_A_INV_MSB    _u(2)
890 #define PWM_CH6_CSR_A_INV_LSB    _u(2)
891 #define PWM_CH6_CSR_A_INV_ACCESS "RW"
892 // -----------------------------------------------------------------------------
893 // Field       : PWM_CH6_CSR_PH_CORRECT
894 // Description : 1: Enable phase-correct modulation. 0: Trailing-edge
895 #define PWM_CH6_CSR_PH_CORRECT_RESET  _u(0x0)
896 #define PWM_CH6_CSR_PH_CORRECT_BITS   _u(0x00000002)
897 #define PWM_CH6_CSR_PH_CORRECT_MSB    _u(1)
898 #define PWM_CH6_CSR_PH_CORRECT_LSB    _u(1)
899 #define PWM_CH6_CSR_PH_CORRECT_ACCESS "RW"
900 // -----------------------------------------------------------------------------
901 // Field       : PWM_CH6_CSR_EN
902 // Description : Enable the PWM channel.
903 #define PWM_CH6_CSR_EN_RESET  _u(0x0)
904 #define PWM_CH6_CSR_EN_BITS   _u(0x00000001)
905 #define PWM_CH6_CSR_EN_MSB    _u(0)
906 #define PWM_CH6_CSR_EN_LSB    _u(0)
907 #define PWM_CH6_CSR_EN_ACCESS "RW"
908 // =============================================================================
909 // Register    : PWM_CH6_DIV
910 // Description : INT and FRAC form a fixed-point fractional number.
911 //               Counting rate is system clock frequency divided by this number.
912 //               Fractional division uses simple 1st-order sigma-delta.
913 #define PWM_CH6_DIV_OFFSET _u(0x0000007c)
914 #define PWM_CH6_DIV_BITS   _u(0x00000fff)
915 #define PWM_CH6_DIV_RESET  _u(0x00000010)
916 // -----------------------------------------------------------------------------
917 // Field       : PWM_CH6_DIV_INT
918 #define PWM_CH6_DIV_INT_RESET  _u(0x01)
919 #define PWM_CH6_DIV_INT_BITS   _u(0x00000ff0)
920 #define PWM_CH6_DIV_INT_MSB    _u(11)
921 #define PWM_CH6_DIV_INT_LSB    _u(4)
922 #define PWM_CH6_DIV_INT_ACCESS "RW"
923 // -----------------------------------------------------------------------------
924 // Field       : PWM_CH6_DIV_FRAC
925 #define PWM_CH6_DIV_FRAC_RESET  _u(0x0)
926 #define PWM_CH6_DIV_FRAC_BITS   _u(0x0000000f)
927 #define PWM_CH6_DIV_FRAC_MSB    _u(3)
928 #define PWM_CH6_DIV_FRAC_LSB    _u(0)
929 #define PWM_CH6_DIV_FRAC_ACCESS "RW"
930 // =============================================================================
931 // Register    : PWM_CH6_CTR
932 // Description : Direct access to the PWM counter
933 #define PWM_CH6_CTR_OFFSET _u(0x00000080)
934 #define PWM_CH6_CTR_BITS   _u(0x0000ffff)
935 #define PWM_CH6_CTR_RESET  _u(0x00000000)
936 #define PWM_CH6_CTR_MSB    _u(15)
937 #define PWM_CH6_CTR_LSB    _u(0)
938 #define PWM_CH6_CTR_ACCESS "RW"
939 // =============================================================================
940 // Register    : PWM_CH6_CC
941 // Description : Counter compare values
942 #define PWM_CH6_CC_OFFSET _u(0x00000084)
943 #define PWM_CH6_CC_BITS   _u(0xffffffff)
944 #define PWM_CH6_CC_RESET  _u(0x00000000)
945 // -----------------------------------------------------------------------------
946 // Field       : PWM_CH6_CC_B
947 #define PWM_CH6_CC_B_RESET  _u(0x0000)
948 #define PWM_CH6_CC_B_BITS   _u(0xffff0000)
949 #define PWM_CH6_CC_B_MSB    _u(31)
950 #define PWM_CH6_CC_B_LSB    _u(16)
951 #define PWM_CH6_CC_B_ACCESS "RW"
952 // -----------------------------------------------------------------------------
953 // Field       : PWM_CH6_CC_A
954 #define PWM_CH6_CC_A_RESET  _u(0x0000)
955 #define PWM_CH6_CC_A_BITS   _u(0x0000ffff)
956 #define PWM_CH6_CC_A_MSB    _u(15)
957 #define PWM_CH6_CC_A_LSB    _u(0)
958 #define PWM_CH6_CC_A_ACCESS "RW"
959 // =============================================================================
960 // Register    : PWM_CH6_TOP
961 // Description : Counter wrap value
962 #define PWM_CH6_TOP_OFFSET _u(0x00000088)
963 #define PWM_CH6_TOP_BITS   _u(0x0000ffff)
964 #define PWM_CH6_TOP_RESET  _u(0x0000ffff)
965 #define PWM_CH6_TOP_MSB    _u(15)
966 #define PWM_CH6_TOP_LSB    _u(0)
967 #define PWM_CH6_TOP_ACCESS "RW"
968 // =============================================================================
969 // Register    : PWM_CH7_CSR
970 // Description : Control and status register
971 #define PWM_CH7_CSR_OFFSET _u(0x0000008c)
972 #define PWM_CH7_CSR_BITS   _u(0x000000ff)
973 #define PWM_CH7_CSR_RESET  _u(0x00000000)
974 // -----------------------------------------------------------------------------
975 // Field       : PWM_CH7_CSR_PH_ADV
976 // Description : Advance the phase of the counter by 1 count, while it is
977 //               running.
978 //               Self-clearing. Write a 1, and poll until low. Counter must be
979 //               running
980 //               at less than full speed (div_int + div_frac / 16 > 1)
981 #define PWM_CH7_CSR_PH_ADV_RESET  _u(0x0)
982 #define PWM_CH7_CSR_PH_ADV_BITS   _u(0x00000080)
983 #define PWM_CH7_CSR_PH_ADV_MSB    _u(7)
984 #define PWM_CH7_CSR_PH_ADV_LSB    _u(7)
985 #define PWM_CH7_CSR_PH_ADV_ACCESS "SC"
986 // -----------------------------------------------------------------------------
987 // Field       : PWM_CH7_CSR_PH_RET
988 // Description : Retard the phase of the counter by 1 count, while it is
989 //               running.
990 //               Self-clearing. Write a 1, and poll until low. Counter must be
991 //               running.
992 #define PWM_CH7_CSR_PH_RET_RESET  _u(0x0)
993 #define PWM_CH7_CSR_PH_RET_BITS   _u(0x00000040)
994 #define PWM_CH7_CSR_PH_RET_MSB    _u(6)
995 #define PWM_CH7_CSR_PH_RET_LSB    _u(6)
996 #define PWM_CH7_CSR_PH_RET_ACCESS "SC"
997 // -----------------------------------------------------------------------------
998 // Field       : PWM_CH7_CSR_DIVMODE
999 //               0x0 -> Free-running counting at rate dictated by fractional divider
1000 //               0x1 -> Fractional divider operation is gated by the PWM B pin.
1001 //               0x2 -> Counter advances with each rising edge of the PWM B pin.
1002 //               0x3 -> Counter advances with each falling edge of the PWM B pin.
1003 #define PWM_CH7_CSR_DIVMODE_RESET  _u(0x0)
1004 #define PWM_CH7_CSR_DIVMODE_BITS   _u(0x00000030)
1005 #define PWM_CH7_CSR_DIVMODE_MSB    _u(5)
1006 #define PWM_CH7_CSR_DIVMODE_LSB    _u(4)
1007 #define PWM_CH7_CSR_DIVMODE_ACCESS "RW"
1008 #define PWM_CH7_CSR_DIVMODE_VALUE_DIV _u(0x0)
1009 #define PWM_CH7_CSR_DIVMODE_VALUE_LEVEL _u(0x1)
1010 #define PWM_CH7_CSR_DIVMODE_VALUE_RISE _u(0x2)
1011 #define PWM_CH7_CSR_DIVMODE_VALUE_FALL _u(0x3)
1012 // -----------------------------------------------------------------------------
1013 // Field       : PWM_CH7_CSR_B_INV
1014 // Description : Invert output B
1015 #define PWM_CH7_CSR_B_INV_RESET  _u(0x0)
1016 #define PWM_CH7_CSR_B_INV_BITS   _u(0x00000008)
1017 #define PWM_CH7_CSR_B_INV_MSB    _u(3)
1018 #define PWM_CH7_CSR_B_INV_LSB    _u(3)
1019 #define PWM_CH7_CSR_B_INV_ACCESS "RW"
1020 // -----------------------------------------------------------------------------
1021 // Field       : PWM_CH7_CSR_A_INV
1022 // Description : Invert output A
1023 #define PWM_CH7_CSR_A_INV_RESET  _u(0x0)
1024 #define PWM_CH7_CSR_A_INV_BITS   _u(0x00000004)
1025 #define PWM_CH7_CSR_A_INV_MSB    _u(2)
1026 #define PWM_CH7_CSR_A_INV_LSB    _u(2)
1027 #define PWM_CH7_CSR_A_INV_ACCESS "RW"
1028 // -----------------------------------------------------------------------------
1029 // Field       : PWM_CH7_CSR_PH_CORRECT
1030 // Description : 1: Enable phase-correct modulation. 0: Trailing-edge
1031 #define PWM_CH7_CSR_PH_CORRECT_RESET  _u(0x0)
1032 #define PWM_CH7_CSR_PH_CORRECT_BITS   _u(0x00000002)
1033 #define PWM_CH7_CSR_PH_CORRECT_MSB    _u(1)
1034 #define PWM_CH7_CSR_PH_CORRECT_LSB    _u(1)
1035 #define PWM_CH7_CSR_PH_CORRECT_ACCESS "RW"
1036 // -----------------------------------------------------------------------------
1037 // Field       : PWM_CH7_CSR_EN
1038 // Description : Enable the PWM channel.
1039 #define PWM_CH7_CSR_EN_RESET  _u(0x0)
1040 #define PWM_CH7_CSR_EN_BITS   _u(0x00000001)
1041 #define PWM_CH7_CSR_EN_MSB    _u(0)
1042 #define PWM_CH7_CSR_EN_LSB    _u(0)
1043 #define PWM_CH7_CSR_EN_ACCESS "RW"
1044 // =============================================================================
1045 // Register    : PWM_CH7_DIV
1046 // Description : INT and FRAC form a fixed-point fractional number.
1047 //               Counting rate is system clock frequency divided by this number.
1048 //               Fractional division uses simple 1st-order sigma-delta.
1049 #define PWM_CH7_DIV_OFFSET _u(0x00000090)
1050 #define PWM_CH7_DIV_BITS   _u(0x00000fff)
1051 #define PWM_CH7_DIV_RESET  _u(0x00000010)
1052 // -----------------------------------------------------------------------------
1053 // Field       : PWM_CH7_DIV_INT
1054 #define PWM_CH7_DIV_INT_RESET  _u(0x01)
1055 #define PWM_CH7_DIV_INT_BITS   _u(0x00000ff0)
1056 #define PWM_CH7_DIV_INT_MSB    _u(11)
1057 #define PWM_CH7_DIV_INT_LSB    _u(4)
1058 #define PWM_CH7_DIV_INT_ACCESS "RW"
1059 // -----------------------------------------------------------------------------
1060 // Field       : PWM_CH7_DIV_FRAC
1061 #define PWM_CH7_DIV_FRAC_RESET  _u(0x0)
1062 #define PWM_CH7_DIV_FRAC_BITS   _u(0x0000000f)
1063 #define PWM_CH7_DIV_FRAC_MSB    _u(3)
1064 #define PWM_CH7_DIV_FRAC_LSB    _u(0)
1065 #define PWM_CH7_DIV_FRAC_ACCESS "RW"
1066 // =============================================================================
1067 // Register    : PWM_CH7_CTR
1068 // Description : Direct access to the PWM counter
1069 #define PWM_CH7_CTR_OFFSET _u(0x00000094)
1070 #define PWM_CH7_CTR_BITS   _u(0x0000ffff)
1071 #define PWM_CH7_CTR_RESET  _u(0x00000000)
1072 #define PWM_CH7_CTR_MSB    _u(15)
1073 #define PWM_CH7_CTR_LSB    _u(0)
1074 #define PWM_CH7_CTR_ACCESS "RW"
1075 // =============================================================================
1076 // Register    : PWM_CH7_CC
1077 // Description : Counter compare values
1078 #define PWM_CH7_CC_OFFSET _u(0x00000098)
1079 #define PWM_CH7_CC_BITS   _u(0xffffffff)
1080 #define PWM_CH7_CC_RESET  _u(0x00000000)
1081 // -----------------------------------------------------------------------------
1082 // Field       : PWM_CH7_CC_B
1083 #define PWM_CH7_CC_B_RESET  _u(0x0000)
1084 #define PWM_CH7_CC_B_BITS   _u(0xffff0000)
1085 #define PWM_CH7_CC_B_MSB    _u(31)
1086 #define PWM_CH7_CC_B_LSB    _u(16)
1087 #define PWM_CH7_CC_B_ACCESS "RW"
1088 // -----------------------------------------------------------------------------
1089 // Field       : PWM_CH7_CC_A
1090 #define PWM_CH7_CC_A_RESET  _u(0x0000)
1091 #define PWM_CH7_CC_A_BITS   _u(0x0000ffff)
1092 #define PWM_CH7_CC_A_MSB    _u(15)
1093 #define PWM_CH7_CC_A_LSB    _u(0)
1094 #define PWM_CH7_CC_A_ACCESS "RW"
1095 // =============================================================================
1096 // Register    : PWM_CH7_TOP
1097 // Description : Counter wrap value
1098 #define PWM_CH7_TOP_OFFSET _u(0x0000009c)
1099 #define PWM_CH7_TOP_BITS   _u(0x0000ffff)
1100 #define PWM_CH7_TOP_RESET  _u(0x0000ffff)
1101 #define PWM_CH7_TOP_MSB    _u(15)
1102 #define PWM_CH7_TOP_LSB    _u(0)
1103 #define PWM_CH7_TOP_ACCESS "RW"
1104 // =============================================================================
1105 // Register    : PWM_CH8_CSR
1106 // Description : Control and status register
1107 #define PWM_CH8_CSR_OFFSET _u(0x000000a0)
1108 #define PWM_CH8_CSR_BITS   _u(0x000000ff)
1109 #define PWM_CH8_CSR_RESET  _u(0x00000000)
1110 // -----------------------------------------------------------------------------
1111 // Field       : PWM_CH8_CSR_PH_ADV
1112 // Description : Advance the phase of the counter by 1 count, while it is
1113 //               running.
1114 //               Self-clearing. Write a 1, and poll until low. Counter must be
1115 //               running
1116 //               at less than full speed (div_int + div_frac / 16 > 1)
1117 #define PWM_CH8_CSR_PH_ADV_RESET  _u(0x0)
1118 #define PWM_CH8_CSR_PH_ADV_BITS   _u(0x00000080)
1119 #define PWM_CH8_CSR_PH_ADV_MSB    _u(7)
1120 #define PWM_CH8_CSR_PH_ADV_LSB    _u(7)
1121 #define PWM_CH8_CSR_PH_ADV_ACCESS "SC"
1122 // -----------------------------------------------------------------------------
1123 // Field       : PWM_CH8_CSR_PH_RET
1124 // Description : Retard the phase of the counter by 1 count, while it is
1125 //               running.
1126 //               Self-clearing. Write a 1, and poll until low. Counter must be
1127 //               running.
1128 #define PWM_CH8_CSR_PH_RET_RESET  _u(0x0)
1129 #define PWM_CH8_CSR_PH_RET_BITS   _u(0x00000040)
1130 #define PWM_CH8_CSR_PH_RET_MSB    _u(6)
1131 #define PWM_CH8_CSR_PH_RET_LSB    _u(6)
1132 #define PWM_CH8_CSR_PH_RET_ACCESS "SC"
1133 // -----------------------------------------------------------------------------
1134 // Field       : PWM_CH8_CSR_DIVMODE
1135 //               0x0 -> Free-running counting at rate dictated by fractional divider
1136 //               0x1 -> Fractional divider operation is gated by the PWM B pin.
1137 //               0x2 -> Counter advances with each rising edge of the PWM B pin.
1138 //               0x3 -> Counter advances with each falling edge of the PWM B pin.
1139 #define PWM_CH8_CSR_DIVMODE_RESET  _u(0x0)
1140 #define PWM_CH8_CSR_DIVMODE_BITS   _u(0x00000030)
1141 #define PWM_CH8_CSR_DIVMODE_MSB    _u(5)
1142 #define PWM_CH8_CSR_DIVMODE_LSB    _u(4)
1143 #define PWM_CH8_CSR_DIVMODE_ACCESS "RW"
1144 #define PWM_CH8_CSR_DIVMODE_VALUE_DIV _u(0x0)
1145 #define PWM_CH8_CSR_DIVMODE_VALUE_LEVEL _u(0x1)
1146 #define PWM_CH8_CSR_DIVMODE_VALUE_RISE _u(0x2)
1147 #define PWM_CH8_CSR_DIVMODE_VALUE_FALL _u(0x3)
1148 // -----------------------------------------------------------------------------
1149 // Field       : PWM_CH8_CSR_B_INV
1150 // Description : Invert output B
1151 #define PWM_CH8_CSR_B_INV_RESET  _u(0x0)
1152 #define PWM_CH8_CSR_B_INV_BITS   _u(0x00000008)
1153 #define PWM_CH8_CSR_B_INV_MSB    _u(3)
1154 #define PWM_CH8_CSR_B_INV_LSB    _u(3)
1155 #define PWM_CH8_CSR_B_INV_ACCESS "RW"
1156 // -----------------------------------------------------------------------------
1157 // Field       : PWM_CH8_CSR_A_INV
1158 // Description : Invert output A
1159 #define PWM_CH8_CSR_A_INV_RESET  _u(0x0)
1160 #define PWM_CH8_CSR_A_INV_BITS   _u(0x00000004)
1161 #define PWM_CH8_CSR_A_INV_MSB    _u(2)
1162 #define PWM_CH8_CSR_A_INV_LSB    _u(2)
1163 #define PWM_CH8_CSR_A_INV_ACCESS "RW"
1164 // -----------------------------------------------------------------------------
1165 // Field       : PWM_CH8_CSR_PH_CORRECT
1166 // Description : 1: Enable phase-correct modulation. 0: Trailing-edge
1167 #define PWM_CH8_CSR_PH_CORRECT_RESET  _u(0x0)
1168 #define PWM_CH8_CSR_PH_CORRECT_BITS   _u(0x00000002)
1169 #define PWM_CH8_CSR_PH_CORRECT_MSB    _u(1)
1170 #define PWM_CH8_CSR_PH_CORRECT_LSB    _u(1)
1171 #define PWM_CH8_CSR_PH_CORRECT_ACCESS "RW"
1172 // -----------------------------------------------------------------------------
1173 // Field       : PWM_CH8_CSR_EN
1174 // Description : Enable the PWM channel.
1175 #define PWM_CH8_CSR_EN_RESET  _u(0x0)
1176 #define PWM_CH8_CSR_EN_BITS   _u(0x00000001)
1177 #define PWM_CH8_CSR_EN_MSB    _u(0)
1178 #define PWM_CH8_CSR_EN_LSB    _u(0)
1179 #define PWM_CH8_CSR_EN_ACCESS "RW"
1180 // =============================================================================
1181 // Register    : PWM_CH8_DIV
1182 // Description : INT and FRAC form a fixed-point fractional number.
1183 //               Counting rate is system clock frequency divided by this number.
1184 //               Fractional division uses simple 1st-order sigma-delta.
1185 #define PWM_CH8_DIV_OFFSET _u(0x000000a4)
1186 #define PWM_CH8_DIV_BITS   _u(0x00000fff)
1187 #define PWM_CH8_DIV_RESET  _u(0x00000010)
1188 // -----------------------------------------------------------------------------
1189 // Field       : PWM_CH8_DIV_INT
1190 #define PWM_CH8_DIV_INT_RESET  _u(0x01)
1191 #define PWM_CH8_DIV_INT_BITS   _u(0x00000ff0)
1192 #define PWM_CH8_DIV_INT_MSB    _u(11)
1193 #define PWM_CH8_DIV_INT_LSB    _u(4)
1194 #define PWM_CH8_DIV_INT_ACCESS "RW"
1195 // -----------------------------------------------------------------------------
1196 // Field       : PWM_CH8_DIV_FRAC
1197 #define PWM_CH8_DIV_FRAC_RESET  _u(0x0)
1198 #define PWM_CH8_DIV_FRAC_BITS   _u(0x0000000f)
1199 #define PWM_CH8_DIV_FRAC_MSB    _u(3)
1200 #define PWM_CH8_DIV_FRAC_LSB    _u(0)
1201 #define PWM_CH8_DIV_FRAC_ACCESS "RW"
1202 // =============================================================================
1203 // Register    : PWM_CH8_CTR
1204 // Description : Direct access to the PWM counter
1205 #define PWM_CH8_CTR_OFFSET _u(0x000000a8)
1206 #define PWM_CH8_CTR_BITS   _u(0x0000ffff)
1207 #define PWM_CH8_CTR_RESET  _u(0x00000000)
1208 #define PWM_CH8_CTR_MSB    _u(15)
1209 #define PWM_CH8_CTR_LSB    _u(0)
1210 #define PWM_CH8_CTR_ACCESS "RW"
1211 // =============================================================================
1212 // Register    : PWM_CH8_CC
1213 // Description : Counter compare values
1214 #define PWM_CH8_CC_OFFSET _u(0x000000ac)
1215 #define PWM_CH8_CC_BITS   _u(0xffffffff)
1216 #define PWM_CH8_CC_RESET  _u(0x00000000)
1217 // -----------------------------------------------------------------------------
1218 // Field       : PWM_CH8_CC_B
1219 #define PWM_CH8_CC_B_RESET  _u(0x0000)
1220 #define PWM_CH8_CC_B_BITS   _u(0xffff0000)
1221 #define PWM_CH8_CC_B_MSB    _u(31)
1222 #define PWM_CH8_CC_B_LSB    _u(16)
1223 #define PWM_CH8_CC_B_ACCESS "RW"
1224 // -----------------------------------------------------------------------------
1225 // Field       : PWM_CH8_CC_A
1226 #define PWM_CH8_CC_A_RESET  _u(0x0000)
1227 #define PWM_CH8_CC_A_BITS   _u(0x0000ffff)
1228 #define PWM_CH8_CC_A_MSB    _u(15)
1229 #define PWM_CH8_CC_A_LSB    _u(0)
1230 #define PWM_CH8_CC_A_ACCESS "RW"
1231 // =============================================================================
1232 // Register    : PWM_CH8_TOP
1233 // Description : Counter wrap value
1234 #define PWM_CH8_TOP_OFFSET _u(0x000000b0)
1235 #define PWM_CH8_TOP_BITS   _u(0x0000ffff)
1236 #define PWM_CH8_TOP_RESET  _u(0x0000ffff)
1237 #define PWM_CH8_TOP_MSB    _u(15)
1238 #define PWM_CH8_TOP_LSB    _u(0)
1239 #define PWM_CH8_TOP_ACCESS "RW"
1240 // =============================================================================
1241 // Register    : PWM_CH9_CSR
1242 // Description : Control and status register
1243 #define PWM_CH9_CSR_OFFSET _u(0x000000b4)
1244 #define PWM_CH9_CSR_BITS   _u(0x000000ff)
1245 #define PWM_CH9_CSR_RESET  _u(0x00000000)
1246 // -----------------------------------------------------------------------------
1247 // Field       : PWM_CH9_CSR_PH_ADV
1248 // Description : Advance the phase of the counter by 1 count, while it is
1249 //               running.
1250 //               Self-clearing. Write a 1, and poll until low. Counter must be
1251 //               running
1252 //               at less than full speed (div_int + div_frac / 16 > 1)
1253 #define PWM_CH9_CSR_PH_ADV_RESET  _u(0x0)
1254 #define PWM_CH9_CSR_PH_ADV_BITS   _u(0x00000080)
1255 #define PWM_CH9_CSR_PH_ADV_MSB    _u(7)
1256 #define PWM_CH9_CSR_PH_ADV_LSB    _u(7)
1257 #define PWM_CH9_CSR_PH_ADV_ACCESS "SC"
1258 // -----------------------------------------------------------------------------
1259 // Field       : PWM_CH9_CSR_PH_RET
1260 // Description : Retard the phase of the counter by 1 count, while it is
1261 //               running.
1262 //               Self-clearing. Write a 1, and poll until low. Counter must be
1263 //               running.
1264 #define PWM_CH9_CSR_PH_RET_RESET  _u(0x0)
1265 #define PWM_CH9_CSR_PH_RET_BITS   _u(0x00000040)
1266 #define PWM_CH9_CSR_PH_RET_MSB    _u(6)
1267 #define PWM_CH9_CSR_PH_RET_LSB    _u(6)
1268 #define PWM_CH9_CSR_PH_RET_ACCESS "SC"
1269 // -----------------------------------------------------------------------------
1270 // Field       : PWM_CH9_CSR_DIVMODE
1271 //               0x0 -> Free-running counting at rate dictated by fractional divider
1272 //               0x1 -> Fractional divider operation is gated by the PWM B pin.
1273 //               0x2 -> Counter advances with each rising edge of the PWM B pin.
1274 //               0x3 -> Counter advances with each falling edge of the PWM B pin.
1275 #define PWM_CH9_CSR_DIVMODE_RESET  _u(0x0)
1276 #define PWM_CH9_CSR_DIVMODE_BITS   _u(0x00000030)
1277 #define PWM_CH9_CSR_DIVMODE_MSB    _u(5)
1278 #define PWM_CH9_CSR_DIVMODE_LSB    _u(4)
1279 #define PWM_CH9_CSR_DIVMODE_ACCESS "RW"
1280 #define PWM_CH9_CSR_DIVMODE_VALUE_DIV _u(0x0)
1281 #define PWM_CH9_CSR_DIVMODE_VALUE_LEVEL _u(0x1)
1282 #define PWM_CH9_CSR_DIVMODE_VALUE_RISE _u(0x2)
1283 #define PWM_CH9_CSR_DIVMODE_VALUE_FALL _u(0x3)
1284 // -----------------------------------------------------------------------------
1285 // Field       : PWM_CH9_CSR_B_INV
1286 // Description : Invert output B
1287 #define PWM_CH9_CSR_B_INV_RESET  _u(0x0)
1288 #define PWM_CH9_CSR_B_INV_BITS   _u(0x00000008)
1289 #define PWM_CH9_CSR_B_INV_MSB    _u(3)
1290 #define PWM_CH9_CSR_B_INV_LSB    _u(3)
1291 #define PWM_CH9_CSR_B_INV_ACCESS "RW"
1292 // -----------------------------------------------------------------------------
1293 // Field       : PWM_CH9_CSR_A_INV
1294 // Description : Invert output A
1295 #define PWM_CH9_CSR_A_INV_RESET  _u(0x0)
1296 #define PWM_CH9_CSR_A_INV_BITS   _u(0x00000004)
1297 #define PWM_CH9_CSR_A_INV_MSB    _u(2)
1298 #define PWM_CH9_CSR_A_INV_LSB    _u(2)
1299 #define PWM_CH9_CSR_A_INV_ACCESS "RW"
1300 // -----------------------------------------------------------------------------
1301 // Field       : PWM_CH9_CSR_PH_CORRECT
1302 // Description : 1: Enable phase-correct modulation. 0: Trailing-edge
1303 #define PWM_CH9_CSR_PH_CORRECT_RESET  _u(0x0)
1304 #define PWM_CH9_CSR_PH_CORRECT_BITS   _u(0x00000002)
1305 #define PWM_CH9_CSR_PH_CORRECT_MSB    _u(1)
1306 #define PWM_CH9_CSR_PH_CORRECT_LSB    _u(1)
1307 #define PWM_CH9_CSR_PH_CORRECT_ACCESS "RW"
1308 // -----------------------------------------------------------------------------
1309 // Field       : PWM_CH9_CSR_EN
1310 // Description : Enable the PWM channel.
1311 #define PWM_CH9_CSR_EN_RESET  _u(0x0)
1312 #define PWM_CH9_CSR_EN_BITS   _u(0x00000001)
1313 #define PWM_CH9_CSR_EN_MSB    _u(0)
1314 #define PWM_CH9_CSR_EN_LSB    _u(0)
1315 #define PWM_CH9_CSR_EN_ACCESS "RW"
1316 // =============================================================================
1317 // Register    : PWM_CH9_DIV
1318 // Description : INT and FRAC form a fixed-point fractional number.
1319 //               Counting rate is system clock frequency divided by this number.
1320 //               Fractional division uses simple 1st-order sigma-delta.
1321 #define PWM_CH9_DIV_OFFSET _u(0x000000b8)
1322 #define PWM_CH9_DIV_BITS   _u(0x00000fff)
1323 #define PWM_CH9_DIV_RESET  _u(0x00000010)
1324 // -----------------------------------------------------------------------------
1325 // Field       : PWM_CH9_DIV_INT
1326 #define PWM_CH9_DIV_INT_RESET  _u(0x01)
1327 #define PWM_CH9_DIV_INT_BITS   _u(0x00000ff0)
1328 #define PWM_CH9_DIV_INT_MSB    _u(11)
1329 #define PWM_CH9_DIV_INT_LSB    _u(4)
1330 #define PWM_CH9_DIV_INT_ACCESS "RW"
1331 // -----------------------------------------------------------------------------
1332 // Field       : PWM_CH9_DIV_FRAC
1333 #define PWM_CH9_DIV_FRAC_RESET  _u(0x0)
1334 #define PWM_CH9_DIV_FRAC_BITS   _u(0x0000000f)
1335 #define PWM_CH9_DIV_FRAC_MSB    _u(3)
1336 #define PWM_CH9_DIV_FRAC_LSB    _u(0)
1337 #define PWM_CH9_DIV_FRAC_ACCESS "RW"
1338 // =============================================================================
1339 // Register    : PWM_CH9_CTR
1340 // Description : Direct access to the PWM counter
1341 #define PWM_CH9_CTR_OFFSET _u(0x000000bc)
1342 #define PWM_CH9_CTR_BITS   _u(0x0000ffff)
1343 #define PWM_CH9_CTR_RESET  _u(0x00000000)
1344 #define PWM_CH9_CTR_MSB    _u(15)
1345 #define PWM_CH9_CTR_LSB    _u(0)
1346 #define PWM_CH9_CTR_ACCESS "RW"
1347 // =============================================================================
1348 // Register    : PWM_CH9_CC
1349 // Description : Counter compare values
1350 #define PWM_CH9_CC_OFFSET _u(0x000000c0)
1351 #define PWM_CH9_CC_BITS   _u(0xffffffff)
1352 #define PWM_CH9_CC_RESET  _u(0x00000000)
1353 // -----------------------------------------------------------------------------
1354 // Field       : PWM_CH9_CC_B
1355 #define PWM_CH9_CC_B_RESET  _u(0x0000)
1356 #define PWM_CH9_CC_B_BITS   _u(0xffff0000)
1357 #define PWM_CH9_CC_B_MSB    _u(31)
1358 #define PWM_CH9_CC_B_LSB    _u(16)
1359 #define PWM_CH9_CC_B_ACCESS "RW"
1360 // -----------------------------------------------------------------------------
1361 // Field       : PWM_CH9_CC_A
1362 #define PWM_CH9_CC_A_RESET  _u(0x0000)
1363 #define PWM_CH9_CC_A_BITS   _u(0x0000ffff)
1364 #define PWM_CH9_CC_A_MSB    _u(15)
1365 #define PWM_CH9_CC_A_LSB    _u(0)
1366 #define PWM_CH9_CC_A_ACCESS "RW"
1367 // =============================================================================
1368 // Register    : PWM_CH9_TOP
1369 // Description : Counter wrap value
1370 #define PWM_CH9_TOP_OFFSET _u(0x000000c4)
1371 #define PWM_CH9_TOP_BITS   _u(0x0000ffff)
1372 #define PWM_CH9_TOP_RESET  _u(0x0000ffff)
1373 #define PWM_CH9_TOP_MSB    _u(15)
1374 #define PWM_CH9_TOP_LSB    _u(0)
1375 #define PWM_CH9_TOP_ACCESS "RW"
1376 // =============================================================================
1377 // Register    : PWM_CH10_CSR
1378 // Description : Control and status register
1379 #define PWM_CH10_CSR_OFFSET _u(0x000000c8)
1380 #define PWM_CH10_CSR_BITS   _u(0x000000ff)
1381 #define PWM_CH10_CSR_RESET  _u(0x00000000)
1382 // -----------------------------------------------------------------------------
1383 // Field       : PWM_CH10_CSR_PH_ADV
1384 // Description : Advance the phase of the counter by 1 count, while it is
1385 //               running.
1386 //               Self-clearing. Write a 1, and poll until low. Counter must be
1387 //               running
1388 //               at less than full speed (div_int + div_frac / 16 > 1)
1389 #define PWM_CH10_CSR_PH_ADV_RESET  _u(0x0)
1390 #define PWM_CH10_CSR_PH_ADV_BITS   _u(0x00000080)
1391 #define PWM_CH10_CSR_PH_ADV_MSB    _u(7)
1392 #define PWM_CH10_CSR_PH_ADV_LSB    _u(7)
1393 #define PWM_CH10_CSR_PH_ADV_ACCESS "SC"
1394 // -----------------------------------------------------------------------------
1395 // Field       : PWM_CH10_CSR_PH_RET
1396 // Description : Retard the phase of the counter by 1 count, while it is
1397 //               running.
1398 //               Self-clearing. Write a 1, and poll until low. Counter must be
1399 //               running.
1400 #define PWM_CH10_CSR_PH_RET_RESET  _u(0x0)
1401 #define PWM_CH10_CSR_PH_RET_BITS   _u(0x00000040)
1402 #define PWM_CH10_CSR_PH_RET_MSB    _u(6)
1403 #define PWM_CH10_CSR_PH_RET_LSB    _u(6)
1404 #define PWM_CH10_CSR_PH_RET_ACCESS "SC"
1405 // -----------------------------------------------------------------------------
1406 // Field       : PWM_CH10_CSR_DIVMODE
1407 //               0x0 -> Free-running counting at rate dictated by fractional divider
1408 //               0x1 -> Fractional divider operation is gated by the PWM B pin.
1409 //               0x2 -> Counter advances with each rising edge of the PWM B pin.
1410 //               0x3 -> Counter advances with each falling edge of the PWM B pin.
1411 #define PWM_CH10_CSR_DIVMODE_RESET  _u(0x0)
1412 #define PWM_CH10_CSR_DIVMODE_BITS   _u(0x00000030)
1413 #define PWM_CH10_CSR_DIVMODE_MSB    _u(5)
1414 #define PWM_CH10_CSR_DIVMODE_LSB    _u(4)
1415 #define PWM_CH10_CSR_DIVMODE_ACCESS "RW"
1416 #define PWM_CH10_CSR_DIVMODE_VALUE_DIV _u(0x0)
1417 #define PWM_CH10_CSR_DIVMODE_VALUE_LEVEL _u(0x1)
1418 #define PWM_CH10_CSR_DIVMODE_VALUE_RISE _u(0x2)
1419 #define PWM_CH10_CSR_DIVMODE_VALUE_FALL _u(0x3)
1420 // -----------------------------------------------------------------------------
1421 // Field       : PWM_CH10_CSR_B_INV
1422 // Description : Invert output B
1423 #define PWM_CH10_CSR_B_INV_RESET  _u(0x0)
1424 #define PWM_CH10_CSR_B_INV_BITS   _u(0x00000008)
1425 #define PWM_CH10_CSR_B_INV_MSB    _u(3)
1426 #define PWM_CH10_CSR_B_INV_LSB    _u(3)
1427 #define PWM_CH10_CSR_B_INV_ACCESS "RW"
1428 // -----------------------------------------------------------------------------
1429 // Field       : PWM_CH10_CSR_A_INV
1430 // Description : Invert output A
1431 #define PWM_CH10_CSR_A_INV_RESET  _u(0x0)
1432 #define PWM_CH10_CSR_A_INV_BITS   _u(0x00000004)
1433 #define PWM_CH10_CSR_A_INV_MSB    _u(2)
1434 #define PWM_CH10_CSR_A_INV_LSB    _u(2)
1435 #define PWM_CH10_CSR_A_INV_ACCESS "RW"
1436 // -----------------------------------------------------------------------------
1437 // Field       : PWM_CH10_CSR_PH_CORRECT
1438 // Description : 1: Enable phase-correct modulation. 0: Trailing-edge
1439 #define PWM_CH10_CSR_PH_CORRECT_RESET  _u(0x0)
1440 #define PWM_CH10_CSR_PH_CORRECT_BITS   _u(0x00000002)
1441 #define PWM_CH10_CSR_PH_CORRECT_MSB    _u(1)
1442 #define PWM_CH10_CSR_PH_CORRECT_LSB    _u(1)
1443 #define PWM_CH10_CSR_PH_CORRECT_ACCESS "RW"
1444 // -----------------------------------------------------------------------------
1445 // Field       : PWM_CH10_CSR_EN
1446 // Description : Enable the PWM channel.
1447 #define PWM_CH10_CSR_EN_RESET  _u(0x0)
1448 #define PWM_CH10_CSR_EN_BITS   _u(0x00000001)
1449 #define PWM_CH10_CSR_EN_MSB    _u(0)
1450 #define PWM_CH10_CSR_EN_LSB    _u(0)
1451 #define PWM_CH10_CSR_EN_ACCESS "RW"
1452 // =============================================================================
1453 // Register    : PWM_CH10_DIV
1454 // Description : INT and FRAC form a fixed-point fractional number.
1455 //               Counting rate is system clock frequency divided by this number.
1456 //               Fractional division uses simple 1st-order sigma-delta.
1457 #define PWM_CH10_DIV_OFFSET _u(0x000000cc)
1458 #define PWM_CH10_DIV_BITS   _u(0x00000fff)
1459 #define PWM_CH10_DIV_RESET  _u(0x00000010)
1460 // -----------------------------------------------------------------------------
1461 // Field       : PWM_CH10_DIV_INT
1462 #define PWM_CH10_DIV_INT_RESET  _u(0x01)
1463 #define PWM_CH10_DIV_INT_BITS   _u(0x00000ff0)
1464 #define PWM_CH10_DIV_INT_MSB    _u(11)
1465 #define PWM_CH10_DIV_INT_LSB    _u(4)
1466 #define PWM_CH10_DIV_INT_ACCESS "RW"
1467 // -----------------------------------------------------------------------------
1468 // Field       : PWM_CH10_DIV_FRAC
1469 #define PWM_CH10_DIV_FRAC_RESET  _u(0x0)
1470 #define PWM_CH10_DIV_FRAC_BITS   _u(0x0000000f)
1471 #define PWM_CH10_DIV_FRAC_MSB    _u(3)
1472 #define PWM_CH10_DIV_FRAC_LSB    _u(0)
1473 #define PWM_CH10_DIV_FRAC_ACCESS "RW"
1474 // =============================================================================
1475 // Register    : PWM_CH10_CTR
1476 // Description : Direct access to the PWM counter
1477 #define PWM_CH10_CTR_OFFSET _u(0x000000d0)
1478 #define PWM_CH10_CTR_BITS   _u(0x0000ffff)
1479 #define PWM_CH10_CTR_RESET  _u(0x00000000)
1480 #define PWM_CH10_CTR_MSB    _u(15)
1481 #define PWM_CH10_CTR_LSB    _u(0)
1482 #define PWM_CH10_CTR_ACCESS "RW"
1483 // =============================================================================
1484 // Register    : PWM_CH10_CC
1485 // Description : Counter compare values
1486 #define PWM_CH10_CC_OFFSET _u(0x000000d4)
1487 #define PWM_CH10_CC_BITS   _u(0xffffffff)
1488 #define PWM_CH10_CC_RESET  _u(0x00000000)
1489 // -----------------------------------------------------------------------------
1490 // Field       : PWM_CH10_CC_B
1491 #define PWM_CH10_CC_B_RESET  _u(0x0000)
1492 #define PWM_CH10_CC_B_BITS   _u(0xffff0000)
1493 #define PWM_CH10_CC_B_MSB    _u(31)
1494 #define PWM_CH10_CC_B_LSB    _u(16)
1495 #define PWM_CH10_CC_B_ACCESS "RW"
1496 // -----------------------------------------------------------------------------
1497 // Field       : PWM_CH10_CC_A
1498 #define PWM_CH10_CC_A_RESET  _u(0x0000)
1499 #define PWM_CH10_CC_A_BITS   _u(0x0000ffff)
1500 #define PWM_CH10_CC_A_MSB    _u(15)
1501 #define PWM_CH10_CC_A_LSB    _u(0)
1502 #define PWM_CH10_CC_A_ACCESS "RW"
1503 // =============================================================================
1504 // Register    : PWM_CH10_TOP
1505 // Description : Counter wrap value
1506 #define PWM_CH10_TOP_OFFSET _u(0x000000d8)
1507 #define PWM_CH10_TOP_BITS   _u(0x0000ffff)
1508 #define PWM_CH10_TOP_RESET  _u(0x0000ffff)
1509 #define PWM_CH10_TOP_MSB    _u(15)
1510 #define PWM_CH10_TOP_LSB    _u(0)
1511 #define PWM_CH10_TOP_ACCESS "RW"
1512 // =============================================================================
1513 // Register    : PWM_CH11_CSR
1514 // Description : Control and status register
1515 #define PWM_CH11_CSR_OFFSET _u(0x000000dc)
1516 #define PWM_CH11_CSR_BITS   _u(0x000000ff)
1517 #define PWM_CH11_CSR_RESET  _u(0x00000000)
1518 // -----------------------------------------------------------------------------
1519 // Field       : PWM_CH11_CSR_PH_ADV
1520 // Description : Advance the phase of the counter by 1 count, while it is
1521 //               running.
1522 //               Self-clearing. Write a 1, and poll until low. Counter must be
1523 //               running
1524 //               at less than full speed (div_int + div_frac / 16 > 1)
1525 #define PWM_CH11_CSR_PH_ADV_RESET  _u(0x0)
1526 #define PWM_CH11_CSR_PH_ADV_BITS   _u(0x00000080)
1527 #define PWM_CH11_CSR_PH_ADV_MSB    _u(7)
1528 #define PWM_CH11_CSR_PH_ADV_LSB    _u(7)
1529 #define PWM_CH11_CSR_PH_ADV_ACCESS "SC"
1530 // -----------------------------------------------------------------------------
1531 // Field       : PWM_CH11_CSR_PH_RET
1532 // Description : Retard the phase of the counter by 1 count, while it is
1533 //               running.
1534 //               Self-clearing. Write a 1, and poll until low. Counter must be
1535 //               running.
1536 #define PWM_CH11_CSR_PH_RET_RESET  _u(0x0)
1537 #define PWM_CH11_CSR_PH_RET_BITS   _u(0x00000040)
1538 #define PWM_CH11_CSR_PH_RET_MSB    _u(6)
1539 #define PWM_CH11_CSR_PH_RET_LSB    _u(6)
1540 #define PWM_CH11_CSR_PH_RET_ACCESS "SC"
1541 // -----------------------------------------------------------------------------
1542 // Field       : PWM_CH11_CSR_DIVMODE
1543 //               0x0 -> Free-running counting at rate dictated by fractional divider
1544 //               0x1 -> Fractional divider operation is gated by the PWM B pin.
1545 //               0x2 -> Counter advances with each rising edge of the PWM B pin.
1546 //               0x3 -> Counter advances with each falling edge of the PWM B pin.
1547 #define PWM_CH11_CSR_DIVMODE_RESET  _u(0x0)
1548 #define PWM_CH11_CSR_DIVMODE_BITS   _u(0x00000030)
1549 #define PWM_CH11_CSR_DIVMODE_MSB    _u(5)
1550 #define PWM_CH11_CSR_DIVMODE_LSB    _u(4)
1551 #define PWM_CH11_CSR_DIVMODE_ACCESS "RW"
1552 #define PWM_CH11_CSR_DIVMODE_VALUE_DIV _u(0x0)
1553 #define PWM_CH11_CSR_DIVMODE_VALUE_LEVEL _u(0x1)
1554 #define PWM_CH11_CSR_DIVMODE_VALUE_RISE _u(0x2)
1555 #define PWM_CH11_CSR_DIVMODE_VALUE_FALL _u(0x3)
1556 // -----------------------------------------------------------------------------
1557 // Field       : PWM_CH11_CSR_B_INV
1558 // Description : Invert output B
1559 #define PWM_CH11_CSR_B_INV_RESET  _u(0x0)
1560 #define PWM_CH11_CSR_B_INV_BITS   _u(0x00000008)
1561 #define PWM_CH11_CSR_B_INV_MSB    _u(3)
1562 #define PWM_CH11_CSR_B_INV_LSB    _u(3)
1563 #define PWM_CH11_CSR_B_INV_ACCESS "RW"
1564 // -----------------------------------------------------------------------------
1565 // Field       : PWM_CH11_CSR_A_INV
1566 // Description : Invert output A
1567 #define PWM_CH11_CSR_A_INV_RESET  _u(0x0)
1568 #define PWM_CH11_CSR_A_INV_BITS   _u(0x00000004)
1569 #define PWM_CH11_CSR_A_INV_MSB    _u(2)
1570 #define PWM_CH11_CSR_A_INV_LSB    _u(2)
1571 #define PWM_CH11_CSR_A_INV_ACCESS "RW"
1572 // -----------------------------------------------------------------------------
1573 // Field       : PWM_CH11_CSR_PH_CORRECT
1574 // Description : 1: Enable phase-correct modulation. 0: Trailing-edge
1575 #define PWM_CH11_CSR_PH_CORRECT_RESET  _u(0x0)
1576 #define PWM_CH11_CSR_PH_CORRECT_BITS   _u(0x00000002)
1577 #define PWM_CH11_CSR_PH_CORRECT_MSB    _u(1)
1578 #define PWM_CH11_CSR_PH_CORRECT_LSB    _u(1)
1579 #define PWM_CH11_CSR_PH_CORRECT_ACCESS "RW"
1580 // -----------------------------------------------------------------------------
1581 // Field       : PWM_CH11_CSR_EN
1582 // Description : Enable the PWM channel.
1583 #define PWM_CH11_CSR_EN_RESET  _u(0x0)
1584 #define PWM_CH11_CSR_EN_BITS   _u(0x00000001)
1585 #define PWM_CH11_CSR_EN_MSB    _u(0)
1586 #define PWM_CH11_CSR_EN_LSB    _u(0)
1587 #define PWM_CH11_CSR_EN_ACCESS "RW"
1588 // =============================================================================
1589 // Register    : PWM_CH11_DIV
1590 // Description : INT and FRAC form a fixed-point fractional number.
1591 //               Counting rate is system clock frequency divided by this number.
1592 //               Fractional division uses simple 1st-order sigma-delta.
1593 #define PWM_CH11_DIV_OFFSET _u(0x000000e0)
1594 #define PWM_CH11_DIV_BITS   _u(0x00000fff)
1595 #define PWM_CH11_DIV_RESET  _u(0x00000010)
1596 // -----------------------------------------------------------------------------
1597 // Field       : PWM_CH11_DIV_INT
1598 #define PWM_CH11_DIV_INT_RESET  _u(0x01)
1599 #define PWM_CH11_DIV_INT_BITS   _u(0x00000ff0)
1600 #define PWM_CH11_DIV_INT_MSB    _u(11)
1601 #define PWM_CH11_DIV_INT_LSB    _u(4)
1602 #define PWM_CH11_DIV_INT_ACCESS "RW"
1603 // -----------------------------------------------------------------------------
1604 // Field       : PWM_CH11_DIV_FRAC
1605 #define PWM_CH11_DIV_FRAC_RESET  _u(0x0)
1606 #define PWM_CH11_DIV_FRAC_BITS   _u(0x0000000f)
1607 #define PWM_CH11_DIV_FRAC_MSB    _u(3)
1608 #define PWM_CH11_DIV_FRAC_LSB    _u(0)
1609 #define PWM_CH11_DIV_FRAC_ACCESS "RW"
1610 // =============================================================================
1611 // Register    : PWM_CH11_CTR
1612 // Description : Direct access to the PWM counter
1613 #define PWM_CH11_CTR_OFFSET _u(0x000000e4)
1614 #define PWM_CH11_CTR_BITS   _u(0x0000ffff)
1615 #define PWM_CH11_CTR_RESET  _u(0x00000000)
1616 #define PWM_CH11_CTR_MSB    _u(15)
1617 #define PWM_CH11_CTR_LSB    _u(0)
1618 #define PWM_CH11_CTR_ACCESS "RW"
1619 // =============================================================================
1620 // Register    : PWM_CH11_CC
1621 // Description : Counter compare values
1622 #define PWM_CH11_CC_OFFSET _u(0x000000e8)
1623 #define PWM_CH11_CC_BITS   _u(0xffffffff)
1624 #define PWM_CH11_CC_RESET  _u(0x00000000)
1625 // -----------------------------------------------------------------------------
1626 // Field       : PWM_CH11_CC_B
1627 #define PWM_CH11_CC_B_RESET  _u(0x0000)
1628 #define PWM_CH11_CC_B_BITS   _u(0xffff0000)
1629 #define PWM_CH11_CC_B_MSB    _u(31)
1630 #define PWM_CH11_CC_B_LSB    _u(16)
1631 #define PWM_CH11_CC_B_ACCESS "RW"
1632 // -----------------------------------------------------------------------------
1633 // Field       : PWM_CH11_CC_A
1634 #define PWM_CH11_CC_A_RESET  _u(0x0000)
1635 #define PWM_CH11_CC_A_BITS   _u(0x0000ffff)
1636 #define PWM_CH11_CC_A_MSB    _u(15)
1637 #define PWM_CH11_CC_A_LSB    _u(0)
1638 #define PWM_CH11_CC_A_ACCESS "RW"
1639 // =============================================================================
1640 // Register    : PWM_CH11_TOP
1641 // Description : Counter wrap value
1642 #define PWM_CH11_TOP_OFFSET _u(0x000000ec)
1643 #define PWM_CH11_TOP_BITS   _u(0x0000ffff)
1644 #define PWM_CH11_TOP_RESET  _u(0x0000ffff)
1645 #define PWM_CH11_TOP_MSB    _u(15)
1646 #define PWM_CH11_TOP_LSB    _u(0)
1647 #define PWM_CH11_TOP_ACCESS "RW"
1648 // =============================================================================
1649 // Register    : PWM_EN
1650 // Description : This register aliases the CSR_EN bits for all channels.
1651 //               Writing to this register allows multiple channels to be enabled
1652 //               or disabled simultaneously, so they can run in perfect sync.
1653 //               For each channel, there is only one physical EN register bit,
1654 //               which can be accessed through here or CHx_CSR.
1655 #define PWM_EN_OFFSET _u(0x000000f0)
1656 #define PWM_EN_BITS   _u(0x00000fff)
1657 #define PWM_EN_RESET  _u(0x00000000)
1658 // -----------------------------------------------------------------------------
1659 // Field       : PWM_EN_CH11
1660 #define PWM_EN_CH11_RESET  _u(0x0)
1661 #define PWM_EN_CH11_BITS   _u(0x00000800)
1662 #define PWM_EN_CH11_MSB    _u(11)
1663 #define PWM_EN_CH11_LSB    _u(11)
1664 #define PWM_EN_CH11_ACCESS "RW"
1665 // -----------------------------------------------------------------------------
1666 // Field       : PWM_EN_CH10
1667 #define PWM_EN_CH10_RESET  _u(0x0)
1668 #define PWM_EN_CH10_BITS   _u(0x00000400)
1669 #define PWM_EN_CH10_MSB    _u(10)
1670 #define PWM_EN_CH10_LSB    _u(10)
1671 #define PWM_EN_CH10_ACCESS "RW"
1672 // -----------------------------------------------------------------------------
1673 // Field       : PWM_EN_CH9
1674 #define PWM_EN_CH9_RESET  _u(0x0)
1675 #define PWM_EN_CH9_BITS   _u(0x00000200)
1676 #define PWM_EN_CH9_MSB    _u(9)
1677 #define PWM_EN_CH9_LSB    _u(9)
1678 #define PWM_EN_CH9_ACCESS "RW"
1679 // -----------------------------------------------------------------------------
1680 // Field       : PWM_EN_CH8
1681 #define PWM_EN_CH8_RESET  _u(0x0)
1682 #define PWM_EN_CH8_BITS   _u(0x00000100)
1683 #define PWM_EN_CH8_MSB    _u(8)
1684 #define PWM_EN_CH8_LSB    _u(8)
1685 #define PWM_EN_CH8_ACCESS "RW"
1686 // -----------------------------------------------------------------------------
1687 // Field       : PWM_EN_CH7
1688 #define PWM_EN_CH7_RESET  _u(0x0)
1689 #define PWM_EN_CH7_BITS   _u(0x00000080)
1690 #define PWM_EN_CH7_MSB    _u(7)
1691 #define PWM_EN_CH7_LSB    _u(7)
1692 #define PWM_EN_CH7_ACCESS "RW"
1693 // -----------------------------------------------------------------------------
1694 // Field       : PWM_EN_CH6
1695 #define PWM_EN_CH6_RESET  _u(0x0)
1696 #define PWM_EN_CH6_BITS   _u(0x00000040)
1697 #define PWM_EN_CH6_MSB    _u(6)
1698 #define PWM_EN_CH6_LSB    _u(6)
1699 #define PWM_EN_CH6_ACCESS "RW"
1700 // -----------------------------------------------------------------------------
1701 // Field       : PWM_EN_CH5
1702 #define PWM_EN_CH5_RESET  _u(0x0)
1703 #define PWM_EN_CH5_BITS   _u(0x00000020)
1704 #define PWM_EN_CH5_MSB    _u(5)
1705 #define PWM_EN_CH5_LSB    _u(5)
1706 #define PWM_EN_CH5_ACCESS "RW"
1707 // -----------------------------------------------------------------------------
1708 // Field       : PWM_EN_CH4
1709 #define PWM_EN_CH4_RESET  _u(0x0)
1710 #define PWM_EN_CH4_BITS   _u(0x00000010)
1711 #define PWM_EN_CH4_MSB    _u(4)
1712 #define PWM_EN_CH4_LSB    _u(4)
1713 #define PWM_EN_CH4_ACCESS "RW"
1714 // -----------------------------------------------------------------------------
1715 // Field       : PWM_EN_CH3
1716 #define PWM_EN_CH3_RESET  _u(0x0)
1717 #define PWM_EN_CH3_BITS   _u(0x00000008)
1718 #define PWM_EN_CH3_MSB    _u(3)
1719 #define PWM_EN_CH3_LSB    _u(3)
1720 #define PWM_EN_CH3_ACCESS "RW"
1721 // -----------------------------------------------------------------------------
1722 // Field       : PWM_EN_CH2
1723 #define PWM_EN_CH2_RESET  _u(0x0)
1724 #define PWM_EN_CH2_BITS   _u(0x00000004)
1725 #define PWM_EN_CH2_MSB    _u(2)
1726 #define PWM_EN_CH2_LSB    _u(2)
1727 #define PWM_EN_CH2_ACCESS "RW"
1728 // -----------------------------------------------------------------------------
1729 // Field       : PWM_EN_CH1
1730 #define PWM_EN_CH1_RESET  _u(0x0)
1731 #define PWM_EN_CH1_BITS   _u(0x00000002)
1732 #define PWM_EN_CH1_MSB    _u(1)
1733 #define PWM_EN_CH1_LSB    _u(1)
1734 #define PWM_EN_CH1_ACCESS "RW"
1735 // -----------------------------------------------------------------------------
1736 // Field       : PWM_EN_CH0
1737 #define PWM_EN_CH0_RESET  _u(0x0)
1738 #define PWM_EN_CH0_BITS   _u(0x00000001)
1739 #define PWM_EN_CH0_MSB    _u(0)
1740 #define PWM_EN_CH0_LSB    _u(0)
1741 #define PWM_EN_CH0_ACCESS "RW"
1742 // =============================================================================
1743 // Register    : PWM_INTR
1744 // Description : Raw Interrupts
1745 #define PWM_INTR_OFFSET _u(0x000000f4)
1746 #define PWM_INTR_BITS   _u(0x00000fff)
1747 #define PWM_INTR_RESET  _u(0x00000000)
1748 // -----------------------------------------------------------------------------
1749 // Field       : PWM_INTR_CH11
1750 #define PWM_INTR_CH11_RESET  _u(0x0)
1751 #define PWM_INTR_CH11_BITS   _u(0x00000800)
1752 #define PWM_INTR_CH11_MSB    _u(11)
1753 #define PWM_INTR_CH11_LSB    _u(11)
1754 #define PWM_INTR_CH11_ACCESS "WC"
1755 // -----------------------------------------------------------------------------
1756 // Field       : PWM_INTR_CH10
1757 #define PWM_INTR_CH10_RESET  _u(0x0)
1758 #define PWM_INTR_CH10_BITS   _u(0x00000400)
1759 #define PWM_INTR_CH10_MSB    _u(10)
1760 #define PWM_INTR_CH10_LSB    _u(10)
1761 #define PWM_INTR_CH10_ACCESS "WC"
1762 // -----------------------------------------------------------------------------
1763 // Field       : PWM_INTR_CH9
1764 #define PWM_INTR_CH9_RESET  _u(0x0)
1765 #define PWM_INTR_CH9_BITS   _u(0x00000200)
1766 #define PWM_INTR_CH9_MSB    _u(9)
1767 #define PWM_INTR_CH9_LSB    _u(9)
1768 #define PWM_INTR_CH9_ACCESS "WC"
1769 // -----------------------------------------------------------------------------
1770 // Field       : PWM_INTR_CH8
1771 #define PWM_INTR_CH8_RESET  _u(0x0)
1772 #define PWM_INTR_CH8_BITS   _u(0x00000100)
1773 #define PWM_INTR_CH8_MSB    _u(8)
1774 #define PWM_INTR_CH8_LSB    _u(8)
1775 #define PWM_INTR_CH8_ACCESS "WC"
1776 // -----------------------------------------------------------------------------
1777 // Field       : PWM_INTR_CH7
1778 #define PWM_INTR_CH7_RESET  _u(0x0)
1779 #define PWM_INTR_CH7_BITS   _u(0x00000080)
1780 #define PWM_INTR_CH7_MSB    _u(7)
1781 #define PWM_INTR_CH7_LSB    _u(7)
1782 #define PWM_INTR_CH7_ACCESS "WC"
1783 // -----------------------------------------------------------------------------
1784 // Field       : PWM_INTR_CH6
1785 #define PWM_INTR_CH6_RESET  _u(0x0)
1786 #define PWM_INTR_CH6_BITS   _u(0x00000040)
1787 #define PWM_INTR_CH6_MSB    _u(6)
1788 #define PWM_INTR_CH6_LSB    _u(6)
1789 #define PWM_INTR_CH6_ACCESS "WC"
1790 // -----------------------------------------------------------------------------
1791 // Field       : PWM_INTR_CH5
1792 #define PWM_INTR_CH5_RESET  _u(0x0)
1793 #define PWM_INTR_CH5_BITS   _u(0x00000020)
1794 #define PWM_INTR_CH5_MSB    _u(5)
1795 #define PWM_INTR_CH5_LSB    _u(5)
1796 #define PWM_INTR_CH5_ACCESS "WC"
1797 // -----------------------------------------------------------------------------
1798 // Field       : PWM_INTR_CH4
1799 #define PWM_INTR_CH4_RESET  _u(0x0)
1800 #define PWM_INTR_CH4_BITS   _u(0x00000010)
1801 #define PWM_INTR_CH4_MSB    _u(4)
1802 #define PWM_INTR_CH4_LSB    _u(4)
1803 #define PWM_INTR_CH4_ACCESS "WC"
1804 // -----------------------------------------------------------------------------
1805 // Field       : PWM_INTR_CH3
1806 #define PWM_INTR_CH3_RESET  _u(0x0)
1807 #define PWM_INTR_CH3_BITS   _u(0x00000008)
1808 #define PWM_INTR_CH3_MSB    _u(3)
1809 #define PWM_INTR_CH3_LSB    _u(3)
1810 #define PWM_INTR_CH3_ACCESS "WC"
1811 // -----------------------------------------------------------------------------
1812 // Field       : PWM_INTR_CH2
1813 #define PWM_INTR_CH2_RESET  _u(0x0)
1814 #define PWM_INTR_CH2_BITS   _u(0x00000004)
1815 #define PWM_INTR_CH2_MSB    _u(2)
1816 #define PWM_INTR_CH2_LSB    _u(2)
1817 #define PWM_INTR_CH2_ACCESS "WC"
1818 // -----------------------------------------------------------------------------
1819 // Field       : PWM_INTR_CH1
1820 #define PWM_INTR_CH1_RESET  _u(0x0)
1821 #define PWM_INTR_CH1_BITS   _u(0x00000002)
1822 #define PWM_INTR_CH1_MSB    _u(1)
1823 #define PWM_INTR_CH1_LSB    _u(1)
1824 #define PWM_INTR_CH1_ACCESS "WC"
1825 // -----------------------------------------------------------------------------
1826 // Field       : PWM_INTR_CH0
1827 #define PWM_INTR_CH0_RESET  _u(0x0)
1828 #define PWM_INTR_CH0_BITS   _u(0x00000001)
1829 #define PWM_INTR_CH0_MSB    _u(0)
1830 #define PWM_INTR_CH0_LSB    _u(0)
1831 #define PWM_INTR_CH0_ACCESS "WC"
1832 // =============================================================================
1833 // Register    : PWM_IRQ0_INTE
1834 // Description : Interrupt Enable for irq0
1835 #define PWM_IRQ0_INTE_OFFSET _u(0x000000f8)
1836 #define PWM_IRQ0_INTE_BITS   _u(0x00000fff)
1837 #define PWM_IRQ0_INTE_RESET  _u(0x00000000)
1838 // -----------------------------------------------------------------------------
1839 // Field       : PWM_IRQ0_INTE_CH11
1840 #define PWM_IRQ0_INTE_CH11_RESET  _u(0x0)
1841 #define PWM_IRQ0_INTE_CH11_BITS   _u(0x00000800)
1842 #define PWM_IRQ0_INTE_CH11_MSB    _u(11)
1843 #define PWM_IRQ0_INTE_CH11_LSB    _u(11)
1844 #define PWM_IRQ0_INTE_CH11_ACCESS "RW"
1845 // -----------------------------------------------------------------------------
1846 // Field       : PWM_IRQ0_INTE_CH10
1847 #define PWM_IRQ0_INTE_CH10_RESET  _u(0x0)
1848 #define PWM_IRQ0_INTE_CH10_BITS   _u(0x00000400)
1849 #define PWM_IRQ0_INTE_CH10_MSB    _u(10)
1850 #define PWM_IRQ0_INTE_CH10_LSB    _u(10)
1851 #define PWM_IRQ0_INTE_CH10_ACCESS "RW"
1852 // -----------------------------------------------------------------------------
1853 // Field       : PWM_IRQ0_INTE_CH9
1854 #define PWM_IRQ0_INTE_CH9_RESET  _u(0x0)
1855 #define PWM_IRQ0_INTE_CH9_BITS   _u(0x00000200)
1856 #define PWM_IRQ0_INTE_CH9_MSB    _u(9)
1857 #define PWM_IRQ0_INTE_CH9_LSB    _u(9)
1858 #define PWM_IRQ0_INTE_CH9_ACCESS "RW"
1859 // -----------------------------------------------------------------------------
1860 // Field       : PWM_IRQ0_INTE_CH8
1861 #define PWM_IRQ0_INTE_CH8_RESET  _u(0x0)
1862 #define PWM_IRQ0_INTE_CH8_BITS   _u(0x00000100)
1863 #define PWM_IRQ0_INTE_CH8_MSB    _u(8)
1864 #define PWM_IRQ0_INTE_CH8_LSB    _u(8)
1865 #define PWM_IRQ0_INTE_CH8_ACCESS "RW"
1866 // -----------------------------------------------------------------------------
1867 // Field       : PWM_IRQ0_INTE_CH7
1868 #define PWM_IRQ0_INTE_CH7_RESET  _u(0x0)
1869 #define PWM_IRQ0_INTE_CH7_BITS   _u(0x00000080)
1870 #define PWM_IRQ0_INTE_CH7_MSB    _u(7)
1871 #define PWM_IRQ0_INTE_CH7_LSB    _u(7)
1872 #define PWM_IRQ0_INTE_CH7_ACCESS "RW"
1873 // -----------------------------------------------------------------------------
1874 // Field       : PWM_IRQ0_INTE_CH6
1875 #define PWM_IRQ0_INTE_CH6_RESET  _u(0x0)
1876 #define PWM_IRQ0_INTE_CH6_BITS   _u(0x00000040)
1877 #define PWM_IRQ0_INTE_CH6_MSB    _u(6)
1878 #define PWM_IRQ0_INTE_CH6_LSB    _u(6)
1879 #define PWM_IRQ0_INTE_CH6_ACCESS "RW"
1880 // -----------------------------------------------------------------------------
1881 // Field       : PWM_IRQ0_INTE_CH5
1882 #define PWM_IRQ0_INTE_CH5_RESET  _u(0x0)
1883 #define PWM_IRQ0_INTE_CH5_BITS   _u(0x00000020)
1884 #define PWM_IRQ0_INTE_CH5_MSB    _u(5)
1885 #define PWM_IRQ0_INTE_CH5_LSB    _u(5)
1886 #define PWM_IRQ0_INTE_CH5_ACCESS "RW"
1887 // -----------------------------------------------------------------------------
1888 // Field       : PWM_IRQ0_INTE_CH4
1889 #define PWM_IRQ0_INTE_CH4_RESET  _u(0x0)
1890 #define PWM_IRQ0_INTE_CH4_BITS   _u(0x00000010)
1891 #define PWM_IRQ0_INTE_CH4_MSB    _u(4)
1892 #define PWM_IRQ0_INTE_CH4_LSB    _u(4)
1893 #define PWM_IRQ0_INTE_CH4_ACCESS "RW"
1894 // -----------------------------------------------------------------------------
1895 // Field       : PWM_IRQ0_INTE_CH3
1896 #define PWM_IRQ0_INTE_CH3_RESET  _u(0x0)
1897 #define PWM_IRQ0_INTE_CH3_BITS   _u(0x00000008)
1898 #define PWM_IRQ0_INTE_CH3_MSB    _u(3)
1899 #define PWM_IRQ0_INTE_CH3_LSB    _u(3)
1900 #define PWM_IRQ0_INTE_CH3_ACCESS "RW"
1901 // -----------------------------------------------------------------------------
1902 // Field       : PWM_IRQ0_INTE_CH2
1903 #define PWM_IRQ0_INTE_CH2_RESET  _u(0x0)
1904 #define PWM_IRQ0_INTE_CH2_BITS   _u(0x00000004)
1905 #define PWM_IRQ0_INTE_CH2_MSB    _u(2)
1906 #define PWM_IRQ0_INTE_CH2_LSB    _u(2)
1907 #define PWM_IRQ0_INTE_CH2_ACCESS "RW"
1908 // -----------------------------------------------------------------------------
1909 // Field       : PWM_IRQ0_INTE_CH1
1910 #define PWM_IRQ0_INTE_CH1_RESET  _u(0x0)
1911 #define PWM_IRQ0_INTE_CH1_BITS   _u(0x00000002)
1912 #define PWM_IRQ0_INTE_CH1_MSB    _u(1)
1913 #define PWM_IRQ0_INTE_CH1_LSB    _u(1)
1914 #define PWM_IRQ0_INTE_CH1_ACCESS "RW"
1915 // -----------------------------------------------------------------------------
1916 // Field       : PWM_IRQ0_INTE_CH0
1917 #define PWM_IRQ0_INTE_CH0_RESET  _u(0x0)
1918 #define PWM_IRQ0_INTE_CH0_BITS   _u(0x00000001)
1919 #define PWM_IRQ0_INTE_CH0_MSB    _u(0)
1920 #define PWM_IRQ0_INTE_CH0_LSB    _u(0)
1921 #define PWM_IRQ0_INTE_CH0_ACCESS "RW"
1922 // =============================================================================
1923 // Register    : PWM_IRQ0_INTF
1924 // Description : Interrupt Force for irq0
1925 #define PWM_IRQ0_INTF_OFFSET _u(0x000000fc)
1926 #define PWM_IRQ0_INTF_BITS   _u(0x00000fff)
1927 #define PWM_IRQ0_INTF_RESET  _u(0x00000000)
1928 // -----------------------------------------------------------------------------
1929 // Field       : PWM_IRQ0_INTF_CH11
1930 #define PWM_IRQ0_INTF_CH11_RESET  _u(0x0)
1931 #define PWM_IRQ0_INTF_CH11_BITS   _u(0x00000800)
1932 #define PWM_IRQ0_INTF_CH11_MSB    _u(11)
1933 #define PWM_IRQ0_INTF_CH11_LSB    _u(11)
1934 #define PWM_IRQ0_INTF_CH11_ACCESS "RW"
1935 // -----------------------------------------------------------------------------
1936 // Field       : PWM_IRQ0_INTF_CH10
1937 #define PWM_IRQ0_INTF_CH10_RESET  _u(0x0)
1938 #define PWM_IRQ0_INTF_CH10_BITS   _u(0x00000400)
1939 #define PWM_IRQ0_INTF_CH10_MSB    _u(10)
1940 #define PWM_IRQ0_INTF_CH10_LSB    _u(10)
1941 #define PWM_IRQ0_INTF_CH10_ACCESS "RW"
1942 // -----------------------------------------------------------------------------
1943 // Field       : PWM_IRQ0_INTF_CH9
1944 #define PWM_IRQ0_INTF_CH9_RESET  _u(0x0)
1945 #define PWM_IRQ0_INTF_CH9_BITS   _u(0x00000200)
1946 #define PWM_IRQ0_INTF_CH9_MSB    _u(9)
1947 #define PWM_IRQ0_INTF_CH9_LSB    _u(9)
1948 #define PWM_IRQ0_INTF_CH9_ACCESS "RW"
1949 // -----------------------------------------------------------------------------
1950 // Field       : PWM_IRQ0_INTF_CH8
1951 #define PWM_IRQ0_INTF_CH8_RESET  _u(0x0)
1952 #define PWM_IRQ0_INTF_CH8_BITS   _u(0x00000100)
1953 #define PWM_IRQ0_INTF_CH8_MSB    _u(8)
1954 #define PWM_IRQ0_INTF_CH8_LSB    _u(8)
1955 #define PWM_IRQ0_INTF_CH8_ACCESS "RW"
1956 // -----------------------------------------------------------------------------
1957 // Field       : PWM_IRQ0_INTF_CH7
1958 #define PWM_IRQ0_INTF_CH7_RESET  _u(0x0)
1959 #define PWM_IRQ0_INTF_CH7_BITS   _u(0x00000080)
1960 #define PWM_IRQ0_INTF_CH7_MSB    _u(7)
1961 #define PWM_IRQ0_INTF_CH7_LSB    _u(7)
1962 #define PWM_IRQ0_INTF_CH7_ACCESS "RW"
1963 // -----------------------------------------------------------------------------
1964 // Field       : PWM_IRQ0_INTF_CH6
1965 #define PWM_IRQ0_INTF_CH6_RESET  _u(0x0)
1966 #define PWM_IRQ0_INTF_CH6_BITS   _u(0x00000040)
1967 #define PWM_IRQ0_INTF_CH6_MSB    _u(6)
1968 #define PWM_IRQ0_INTF_CH6_LSB    _u(6)
1969 #define PWM_IRQ0_INTF_CH6_ACCESS "RW"
1970 // -----------------------------------------------------------------------------
1971 // Field       : PWM_IRQ0_INTF_CH5
1972 #define PWM_IRQ0_INTF_CH5_RESET  _u(0x0)
1973 #define PWM_IRQ0_INTF_CH5_BITS   _u(0x00000020)
1974 #define PWM_IRQ0_INTF_CH5_MSB    _u(5)
1975 #define PWM_IRQ0_INTF_CH5_LSB    _u(5)
1976 #define PWM_IRQ0_INTF_CH5_ACCESS "RW"
1977 // -----------------------------------------------------------------------------
1978 // Field       : PWM_IRQ0_INTF_CH4
1979 #define PWM_IRQ0_INTF_CH4_RESET  _u(0x0)
1980 #define PWM_IRQ0_INTF_CH4_BITS   _u(0x00000010)
1981 #define PWM_IRQ0_INTF_CH4_MSB    _u(4)
1982 #define PWM_IRQ0_INTF_CH4_LSB    _u(4)
1983 #define PWM_IRQ0_INTF_CH4_ACCESS "RW"
1984 // -----------------------------------------------------------------------------
1985 // Field       : PWM_IRQ0_INTF_CH3
1986 #define PWM_IRQ0_INTF_CH3_RESET  _u(0x0)
1987 #define PWM_IRQ0_INTF_CH3_BITS   _u(0x00000008)
1988 #define PWM_IRQ0_INTF_CH3_MSB    _u(3)
1989 #define PWM_IRQ0_INTF_CH3_LSB    _u(3)
1990 #define PWM_IRQ0_INTF_CH3_ACCESS "RW"
1991 // -----------------------------------------------------------------------------
1992 // Field       : PWM_IRQ0_INTF_CH2
1993 #define PWM_IRQ0_INTF_CH2_RESET  _u(0x0)
1994 #define PWM_IRQ0_INTF_CH2_BITS   _u(0x00000004)
1995 #define PWM_IRQ0_INTF_CH2_MSB    _u(2)
1996 #define PWM_IRQ0_INTF_CH2_LSB    _u(2)
1997 #define PWM_IRQ0_INTF_CH2_ACCESS "RW"
1998 // -----------------------------------------------------------------------------
1999 // Field       : PWM_IRQ0_INTF_CH1
2000 #define PWM_IRQ0_INTF_CH1_RESET  _u(0x0)
2001 #define PWM_IRQ0_INTF_CH1_BITS   _u(0x00000002)
2002 #define PWM_IRQ0_INTF_CH1_MSB    _u(1)
2003 #define PWM_IRQ0_INTF_CH1_LSB    _u(1)
2004 #define PWM_IRQ0_INTF_CH1_ACCESS "RW"
2005 // -----------------------------------------------------------------------------
2006 // Field       : PWM_IRQ0_INTF_CH0
2007 #define PWM_IRQ0_INTF_CH0_RESET  _u(0x0)
2008 #define PWM_IRQ0_INTF_CH0_BITS   _u(0x00000001)
2009 #define PWM_IRQ0_INTF_CH0_MSB    _u(0)
2010 #define PWM_IRQ0_INTF_CH0_LSB    _u(0)
2011 #define PWM_IRQ0_INTF_CH0_ACCESS "RW"
2012 // =============================================================================
2013 // Register    : PWM_IRQ0_INTS
2014 // Description : Interrupt status after masking & forcing for irq0
2015 #define PWM_IRQ0_INTS_OFFSET _u(0x00000100)
2016 #define PWM_IRQ0_INTS_BITS   _u(0x00000fff)
2017 #define PWM_IRQ0_INTS_RESET  _u(0x00000000)
2018 // -----------------------------------------------------------------------------
2019 // Field       : PWM_IRQ0_INTS_CH11
2020 #define PWM_IRQ0_INTS_CH11_RESET  _u(0x0)
2021 #define PWM_IRQ0_INTS_CH11_BITS   _u(0x00000800)
2022 #define PWM_IRQ0_INTS_CH11_MSB    _u(11)
2023 #define PWM_IRQ0_INTS_CH11_LSB    _u(11)
2024 #define PWM_IRQ0_INTS_CH11_ACCESS "RO"
2025 // -----------------------------------------------------------------------------
2026 // Field       : PWM_IRQ0_INTS_CH10
2027 #define PWM_IRQ0_INTS_CH10_RESET  _u(0x0)
2028 #define PWM_IRQ0_INTS_CH10_BITS   _u(0x00000400)
2029 #define PWM_IRQ0_INTS_CH10_MSB    _u(10)
2030 #define PWM_IRQ0_INTS_CH10_LSB    _u(10)
2031 #define PWM_IRQ0_INTS_CH10_ACCESS "RO"
2032 // -----------------------------------------------------------------------------
2033 // Field       : PWM_IRQ0_INTS_CH9
2034 #define PWM_IRQ0_INTS_CH9_RESET  _u(0x0)
2035 #define PWM_IRQ0_INTS_CH9_BITS   _u(0x00000200)
2036 #define PWM_IRQ0_INTS_CH9_MSB    _u(9)
2037 #define PWM_IRQ0_INTS_CH9_LSB    _u(9)
2038 #define PWM_IRQ0_INTS_CH9_ACCESS "RO"
2039 // -----------------------------------------------------------------------------
2040 // Field       : PWM_IRQ0_INTS_CH8
2041 #define PWM_IRQ0_INTS_CH8_RESET  _u(0x0)
2042 #define PWM_IRQ0_INTS_CH8_BITS   _u(0x00000100)
2043 #define PWM_IRQ0_INTS_CH8_MSB    _u(8)
2044 #define PWM_IRQ0_INTS_CH8_LSB    _u(8)
2045 #define PWM_IRQ0_INTS_CH8_ACCESS "RO"
2046 // -----------------------------------------------------------------------------
2047 // Field       : PWM_IRQ0_INTS_CH7
2048 #define PWM_IRQ0_INTS_CH7_RESET  _u(0x0)
2049 #define PWM_IRQ0_INTS_CH7_BITS   _u(0x00000080)
2050 #define PWM_IRQ0_INTS_CH7_MSB    _u(7)
2051 #define PWM_IRQ0_INTS_CH7_LSB    _u(7)
2052 #define PWM_IRQ0_INTS_CH7_ACCESS "RO"
2053 // -----------------------------------------------------------------------------
2054 // Field       : PWM_IRQ0_INTS_CH6
2055 #define PWM_IRQ0_INTS_CH6_RESET  _u(0x0)
2056 #define PWM_IRQ0_INTS_CH6_BITS   _u(0x00000040)
2057 #define PWM_IRQ0_INTS_CH6_MSB    _u(6)
2058 #define PWM_IRQ0_INTS_CH6_LSB    _u(6)
2059 #define PWM_IRQ0_INTS_CH6_ACCESS "RO"
2060 // -----------------------------------------------------------------------------
2061 // Field       : PWM_IRQ0_INTS_CH5
2062 #define PWM_IRQ0_INTS_CH5_RESET  _u(0x0)
2063 #define PWM_IRQ0_INTS_CH5_BITS   _u(0x00000020)
2064 #define PWM_IRQ0_INTS_CH5_MSB    _u(5)
2065 #define PWM_IRQ0_INTS_CH5_LSB    _u(5)
2066 #define PWM_IRQ0_INTS_CH5_ACCESS "RO"
2067 // -----------------------------------------------------------------------------
2068 // Field       : PWM_IRQ0_INTS_CH4
2069 #define PWM_IRQ0_INTS_CH4_RESET  _u(0x0)
2070 #define PWM_IRQ0_INTS_CH4_BITS   _u(0x00000010)
2071 #define PWM_IRQ0_INTS_CH4_MSB    _u(4)
2072 #define PWM_IRQ0_INTS_CH4_LSB    _u(4)
2073 #define PWM_IRQ0_INTS_CH4_ACCESS "RO"
2074 // -----------------------------------------------------------------------------
2075 // Field       : PWM_IRQ0_INTS_CH3
2076 #define PWM_IRQ0_INTS_CH3_RESET  _u(0x0)
2077 #define PWM_IRQ0_INTS_CH3_BITS   _u(0x00000008)
2078 #define PWM_IRQ0_INTS_CH3_MSB    _u(3)
2079 #define PWM_IRQ0_INTS_CH3_LSB    _u(3)
2080 #define PWM_IRQ0_INTS_CH3_ACCESS "RO"
2081 // -----------------------------------------------------------------------------
2082 // Field       : PWM_IRQ0_INTS_CH2
2083 #define PWM_IRQ0_INTS_CH2_RESET  _u(0x0)
2084 #define PWM_IRQ0_INTS_CH2_BITS   _u(0x00000004)
2085 #define PWM_IRQ0_INTS_CH2_MSB    _u(2)
2086 #define PWM_IRQ0_INTS_CH2_LSB    _u(2)
2087 #define PWM_IRQ0_INTS_CH2_ACCESS "RO"
2088 // -----------------------------------------------------------------------------
2089 // Field       : PWM_IRQ0_INTS_CH1
2090 #define PWM_IRQ0_INTS_CH1_RESET  _u(0x0)
2091 #define PWM_IRQ0_INTS_CH1_BITS   _u(0x00000002)
2092 #define PWM_IRQ0_INTS_CH1_MSB    _u(1)
2093 #define PWM_IRQ0_INTS_CH1_LSB    _u(1)
2094 #define PWM_IRQ0_INTS_CH1_ACCESS "RO"
2095 // -----------------------------------------------------------------------------
2096 // Field       : PWM_IRQ0_INTS_CH0
2097 #define PWM_IRQ0_INTS_CH0_RESET  _u(0x0)
2098 #define PWM_IRQ0_INTS_CH0_BITS   _u(0x00000001)
2099 #define PWM_IRQ0_INTS_CH0_MSB    _u(0)
2100 #define PWM_IRQ0_INTS_CH0_LSB    _u(0)
2101 #define PWM_IRQ0_INTS_CH0_ACCESS "RO"
2102 // =============================================================================
2103 // Register    : PWM_IRQ1_INTE
2104 // Description : Interrupt Enable for irq1
2105 #define PWM_IRQ1_INTE_OFFSET _u(0x00000104)
2106 #define PWM_IRQ1_INTE_BITS   _u(0x00000fff)
2107 #define PWM_IRQ1_INTE_RESET  _u(0x00000000)
2108 // -----------------------------------------------------------------------------
2109 // Field       : PWM_IRQ1_INTE_CH11
2110 #define PWM_IRQ1_INTE_CH11_RESET  _u(0x0)
2111 #define PWM_IRQ1_INTE_CH11_BITS   _u(0x00000800)
2112 #define PWM_IRQ1_INTE_CH11_MSB    _u(11)
2113 #define PWM_IRQ1_INTE_CH11_LSB    _u(11)
2114 #define PWM_IRQ1_INTE_CH11_ACCESS "RW"
2115 // -----------------------------------------------------------------------------
2116 // Field       : PWM_IRQ1_INTE_CH10
2117 #define PWM_IRQ1_INTE_CH10_RESET  _u(0x0)
2118 #define PWM_IRQ1_INTE_CH10_BITS   _u(0x00000400)
2119 #define PWM_IRQ1_INTE_CH10_MSB    _u(10)
2120 #define PWM_IRQ1_INTE_CH10_LSB    _u(10)
2121 #define PWM_IRQ1_INTE_CH10_ACCESS "RW"
2122 // -----------------------------------------------------------------------------
2123 // Field       : PWM_IRQ1_INTE_CH9
2124 #define PWM_IRQ1_INTE_CH9_RESET  _u(0x0)
2125 #define PWM_IRQ1_INTE_CH9_BITS   _u(0x00000200)
2126 #define PWM_IRQ1_INTE_CH9_MSB    _u(9)
2127 #define PWM_IRQ1_INTE_CH9_LSB    _u(9)
2128 #define PWM_IRQ1_INTE_CH9_ACCESS "RW"
2129 // -----------------------------------------------------------------------------
2130 // Field       : PWM_IRQ1_INTE_CH8
2131 #define PWM_IRQ1_INTE_CH8_RESET  _u(0x0)
2132 #define PWM_IRQ1_INTE_CH8_BITS   _u(0x00000100)
2133 #define PWM_IRQ1_INTE_CH8_MSB    _u(8)
2134 #define PWM_IRQ1_INTE_CH8_LSB    _u(8)
2135 #define PWM_IRQ1_INTE_CH8_ACCESS "RW"
2136 // -----------------------------------------------------------------------------
2137 // Field       : PWM_IRQ1_INTE_CH7
2138 #define PWM_IRQ1_INTE_CH7_RESET  _u(0x0)
2139 #define PWM_IRQ1_INTE_CH7_BITS   _u(0x00000080)
2140 #define PWM_IRQ1_INTE_CH7_MSB    _u(7)
2141 #define PWM_IRQ1_INTE_CH7_LSB    _u(7)
2142 #define PWM_IRQ1_INTE_CH7_ACCESS "RW"
2143 // -----------------------------------------------------------------------------
2144 // Field       : PWM_IRQ1_INTE_CH6
2145 #define PWM_IRQ1_INTE_CH6_RESET  _u(0x0)
2146 #define PWM_IRQ1_INTE_CH6_BITS   _u(0x00000040)
2147 #define PWM_IRQ1_INTE_CH6_MSB    _u(6)
2148 #define PWM_IRQ1_INTE_CH6_LSB    _u(6)
2149 #define PWM_IRQ1_INTE_CH6_ACCESS "RW"
2150 // -----------------------------------------------------------------------------
2151 // Field       : PWM_IRQ1_INTE_CH5
2152 #define PWM_IRQ1_INTE_CH5_RESET  _u(0x0)
2153 #define PWM_IRQ1_INTE_CH5_BITS   _u(0x00000020)
2154 #define PWM_IRQ1_INTE_CH5_MSB    _u(5)
2155 #define PWM_IRQ1_INTE_CH5_LSB    _u(5)
2156 #define PWM_IRQ1_INTE_CH5_ACCESS "RW"
2157 // -----------------------------------------------------------------------------
2158 // Field       : PWM_IRQ1_INTE_CH4
2159 #define PWM_IRQ1_INTE_CH4_RESET  _u(0x0)
2160 #define PWM_IRQ1_INTE_CH4_BITS   _u(0x00000010)
2161 #define PWM_IRQ1_INTE_CH4_MSB    _u(4)
2162 #define PWM_IRQ1_INTE_CH4_LSB    _u(4)
2163 #define PWM_IRQ1_INTE_CH4_ACCESS "RW"
2164 // -----------------------------------------------------------------------------
2165 // Field       : PWM_IRQ1_INTE_CH3
2166 #define PWM_IRQ1_INTE_CH3_RESET  _u(0x0)
2167 #define PWM_IRQ1_INTE_CH3_BITS   _u(0x00000008)
2168 #define PWM_IRQ1_INTE_CH3_MSB    _u(3)
2169 #define PWM_IRQ1_INTE_CH3_LSB    _u(3)
2170 #define PWM_IRQ1_INTE_CH3_ACCESS "RW"
2171 // -----------------------------------------------------------------------------
2172 // Field       : PWM_IRQ1_INTE_CH2
2173 #define PWM_IRQ1_INTE_CH2_RESET  _u(0x0)
2174 #define PWM_IRQ1_INTE_CH2_BITS   _u(0x00000004)
2175 #define PWM_IRQ1_INTE_CH2_MSB    _u(2)
2176 #define PWM_IRQ1_INTE_CH2_LSB    _u(2)
2177 #define PWM_IRQ1_INTE_CH2_ACCESS "RW"
2178 // -----------------------------------------------------------------------------
2179 // Field       : PWM_IRQ1_INTE_CH1
2180 #define PWM_IRQ1_INTE_CH1_RESET  _u(0x0)
2181 #define PWM_IRQ1_INTE_CH1_BITS   _u(0x00000002)
2182 #define PWM_IRQ1_INTE_CH1_MSB    _u(1)
2183 #define PWM_IRQ1_INTE_CH1_LSB    _u(1)
2184 #define PWM_IRQ1_INTE_CH1_ACCESS "RW"
2185 // -----------------------------------------------------------------------------
2186 // Field       : PWM_IRQ1_INTE_CH0
2187 #define PWM_IRQ1_INTE_CH0_RESET  _u(0x0)
2188 #define PWM_IRQ1_INTE_CH0_BITS   _u(0x00000001)
2189 #define PWM_IRQ1_INTE_CH0_MSB    _u(0)
2190 #define PWM_IRQ1_INTE_CH0_LSB    _u(0)
2191 #define PWM_IRQ1_INTE_CH0_ACCESS "RW"
2192 // =============================================================================
2193 // Register    : PWM_IRQ1_INTF
2194 // Description : Interrupt Force for irq1
2195 #define PWM_IRQ1_INTF_OFFSET _u(0x00000108)
2196 #define PWM_IRQ1_INTF_BITS   _u(0x00000fff)
2197 #define PWM_IRQ1_INTF_RESET  _u(0x00000000)
2198 // -----------------------------------------------------------------------------
2199 // Field       : PWM_IRQ1_INTF_CH11
2200 #define PWM_IRQ1_INTF_CH11_RESET  _u(0x0)
2201 #define PWM_IRQ1_INTF_CH11_BITS   _u(0x00000800)
2202 #define PWM_IRQ1_INTF_CH11_MSB    _u(11)
2203 #define PWM_IRQ1_INTF_CH11_LSB    _u(11)
2204 #define PWM_IRQ1_INTF_CH11_ACCESS "RW"
2205 // -----------------------------------------------------------------------------
2206 // Field       : PWM_IRQ1_INTF_CH10
2207 #define PWM_IRQ1_INTF_CH10_RESET  _u(0x0)
2208 #define PWM_IRQ1_INTF_CH10_BITS   _u(0x00000400)
2209 #define PWM_IRQ1_INTF_CH10_MSB    _u(10)
2210 #define PWM_IRQ1_INTF_CH10_LSB    _u(10)
2211 #define PWM_IRQ1_INTF_CH10_ACCESS "RW"
2212 // -----------------------------------------------------------------------------
2213 // Field       : PWM_IRQ1_INTF_CH9
2214 #define PWM_IRQ1_INTF_CH9_RESET  _u(0x0)
2215 #define PWM_IRQ1_INTF_CH9_BITS   _u(0x00000200)
2216 #define PWM_IRQ1_INTF_CH9_MSB    _u(9)
2217 #define PWM_IRQ1_INTF_CH9_LSB    _u(9)
2218 #define PWM_IRQ1_INTF_CH9_ACCESS "RW"
2219 // -----------------------------------------------------------------------------
2220 // Field       : PWM_IRQ1_INTF_CH8
2221 #define PWM_IRQ1_INTF_CH8_RESET  _u(0x0)
2222 #define PWM_IRQ1_INTF_CH8_BITS   _u(0x00000100)
2223 #define PWM_IRQ1_INTF_CH8_MSB    _u(8)
2224 #define PWM_IRQ1_INTF_CH8_LSB    _u(8)
2225 #define PWM_IRQ1_INTF_CH8_ACCESS "RW"
2226 // -----------------------------------------------------------------------------
2227 // Field       : PWM_IRQ1_INTF_CH7
2228 #define PWM_IRQ1_INTF_CH7_RESET  _u(0x0)
2229 #define PWM_IRQ1_INTF_CH7_BITS   _u(0x00000080)
2230 #define PWM_IRQ1_INTF_CH7_MSB    _u(7)
2231 #define PWM_IRQ1_INTF_CH7_LSB    _u(7)
2232 #define PWM_IRQ1_INTF_CH7_ACCESS "RW"
2233 // -----------------------------------------------------------------------------
2234 // Field       : PWM_IRQ1_INTF_CH6
2235 #define PWM_IRQ1_INTF_CH6_RESET  _u(0x0)
2236 #define PWM_IRQ1_INTF_CH6_BITS   _u(0x00000040)
2237 #define PWM_IRQ1_INTF_CH6_MSB    _u(6)
2238 #define PWM_IRQ1_INTF_CH6_LSB    _u(6)
2239 #define PWM_IRQ1_INTF_CH6_ACCESS "RW"
2240 // -----------------------------------------------------------------------------
2241 // Field       : PWM_IRQ1_INTF_CH5
2242 #define PWM_IRQ1_INTF_CH5_RESET  _u(0x0)
2243 #define PWM_IRQ1_INTF_CH5_BITS   _u(0x00000020)
2244 #define PWM_IRQ1_INTF_CH5_MSB    _u(5)
2245 #define PWM_IRQ1_INTF_CH5_LSB    _u(5)
2246 #define PWM_IRQ1_INTF_CH5_ACCESS "RW"
2247 // -----------------------------------------------------------------------------
2248 // Field       : PWM_IRQ1_INTF_CH4
2249 #define PWM_IRQ1_INTF_CH4_RESET  _u(0x0)
2250 #define PWM_IRQ1_INTF_CH4_BITS   _u(0x00000010)
2251 #define PWM_IRQ1_INTF_CH4_MSB    _u(4)
2252 #define PWM_IRQ1_INTF_CH4_LSB    _u(4)
2253 #define PWM_IRQ1_INTF_CH4_ACCESS "RW"
2254 // -----------------------------------------------------------------------------
2255 // Field       : PWM_IRQ1_INTF_CH3
2256 #define PWM_IRQ1_INTF_CH3_RESET  _u(0x0)
2257 #define PWM_IRQ1_INTF_CH3_BITS   _u(0x00000008)
2258 #define PWM_IRQ1_INTF_CH3_MSB    _u(3)
2259 #define PWM_IRQ1_INTF_CH3_LSB    _u(3)
2260 #define PWM_IRQ1_INTF_CH3_ACCESS "RW"
2261 // -----------------------------------------------------------------------------
2262 // Field       : PWM_IRQ1_INTF_CH2
2263 #define PWM_IRQ1_INTF_CH2_RESET  _u(0x0)
2264 #define PWM_IRQ1_INTF_CH2_BITS   _u(0x00000004)
2265 #define PWM_IRQ1_INTF_CH2_MSB    _u(2)
2266 #define PWM_IRQ1_INTF_CH2_LSB    _u(2)
2267 #define PWM_IRQ1_INTF_CH2_ACCESS "RW"
2268 // -----------------------------------------------------------------------------
2269 // Field       : PWM_IRQ1_INTF_CH1
2270 #define PWM_IRQ1_INTF_CH1_RESET  _u(0x0)
2271 #define PWM_IRQ1_INTF_CH1_BITS   _u(0x00000002)
2272 #define PWM_IRQ1_INTF_CH1_MSB    _u(1)
2273 #define PWM_IRQ1_INTF_CH1_LSB    _u(1)
2274 #define PWM_IRQ1_INTF_CH1_ACCESS "RW"
2275 // -----------------------------------------------------------------------------
2276 // Field       : PWM_IRQ1_INTF_CH0
2277 #define PWM_IRQ1_INTF_CH0_RESET  _u(0x0)
2278 #define PWM_IRQ1_INTF_CH0_BITS   _u(0x00000001)
2279 #define PWM_IRQ1_INTF_CH0_MSB    _u(0)
2280 #define PWM_IRQ1_INTF_CH0_LSB    _u(0)
2281 #define PWM_IRQ1_INTF_CH0_ACCESS "RW"
2282 // =============================================================================
2283 // Register    : PWM_IRQ1_INTS
2284 // Description : Interrupt status after masking & forcing for irq1
2285 #define PWM_IRQ1_INTS_OFFSET _u(0x0000010c)
2286 #define PWM_IRQ1_INTS_BITS   _u(0x00000fff)
2287 #define PWM_IRQ1_INTS_RESET  _u(0x00000000)
2288 // -----------------------------------------------------------------------------
2289 // Field       : PWM_IRQ1_INTS_CH11
2290 #define PWM_IRQ1_INTS_CH11_RESET  _u(0x0)
2291 #define PWM_IRQ1_INTS_CH11_BITS   _u(0x00000800)
2292 #define PWM_IRQ1_INTS_CH11_MSB    _u(11)
2293 #define PWM_IRQ1_INTS_CH11_LSB    _u(11)
2294 #define PWM_IRQ1_INTS_CH11_ACCESS "RO"
2295 // -----------------------------------------------------------------------------
2296 // Field       : PWM_IRQ1_INTS_CH10
2297 #define PWM_IRQ1_INTS_CH10_RESET  _u(0x0)
2298 #define PWM_IRQ1_INTS_CH10_BITS   _u(0x00000400)
2299 #define PWM_IRQ1_INTS_CH10_MSB    _u(10)
2300 #define PWM_IRQ1_INTS_CH10_LSB    _u(10)
2301 #define PWM_IRQ1_INTS_CH10_ACCESS "RO"
2302 // -----------------------------------------------------------------------------
2303 // Field       : PWM_IRQ1_INTS_CH9
2304 #define PWM_IRQ1_INTS_CH9_RESET  _u(0x0)
2305 #define PWM_IRQ1_INTS_CH9_BITS   _u(0x00000200)
2306 #define PWM_IRQ1_INTS_CH9_MSB    _u(9)
2307 #define PWM_IRQ1_INTS_CH9_LSB    _u(9)
2308 #define PWM_IRQ1_INTS_CH9_ACCESS "RO"
2309 // -----------------------------------------------------------------------------
2310 // Field       : PWM_IRQ1_INTS_CH8
2311 #define PWM_IRQ1_INTS_CH8_RESET  _u(0x0)
2312 #define PWM_IRQ1_INTS_CH8_BITS   _u(0x00000100)
2313 #define PWM_IRQ1_INTS_CH8_MSB    _u(8)
2314 #define PWM_IRQ1_INTS_CH8_LSB    _u(8)
2315 #define PWM_IRQ1_INTS_CH8_ACCESS "RO"
2316 // -----------------------------------------------------------------------------
2317 // Field       : PWM_IRQ1_INTS_CH7
2318 #define PWM_IRQ1_INTS_CH7_RESET  _u(0x0)
2319 #define PWM_IRQ1_INTS_CH7_BITS   _u(0x00000080)
2320 #define PWM_IRQ1_INTS_CH7_MSB    _u(7)
2321 #define PWM_IRQ1_INTS_CH7_LSB    _u(7)
2322 #define PWM_IRQ1_INTS_CH7_ACCESS "RO"
2323 // -----------------------------------------------------------------------------
2324 // Field       : PWM_IRQ1_INTS_CH6
2325 #define PWM_IRQ1_INTS_CH6_RESET  _u(0x0)
2326 #define PWM_IRQ1_INTS_CH6_BITS   _u(0x00000040)
2327 #define PWM_IRQ1_INTS_CH6_MSB    _u(6)
2328 #define PWM_IRQ1_INTS_CH6_LSB    _u(6)
2329 #define PWM_IRQ1_INTS_CH6_ACCESS "RO"
2330 // -----------------------------------------------------------------------------
2331 // Field       : PWM_IRQ1_INTS_CH5
2332 #define PWM_IRQ1_INTS_CH5_RESET  _u(0x0)
2333 #define PWM_IRQ1_INTS_CH5_BITS   _u(0x00000020)
2334 #define PWM_IRQ1_INTS_CH5_MSB    _u(5)
2335 #define PWM_IRQ1_INTS_CH5_LSB    _u(5)
2336 #define PWM_IRQ1_INTS_CH5_ACCESS "RO"
2337 // -----------------------------------------------------------------------------
2338 // Field       : PWM_IRQ1_INTS_CH4
2339 #define PWM_IRQ1_INTS_CH4_RESET  _u(0x0)
2340 #define PWM_IRQ1_INTS_CH4_BITS   _u(0x00000010)
2341 #define PWM_IRQ1_INTS_CH4_MSB    _u(4)
2342 #define PWM_IRQ1_INTS_CH4_LSB    _u(4)
2343 #define PWM_IRQ1_INTS_CH4_ACCESS "RO"
2344 // -----------------------------------------------------------------------------
2345 // Field       : PWM_IRQ1_INTS_CH3
2346 #define PWM_IRQ1_INTS_CH3_RESET  _u(0x0)
2347 #define PWM_IRQ1_INTS_CH3_BITS   _u(0x00000008)
2348 #define PWM_IRQ1_INTS_CH3_MSB    _u(3)
2349 #define PWM_IRQ1_INTS_CH3_LSB    _u(3)
2350 #define PWM_IRQ1_INTS_CH3_ACCESS "RO"
2351 // -----------------------------------------------------------------------------
2352 // Field       : PWM_IRQ1_INTS_CH2
2353 #define PWM_IRQ1_INTS_CH2_RESET  _u(0x0)
2354 #define PWM_IRQ1_INTS_CH2_BITS   _u(0x00000004)
2355 #define PWM_IRQ1_INTS_CH2_MSB    _u(2)
2356 #define PWM_IRQ1_INTS_CH2_LSB    _u(2)
2357 #define PWM_IRQ1_INTS_CH2_ACCESS "RO"
2358 // -----------------------------------------------------------------------------
2359 // Field       : PWM_IRQ1_INTS_CH1
2360 #define PWM_IRQ1_INTS_CH1_RESET  _u(0x0)
2361 #define PWM_IRQ1_INTS_CH1_BITS   _u(0x00000002)
2362 #define PWM_IRQ1_INTS_CH1_MSB    _u(1)
2363 #define PWM_IRQ1_INTS_CH1_LSB    _u(1)
2364 #define PWM_IRQ1_INTS_CH1_ACCESS "RO"
2365 // -----------------------------------------------------------------------------
2366 // Field       : PWM_IRQ1_INTS_CH0
2367 #define PWM_IRQ1_INTS_CH0_RESET  _u(0x0)
2368 #define PWM_IRQ1_INTS_CH0_BITS   _u(0x00000001)
2369 #define PWM_IRQ1_INTS_CH0_MSB    _u(0)
2370 #define PWM_IRQ1_INTS_CH0_LSB    _u(0)
2371 #define PWM_IRQ1_INTS_CH0_ACCESS "RO"
2372 // =============================================================================
2373 #endif // _HARDWARE_REGS_PWM_H
2374 
2375