CC35xxDriverLibrary
hw_host_dma.h
Go to the documentation of this file.
1 /******************************************************************************
2 * Filename: hw_host_dma.h
3 *
4 * Description: Defines and prototypes for the HOST_DMA peripheral.
5 *
6 * Copyright (c) 2023-2025, Texas Instruments Incorporated
7 * All rights reserved.
8 *
9 * Redistribution and use in source and binary forms, with or without
10 * modification, are permitted provided that the following conditions are met:
11 *
12 * 1) Redistributions of source code must retain the above copyright notice,
13 * this list of conditions and the following disclaimer.
14 *
15 * 2) Redistributions in binary form must reproduce the above copyright notice,
16 * this list of conditions and the following disclaimer in the documentation
17 * and/or other materials provided with the distribution.
18 *
19 * 3) Neither the name of the ORGANIZATION nor the names of its contributors may
20 * be used to endorse or promote products derived from this software without
21 * specific prior written permission.
22 *
23  THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
24 * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
25 * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
26 * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
27 * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
28 * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
29 * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
30 * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
31 * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
32 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
33 * POSSIBILITY OF SUCH DAMAGE.
34 *
35 ******************************************************************************/
36 #ifndef __HW_HOST_DMA_H__
37 #define __HW_HOST_DMA_H__
38 /*-------------------------------------------------------------------------------
39 
40 This section defines the register offsets of the HOST_DMA component
41 
42 --------------------------------------------------------------------------------- */
43 
44 //Host DMA Channel Controlled by Defined Peripheral
45 #define HOST_DMA_O_CHCTL0 0x00000000U
46 
47 //Host DMA Channel Controlled by Defined Peripheral
48 #define HOST_DMA_O_CHCTL1 0x00000004U
49 
50 //Priority Channel Configuration
51 #define HOST_DMA_O_PRIOCFG 0x00000018U
52 
53 //Channel Status FSM state and run indication
54 #define HOST_DMA_O_CH0STA 0x00001000U
55 
56 //Input Pointer Channel Transaction
57 #define HOST_DMA_O_CH0TIPTR 0x00001004U
58 
59 //Output Pointer Channel Transaction
60 #define HOST_DMA_O_CH0OPTR 0x00001008U
61 
62 //Transaction control
63 #define HOST_DMA_O_CH0TCTL 0x0000100CU
64 
65 //DMA command interface
66 #define HOST_DMA_O_CH0TCTL2 0x00001010U
67 
68 //Transaction Status
69 #define HOST_DMA_O_CH0TSTA 0x00001014U
70 
71 //Job control register
72 #define HOST_DMA_O_CH0JCTL 0x0000101CU
73 
74 //Channel Status FSM state and run indication
75 #define HOST_DMA_O_CH1STA 0x00002000U
76 
77 //32 bit address pointer of channel current input
78 #define HOST_DMA_O_CH1TIPTR 0x00002004U
79 
80 //32 bit address pointer of channel current output
81 #define HOST_DMA_O_CH1TOPTR 0x00002008U
82 
83 //Transaction control
84 #define HOST_DMA_O_CH1TCTL 0x0000200CU
85 
86 //DMA command interface
87 #define HOST_DMA_O_CH1TCTRL2 0x00002010U
88 
89 //Job completion reason - either last transaction or exception
90 #define HOST_DMA_O_CH1TSTA 0x00002014U
91 
92 //Job control register
93 #define HOST_DMA_O_CH1JCTL 0x0000201CU
94 
95 //Channel Status FSM state and run indication
96 #define HOST_DMA_O_CH2STA 0x00003000U
97 
98 //32 bit address pointer of channel current input
99 #define HOST_DMA_O_CH2TIPTR 0x00003004U
100 
101 //32 bit address pointer of channel current output
102 #define HOST_DMA_O_CH2TOPTR 0x00003008U
103 
104 //Transaction control
105 #define HOST_DMA_O_CH2TCTL 0x0000300CU
106 
107 //DMA command interface
108 #define HOST_DMA_O_CH2TCTL2 0x00003010U
109 
110 //Job completion reason - either last transaction or exception
111 #define HOST_DMA_O_CH2TSTA 0x00003014U
112 
113 //Job control register
114 #define HOST_DMA_O_CH2JCTL 0x0000301CU
115 
116 //Channel Status FSM state and run indication
117 #define HOST_DMA_O_CH3STA 0x00004000U
118 
119 //32 bit address pointer of channel current input
120 #define HOST_DMA_O_CH3TIPTR 0x00004004U
121 
122 //32 bit address pointer of channel current output
123 #define HOST_DMA_O_CH3TOPTR 0x00004008U
124 
125 //Transaction control
126 #define HOST_DMA_O_CH3TCTL 0x0000400CU
127 
128 //DMA command interface
129 #define HOST_DMA_O_CH3TCTL2 0x00004010U
130 
131 //Job completion reason - either last transaction or exception
132 #define HOST_DMA_O_CH3TSTA 0x00004014U
133 
134 //Job control register
135 #define HOST_DMA_O_CH3JCTL 0x0000401CU
136 
137 //Channel Status FSM state and run indication
138 #define HOST_DMA_O_CH4STA 0x00005000U
139 
140 //32 bit address pointer of channel current input
141 #define HOST_DMA_O_CH4TIPTR 0x00005004U
142 
143 //32 bit address pointer of channel current output
144 #define HOST_DMA_O_CH4TOPTR 0x00005008U
145 
146 //Transaction control
147 #define HOST_DMA_O_CH4TCTL 0x0000500CU
148 
149 //DMA command interface
150 #define HOST_DMA_O_CH4TCTL2 0x00005010U
151 
152 //Job completion reason - either last transaction or exception
153 #define HOST_DMA_O_CH4TSTA 0x00005014U
154 
155 //Job control register
156 #define HOST_DMA_O_CH4JCTL 0x0000501CU
157 
158 //Channel Status FSM state and run indication
159 #define HOST_DMA_O_CH5STA 0x00006000U
160 
161 //32 bit address pointer of channel current input
162 #define HOST_DMA_O_CH5TIPTR 0x00006004U
163 
164 //32 bit address pointer of channel current output
165 #define HOST_DMA_O_CH5TOPTR 0x00006008U
166 
167 //Transaction control
168 #define HOST_DMA_O_CH5TCTL 0x0000600CU
169 
170 //DMA command interface
171 #define HOST_DMA_O_CH5TCTL2 0x00006010U
172 
173 //Job completion reason - either last transaction or exception
174 #define HOST_DMA_O_CH5TSTA 0x00006014U
175 
176 //Job control register
177 #define HOST_DMA_O_CH5JCTL 0x0000601CU
178 
179 //Channel Status FSM state and run indication
180 #define HOST_DMA_O_CH6STA 0x00007000U
181 
182 //32 bit address pointer of channel current input
183 #define HOST_DMA_O_CH6TIPTR 0x00007004U
184 
185 //32 bit address pointer of channel current output
186 #define HOST_DMA_O_CH6TOPTR 0x00007008U
187 
188 //Transaction control
189 #define HOST_DMA_O_CH6TCTL 0x0000700CU
190 
191 //DMA command interface
192 #define HOST_DMA_O_CH6TCTL2 0x00007010U
193 
194 //Job completion reason - either last transaction or exception
195 #define HOST_DMA_O_CH6TSTA 0x00007014U
196 
197 //Job control register
198 #define HOST_DMA_O_CH6JCTL 0x0000701CU
199 
200 //Channel Status FSM state and run indication
201 #define HOST_DMA_O_CH7STA 0x00008000U
202 
203 //32 bit address pointer of channel current input
204 #define HOST_DMA_O_CH7TIPTR 0x00008004U
205 
206 //32 bit address pointer of channel current output
207 #define HOST_DMA_O_CH7TOPTR 0x00008008U
208 
209 //Transaction control
210 #define HOST_DMA_O_CH7TCTL 0x0000800CU
211 
212 //DMA command interface
213 #define HOST_DMA_O_CH7TCTL2 0x00008010U
214 
215 //Job completion reason - either last transaction or exception
216 #define HOST_DMA_O_CH7TSTA 0x00008014U
217 
218 //Job control register
219 #define HOST_DMA_O_CH7JCTL 0x0000801CU
220 
221 //Channel Status FSM state and run indication
222 #define HOST_DMA_O_CH8STA 0x00009000U
223 
224 //32 bit address pointer of channel current input
225 #define HOST_DMA_O_CH8TIPTR 0x00009004U
226 
227 //32 bit address pointer of channel current output
228 #define HOST_DMA_O_CH8TOPTR 0x00009008U
229 
230 //Transaction control
231 #define HOST_DMA_O_CH8TCTL 0x0000900CU
232 
233 //DMA command interface
234 #define HOST_DMA_O_CH8TCTL2 0x00009010U
235 
236 //Job completion reason - either last transaction or exception
237 #define HOST_DMA_O_CH8TSTA 0x00009014U
238 
239 //Job control register
240 #define HOST_DMA_O_CH8JCTL 0x0000901CU
241 
242 //Channel Status FSM state and run indication
243 #define HOST_DMA_O_CH9STA 0x0000A000U
244 
245 //32 bit address pointer of channel current input
246 #define HOST_DMA_O_CH9TIPTR 0x0000A004U
247 
248 //32 bit address pointer of channel current output
249 #define HOST_DMA_O_CH9TOPTR 0x0000A008U
250 
251 //Transaction control
252 #define HOST_DMA_O_CH9TCTL 0x0000A00CU
253 
254 //DMA command interface
255 #define HOST_DMA_O_CH9TCTL2 0x0000A010U
256 
257 //Job completion reason - either last transaction or exception
258 #define HOST_DMA_O_CH9TSTA 0x0000A014U
259 
260 //Job control register
261 #define HOST_DMA_O_CH9JCTL 0x0000A01CU
262 
263 //Channel Status FSM state and run indication
264 #define HOST_DMA_O_CH10STA 0x0000B000U
265 
266 //32 bit address pointer of channel current input
267 #define HOST_DMA_O_CH10TIPTR 0x0000B004U
268 
269 //32 bit address pointer of channel current output
270 #define HOST_DMA_O_CH10TOPTR 0x0000B008U
271 
272 //Transaction control
273 #define HOST_DMA_O_CH10TCTL 0x0000B00CU
274 
275 //DMA command interface
276 #define HOST_DMA_O_CH10TCTL2 0x0000B010U
277 
278 //Job completion reason - either last transaction or exception
279 #define HOST_DMA_O_CH10TSTA 0x0000B014U
280 
281 //Job control register
282 #define HOST_DMA_O_CH10JCTL 0x0000B01CU
283 
284 //Channel Status FSM state and run indication
285 #define HOST_DMA_O_CH11STA 0x0000C000U
286 
287 //32 bit address pointer of channel current input
288 #define HOST_DMA_O_CH11TIPTR 0x0000C004U
289 
290 //32 bit address pointer of channel current output
291 #define HOST_DMA_O_CH11TOPTR 0x0000C008U
292 
293 //Transaction control
294 #define HOST_DMA_O_CH11TCTL 0x0000C00CU
295 
296 //DMA command interface
297 #define HOST_DMA_O_CH11TCTL2 0x0000C010U
298 
299 //Job completion reason - either last transaction or exception
300 #define HOST_DMA_O_CH11TSTA 0x0000C014U
301 
302 //Job control register
303 #define HOST_DMA_O_CH11JCTL 0x0000C01CU
304 
305 //Channel Status FSM state and run indication
306 #define HOST_DMA_O_CH12STA 0x0000D000U
307 
308 //32 bit address pointer of channel current input
309 #define HOST_DMA_O_CH12TIPTR 0x0000D004U
310 
311 //32 bit address pointer of channel current output
312 #define HOST_DMA_O_CH12TOPTR 0x0000D008U
313 
314 //Transaction control
315 #define HOST_DMA_O_CH12TCTL 0x0000D00CU
316 
317 //DMA command interface
318 #define HOST_DMA_O_CH12TCTL2 0x0000D010U
319 
320 //Job completion reason - either last transaction or exception
321 #define HOST_DMA_O_CH12TSTA 0x0000D014U
322 
323 //Job control register
324 #define HOST_DMA_O_CH12JCTL 0x0000D01CU
325 
326 //Channel Status FSM state and run indication
327 #define HOST_DMA_O_CH13STA 0x0000E000U
328 
329 //32 bit address pointer of channel current input
330 #define HOST_DMA_O_CH13TIPTR 0x0000E004U
331 
332 //32 bit address pointer of channel current output
333 #define HOST_DMA_O_CH13TOPTR 0x0000E008U
334 
335 //Transaction control
336 #define HOST_DMA_O_CH13TCTL 0x0000E00CU
337 
338 //DMA command interface
339 #define HOST_DMA_O_CH13TCTL2 0x0000E010U
340 
341 //Job completion reason - either last transaction or exception
342 #define HOST_DMA_O_CH13TSTA 0x0000E014U
343 
344 //Job control register
345 #define HOST_DMA_O_CH13JCTL 0x0000E01CU
346 
347 
348 
349 /*-----------------------------------REGISTER------------------------------------
350  Register name: CHCTL0
351  Offset name: HOST_DMA_O_CHCTL0
352  Relative address: 0x0
353  Description: Host DMA Channel Controlled by Defined Peripheral.
354 
355  The value of each fields concats with [HOST_DMA:JOBCTLCHx.SRCDSTCFG] (when x is channel num)
356  if [CHCTL0.CHx] = 4 and [JOBCTLCHx.SRCDSTCFG] = 1 (value = 0100_1 = 9)
357  then flow control signals of channel x are connected to periph number 9 flow control signals
358 
359  Note: [CHCTL0.CHx] = 0xF is forbidden. This configuration should be only used for Dynamic Switch
360  Default Value: 0x00000000
361 
362  Field: CH0
363  From..to bits: 0...3
364  DefaultValue: 0x0
365  Access type: read-write
366  Description: Channel 0 Control.
367  Flow control signals:
368  25 UART2 TX
369  24 UART2 RX
370  23 HIF TX
371  22 HIF RX
372  21 Not Valid - PDM has only read
373  20 PDM
374  19 Not Valid - ADC has only read
375  18 ADC
376  17 MCAN TX
377  16 MCAN RX
378  15 SDIO TX
379  14 SDIO RX
380  13 SDMMC TX
381  12 SDMMC RX
382  11 I2C1 TX
383  10 I2C1 RX
384  9 I2C0 TX
385  8 I2C0 RX
386  7 SPI1 TX
387  6 SPI1 RX
388  5 SPI0 TX
389  4 SPI0 RX
390  3 UART1 TX
391  2 UART1 RX
392  1 UART0 TX
393  0 UART0 RX
394 
395 
396  ENUMs:
397  UART0: UART0 peripheral
398  UART1: UART1 peripheral
399  SPIO: SPI0 peripheral
400  SPI1: SPI1 peripheral
401  I2C0: I2C0 peripheral
402  I2C1: I2C1 peripheral
403  SDMMC: SDMMC peripheral
404  SDIO: SDIO peripheral
405  MCAN: MCAN peripheral
406  ADC: ADC peripheral
407  PDM: PDM peripheral
408  HIF: HIF peripheral
409  UART2: UART2 peripheral
410 */
411 #define HOST_DMA_CHCTL0_CH0_W 4U
412 #define HOST_DMA_CHCTL0_CH0_M 0x0000000FU
413 #define HOST_DMA_CHCTL0_CH0_S 0U
414 #define HOST_DMA_CHCTL0_CH0_UART0 0x00000000U
415 #define HOST_DMA_CHCTL0_CH0_UART1 0x00000001U
416 #define HOST_DMA_CHCTL0_CH0_SPIO 0x00000002U
417 #define HOST_DMA_CHCTL0_CH0_SPI1 0x00000003U
418 #define HOST_DMA_CHCTL0_CH0_I2C0 0x00000004U
419 #define HOST_DMA_CHCTL0_CH0_I2C1 0x00000005U
420 #define HOST_DMA_CHCTL0_CH0_SDMMC 0x00000006U
421 #define HOST_DMA_CHCTL0_CH0_SDIO 0x00000007U
422 #define HOST_DMA_CHCTL0_CH0_MCAN 0x00000008U
423 #define HOST_DMA_CHCTL0_CH0_ADC 0x00000009U
424 #define HOST_DMA_CHCTL0_CH0_PDM 0x0000000AU
425 #define HOST_DMA_CHCTL0_CH0_HIF 0x0000000BU
426 #define HOST_DMA_CHCTL0_CH0_UART2 0x0000000CU
427 /*
428 
429  Field: CH1
430  From..to bits: 4...7
431  DefaultValue: 0x0
432  Access type: read-write
433  Description: Channel 1 Control.
434  Flow control signals:
435  25 UART2 TX
436  24 UART2 RX
437  23 HIF TX
438  22 HIF RX
439  21 Not Valid - PDM has only read
440  20 PDM
441  19 Not Valid - ADC has only read
442  18 ADC
443  17 MCAN TX
444  16 MCAN RX
445  15 SDIO TX
446  14 SDIO RX
447  13 SDMMC TX
448  12 SDMMC RX
449  11 I2C1 TX
450  10 I2C1 RX
451  9 I2C0 TX
452  8 I2C0 RX
453  7 SPI1 TX
454  6 SPI1 RX
455  5 SPI0 TX
456  4 SPI0 RX
457  3 UART1 TX
458  2 UART1 RX
459  1 UART0 TX
460  0 UART0 RX
461 
462 
463  ENUMs:
464  UART0: UART0 peripheral
465  UART1: UART1 peripheral
466  SPIO: SPI0 peripheral
467  SPI1: SPI1 peripheral
468  I2C0: I2C0 peripheral
469  I2C1: I2C1 peripheral
470  SDMMC: SDMMC peripheral
471  SDIO: SDIO peripheral
472  MCAN: MCAN peripheral
473  ADC: ADC peripheral
474  PDM: PDM peripheral
475  HIF: HIF peripheral
476  UART2: UART2 peripheral
477 */
478 #define HOST_DMA_CHCTL0_CH1_W 4U
479 #define HOST_DMA_CHCTL0_CH1_M 0x000000F0U
480 #define HOST_DMA_CHCTL0_CH1_S 4U
481 #define HOST_DMA_CHCTL0_CH1_UART0 0x00000000U
482 #define HOST_DMA_CHCTL0_CH1_UART1 0x00000010U
483 #define HOST_DMA_CHCTL0_CH1_SPIO 0x00000020U
484 #define HOST_DMA_CHCTL0_CH1_SPI1 0x00000030U
485 #define HOST_DMA_CHCTL0_CH1_I2C0 0x00000040U
486 #define HOST_DMA_CHCTL0_CH1_I2C1 0x00000050U
487 #define HOST_DMA_CHCTL0_CH1_SDMMC 0x00000060U
488 #define HOST_DMA_CHCTL0_CH1_SDIO 0x00000070U
489 #define HOST_DMA_CHCTL0_CH1_MCAN 0x00000080U
490 #define HOST_DMA_CHCTL0_CH1_ADC 0x00000090U
491 #define HOST_DMA_CHCTL0_CH1_PDM 0x000000A0U
492 #define HOST_DMA_CHCTL0_CH1_HIF 0x000000B0U
493 #define HOST_DMA_CHCTL0_CH1_UART2 0x000000C0U
494 /*
495 
496  Field: CH2
497  From..to bits: 8...11
498  DefaultValue: 0x0
499  Access type: read-write
500  Description: Channel 2 Control.
501  Flow control signals:
502  25 UART2 TX
503  24 UART2 RX
504  23 HIF TX
505  22 HIF RX
506  21 Not Valid - PDM has only read
507  20 PDM
508  19 Not Valid - ADC has only read
509  18 ADC
510  17 MCAN TX
511  16 MCAN RX
512  15 SDIO TX
513  14 SDIO RX
514  13 SDMMC TX
515  12 SDMMC RX
516  11 I2C1 TX
517  10 I2C1 RX
518  9 I2C0 TX
519  8 I2C0 RX
520  7 SPI1 TX
521  6 SPI1 RX
522  5 SPI0 TX
523  4 SPI0 RX
524  3 UART1 TX
525  2 UART1 RX
526  1 UART0 TX
527  0 UART0 RX
528 
529 
530  ENUMs:
531  UART0: UART0 peripheral
532  UART1: UART1 peripheral
533  SPIO: SPI0 peripheral
534  SPI1: SPI1 peripheral
535  I2C0: I2C0 peripheral
536  I2C1: I2C1 peripheral
537  SDMMC: SDMMC peripheral
538  SDIO: SDIO peripheral
539  MCAN: MCAN peripheral
540  ADC: ADC peripheral
541  PDM: PDM peripheral
542  HIF: HIF peripheral
543  UART2: UART2 peripheral
544 */
545 #define HOST_DMA_CHCTL0_CH2_W 4U
546 #define HOST_DMA_CHCTL0_CH2_M 0x00000F00U
547 #define HOST_DMA_CHCTL0_CH2_S 8U
548 #define HOST_DMA_CHCTL0_CH2_UART0 0x00000000U
549 #define HOST_DMA_CHCTL0_CH2_UART1 0x00000100U
550 #define HOST_DMA_CHCTL0_CH2_SPIO 0x00000200U
551 #define HOST_DMA_CHCTL0_CH2_SPI1 0x00000300U
552 #define HOST_DMA_CHCTL0_CH2_I2C0 0x00000400U
553 #define HOST_DMA_CHCTL0_CH2_I2C1 0x00000500U
554 #define HOST_DMA_CHCTL0_CH2_SDMMC 0x00000600U
555 #define HOST_DMA_CHCTL0_CH2_SDIO 0x00000700U
556 #define HOST_DMA_CHCTL0_CH2_MCAN 0x00000800U
557 #define HOST_DMA_CHCTL0_CH2_ADC 0x00000900U
558 #define HOST_DMA_CHCTL0_CH2_PDM 0x00000A00U
559 #define HOST_DMA_CHCTL0_CH2_HIF 0x00000B00U
560 #define HOST_DMA_CHCTL0_CH2_UART2 0x00000C00U
561 /*
562 
563  Field: CH3
564  From..to bits: 12...15
565  DefaultValue: 0x0
566  Access type: read-write
567  Description: Channel 3 Control.
568  Flow control signals:
569  25 UART2 TX
570  24 UART2 RX
571  23 HIF TX
572  22 HIF RX
573  21 Not Valid - PDM has only read
574  20 PDM
575  19 Not Valid - ADC has only read
576  18 ADC
577  17 MCAN TX
578  16 MCAN RX
579  15 SDIO TX
580  14 SDIO RX
581  13 SDMMC TX
582  12 SDMMC RX
583  11 I2C1 TX
584  10 I2C1 RX
585  9 I2C0 TX
586  8 I2C0 RX
587  7 SPI1 TX
588  6 SPI1 RX
589  5 SPI0 TX
590  4 SPI0 RX
591  3 UART1 TX
592  2 UART1 RX
593  1 UART0 TX
594  0 UART0 RX
595 
596 
597  ENUMs:
598  UART0: UART0 peripheral
599  UART1: UART1 peripheral
600  SPIO: SPI0 peripheral
601  SPI1: SPI1 peripheral
602  I2C0: I2C0 peripheral
603  I2C1: I2C1 peripheral
604  SDMMC: SDMMC peripheral
605  SDIO: SDIO peripheral
606  MCAN: MCAN peripheral
607  ADC: ADC peripheral
608  PDM: PDM peripheral
609  HIF: HIF peripheral
610  UART2: UART2 peripheral
611 */
612 #define HOST_DMA_CHCTL0_CH3_W 4U
613 #define HOST_DMA_CHCTL0_CH3_M 0x0000F000U
614 #define HOST_DMA_CHCTL0_CH3_S 12U
615 #define HOST_DMA_CHCTL0_CH3_UART0 0x00000000U
616 #define HOST_DMA_CHCTL0_CH3_UART1 0x00001000U
617 #define HOST_DMA_CHCTL0_CH3_SPIO 0x00002000U
618 #define HOST_DMA_CHCTL0_CH3_SPI1 0x00003000U
619 #define HOST_DMA_CHCTL0_CH3_I2C0 0x00004000U
620 #define HOST_DMA_CHCTL0_CH3_I2C1 0x00005000U
621 #define HOST_DMA_CHCTL0_CH3_SDMMC 0x00006000U
622 #define HOST_DMA_CHCTL0_CH3_SDIO 0x00007000U
623 #define HOST_DMA_CHCTL0_CH3_MCAN 0x00008000U
624 #define HOST_DMA_CHCTL0_CH3_ADC 0x00009000U
625 #define HOST_DMA_CHCTL0_CH3_PDM 0x0000A000U
626 #define HOST_DMA_CHCTL0_CH3_HIF 0x0000B000U
627 #define HOST_DMA_CHCTL0_CH3_UART2 0x0000C000U
628 /*
629 
630  Field: CH4
631  From..to bits: 16...19
632  DefaultValue: 0x0
633  Access type: read-write
634  Description: Channel 4 Control.
635  Flow control signals:
636  25 UART2 TX
637  24 UART2 RX
638  23 HIF TX
639  22 HIF RX
640  21 Not Valid - PDM has only read
641  20 PDM
642  19 Not Valid - ADC has only read
643  18 ADC
644  17 MCAN TX
645  16 MCAN RX
646  15 SDIO TX
647  14 SDIO RX
648  13 SDMMC TX
649  12 SDMMC RX
650  11 I2C1 TX
651  10 I2C1 RX
652  9 I2C0 TX
653  8 I2C0 RX
654  7 SPI1 TX
655  6 SPI1 RX
656  5 SPI0 TX
657  4 SPI0 RX
658  3 UART1 TX
659  2 UART1 RX
660  1 UART0 TX
661  0 UART0 RX
662 
663 
664  ENUMs:
665  UART0: UART0 peripheral
666  UART1: UART1 peripheral
667  SPIO: SPI0 peripheral
668  SPI1: SPI1 peripheral
669  I2C0: I2C0 peripheral
670  I2C1: I2C1 peripheral
671  SDMMC: SDMMC peripheral
672  SDIO: SDIO peripheral
673  MCAN: MCAN peripheral
674  ADC: ADC peripheral
675  PDM: PDM peripheral
676  HIF: HIF peripheral
677  UART2: UART2 peripheral
678 */
679 #define HOST_DMA_CHCTL0_CH4_W 4U
680 #define HOST_DMA_CHCTL0_CH4_M 0x000F0000U
681 #define HOST_DMA_CHCTL0_CH4_S 16U
682 #define HOST_DMA_CHCTL0_CH4_UART0 0x00000000U
683 #define HOST_DMA_CHCTL0_CH4_UART1 0x00010000U
684 #define HOST_DMA_CHCTL0_CH4_SPIO 0x00020000U
685 #define HOST_DMA_CHCTL0_CH4_SPI1 0x00030000U
686 #define HOST_DMA_CHCTL0_CH4_I2C0 0x00040000U
687 #define HOST_DMA_CHCTL0_CH4_I2C1 0x00050000U
688 #define HOST_DMA_CHCTL0_CH4_SDMMC 0x00060000U
689 #define HOST_DMA_CHCTL0_CH4_SDIO 0x00070000U
690 #define HOST_DMA_CHCTL0_CH4_MCAN 0x00080000U
691 #define HOST_DMA_CHCTL0_CH4_ADC 0x00090000U
692 #define HOST_DMA_CHCTL0_CH4_PDM 0x000A0000U
693 #define HOST_DMA_CHCTL0_CH4_HIF 0x000B0000U
694 #define HOST_DMA_CHCTL0_CH4_UART2 0x000C0000U
695 /*
696 
697  Field: CH5
698  From..to bits: 20...23
699  DefaultValue: 0x0
700  Access type: read-write
701  Description: Channel 5 Control.
702  Flow control signals:
703  25 UART2 TX
704  24 UART2 RX
705  23 HIF TX
706  22 HIF RX
707  21 Not Valid - PDM has only read
708  20 PDM
709  19 Not Valid - ADC has only read
710  18 ADC
711  17 MCAN TX
712  16 MCAN RX
713  15 SDIO TX
714  14 SDIO RX
715  13 SDMMC TX
716  12 SDMMC RX
717  11 I2C1 TX
718  10 I2C1 RX
719  9 I2C0 TX
720  8 I2C0 RX
721  7 SPI1 TX
722  6 SPI1 RX
723  5 SPI0 TX
724  4 SPI0 RX
725  3 UART1 TX
726  2 UART1 RX
727  1 UART0 TX
728  0 UART0 RX
729 
730 
731  ENUMs:
732  UART0: UART0 peripheral
733  UART1: UART1 peripheral
734  SPIO: SPI0 peripheral
735  SPI1: SPI1 peripheral
736  I2C0: I2C0 peripheral
737  I2C1: I2C1 peripheral
738  SDMMC: SDMMC peripheral
739  SDIO: SDIO peripheral
740  MCAN: MCAN peripheral
741  ADC: ADC peripheral
742  PDM: PDM peripheral
743  HIF: HIF peripheral
744  UART2: UART2 peripheral
745 */
746 #define HOST_DMA_CHCTL0_CH5_W 4U
747 #define HOST_DMA_CHCTL0_CH5_M 0x00F00000U
748 #define HOST_DMA_CHCTL0_CH5_S 20U
749 #define HOST_DMA_CHCTL0_CH5_UART0 0x00000000U
750 #define HOST_DMA_CHCTL0_CH5_UART1 0x00100000U
751 #define HOST_DMA_CHCTL0_CH5_SPIO 0x00200000U
752 #define HOST_DMA_CHCTL0_CH5_SPI1 0x00300000U
753 #define HOST_DMA_CHCTL0_CH5_I2C0 0x00400000U
754 #define HOST_DMA_CHCTL0_CH5_I2C1 0x00500000U
755 #define HOST_DMA_CHCTL0_CH5_SDMMC 0x00600000U
756 #define HOST_DMA_CHCTL0_CH5_SDIO 0x00700000U
757 #define HOST_DMA_CHCTL0_CH5_MCAN 0x00800000U
758 #define HOST_DMA_CHCTL0_CH5_ADC 0x00900000U
759 #define HOST_DMA_CHCTL0_CH5_PDM 0x00A00000U
760 #define HOST_DMA_CHCTL0_CH5_HIF 0x00B00000U
761 #define HOST_DMA_CHCTL0_CH5_UART2 0x00C00000U
762 /*
763 
764  Field: CH6
765  From..to bits: 24...27
766  DefaultValue: 0x0
767  Access type: read-write
768  Description: Channel 6 Control.
769  Flow control signals:
770  25 UART2 TX
771  24 UART2 RX
772  23 HIF TX
773  22 HIF RX
774  21 Not Valid - PDM has only read
775  20 PDM
776  19 Not Valid - ADC has only read
777  18 ADC
778  17 MCAN TX
779  16 MCAN RX
780  15 SDIO TX
781  14 SDIO RX
782  13 SDMMC TX
783  12 SDMMC RX
784  11 I2C1 TX
785  10 I2C1 RX
786  9 I2C0 TX
787  8 I2C0 RX
788  7 SPI1 TX
789  6 SPI1 RX
790  5 SPI0 TX
791  4 SPI0 RX
792  3 UART1 TX
793  2 UART1 RX
794  1 UART0 TX
795  0 UART0 RX
796 
797 
798  ENUMs:
799  UART0: UART0 peripheral
800  UART1: UART1 peripheral
801  SPIO: SPI0 peripheral
802  SPI1: SPI1 peripheral
803  I2C0: I2C0 peripheral
804  I2C1: I2C1 peripheral
805  SDMMC: SDMMC peripheral
806  SDIO: SDIO peripheral
807  MCAN: MCAN peripheral
808  ADC: ADC peripheral
809  PDM: PDM peripheral
810  HIF: HIF peripheral
811  UART2: UART2 peripheral
812 */
813 #define HOST_DMA_CHCTL0_CH6_W 4U
814 #define HOST_DMA_CHCTL0_CH6_M 0x0F000000U
815 #define HOST_DMA_CHCTL0_CH6_S 24U
816 #define HOST_DMA_CHCTL0_CH6_UART0 0x00000000U
817 #define HOST_DMA_CHCTL0_CH6_UART1 0x01000000U
818 #define HOST_DMA_CHCTL0_CH6_SPIO 0x02000000U
819 #define HOST_DMA_CHCTL0_CH6_SPI1 0x03000000U
820 #define HOST_DMA_CHCTL0_CH6_I2C0 0x04000000U
821 #define HOST_DMA_CHCTL0_CH6_I2C1 0x05000000U
822 #define HOST_DMA_CHCTL0_CH6_SDMMC 0x06000000U
823 #define HOST_DMA_CHCTL0_CH6_SDIO 0x07000000U
824 #define HOST_DMA_CHCTL0_CH6_MCAN 0x08000000U
825 #define HOST_DMA_CHCTL0_CH6_ADC 0x09000000U
826 #define HOST_DMA_CHCTL0_CH6_PDM 0x0A000000U
827 #define HOST_DMA_CHCTL0_CH6_HIF 0x0B000000U
828 #define HOST_DMA_CHCTL0_CH6_UART2 0x0C000000U
829 /*
830 
831  Field: CH7
832  From..to bits: 28...31
833  DefaultValue: 0x0
834  Access type: read-write
835  Description: Channel 7 Control.
836  Flow control signals:
837  25 UART2 TX
838  24 UART2 RX
839  23 HIF TX
840  22 HIF RX
841  21 Not Valid - PDM has only read
842  20 PDM
843  19 Not Valid - ADC has only read
844  18 ADC
845  17 MCAN TX
846  16 MCAN RX
847  15 SDIO TX
848  14 SDIO RX
849  13 SDMMC TX
850  12 SDMMC RX
851  11 I2C1 TX
852  10 I2C1 RX
853  9 I2C0 TX
854  8 I2C0 RX
855  7 SPI1 TX
856  6 SPI1 RX
857  5 SPI0 TX
858  4 SPI0 RX
859  3 UART1 TX
860  2 UART1 RX
861  1 UART0 TX
862  0 UART0 RX
863 
864 
865  ENUMs:
866  UART0: UART0 peripheral
867  UART1: UART1 peripheral
868  SPIO: SPI0 peripheral
869  SPI1: SPI1 peripheral
870  I2C0: I2C0 peripheral
871  I2C1: I2C1 peripheral
872  SDMMC: SDMMC peripheral
873  SDIO: SDIO peripheral
874  MCAN: MCAN peripheral
875  ADC: ADC peripheral
876  PDM: PDM peripheral
877  HIF: HIF peripheral
878  UART2: UART2 peripheral
879 */
880 #define HOST_DMA_CHCTL0_CH7_W 4U
881 #define HOST_DMA_CHCTL0_CH7_M 0xF0000000U
882 #define HOST_DMA_CHCTL0_CH7_S 28U
883 #define HOST_DMA_CHCTL0_CH7_UART0 0x00000000U
884 #define HOST_DMA_CHCTL0_CH7_UART1 0x10000000U
885 #define HOST_DMA_CHCTL0_CH7_SPIO 0x20000000U
886 #define HOST_DMA_CHCTL0_CH7_SPI1 0x30000000U
887 #define HOST_DMA_CHCTL0_CH7_I2C0 0x40000000U
888 #define HOST_DMA_CHCTL0_CH7_I2C1 0x50000000U
889 #define HOST_DMA_CHCTL0_CH7_SDMMC 0x60000000U
890 #define HOST_DMA_CHCTL0_CH7_SDIO 0x70000000U
891 #define HOST_DMA_CHCTL0_CH7_MCAN 0x80000000U
892 #define HOST_DMA_CHCTL0_CH7_ADC 0x90000000U
893 #define HOST_DMA_CHCTL0_CH7_PDM 0xA0000000U
894 #define HOST_DMA_CHCTL0_CH7_HIF 0xB0000000U
895 #define HOST_DMA_CHCTL0_CH7_UART2 0xC0000000U
896 
897 
898 /*-----------------------------------REGISTER------------------------------------
899  Register name: CHCTL1
900  Offset name: HOST_DMA_O_CHCTL1
901  Relative address: 0x4
902  Description: Host DMA Channel Controlled by Defined Peripheral.
903 
904  The value of each fields concats with [HOST_DMA:JOBCTLCHx.SRCDSTCFG] (when x is channel num)
905  if [CHCTL1.CHx] = 4 and [JOBCTLCHx.SRCDSTCFG] = 1 (value = 0100_1 = 9)
906  then flow control signals of channel x are connected to periph number 9 flow control signals
907 
908  Note: [CHCTL0.CHx] = 0xF is forbidden. This configuration should be only used for Dynamic Switch
909  Default Value: 0x00000000
910 
911  Field: CH8
912  From..to bits: 0...3
913  DefaultValue: 0x0
914  Access type: read-write
915  Description: Channel 8 Control.
916  Flow control signals:
917  25 UART2 TX
918  24 UART2 RX
919  23 HIF TX
920  22 HIF RX
921  21 Not Valid - PDM has only read
922  20 PDM
923  19 Not Valid - ADC has only read
924  18 ADC
925  17 MCAN TX
926  16 MCAN RX
927  15 SDIO TX
928  14 SDIO RX
929  13 SDMMC TX
930  12 SDMMC RX
931  11 I2C1 TX
932  10 I2C1 RX
933  9 I2C0 TX
934  8 I2C0 RX
935  7 SPI1 TX
936  6 SPI1 RX
937  5 SPI0 TX
938  4 SPI0 RX
939  3 UART1 TX
940  2 UART1 RX
941  1 UART0 TX
942  0 UART0 RX
943 
944 
945  ENUMs:
946  UART0: UART0 peripheral
947  UART1: UART1 peripheral
948  SPIO: SPI0 peripheral
949  SPI1: SPI1 peripheral
950  I2C0: I2C0 peripheral
951  I2C1: I2C1 peripheral
952  SDMMC: SDMMC peripheral
953  SDIO: SDIO peripheral
954  MCAN: MCAN peripheral
955  ADC: ADC peripheral
956  PDM: PDM peripheral
957  HIF: HIF peripheral
958  UART2: UART2 peripheral
959 */
960 #define HOST_DMA_CHCTL1_CH8_W 4U
961 #define HOST_DMA_CHCTL1_CH8_M 0x0000000FU
962 #define HOST_DMA_CHCTL1_CH8_S 0U
963 #define HOST_DMA_CHCTL1_CH8_UART0 0x00000000U
964 #define HOST_DMA_CHCTL1_CH8_UART1 0x00000001U
965 #define HOST_DMA_CHCTL1_CH8_SPIO 0x00000002U
966 #define HOST_DMA_CHCTL1_CH8_SPI1 0x00000003U
967 #define HOST_DMA_CHCTL1_CH8_I2C0 0x00000004U
968 #define HOST_DMA_CHCTL1_CH8_I2C1 0x00000005U
969 #define HOST_DMA_CHCTL1_CH8_SDMMC 0x00000006U
970 #define HOST_DMA_CHCTL1_CH8_SDIO 0x00000007U
971 #define HOST_DMA_CHCTL1_CH8_MCAN 0x00000008U
972 #define HOST_DMA_CHCTL1_CH8_ADC 0x00000009U
973 #define HOST_DMA_CHCTL1_CH8_PDM 0x0000000AU
974 #define HOST_DMA_CHCTL1_CH8_HIF 0x0000000BU
975 #define HOST_DMA_CHCTL1_CH8_UART2 0x0000000CU
976 /*
977 
978  Field: CH9
979  From..to bits: 4...7
980  DefaultValue: 0x0
981  Access type: read-write
982  Description: Channel 9 Control.
983  Flow control signals:
984  25 UART2 TX
985  24 UART2 RX
986  23 HIF TX
987  22 HIF RX
988  21 Not Valid - PDM has only read
989  20 PDM
990  19 Not Valid - ADC has only read
991  18 ADC
992  17 MCAN TX
993  16 MCAN RX
994  15 SDIO TX
995  14 SDIO RX
996  13 SDMMC TX
997  12 SDMMC RX
998  11 I2C1 TX
999  10 I2C1 RX
1000  9 I2C0 TX
1001  8 I2C0 RX
1002  7 SPI1 TX
1003  6 SPI1 RX
1004  5 SPI0 TX
1005  4 SPI0 RX
1006  3 UART1 TX
1007  2 UART1 RX
1008  1 UART0 TX
1009  0 UART0 RX
1010 
1011 
1012  ENUMs:
1013  UART0: UART0 peripheral
1014  UART1: UART1 peripheral
1015  SPIO: SPI0 peripheral
1016  SPI1: SPI1 peripheral
1017  I2C0: I2C0 peripheral
1018  I2C1: I2C1 peripheral
1019  SDMMC: SDMMC peripheral
1020  SDIO: SDIO peripheral
1021  MCAN: MCAN peripheral
1022  ADC: ADC peripheral
1023  PDM: PDM peripheral
1024  HIF: HIF peripheral
1025  UART2: UART2 peripheral
1026 */
1027 #define HOST_DMA_CHCTL1_CH9_W 4U
1028 #define HOST_DMA_CHCTL1_CH9_M 0x000000F0U
1029 #define HOST_DMA_CHCTL1_CH9_S 4U
1030 #define HOST_DMA_CHCTL1_CH9_UART0 0x00000000U
1031 #define HOST_DMA_CHCTL1_CH9_UART1 0x00000010U
1032 #define HOST_DMA_CHCTL1_CH9_SPIO 0x00000020U
1033 #define HOST_DMA_CHCTL1_CH9_SPI1 0x00000030U
1034 #define HOST_DMA_CHCTL1_CH9_I2C0 0x00000040U
1035 #define HOST_DMA_CHCTL1_CH9_I2C1 0x00000050U
1036 #define HOST_DMA_CHCTL1_CH9_SDMMC 0x00000060U
1037 #define HOST_DMA_CHCTL1_CH9_SDIO 0x00000070U
1038 #define HOST_DMA_CHCTL1_CH9_MCAN 0x00000080U
1039 #define HOST_DMA_CHCTL1_CH9_ADC 0x00000090U
1040 #define HOST_DMA_CHCTL1_CH9_PDM 0x000000A0U
1041 #define HOST_DMA_CHCTL1_CH9_HIF 0x000000B0U
1042 #define HOST_DMA_CHCTL1_CH9_UART2 0x000000C0U
1043 /*
1044 
1045  Field: CH10
1046  From..to bits: 8...11
1047  DefaultValue: 0x0
1048  Access type: read-write
1049  Description: Channel 10 Control.
1050  Flow control signals:
1051  25 UART2 TX
1052  24 UART2 RX
1053  23 HIF TX
1054  22 HIF RX
1055  21 Not Valid - PDM has only read
1056  20 PDM
1057  19 Not Valid - ADC has only read
1058  18 ADC
1059  17 MCAN TX
1060  16 MCAN RX
1061  15 SDIO TX
1062  14 SDIO RX
1063  13 SDMMC TX
1064  12 SDMMC RX
1065  11 I2C1 TX
1066  10 I2C1 RX
1067  9 I2C0 TX
1068  8 I2C0 RX
1069  7 SPI1 TX
1070  6 SPI1 RX
1071  5 SPI0 TX
1072  4 SPI0 RX
1073  3 UART1 TX
1074  2 UART1 RX
1075  1 UART0 TX
1076  0 UART0 RX
1077 
1078 
1079  ENUMs:
1080  UART0: UART0 peripheral
1081  UART1: UART1 peripheral
1082  SPIO: SPI0 peripheral
1083  SPI1: SPI1 peripheral
1084  I2C0: I2C0 peripheral
1085  I2C1: I2C1 peripheral
1086  SDMMC: SDMMC peripheral
1087  SDIO: SDIO peripheral
1088  MCAN: MCAN peripheral
1089  ADC: ADC peripheral
1090  PDM: PDM peripheral
1091  HIF: HIF peripheral
1092  UART2: UART2 peripheral
1093 */
1094 #define HOST_DMA_CHCTL1_CH10_W 4U
1095 #define HOST_DMA_CHCTL1_CH10_M 0x00000F00U
1096 #define HOST_DMA_CHCTL1_CH10_S 8U
1097 #define HOST_DMA_CHCTL1_CH10_UART0 0x00000000U
1098 #define HOST_DMA_CHCTL1_CH10_UART1 0x00000100U
1099 #define HOST_DMA_CHCTL1_CH10_SPIO 0x00000200U
1100 #define HOST_DMA_CHCTL1_CH10_SPI1 0x00000300U
1101 #define HOST_DMA_CHCTL1_CH10_I2C0 0x00000400U
1102 #define HOST_DMA_CHCTL1_CH10_I2C1 0x00000500U
1103 #define HOST_DMA_CHCTL1_CH10_SDMMC 0x00000600U
1104 #define HOST_DMA_CHCTL1_CH10_SDIO 0x00000700U
1105 #define HOST_DMA_CHCTL1_CH10_MCAN 0x00000800U
1106 #define HOST_DMA_CHCTL1_CH10_ADC 0x00000900U
1107 #define HOST_DMA_CHCTL1_CH10_PDM 0x00000A00U
1108 #define HOST_DMA_CHCTL1_CH10_HIF 0x00000B00U
1109 #define HOST_DMA_CHCTL1_CH10_UART2 0x00000C00U
1110 /*
1111 
1112  Field: CH11
1113  From..to bits: 12...15
1114  DefaultValue: 0x0
1115  Access type: read-write
1116  Description: Channel 11 Control.
1117  Flow control signals:
1118  25 UART2 TX
1119  24 UART2 RX
1120  23 HIF TX
1121  22 HIF RX
1122  21 Not Valid - PDM has only read
1123  20 PDM
1124  19 Not Valid - ADC has only read
1125  18 ADC
1126  17 MCAN TX
1127  16 MCAN RX
1128  15 SDIO TX
1129  14 SDIO RX
1130  13 SDMMC TX
1131  12 SDMMC RX
1132  11 I2C1 TX
1133  10 I2C1 RX
1134  9 I2C0 TX
1135  8 I2C0 RX
1136  7 SPI1 TX
1137  6 SPI1 RX
1138  5 SPI0 TX
1139  4 SPI0 RX
1140  3 UART1 TX
1141  2 UART1 RX
1142  1 UART0 TX
1143  0 UART0 RX
1144 
1145 
1146  ENUMs:
1147  UART0: UART0 peripheral
1148  UART1: UART1 peripheral
1149  SPIO: SPI0 peripheral
1150  SPI1: SPI1 peripheral
1151  I2C0: I2C0 peripheral
1152  I2C1: I2C1 peripheral
1153  SDMMC: SDMMC peripheral
1154  SDIO: SDIO peripheral
1155  MCAN: MCAN peripheral
1156  ADC: ADC peripheral
1157  PDM: PDM peripheral
1158  HIF: HIF peripheral
1159  UART2: UART2 peripheral
1160 */
1161 #define HOST_DMA_CHCTL1_CH11_W 4U
1162 #define HOST_DMA_CHCTL1_CH11_M 0x0000F000U
1163 #define HOST_DMA_CHCTL1_CH11_S 12U
1164 #define HOST_DMA_CHCTL1_CH11_UART0 0x00000000U
1165 #define HOST_DMA_CHCTL1_CH11_UART1 0x00001000U
1166 #define HOST_DMA_CHCTL1_CH11_SPIO 0x00002000U
1167 #define HOST_DMA_CHCTL1_CH11_SPI1 0x00003000U
1168 #define HOST_DMA_CHCTL1_CH11_I2C0 0x00004000U
1169 #define HOST_DMA_CHCTL1_CH11_I2C1 0x00005000U
1170 #define HOST_DMA_CHCTL1_CH11_SDMMC 0x00006000U
1171 #define HOST_DMA_CHCTL1_CH11_SDIO 0x00007000U
1172 #define HOST_DMA_CHCTL1_CH11_MCAN 0x00008000U
1173 #define HOST_DMA_CHCTL1_CH11_ADC 0x00009000U
1174 #define HOST_DMA_CHCTL1_CH11_PDM 0x0000A000U
1175 #define HOST_DMA_CHCTL1_CH11_HIF 0x0000B000U
1176 #define HOST_DMA_CHCTL1_CH11_UART2 0x0000C000U
1177 /*
1178 
1179  Field: CH12
1180  From..to bits: 16...19
1181  DefaultValue: 0x0
1182  Access type: read-write
1183  Description: Channel 12 Control.
1184  Flow control signals:
1185  25 UART2 TX
1186  24 UART2 RX
1187  23 HIF TX
1188  22 HIF RX
1189  21 Not Valid - PDM has only read
1190  20 PDM
1191  19 Not Valid - ADC has only read
1192  18 ADC
1193  17 MCAN TX
1194  16 MCAN RX
1195  15 SDIO TX
1196  14 SDIO RX
1197  13 SDMMC TX
1198  12 SDMMC RX
1199  11 I2C1 TX
1200  10 I2C1 RX
1201  9 I2C0 TX
1202  8 I2C0 RX
1203  7 SPI1 TX
1204  6 SPI1 RX
1205  5 SPI0 TX
1206  4 SPI0 RX
1207  3 UART1 TX
1208  2 UART1 RX
1209  1 UART0 TX
1210  0 UART0 RX
1211 
1212 
1213  ENUMs:
1214  UART0: UART0 peripheral
1215  UART1: UART1 peripheral
1216  SPIO: SPI0 peripheral
1217  SPI1: SPI1 peripheral
1218  I2C0: I2C0 peripheral
1219  I2C1: I2C1 peripheral
1220  SDMMC: SDMMC peripheral
1221  SDIO: SDIO peripheral
1222  MCAN: MCAN peripheral
1223  ADC: ADC peripheral
1224  PDM: PDM peripheral
1225  HIF: HIF peripheral
1226  UART2: UART2 peripheral
1227 */
1228 #define HOST_DMA_CHCTL1_CH12_W 4U
1229 #define HOST_DMA_CHCTL1_CH12_M 0x000F0000U
1230 #define HOST_DMA_CHCTL1_CH12_S 16U
1231 #define HOST_DMA_CHCTL1_CH12_UART0 0x00000000U
1232 #define HOST_DMA_CHCTL1_CH12_UART1 0x00010000U
1233 #define HOST_DMA_CHCTL1_CH12_SPIO 0x00020000U
1234 #define HOST_DMA_CHCTL1_CH12_SPI1 0x00030000U
1235 #define HOST_DMA_CHCTL1_CH12_I2C0 0x00040000U
1236 #define HOST_DMA_CHCTL1_CH12_I2C1 0x00050000U
1237 #define HOST_DMA_CHCTL1_CH12_SDMMC 0x00060000U
1238 #define HOST_DMA_CHCTL1_CH12_SDIO 0x00070000U
1239 #define HOST_DMA_CHCTL1_CH12_MCAN 0x00080000U
1240 #define HOST_DMA_CHCTL1_CH12_ADC 0x00090000U
1241 #define HOST_DMA_CHCTL1_CH12_PDM 0x000A0000U
1242 #define HOST_DMA_CHCTL1_CH12_HIF 0x000B0000U
1243 #define HOST_DMA_CHCTL1_CH12_UART2 0x000C0000U
1244 /*
1245 
1246  Field: CH13
1247  From..to bits: 20...23
1248  DefaultValue: 0x0
1249  Access type: read-write
1250  Description: Channel 13 Control.
1251  Flow control signals:
1252  25 UART2 TX
1253  24 UART2 RX
1254  23 HIF TX
1255  22 HIF RX
1256  21 Not Valid - PDM has only read
1257  20 PDM
1258  19 Not Valid - ADC has only read
1259  18 ADC
1260  17 MCAN TX
1261  16 MCAN RX
1262  15 SDIO TX
1263  14 SDIO RX
1264  13 SDMMC TX
1265  12 SDMMC RX
1266  11 I2C1 TX
1267  10 I2C1 RX
1268  9 I2C0 TX
1269  8 I2C0 RX
1270  7 SPI1 TX
1271  6 SPI1 RX
1272  5 SPI0 TX
1273  4 SPI0 RX
1274  3 UART1 TX
1275  2 UART1 RX
1276  1 UART0 TX
1277  0 UART0 RX
1278 
1279 
1280  ENUMs:
1281  UART0: UART0 peripheral
1282  UART1: UART1 peripheral
1283  SPIO: SPI0 peripheral
1284  SPI1: SPI1 peripheral
1285  I2C0: I2C0 peripheral
1286  I2C1: I2C1 peripheral
1287  SDMMC: SDMMC peripheral
1288  SDIO: SDIO peripheral
1289  MCAN: MCAN peripheral
1290  ADC: ADC peripheral
1291  PDM: PDM peripheral
1292  HIF: HIF peripheral
1293  UART2: UART2 peripheral
1294 */
1295 #define HOST_DMA_CHCTL1_CH13_W 4U
1296 #define HOST_DMA_CHCTL1_CH13_M 0x00F00000U
1297 #define HOST_DMA_CHCTL1_CH13_S 20U
1298 #define HOST_DMA_CHCTL1_CH13_UART0 0x00000000U
1299 #define HOST_DMA_CHCTL1_CH13_UART1 0x00100000U
1300 #define HOST_DMA_CHCTL1_CH13_SPIO 0x00200000U
1301 #define HOST_DMA_CHCTL1_CH13_SPI1 0x00300000U
1302 #define HOST_DMA_CHCTL1_CH13_I2C0 0x00400000U
1303 #define HOST_DMA_CHCTL1_CH13_I2C1 0x00500000U
1304 #define HOST_DMA_CHCTL1_CH13_SDMMC 0x00600000U
1305 #define HOST_DMA_CHCTL1_CH13_SDIO 0x00700000U
1306 #define HOST_DMA_CHCTL1_CH13_MCAN 0x00800000U
1307 #define HOST_DMA_CHCTL1_CH13_ADC 0x00900000U
1308 #define HOST_DMA_CHCTL1_CH13_PDM 0x00A00000U
1309 #define HOST_DMA_CHCTL1_CH13_HIF 0x00B00000U
1310 #define HOST_DMA_CHCTL1_CH13_UART2 0x00C00000U
1311 
1312 
1313 /*-----------------------------------REGISTER------------------------------------
1314  Register name: PRIOCFG
1315  Offset name: HOST_DMA_O_PRIOCFG
1316  Relative address: 0x18
1317  Description: Priority Channel Configuration.
1318  Default Value: 0x1F0F0F00
1319 
1320  Field: PRIOEN
1321  From..to bits: 0...0
1322  DefaultValue: 0x0
1323  Access type: read-write
1324  Description: Enable priority channel.
1325  Enable one channel to be prioritize - no round rubin would be done
1326 
1327 */
1328 #define HOST_DMA_PRIOCFG_PRIOEN 0x00000001U
1329 #define HOST_DMA_PRIOCFG_PRIOEN_M 0x00000001U
1330 #define HOST_DMA_PRIOCFG_PRIOEN_S 0U
1331 /*
1332 
1333  Field: CH1ST
1334  From..to bits: 8...11
1335  DefaultValue: 0xF
1336  Access type: read-write
1337  Description: First priority channel.
1338  channel with highest prioriry
1339 
1340 */
1341 #define HOST_DMA_PRIOCFG_CH1ST_W 4U
1342 #define HOST_DMA_PRIOCFG_CH1ST_M 0x00000F00U
1343 #define HOST_DMA_PRIOCFG_CH1ST_S 8U
1344 /*
1345 
1346  Field: CH2ND
1347  From..to bits: 16...19
1348  DefaultValue: 0xF
1349  Access type: read-write
1350  Description: Second priority channel.
1351  channel with second highest prioriry
1352 
1353 */
1354 #define HOST_DMA_PRIOCFG_CH2ND_W 4U
1355 #define HOST_DMA_PRIOCFG_CH2ND_M 0x000F0000U
1356 #define HOST_DMA_PRIOCFG_CH2ND_S 16U
1357 /*
1358 
1359  Field: MAXBLOCKS
1360  From..to bits: 24...28
1361  DefaultValue: 0x1F
1362  Access type: read-write
1363  Description: Maximum consecutive priority blocks.
1364  Maximum consecutive block transactions of "priority channels" . After this number of consecutive blocks one of "roubd robin" channels will win arbitration. 31 means there is no limitation on number of consecutive priority blocks
1365 
1366 */
1367 #define HOST_DMA_PRIOCFG_MAXBLOCKS_W 5U
1368 #define HOST_DMA_PRIOCFG_MAXBLOCKS_M 0x1F000000U
1369 #define HOST_DMA_PRIOCFG_MAXBLOCKS_S 24U
1370 
1371 
1372 /*-----------------------------------REGISTER------------------------------------
1373  Register name: CH0STA
1374  Offset name: HOST_DMA_O_CH0STA
1375  Relative address: 0x1000
1376  Description: Channel Status FSM state and run indication.
1377  Default Value: 0x00000000
1378 
1379  Field: HWEVENT
1380  From..to bits: 0...2
1381  DefaultValue: 0x0
1382  Access type: read-only
1383  Description: HW event status.
1384  Channel status is a bit mask. Multiple bits can be set at the same time
1385  0. PROCESSING
1386  1. TRANS DONE
1387  2. ABORT
1388  4. EXCEPTION
1389 
1390 */
1391 #define HOST_DMA_CH0STA_HWEVENT_W 3U
1392 #define HOST_DMA_CH0STA_HWEVENT_M 0x00000007U
1393 #define HOST_DMA_CH0STA_HWEVENT_S 0U
1394 /*
1395 
1396  Field: FSMSTATE
1397  From..to bits: 8...11
1398  DefaultValue: 0x0
1399  Access type: read-only
1400  Description: FSM state:
1401 
1402  0x0. IDLE
1403  0x2. EXCEPTION
1404  0x3. DRAIN
1405  0x4. ABORT
1406  0x8. PENDING ARB
1407  0x9. COPY
1408  0xA. COPY LAST
1409  0xC. DONE
1410  0xD. SAVE CTX
1411  0xE. WAIT NEXT TRANS
1412  0xF. LAST
1413 
1414 */
1415 #define HOST_DMA_CH0STA_FSMSTATE_W 4U
1416 #define HOST_DMA_CH0STA_FSMSTATE_M 0x00000F00U
1417 #define HOST_DMA_CH0STA_FSMSTATE_S 8U
1418 /*
1419 
1420  Field: RUN
1421  From..to bits: 16...16
1422  DefaultValue: 0x0
1423  Access type: read-only
1424  Description: Indication that channel is currently transfering data and is not idle.
1425  Channels that are waiting on arbitration are considered running.
1426 
1427 */
1428 #define HOST_DMA_CH0STA_RUN 0x00010000U
1429 #define HOST_DMA_CH0STA_RUN_M 0x00010000U
1430 #define HOST_DMA_CH0STA_RUN_S 16U
1431 
1432 
1433 /*-----------------------------------REGISTER------------------------------------
1434  Register name: CH0TIPTR
1435  Offset name: HOST_DMA_O_CH0TIPTR
1436  Relative address: 0x1004
1437  Description: Input Pointer Channel Transaction.
1438  32 bit address pointer of channel current input.
1439  Default Value: 0x00000000
1440 
1441  Field: IPTR
1442  From..to bits: 0...31
1443  DefaultValue: 0x0
1444  Access type: read-write
1445  Description: Transaction input pointer.
1446  32 bit address pointer of channel current input.
1447 
1448 */
1449 #define HOST_DMA_CH0TIPTR_IPTR_W 32U
1450 #define HOST_DMA_CH0TIPTR_IPTR_M 0xFFFFFFFFU
1451 #define HOST_DMA_CH0TIPTR_IPTR_S 0U
1452 
1453 
1454 /*-----------------------------------REGISTER------------------------------------
1455  Register name: CH0OPTR
1456  Offset name: HOST_DMA_O_CH0OPTR
1457  Relative address: 0x1008
1458  Description: Output Pointer Channel Transaction.
1459  32 bit address pointer of channel current output.
1460  Default Value: 0x00000000
1461 
1462  Field: OPTR
1463  From..to bits: 0...31
1464  DefaultValue: 0x0
1465  Access type: read-write
1466  Description: Transaction output pointer.
1467  32 bit address pointer of channel current output.
1468 
1469 */
1470 #define HOST_DMA_CH0OPTR_OPTR_W 32U
1471 #define HOST_DMA_CH0OPTR_OPTR_M 0xFFFFFFFFU
1472 #define HOST_DMA_CH0OPTR_OPTR_S 0U
1473 
1474 
1475 /*-----------------------------------REGISTER------------------------------------
1476  Register name: CH0TCTL
1477  Offset name: HOST_DMA_O_CH0TCTL
1478  Relative address: 0x100C
1479  Description: Transaction control
1480  Default Value: 0x00000000
1481 
1482  Field: TRANSB
1483  From..to bits: 0...13
1484  DefaultValue: 0x0
1485  Access type: read-write
1486  Description: Transaction bytes number.
1487  Number of bytes of the transaction to move from source to destination.
1488 
1489 */
1490 #define HOST_DMA_CH0TCTL_TRANSB_W 14U
1491 #define HOST_DMA_CH0TCTL_TRANSB_M 0x00003FFFU
1492 #define HOST_DMA_CH0TCTL_TRANSB_S 0U
1493 /*
1494 
1495  Field: BURSTREQ
1496  From..to bits: 16...16
1497  DefaultValue: 0x0
1498  Access type: read-write
1499  Description: Use burst request.
1500  In case number of words to tranfer smaller than block size, DMA would use signle request and work with block size of 1 word. In case we know request would be set on altough number of words to tranfer is smaller than block size, we can set this field on and DMA will wait for block_request and transact all remaining words in one block.
1501 
1502 */
1503 #define HOST_DMA_CH0TCTL_BURSTREQ 0x00010000U
1504 #define HOST_DMA_CH0TCTL_BURSTREQ_M 0x00010000U
1505 #define HOST_DMA_CH0TCTL_BURSTREQ_S 16U
1506 /*
1507 
1508  Field: SPARE
1509  From..to bits: 17...17
1510  DefaultValue: 0x0
1511  Access type: read-write
1512  Description: spare
1513 
1514 */
1515 #define HOST_DMA_CH0TCTL_SPARE 0x00020000U
1516 #define HOST_DMA_CH0TCTL_SPARE_M 0x00020000U
1517 #define HOST_DMA_CH0TCTL_SPARE_S 17U
1518 /*
1519 
1520  Field: ENDIANESS
1521  From..to bits: 24...25
1522  DefaultValue: 0x0
1523  Access type: read-write
1524  Description: 0 -no endianess, 1 - byte endianess, 2 - bit endianess
1525 
1526 */
1527 #define HOST_DMA_CH0TCTL_ENDIANESS_W 2U
1528 #define HOST_DMA_CH0TCTL_ENDIANESS_M 0x03000000U
1529 #define HOST_DMA_CH0TCTL_ENDIANESS_S 24U
1530 
1531 
1532 /*-----------------------------------REGISTER------------------------------------
1533  Register name: CH0TCTL2
1534  Offset name: HOST_DMA_O_CH0TCTL2
1535  Relative address: 0x1010
1536  Description: DMA command interface
1537  Default Value: 0x00000000
1538 
1539  Field: CMD
1540  From..to bits: 0...2
1541  DefaultValue: 0x0
1542  Access type: write-only
1543  Description: 1 - run command. Start a transaction.
1544  2- abort command - stop reansaction.
1545  4- init command - init new transaction afet abort/error.
1546 
1547  Type:Write-Clear.
1548 
1549 */
1550 #define HOST_DMA_CH0TCTL2_CMD_W 3U
1551 #define HOST_DMA_CH0TCTL2_CMD_M 0x00000007U
1552 #define HOST_DMA_CH0TCTL2_CMD_S 0U
1553 
1554 
1555 /*-----------------------------------REGISTER------------------------------------
1556  Register name: CH0TSTA
1557  Offset name: HOST_DMA_O_CH0TSTA
1558  Relative address: 0x1014
1559  Description: Transaction Status.
1560  Job completion reason - either last transaction or exception
1561  Default Value: 0x00000000
1562 
1563  Field: STA
1564  From..to bits: 0...0
1565  DefaultValue: 0x0
1566  Access type: read-only
1567  Description: channel OCP rstatus recieved at one of the primary ports.
1568  Once an error is encountered the channel will enter an Exception state and stay the until an init command is recieved.
1569  ICLR does not affect this status.
1570 
1571 */
1572 #define HOST_DMA_CH0TSTA_STA 0x00000001U
1573 #define HOST_DMA_CH0TSTA_STA_M 0x00000001U
1574 #define HOST_DMA_CH0TSTA_STA_S 0U
1575 /*
1576 
1577  Field: OFFSET
1578  From..to bits: 8...15
1579  DefaultValue: 0x0
1580  Access type: read-only
1581  Description: Word offset.
1582  Offset in words from block boundary. Actually number of word have been transferred in this block
1583 
1584 */
1585 #define HOST_DMA_CH0TSTA_OFFSET_W 8U
1586 #define HOST_DMA_CH0TSTA_OFFSET_M 0x0000FF00U
1587 #define HOST_DMA_CH0TSTA_OFFSET_S 8U
1588 /*
1589 
1590  Field: REMAINB
1591  From..to bits: 16...29
1592  DefaultValue: 0x0
1593  Access type: read-only
1594  Description: Remain bytes number.
1595  Number of bytes remaining to complete the transaction.
1596 
1597 */
1598 #define HOST_DMA_CH0TSTA_REMAINB_W 14U
1599 #define HOST_DMA_CH0TSTA_REMAINB_M 0x3FFF0000U
1600 #define HOST_DMA_CH0TSTA_REMAINB_S 16U
1601 
1602 
1603 /*-----------------------------------REGISTER------------------------------------
1604  Register name: CH0JCTL
1605  Offset name: HOST_DMA_O_CH0JCTL
1606  Relative address: 0x101C
1607  Description: Job control register
1608  Default Value: 0x00000000
1609 
1610  Field: WORDSIZE
1611  From..to bits: 0...1
1612  DefaultValue: 0x0
1613  Access type: read-write
1614  Description: 00 -word size is 32 bits
1615  01 -word size is 16 bits
1616  10 -word size is 8 bits
1617 
1618 */
1619 #define HOST_DMA_CH0JCTL_WORDSIZE_W 2U
1620 #define HOST_DMA_CH0JCTL_WORDSIZE_M 0x00000003U
1621 #define HOST_DMA_CH0JCTL_WORDSIZE_S 0U
1622 /*
1623 
1624  Field: BLKSIZE
1625  From..to bits: 16...21
1626  DefaultValue: 0x0
1627  Access type: read-write
1628  Description: size of the block in words. If block mode is enabled, defines the address wrap around.
1629  Since channel arbitration decisions are made every block, this also effect how much bandwidth is given to a specific channel.
1630 
1631 
1632 
1633 */
1634 #define HOST_DMA_CH0JCTL_BLKSIZE_W 6U
1635 #define HOST_DMA_CH0JCTL_BLKSIZE_M 0x003F0000U
1636 #define HOST_DMA_CH0JCTL_BLKSIZE_S 16U
1637 /*
1638 
1639  Field: BLKMODESRC
1640  From..to bits: 24...24
1641  DefaultValue: 0x0
1642  Access type: read-write
1643  Description: source pointer wrap around mode
1644 
1645  0: no wrap around(non block mode)
1646  1: with wrap around(block mode)
1647 
1648 */
1649 #define HOST_DMA_CH0JCTL_BLKMODESRC 0x01000000U
1650 #define HOST_DMA_CH0JCTL_BLKMODESRC_M 0x01000000U
1651 #define HOST_DMA_CH0JCTL_BLKMODESRC_S 24U
1652 /*
1653 
1654  Field: BLKMODEDST
1655  From..to bits: 25...25
1656  DefaultValue: 0x0
1657  Access type: read-write
1658  Description: Destination pointer wrap around mode
1659 
1660  0: no wrap around(non block mode)
1661  1: with wrap around(block mode)
1662 
1663 */
1664 #define HOST_DMA_CH0JCTL_BLKMODEDST 0x02000000U
1665 #define HOST_DMA_CH0JCTL_BLKMODEDST_M 0x02000000U
1666 #define HOST_DMA_CH0JCTL_BLKMODEDST_S 25U
1667 /*
1668 
1669  Field: DMASIGBPS
1670  From..to bits: 26...26
1671  DefaultValue: 0x0
1672  Access type: read-write
1673  Description: Tie high channel DMA req signal. This is useful for memory to memort transaction
1674 
1675 */
1676 #define HOST_DMA_CH0JCTL_DMASIGBPS 0x04000000U
1677 #define HOST_DMA_CH0JCTL_DMASIGBPS_M 0x04000000U
1678 #define HOST_DMA_CH0JCTL_DMASIGBPS_S 26U
1679 /*
1680 
1681  Field: FIFOMODS
1682  From..to bits: 27...27
1683  DefaultValue: 0x0
1684  Access type: read-write
1685  Description: Source pointer fifo mode
1686 
1687 */
1688 #define HOST_DMA_CH0JCTL_FIFOMODS 0x08000000U
1689 #define HOST_DMA_CH0JCTL_FIFOMODS_M 0x08000000U
1690 #define HOST_DMA_CH0JCTL_FIFOMODS_S 27U
1691 /*
1692 
1693  Field: FIFOMODD
1694  From..to bits: 28...28
1695  DefaultValue: 0x0
1696  Access type: read-write
1697  Description: Destination pointer fifo mode
1698 
1699 */
1700 #define HOST_DMA_CH0JCTL_FIFOMODD 0x10000000U
1701 #define HOST_DMA_CH0JCTL_FIFOMODD_M 0x10000000U
1702 #define HOST_DMA_CH0JCTL_FIFOMODD_S 28U
1703 /*
1704 
1705  Field: SRCDSTCFG
1706  From..to bits: 29...29
1707  DefaultValue: 0x0
1708  Access type: read-write
1709  Description: 0 - Sorce is periph: transaction from periph to memory.
1710  1 - Destination is periph :transaction from Memory to periph
1711 
1712 */
1713 #define HOST_DMA_CH0JCTL_SRCDSTCFG 0x20000000U
1714 #define HOST_DMA_CH0JCTL_SRCDSTCFG_M 0x20000000U
1715 #define HOST_DMA_CH0JCTL_SRCDSTCFG_S 29U
1716 /*
1717 
1718  Field: ENCLR
1719  From..to bits: 30...30
1720  DefaultValue: 0x0
1721  Access type: read-write
1722  Description: Enable DMA to set a rd/wr clear pulse at the beginning of a job (one cycle after run cmd)
1723 
1724 */
1725 #define HOST_DMA_CH0JCTL_ENCLR 0x40000000U
1726 #define HOST_DMA_CH0JCTL_ENCLR_M 0x40000000U
1727 #define HOST_DMA_CH0JCTL_ENCLR_S 30U
1728 
1729 
1730 /*-----------------------------------REGISTER------------------------------------
1731  Register name: CH1STA
1732  Offset name: HOST_DMA_O_CH1STA
1733  Relative address: 0x2000
1734  Description: Channel Status FSM state and run indication.
1735  Default Value: 0x00000000
1736 
1737  Field: HWEVENT
1738  From..to bits: 0...2
1739  DefaultValue: 0x0
1740  Access type: read-only
1741  Description: HW event status.
1742  Channel status is a bit mask. Multiple bits can be set at the same time
1743  0. PROCESSING
1744  1. TRANS DONE
1745  2. ABORT
1746  4. EXCEPTION
1747 
1748 */
1749 #define HOST_DMA_CH1STA_HWEVENT_W 3U
1750 #define HOST_DMA_CH1STA_HWEVENT_M 0x00000007U
1751 #define HOST_DMA_CH1STA_HWEVENT_S 0U
1752 /*
1753 
1754  Field: FSMSTATE
1755  From..to bits: 8...11
1756  DefaultValue: 0x0
1757  Access type: read-only
1758  Description: FSM state:
1759  0x0. IDLE
1760  0x2. EXCEPTION
1761  0x3. DRAIN
1762  0x4. ABORT
1763  0x8. PENDING ARB
1764  0x9. COPY
1765  0xA. COPY LAST
1766  0xC. DONE
1767  0xD. SAVE CTX
1768  0xE. WAIT NEXT TRANS
1769  0xF. LAST
1770 
1771 */
1772 #define HOST_DMA_CH1STA_FSMSTATE_W 4U
1773 #define HOST_DMA_CH1STA_FSMSTATE_M 0x00000F00U
1774 #define HOST_DMA_CH1STA_FSMSTATE_S 8U
1775 /*
1776 
1777  Field: RUN
1778  From..to bits: 16...16
1779  DefaultValue: 0x0
1780  Access type: read-only
1781  Description: Indication that channel is currently transfering data and is not idle.
1782  Channels that are waiting on arbitration are considered running.
1783 
1784 */
1785 #define HOST_DMA_CH1STA_RUN 0x00010000U
1786 #define HOST_DMA_CH1STA_RUN_M 0x00010000U
1787 #define HOST_DMA_CH1STA_RUN_S 16U
1788 
1789 
1790 /*-----------------------------------REGISTER------------------------------------
1791  Register name: CH1TIPTR
1792  Offset name: HOST_DMA_O_CH1TIPTR
1793  Relative address: 0x2004
1794  Description: 32 bit address pointer of channel current input.
1795  Default Value: 0x00000000
1796 
1797  Field: IPTR
1798  From..to bits: 0...31
1799  DefaultValue: 0x0
1800  Access type: read-write
1801  Description: 32 bit address pointer of channel current input.
1802 
1803 */
1804 #define HOST_DMA_CH1TIPTR_IPTR_W 32U
1805 #define HOST_DMA_CH1TIPTR_IPTR_M 0xFFFFFFFFU
1806 #define HOST_DMA_CH1TIPTR_IPTR_S 0U
1807 
1808 
1809 /*-----------------------------------REGISTER------------------------------------
1810  Register name: CH1TOPTR
1811  Offset name: HOST_DMA_O_CH1TOPTR
1812  Relative address: 0x2008
1813  Description: 32 bit address pointer of channel current output.
1814  Default Value: 0x00000000
1815 
1816  Field: OPTR
1817  From..to bits: 0...31
1818  DefaultValue: 0x0
1819  Access type: read-write
1820  Description: 32 bit address pointer of channel current output.
1821 
1822 */
1823 #define HOST_DMA_CH1TOPTR_OPTR_W 32U
1824 #define HOST_DMA_CH1TOPTR_OPTR_M 0xFFFFFFFFU
1825 #define HOST_DMA_CH1TOPTR_OPTR_S 0U
1826 
1827 
1828 /*-----------------------------------REGISTER------------------------------------
1829  Register name: CH1TCTL
1830  Offset name: HOST_DMA_O_CH1TCTL
1831  Relative address: 0x200C
1832  Description: Transaction control
1833  Default Value: 0x00000000
1834 
1835  Field: TRANSB
1836  From..to bits: 0...13
1837  DefaultValue: 0x0
1838  Access type: read-write
1839  Description: Number of bytes of the transaction to move from source to destination.
1840 
1841 */
1842 #define HOST_DMA_CH1TCTL_TRANSB_W 14U
1843 #define HOST_DMA_CH1TCTL_TRANSB_M 0x00003FFFU
1844 #define HOST_DMA_CH1TCTL_TRANSB_S 0U
1845 /*
1846 
1847  Field: BURSTREQ
1848  From..to bits: 16...16
1849  DefaultValue: 0x0
1850  Access type: read-write
1851  Description: In case number of words to tranfer smaller than block size, DMA would use signle request and work with block size of 1 word. In case we know request would be set on altough number of words to tranfer is smaller than block size, we can set this field on and DMA will wait for block_request and transact all remaining words in one block.
1852 
1853 */
1854 #define HOST_DMA_CH1TCTL_BURSTREQ 0x00010000U
1855 #define HOST_DMA_CH1TCTL_BURSTREQ_M 0x00010000U
1856 #define HOST_DMA_CH1TCTL_BURSTREQ_S 16U
1857 /*
1858 
1859  Field: SPARE
1860  From..to bits: 17...17
1861  DefaultValue: 0x0
1862  Access type: read-write
1863  Description: spare
1864 
1865 */
1866 #define HOST_DMA_CH1TCTL_SPARE 0x00020000U
1867 #define HOST_DMA_CH1TCTL_SPARE_M 0x00020000U
1868 #define HOST_DMA_CH1TCTL_SPARE_S 17U
1869 /*
1870 
1871  Field: ENDIANESS
1872  From..to bits: 24...25
1873  DefaultValue: 0x0
1874  Access type: read-write
1875  Description: 0 -no endianess, 1 - byte endianess, 2 - bit endianess
1876 
1877 */
1878 #define HOST_DMA_CH1TCTL_ENDIANESS_W 2U
1879 #define HOST_DMA_CH1TCTL_ENDIANESS_M 0x03000000U
1880 #define HOST_DMA_CH1TCTL_ENDIANESS_S 24U
1881 
1882 
1883 /*-----------------------------------REGISTER------------------------------------
1884  Register name: CH1TCTRL2
1885  Offset name: HOST_DMA_O_CH1TCTRL2
1886  Relative address: 0x2010
1887  Description: DMA command interface
1888  Default Value: 0x00000000
1889 
1890  Field: CMD
1891  From..to bits: 0...2
1892  DefaultValue: 0x0
1893  Access type: write-only
1894  Description: 1 - run command. Start a transaction.
1895  2- abort command - stop reansaction.
1896  4- init command - init new transaction afet abort/error.
1897 
1898 */
1899 #define HOST_DMA_CH1TCTRL2_CMD_W 3U
1900 #define HOST_DMA_CH1TCTRL2_CMD_M 0x00000007U
1901 #define HOST_DMA_CH1TCTRL2_CMD_S 0U
1902 
1903 
1904 /*-----------------------------------REGISTER------------------------------------
1905  Register name: CH1TSTA
1906  Offset name: HOST_DMA_O_CH1TSTA
1907  Relative address: 0x2014
1908  Description: Job completion reason - either last transaction or exception
1909  Default Value: 0x00000000
1910 
1911  Field: STA
1912  From..to bits: 0...0
1913  DefaultValue: 0x0
1914  Access type: read-only
1915  Description: channel OCP rstatus recieved at one of the primary ports.
1916  Once an error is encountered the channel will enter an Exception state and stay the until an init command is recieved.
1917  ICLR does not affect this status.
1918 
1919 */
1920 #define HOST_DMA_CH1TSTA_STA 0x00000001U
1921 #define HOST_DMA_CH1TSTA_STA_M 0x00000001U
1922 #define HOST_DMA_CH1TSTA_STA_S 0U
1923 /*
1924 
1925  Field: OFFSET
1926  From..to bits: 8...15
1927  DefaultValue: 0x0
1928  Access type: read-only
1929  Description: Offset in words from block boundary. Actually number of word have been transferred in this block
1930 
1931 */
1932 #define HOST_DMA_CH1TSTA_OFFSET_W 8U
1933 #define HOST_DMA_CH1TSTA_OFFSET_M 0x0000FF00U
1934 #define HOST_DMA_CH1TSTA_OFFSET_S 8U
1935 /*
1936 
1937  Field: REMAINB
1938  From..to bits: 16...29
1939  DefaultValue: 0x0
1940  Access type: read-only
1941  Description: Number of bytes remaining to complete the transaction.
1942 
1943 */
1944 #define HOST_DMA_CH1TSTA_REMAINB_W 14U
1945 #define HOST_DMA_CH1TSTA_REMAINB_M 0x3FFF0000U
1946 #define HOST_DMA_CH1TSTA_REMAINB_S 16U
1947 
1948 
1949 /*-----------------------------------REGISTER------------------------------------
1950  Register name: CH1JCTL
1951  Offset name: HOST_DMA_O_CH1JCTL
1952  Relative address: 0x201C
1953  Description: Job control register
1954  Default Value: 0x00000000
1955 
1956  Field: WORDSIZE
1957  From..to bits: 0...1
1958  DefaultValue: 0x0
1959  Access type: read-write
1960  Description: 00 -word size is 32 bits
1961  01 -word size is 16 bits
1962  10 -word size is 8 bits
1963 
1964 */
1965 #define HOST_DMA_CH1JCTL_WORDSIZE_W 2U
1966 #define HOST_DMA_CH1JCTL_WORDSIZE_M 0x00000003U
1967 #define HOST_DMA_CH1JCTL_WORDSIZE_S 0U
1968 /*
1969 
1970  Field: BLKSIZE
1971  From..to bits: 16...21
1972  DefaultValue: 0x0
1973  Access type: read-write
1974  Description: size of the block in words. If block mode is enabled, defines the address wrap around.
1975  Since channel arbitration decisions are made every block, this also effect how much bandwidth is given to a specific channel.
1976 
1977 
1978 
1979 */
1980 #define HOST_DMA_CH1JCTL_BLKSIZE_W 6U
1981 #define HOST_DMA_CH1JCTL_BLKSIZE_M 0x003F0000U
1982 #define HOST_DMA_CH1JCTL_BLKSIZE_S 16U
1983 /*
1984 
1985  Field: BLKMODESRC
1986  From..to bits: 24...24
1987  DefaultValue: 0x0
1988  Access type: read-write
1989  Description: source pointer wrap around mode
1990 
1991  0: no wrap around(non block mode)
1992  1: with wrap around(block mode)
1993 
1994 */
1995 #define HOST_DMA_CH1JCTL_BLKMODESRC 0x01000000U
1996 #define HOST_DMA_CH1JCTL_BLKMODESRC_M 0x01000000U
1997 #define HOST_DMA_CH1JCTL_BLKMODESRC_S 24U
1998 /*
1999 
2000  Field: BLKMODEDST
2001  From..to bits: 25...25
2002  DefaultValue: 0x0
2003  Access type: read-write
2004  Description: Destination pointer wrap around mode
2005 
2006  0: no wrap around(non block mode)
2007  1: with wrap around(block mode)
2008 
2009 */
2010 #define HOST_DMA_CH1JCTL_BLKMODEDST 0x02000000U
2011 #define HOST_DMA_CH1JCTL_BLKMODEDST_M 0x02000000U
2012 #define HOST_DMA_CH1JCTL_BLKMODEDST_S 25U
2013 /*
2014 
2015  Field: DMASIGBPS
2016  From..to bits: 26...26
2017  DefaultValue: 0x0
2018  Access type: read-write
2019  Description: Tie high channel DMA req signal. This is useful for memory to memort transaction
2020 
2021 */
2022 #define HOST_DMA_CH1JCTL_DMASIGBPS 0x04000000U
2023 #define HOST_DMA_CH1JCTL_DMASIGBPS_M 0x04000000U
2024 #define HOST_DMA_CH1JCTL_DMASIGBPS_S 26U
2025 /*
2026 
2027  Field: FIFOMODS
2028  From..to bits: 27...27
2029  DefaultValue: 0x0
2030  Access type: read-write
2031  Description: Source pointer fifo mode
2032 
2033 */
2034 #define HOST_DMA_CH1JCTL_FIFOMODS 0x08000000U
2035 #define HOST_DMA_CH1JCTL_FIFOMODS_M 0x08000000U
2036 #define HOST_DMA_CH1JCTL_FIFOMODS_S 27U
2037 /*
2038 
2039  Field: FIFOMODD
2040  From..to bits: 28...28
2041  DefaultValue: 0x0
2042  Access type: read-write
2043  Description: Destination pointer fifo mode
2044 
2045 */
2046 #define HOST_DMA_CH1JCTL_FIFOMODD 0x10000000U
2047 #define HOST_DMA_CH1JCTL_FIFOMODD_M 0x10000000U
2048 #define HOST_DMA_CH1JCTL_FIFOMODD_S 28U
2049 /*
2050 
2051  Field: SRCDSTCFG
2052  From..to bits: 29...29
2053  DefaultValue: 0x0
2054  Access type: read-write
2055  Description: 0 - Sorce is periph: transaction from periph to memory.
2056  1 - Destination is periph :transaction from Memory to periph
2057 
2058 */
2059 #define HOST_DMA_CH1JCTL_SRCDSTCFG 0x20000000U
2060 #define HOST_DMA_CH1JCTL_SRCDSTCFG_M 0x20000000U
2061 #define HOST_DMA_CH1JCTL_SRCDSTCFG_S 29U
2062 /*
2063 
2064  Field: ENCLR
2065  From..to bits: 30...30
2066  DefaultValue: 0x0
2067  Access type: read-write
2068  Description: Enable DMA to set a rd/wr clear pulse at the beginning of a job (one cycle after run cmd)
2069 
2070 */
2071 #define HOST_DMA_CH1JCTL_ENCLR 0x40000000U
2072 #define HOST_DMA_CH1JCTL_ENCLR_M 0x40000000U
2073 #define HOST_DMA_CH1JCTL_ENCLR_S 30U
2074 
2075 
2076 /*-----------------------------------REGISTER------------------------------------
2077  Register name: CH2STA
2078  Offset name: HOST_DMA_O_CH2STA
2079  Relative address: 0x3000
2080  Description: Channel Status FSM state and run indication.
2081  Default Value: 0x00000000
2082 
2083  Field: HWEVENT
2084  From..to bits: 0...2
2085  DefaultValue: 0x0
2086  Access type: read-only
2087  Description: HW event status.
2088  Channel status is a bit mask. Multiple bits can be set at the same time
2089  0. PROCESSING
2090  1. TRANS DONE
2091  2. ABORT
2092  4. EXCEPTION
2093 
2094 */
2095 #define HOST_DMA_CH2STA_HWEVENT_W 3U
2096 #define HOST_DMA_CH2STA_HWEVENT_M 0x00000007U
2097 #define HOST_DMA_CH2STA_HWEVENT_S 0U
2098 /*
2099 
2100  Field: FSMSTATE
2101  From..to bits: 8...11
2102  DefaultValue: 0x0
2103  Access type: read-only
2104  Description: FSM state:
2105  0x0. IDLE
2106  0x2. EXCEPTION
2107  0x3. DRAIN
2108  0x4. ABORT
2109  0x8. PENDING ARB
2110  0x9. COPY
2111  0xA. COPY LAST
2112  0xC. DONE
2113  0xD. SAVE CTX
2114  0xE. WAIT NEXT TRANS
2115  0xF. LAST
2116 
2117 */
2118 #define HOST_DMA_CH2STA_FSMSTATE_W 4U
2119 #define HOST_DMA_CH2STA_FSMSTATE_M 0x00000F00U
2120 #define HOST_DMA_CH2STA_FSMSTATE_S 8U
2121 /*
2122 
2123  Field: RUN
2124  From..to bits: 16...16
2125  DefaultValue: 0x0
2126  Access type: read-only
2127  Description: Indication that channel is currently transfering data and is not idle.
2128  Channels that are waiting on arbitration are considered running.
2129 
2130 */
2131 #define HOST_DMA_CH2STA_RUN 0x00010000U
2132 #define HOST_DMA_CH2STA_RUN_M 0x00010000U
2133 #define HOST_DMA_CH2STA_RUN_S 16U
2134 
2135 
2136 /*-----------------------------------REGISTER------------------------------------
2137  Register name: CH2TIPTR
2138  Offset name: HOST_DMA_O_CH2TIPTR
2139  Relative address: 0x3004
2140  Description: 32 bit address pointer of channel current input.
2141  Default Value: 0x00000000
2142 
2143  Field: IPTR
2144  From..to bits: 0...31
2145  DefaultValue: 0x0
2146  Access type: read-write
2147  Description: 32 bit address pointer of channel current input.
2148 
2149 */
2150 #define HOST_DMA_CH2TIPTR_IPTR_W 32U
2151 #define HOST_DMA_CH2TIPTR_IPTR_M 0xFFFFFFFFU
2152 #define HOST_DMA_CH2TIPTR_IPTR_S 0U
2153 
2154 
2155 /*-----------------------------------REGISTER------------------------------------
2156  Register name: CH2TOPTR
2157  Offset name: HOST_DMA_O_CH2TOPTR
2158  Relative address: 0x3008
2159  Description: 32 bit address pointer of channel current output.
2160  Default Value: 0x00000000
2161 
2162  Field: OPTR
2163  From..to bits: 0...31
2164  DefaultValue: 0x0
2165  Access type: read-write
2166  Description: 32 bit address pointer of channel current output.
2167 
2168 */
2169 #define HOST_DMA_CH2TOPTR_OPTR_W 32U
2170 #define HOST_DMA_CH2TOPTR_OPTR_M 0xFFFFFFFFU
2171 #define HOST_DMA_CH2TOPTR_OPTR_S 0U
2172 
2173 
2174 /*-----------------------------------REGISTER------------------------------------
2175  Register name: CH2TCTL
2176  Offset name: HOST_DMA_O_CH2TCTL
2177  Relative address: 0x300C
2178  Description: Transaction control
2179  Default Value: 0x00000000
2180 
2181  Field: TRANSB
2182  From..to bits: 0...13
2183  DefaultValue: 0x0
2184  Access type: read-write
2185  Description: Number of bytes of the transaction to move from source to destination.
2186 
2187 */
2188 #define HOST_DMA_CH2TCTL_TRANSB_W 14U
2189 #define HOST_DMA_CH2TCTL_TRANSB_M 0x00003FFFU
2190 #define HOST_DMA_CH2TCTL_TRANSB_S 0U
2191 /*
2192 
2193  Field: BURSTREQ
2194  From..to bits: 16...16
2195  DefaultValue: 0x0
2196  Access type: read-write
2197  Description: In case number of words to tranfer smaller than block size, DMA would use signle request and work with block size of 1 word. In case we know request would be set on altough number of words to tranfer is smaller than block size, we can set this field on and DMA will wait for block_request and transact all remaining words in one block.
2198 
2199 */
2200 #define HOST_DMA_CH2TCTL_BURSTREQ 0x00010000U
2201 #define HOST_DMA_CH2TCTL_BURSTREQ_M 0x00010000U
2202 #define HOST_DMA_CH2TCTL_BURSTREQ_S 16U
2203 /*
2204 
2205  Field: SPARE
2206  From..to bits: 17...17
2207  DefaultValue: 0x0
2208  Access type: read-write
2209  Description: spare
2210 
2211 */
2212 #define HOST_DMA_CH2TCTL_SPARE 0x00020000U
2213 #define HOST_DMA_CH2TCTL_SPARE_M 0x00020000U
2214 #define HOST_DMA_CH2TCTL_SPARE_S 17U
2215 /*
2216 
2217  Field: ENDIANESS
2218  From..to bits: 24...25
2219  DefaultValue: 0x0
2220  Access type: read-write
2221  Description: 0 -no endianess, 1 - byte endianess, 2 - bit endianess
2222 
2223 */
2224 #define HOST_DMA_CH2TCTL_ENDIANESS_W 2U
2225 #define HOST_DMA_CH2TCTL_ENDIANESS_M 0x03000000U
2226 #define HOST_DMA_CH2TCTL_ENDIANESS_S 24U
2227 
2228 
2229 /*-----------------------------------REGISTER------------------------------------
2230  Register name: CH2TCTL2
2231  Offset name: HOST_DMA_O_CH2TCTL2
2232  Relative address: 0x3010
2233  Description: DMA command interface
2234  Default Value: 0x00000000
2235 
2236  Field: CMD
2237  From..to bits: 0...2
2238  DefaultValue: 0x0
2239  Access type: write-only
2240  Description: 1 - run command. Start a transaction.
2241  2- abort command - stop reansaction.
2242  4- init command - init new transaction afet abort/error.
2243 
2244 */
2245 #define HOST_DMA_CH2TCTL2_CMD_W 3U
2246 #define HOST_DMA_CH2TCTL2_CMD_M 0x00000007U
2247 #define HOST_DMA_CH2TCTL2_CMD_S 0U
2248 
2249 
2250 /*-----------------------------------REGISTER------------------------------------
2251  Register name: CH2TSTA
2252  Offset name: HOST_DMA_O_CH2TSTA
2253  Relative address: 0x3014
2254  Description: Job completion reason - either last transaction or exception
2255  Default Value: 0x00000000
2256 
2257  Field: STA
2258  From..to bits: 0...0
2259  DefaultValue: 0x0
2260  Access type: read-only
2261  Description: channel OCP rstatus recieved at one of the primary ports.
2262  Once an error is encountered the channel will enter an Exception state and stay the until an init command is recieved.
2263  ICLR does not affect this status.
2264 
2265 */
2266 #define HOST_DMA_CH2TSTA_STA 0x00000001U
2267 #define HOST_DMA_CH2TSTA_STA_M 0x00000001U
2268 #define HOST_DMA_CH2TSTA_STA_S 0U
2269 /*
2270 
2271  Field: OFFSET
2272  From..to bits: 8...15
2273  DefaultValue: 0x0
2274  Access type: read-only
2275  Description: Offset in words from block boundary. Actually number of word have been transferred in this block
2276 
2277 */
2278 #define HOST_DMA_CH2TSTA_OFFSET_W 8U
2279 #define HOST_DMA_CH2TSTA_OFFSET_M 0x0000FF00U
2280 #define HOST_DMA_CH2TSTA_OFFSET_S 8U
2281 /*
2282 
2283  Field: REMAINB
2284  From..to bits: 16...29
2285  DefaultValue: 0x0
2286  Access type: read-only
2287  Description: Number of bytes remaining to complete the transaction.
2288 
2289 */
2290 #define HOST_DMA_CH2TSTA_REMAINB_W 14U
2291 #define HOST_DMA_CH2TSTA_REMAINB_M 0x3FFF0000U
2292 #define HOST_DMA_CH2TSTA_REMAINB_S 16U
2293 
2294 
2295 /*-----------------------------------REGISTER------------------------------------
2296  Register name: CH2JCTL
2297  Offset name: HOST_DMA_O_CH2JCTL
2298  Relative address: 0x301C
2299  Description: Job control register
2300  Default Value: 0x00000000
2301 
2302  Field: WORDSIZE
2303  From..to bits: 0...1
2304  DefaultValue: 0x0
2305  Access type: read-write
2306  Description: 00 -word size is 32 bits
2307  01 -word size is 16 bits
2308  10 -word size is 8 bits
2309 
2310 */
2311 #define HOST_DMA_CH2JCTL_WORDSIZE_W 2U
2312 #define HOST_DMA_CH2JCTL_WORDSIZE_M 0x00000003U
2313 #define HOST_DMA_CH2JCTL_WORDSIZE_S 0U
2314 /*
2315 
2316  Field: BLKSIZE
2317  From..to bits: 16...21
2318  DefaultValue: 0x0
2319  Access type: read-write
2320  Description: size of the block in words. If block mode is enabled, defines the address wrap around.
2321  Since channel arbitration decisions are made every block, this also effect how much bandwidth is given to a specific channel.
2322 
2323 
2324 
2325 */
2326 #define HOST_DMA_CH2JCTL_BLKSIZE_W 6U
2327 #define HOST_DMA_CH2JCTL_BLKSIZE_M 0x003F0000U
2328 #define HOST_DMA_CH2JCTL_BLKSIZE_S 16U
2329 /*
2330 
2331  Field: DMASIGBPS
2332  From..to bits: 26...26
2333  DefaultValue: 0x0
2334  Access type: read-write
2335  Description: Tie high channel DMA req signal. This is useful for memory to memort transaction
2336 
2337 */
2338 #define HOST_DMA_CH2JCTL_DMASIGBPS 0x04000000U
2339 #define HOST_DMA_CH2JCTL_DMASIGBPS_M 0x04000000U
2340 #define HOST_DMA_CH2JCTL_DMASIGBPS_S 26U
2341 /*
2342 
2343  Field: FIFOMODS
2344  From..to bits: 27...27
2345  DefaultValue: 0x0
2346  Access type: read-write
2347  Description: Source pointer fifo mode
2348 
2349 */
2350 #define HOST_DMA_CH2JCTL_FIFOMODS 0x08000000U
2351 #define HOST_DMA_CH2JCTL_FIFOMODS_M 0x08000000U
2352 #define HOST_DMA_CH2JCTL_FIFOMODS_S 27U
2353 /*
2354 
2355  Field: FIFOMODD
2356  From..to bits: 28...28
2357  DefaultValue: 0x0
2358  Access type: read-write
2359  Description: Destination pointer fifo mode
2360 
2361 */
2362 #define HOST_DMA_CH2JCTL_FIFOMODD 0x10000000U
2363 #define HOST_DMA_CH2JCTL_FIFOMODD_M 0x10000000U
2364 #define HOST_DMA_CH2JCTL_FIFOMODD_S 28U
2365 /*
2366 
2367  Field: SRCDSTCFG
2368  From..to bits: 29...29
2369  DefaultValue: 0x0
2370  Access type: read-write
2371  Description: 0 - Sorce is periph: transaction from periph to memory.
2372  1 - Destination is periph :transaction from Memory to periph
2373 
2374 */
2375 #define HOST_DMA_CH2JCTL_SRCDSTCFG 0x20000000U
2376 #define HOST_DMA_CH2JCTL_SRCDSTCFG_M 0x20000000U
2377 #define HOST_DMA_CH2JCTL_SRCDSTCFG_S 29U
2378 /*
2379 
2380  Field: ENCLR
2381  From..to bits: 30...30
2382  DefaultValue: 0x0
2383  Access type: read-write
2384  Description: Enable DMA to set a rd/wr clear pulse at the beginning of a job (one cycle after run cmd)
2385 
2386 */
2387 #define HOST_DMA_CH2JCTL_ENCLR 0x40000000U
2388 #define HOST_DMA_CH2JCTL_ENCLR_M 0x40000000U
2389 #define HOST_DMA_CH2JCTL_ENCLR_S 30U
2390 
2391 
2392 /*-----------------------------------REGISTER------------------------------------
2393  Register name: CH3STA
2394  Offset name: HOST_DMA_O_CH3STA
2395  Relative address: 0x4000
2396  Description: Channel Status FSM state and run indication.
2397  Default Value: 0x00000000
2398 
2399  Field: HWEVENT
2400  From..to bits: 0...2
2401  DefaultValue: 0x0
2402  Access type: read-only
2403  Description: HW event status.
2404  Channel status is a bit mask. Multiple bits can be set at the same time
2405  0. PROCESSING
2406  1. TRANS DONE
2407  2. ABORT
2408  4. EXCEPTION
2409 
2410 */
2411 #define HOST_DMA_CH3STA_HWEVENT_W 3U
2412 #define HOST_DMA_CH3STA_HWEVENT_M 0x00000007U
2413 #define HOST_DMA_CH3STA_HWEVENT_S 0U
2414 /*
2415 
2416  Field: FSMSTATE
2417  From..to bits: 8...11
2418  DefaultValue: 0x0
2419  Access type: read-only
2420  Description: FSM state:
2421  0x0. IDLE
2422  0x2. EXCEPTION
2423  0x3. DRAIN
2424  0x4. ABORT
2425  0x8. PENDING ARB
2426  0x9. COPY
2427  0xA. COPY LAST
2428  0xC. DONE
2429  0xD. SAVE CTX
2430  0xE. WAIT NEXT TRANS
2431  0xF. LAST
2432 
2433 */
2434 #define HOST_DMA_CH3STA_FSMSTATE_W 4U
2435 #define HOST_DMA_CH3STA_FSMSTATE_M 0x00000F00U
2436 #define HOST_DMA_CH3STA_FSMSTATE_S 8U
2437 /*
2438 
2439  Field: RUN
2440  From..to bits: 16...16
2441  DefaultValue: 0x0
2442  Access type: read-only
2443  Description: Indication that channel is currently transfering data and is not idle.
2444  Channels that are waiting on arbitration are considered running.
2445 
2446 */
2447 #define HOST_DMA_CH3STA_RUN 0x00010000U
2448 #define HOST_DMA_CH3STA_RUN_M 0x00010000U
2449 #define HOST_DMA_CH3STA_RUN_S 16U
2450 
2451 
2452 /*-----------------------------------REGISTER------------------------------------
2453  Register name: CH3TIPTR
2454  Offset name: HOST_DMA_O_CH3TIPTR
2455  Relative address: 0x4004
2456  Description: 32 bit address pointer of channel current input.
2457  Default Value: 0x00000000
2458 
2459  Field: IPTR
2460  From..to bits: 0...31
2461  DefaultValue: 0x0
2462  Access type: read-write
2463  Description: 32 bit address pointer of channel current input.
2464 
2465 */
2466 #define HOST_DMA_CH3TIPTR_IPTR_W 32U
2467 #define HOST_DMA_CH3TIPTR_IPTR_M 0xFFFFFFFFU
2468 #define HOST_DMA_CH3TIPTR_IPTR_S 0U
2469 
2470 
2471 /*-----------------------------------REGISTER------------------------------------
2472  Register name: CH3TOPTR
2473  Offset name: HOST_DMA_O_CH3TOPTR
2474  Relative address: 0x4008
2475  Description: 32 bit address pointer of channel current output.
2476  Default Value: 0x00000000
2477 
2478  Field: OPTR
2479  From..to bits: 0...31
2480  DefaultValue: 0x0
2481  Access type: read-write
2482  Description: 32 bit address pointer of channel current output.
2483 
2484 */
2485 #define HOST_DMA_CH3TOPTR_OPTR_W 32U
2486 #define HOST_DMA_CH3TOPTR_OPTR_M 0xFFFFFFFFU
2487 #define HOST_DMA_CH3TOPTR_OPTR_S 0U
2488 
2489 
2490 /*-----------------------------------REGISTER------------------------------------
2491  Register name: CH3TCTL
2492  Offset name: HOST_DMA_O_CH3TCTL
2493  Relative address: 0x400C
2494  Description: Transaction control
2495  Default Value: 0x00000000
2496 
2497  Field: TRANSB
2498  From..to bits: 0...13
2499  DefaultValue: 0x0
2500  Access type: read-write
2501  Description: Number of bytes of the transaction to move from source to destination.
2502 
2503 */
2504 #define HOST_DMA_CH3TCTL_TRANSB_W 14U
2505 #define HOST_DMA_CH3TCTL_TRANSB_M 0x00003FFFU
2506 #define HOST_DMA_CH3TCTL_TRANSB_S 0U
2507 /*
2508 
2509  Field: BURSTREQ
2510  From..to bits: 16...16
2511  DefaultValue: 0x0
2512  Access type: read-write
2513  Description: In case number of words to tranfer smaller than block size, DMA would use signle request and work with block size of 1 word. In case we know request would be set on altough number of words to tranfer is smaller than block size, we can set this field on and DMA will wait for block_request and transact all remaining words in one block.
2514 
2515 */
2516 #define HOST_DMA_CH3TCTL_BURSTREQ 0x00010000U
2517 #define HOST_DMA_CH3TCTL_BURSTREQ_M 0x00010000U
2518 #define HOST_DMA_CH3TCTL_BURSTREQ_S 16U
2519 /*
2520 
2521  Field: SPARE
2522  From..to bits: 17...17
2523  DefaultValue: 0x0
2524  Access type: read-write
2525  Description: spare
2526 
2527 */
2528 #define HOST_DMA_CH3TCTL_SPARE 0x00020000U
2529 #define HOST_DMA_CH3TCTL_SPARE_M 0x00020000U
2530 #define HOST_DMA_CH3TCTL_SPARE_S 17U
2531 /*
2532 
2533  Field: ENDIANESS
2534  From..to bits: 24...25
2535  DefaultValue: 0x0
2536  Access type: read-write
2537  Description: 0 -no endianess, 1 - byte endianess, 2 - bit endianess
2538 
2539 */
2540 #define HOST_DMA_CH3TCTL_ENDIANESS_W 2U
2541 #define HOST_DMA_CH3TCTL_ENDIANESS_M 0x03000000U
2542 #define HOST_DMA_CH3TCTL_ENDIANESS_S 24U
2543 
2544 
2545 /*-----------------------------------REGISTER------------------------------------
2546  Register name: CH3TCTL2
2547  Offset name: HOST_DMA_O_CH3TCTL2
2548  Relative address: 0x4010
2549  Description: DMA command interface
2550  Default Value: 0x00000000
2551 
2552  Field: CMD
2553  From..to bits: 0...2
2554  DefaultValue: 0x0
2555  Access type: write-only
2556  Description: 1 - run command. Start a transaction.
2557  2- abort command - stop reansaction.
2558  4- init command - init new transaction afet abort/error.
2559 
2560 */
2561 #define HOST_DMA_CH3TCTL2_CMD_W 3U
2562 #define HOST_DMA_CH3TCTL2_CMD_M 0x00000007U
2563 #define HOST_DMA_CH3TCTL2_CMD_S 0U
2564 
2565 
2566 /*-----------------------------------REGISTER------------------------------------
2567  Register name: CH3TSTA
2568  Offset name: HOST_DMA_O_CH3TSTA
2569  Relative address: 0x4014
2570  Description: Job completion reason - either last transaction or exception
2571  Default Value: 0x00000000
2572 
2573  Field: STA
2574  From..to bits: 0...0
2575  DefaultValue: 0x0
2576  Access type: read-only
2577  Description: channel OCP rstatus recieved at one of the primary ports.
2578  Once an error is encountered the channel will enter an Exception state and stay the until an init command is recieved.
2579  ICLR does not affect this status.
2580 
2581 */
2582 #define HOST_DMA_CH3TSTA_STA 0x00000001U
2583 #define HOST_DMA_CH3TSTA_STA_M 0x00000001U
2584 #define HOST_DMA_CH3TSTA_STA_S 0U
2585 /*
2586 
2587  Field: OFFSET
2588  From..to bits: 8...15
2589  DefaultValue: 0x0
2590  Access type: read-only
2591  Description: Offset in words from block boundary. Actually number of word have been transferred in this block
2592 
2593 */
2594 #define HOST_DMA_CH3TSTA_OFFSET_W 8U
2595 #define HOST_DMA_CH3TSTA_OFFSET_M 0x0000FF00U
2596 #define HOST_DMA_CH3TSTA_OFFSET_S 8U
2597 /*
2598 
2599  Field: REMAINB
2600  From..to bits: 16...29
2601  DefaultValue: 0x0
2602  Access type: read-only
2603  Description: Number of bytes remaining to complete the transaction.
2604 
2605 */
2606 #define HOST_DMA_CH3TSTA_REMAINB_W 14U
2607 #define HOST_DMA_CH3TSTA_REMAINB_M 0x3FFF0000U
2608 #define HOST_DMA_CH3TSTA_REMAINB_S 16U
2609 
2610 
2611 /*-----------------------------------REGISTER------------------------------------
2612  Register name: CH3JCTL
2613  Offset name: HOST_DMA_O_CH3JCTL
2614  Relative address: 0x401C
2615  Description: Job control register
2616  Default Value: 0x00000000
2617 
2618  Field: WORDSIZE
2619  From..to bits: 0...1
2620  DefaultValue: 0x0
2621  Access type: read-write
2622  Description: 00 -word size is 32 bits
2623  01 -word size is 16 bits
2624  10 -word size is 8 bits
2625 
2626 */
2627 #define HOST_DMA_CH3JCTL_WORDSIZE_W 2U
2628 #define HOST_DMA_CH3JCTL_WORDSIZE_M 0x00000003U
2629 #define HOST_DMA_CH3JCTL_WORDSIZE_S 0U
2630 /*
2631 
2632  Field: BLKSIZE
2633  From..to bits: 16...21
2634  DefaultValue: 0x0
2635  Access type: read-write
2636  Description: size of the block in words. If block mode is enabled, defines the address wrap around.
2637  Since channel arbitration decisions are made every block, this also effect how much bandwidth is given to a specific channel.
2638 
2639 
2640 
2641 */
2642 #define HOST_DMA_CH3JCTL_BLKSIZE_W 6U
2643 #define HOST_DMA_CH3JCTL_BLKSIZE_M 0x003F0000U
2644 #define HOST_DMA_CH3JCTL_BLKSIZE_S 16U
2645 /*
2646 
2647  Field: DMASIGBPS
2648  From..to bits: 26...26
2649  DefaultValue: 0x0
2650  Access type: read-write
2651  Description: Tie high channel DMA req signal. This is useful for memory to memort transaction
2652 
2653 */
2654 #define HOST_DMA_CH3JCTL_DMASIGBPS 0x04000000U
2655 #define HOST_DMA_CH3JCTL_DMASIGBPS_M 0x04000000U
2656 #define HOST_DMA_CH3JCTL_DMASIGBPS_S 26U
2657 /*
2658 
2659  Field: FIFOMODS
2660  From..to bits: 27...27
2661  DefaultValue: 0x0
2662  Access type: read-write
2663  Description: Source pointer fifo mode
2664 
2665 */
2666 #define HOST_DMA_CH3JCTL_FIFOMODS 0x08000000U
2667 #define HOST_DMA_CH3JCTL_FIFOMODS_M 0x08000000U
2668 #define HOST_DMA_CH3JCTL_FIFOMODS_S 27U
2669 /*
2670 
2671  Field: FIFOMODD
2672  From..to bits: 28...28
2673  DefaultValue: 0x0
2674  Access type: read-write
2675  Description: Destination pointer fifo mode
2676 
2677 */
2678 #define HOST_DMA_CH3JCTL_FIFOMODD 0x10000000U
2679 #define HOST_DMA_CH3JCTL_FIFOMODD_M 0x10000000U
2680 #define HOST_DMA_CH3JCTL_FIFOMODD_S 28U
2681 /*
2682 
2683  Field: SRCDSTCFG
2684  From..to bits: 29...29
2685  DefaultValue: 0x0
2686  Access type: read-write
2687  Description: 0 - Sorce is periph: transaction from periph to memory.
2688  1 - Destination is periph :transaction from Memory to periph
2689 
2690 */
2691 #define HOST_DMA_CH3JCTL_SRCDSTCFG 0x20000000U
2692 #define HOST_DMA_CH3JCTL_SRCDSTCFG_M 0x20000000U
2693 #define HOST_DMA_CH3JCTL_SRCDSTCFG_S 29U
2694 /*
2695 
2696  Field: ENCLR
2697  From..to bits: 30...30
2698  DefaultValue: 0x0
2699  Access type: read-write
2700  Description: Enable DMA to set a rd/wr clear pulse at the beginning of a job (one cycle after run cmd)
2701 
2702 */
2703 #define HOST_DMA_CH3JCTL_ENCLR 0x40000000U
2704 #define HOST_DMA_CH3JCTL_ENCLR_M 0x40000000U
2705 #define HOST_DMA_CH3JCTL_ENCLR_S 30U
2706 
2707 
2708 /*-----------------------------------REGISTER------------------------------------
2709  Register name: CH4STA
2710  Offset name: HOST_DMA_O_CH4STA
2711  Relative address: 0x5000
2712  Description: Channel Status FSM state and run indication.
2713  Default Value: 0x00000000
2714 
2715  Field: HWEVENT
2716  From..to bits: 0...2
2717  DefaultValue: 0x0
2718  Access type: read-only
2719  Description: HW event status.
2720  Channel status is a bit mask. Multiple bits can be set at the same time
2721  0. PROCESSING
2722  1. TRANS DONE
2723  2. ABORT
2724  4. EXCEPTION
2725 
2726 */
2727 #define HOST_DMA_CH4STA_HWEVENT_W 3U
2728 #define HOST_DMA_CH4STA_HWEVENT_M 0x00000007U
2729 #define HOST_DMA_CH4STA_HWEVENT_S 0U
2730 /*
2731 
2732  Field: FSMSTATE
2733  From..to bits: 8...11
2734  DefaultValue: 0x0
2735  Access type: read-only
2736  Description: FSM state:
2737  0x0. IDLE
2738  0x2. EXCEPTION
2739  0x3. DRAIN
2740  0x4. ABORT
2741  0x8. PENDING ARB
2742  0x9. COPY
2743  0xA. COPY LAST
2744  0xC. DONE
2745  0xD. SAVE CTX
2746  0xE. WAIT NEXT TRANS
2747  0xF. LAST
2748 
2749 */
2750 #define HOST_DMA_CH4STA_FSMSTATE_W 4U
2751 #define HOST_DMA_CH4STA_FSMSTATE_M 0x00000F00U
2752 #define HOST_DMA_CH4STA_FSMSTATE_S 8U
2753 /*
2754 
2755  Field: RUN
2756  From..to bits: 16...16
2757  DefaultValue: 0x0
2758  Access type: read-only
2759  Description: Indication that channel is currently transfering data and is not idle.
2760  Channels that are waiting on arbitration are considered running.
2761 
2762 */
2763 #define HOST_DMA_CH4STA_RUN 0x00010000U
2764 #define HOST_DMA_CH4STA_RUN_M 0x00010000U
2765 #define HOST_DMA_CH4STA_RUN_S 16U
2766 
2767 
2768 /*-----------------------------------REGISTER------------------------------------
2769  Register name: CH4TIPTR
2770  Offset name: HOST_DMA_O_CH4TIPTR
2771  Relative address: 0x5004
2772  Description: 32 bit address pointer of channel current input.
2773  Default Value: 0x00000000
2774 
2775  Field: INPTR
2776  From..to bits: 0...31
2777  DefaultValue: 0x0
2778  Access type: read-write
2779  Description: 32 bit address pointer of channel current input.
2780 
2781 */
2782 #define HOST_DMA_CH4TIPTR_INPTR_W 32U
2783 #define HOST_DMA_CH4TIPTR_INPTR_M 0xFFFFFFFFU
2784 #define HOST_DMA_CH4TIPTR_INPTR_S 0U
2785 
2786 
2787 /*-----------------------------------REGISTER------------------------------------
2788  Register name: CH4TOPTR
2789  Offset name: HOST_DMA_O_CH4TOPTR
2790  Relative address: 0x5008
2791  Description: 32 bit address pointer of channel current output.
2792  Default Value: 0x00000000
2793 
2794  Field: OPTR
2795  From..to bits: 0...31
2796  DefaultValue: 0x0
2797  Access type: read-write
2798  Description: 32 bit address pointer of channel current output.
2799 
2800 */
2801 #define HOST_DMA_CH4TOPTR_OPTR_W 32U
2802 #define HOST_DMA_CH4TOPTR_OPTR_M 0xFFFFFFFFU
2803 #define HOST_DMA_CH4TOPTR_OPTR_S 0U
2804 
2805 
2806 /*-----------------------------------REGISTER------------------------------------
2807  Register name: CH4TCTL
2808  Offset name: HOST_DMA_O_CH4TCTL
2809  Relative address: 0x500C
2810  Description: Transaction control
2811  Default Value: 0x00000000
2812 
2813  Field: TRANSB
2814  From..to bits: 0...13
2815  DefaultValue: 0x0
2816  Access type: read-write
2817  Description: Number of bytes of the transaction to move from source to destination.
2818 
2819 */
2820 #define HOST_DMA_CH4TCTL_TRANSB_W 14U
2821 #define HOST_DMA_CH4TCTL_TRANSB_M 0x00003FFFU
2822 #define HOST_DMA_CH4TCTL_TRANSB_S 0U
2823 /*
2824 
2825  Field: BURSTREQ
2826  From..to bits: 16...16
2827  DefaultValue: 0x0
2828  Access type: read-write
2829  Description: In case number of words to tranfer smaller than block size, DMA would use signle request and work with block size of 1 word. In case we know request would be set on altough number of words to tranfer is smaller than block size, we can set this field on and DMA will wait for block_request and transact all remaining words in one block.
2830 
2831 */
2832 #define HOST_DMA_CH4TCTL_BURSTREQ 0x00010000U
2833 #define HOST_DMA_CH4TCTL_BURSTREQ_M 0x00010000U
2834 #define HOST_DMA_CH4TCTL_BURSTREQ_S 16U
2835 /*
2836 
2837  Field: SPARE
2838  From..to bits: 17...17
2839  DefaultValue: 0x0
2840  Access type: read-write
2841  Description: spare
2842 
2843 */
2844 #define HOST_DMA_CH4TCTL_SPARE 0x00020000U
2845 #define HOST_DMA_CH4TCTL_SPARE_M 0x00020000U
2846 #define HOST_DMA_CH4TCTL_SPARE_S 17U
2847 /*
2848 
2849  Field: ENDIANESS
2850  From..to bits: 24...25
2851  DefaultValue: 0x0
2852  Access type: read-write
2853  Description: 0 -no endianess, 1 - byte endianess, 2 - bit endianess
2854 
2855 */
2856 #define HOST_DMA_CH4TCTL_ENDIANESS_W 2U
2857 #define HOST_DMA_CH4TCTL_ENDIANESS_M 0x03000000U
2858 #define HOST_DMA_CH4TCTL_ENDIANESS_S 24U
2859 
2860 
2861 /*-----------------------------------REGISTER------------------------------------
2862  Register name: CH4TCTL2
2863  Offset name: HOST_DMA_O_CH4TCTL2
2864  Relative address: 0x5010
2865  Description: DMA command interface
2866  Default Value: 0x00000000
2867 
2868  Field: CMD
2869  From..to bits: 0...2
2870  DefaultValue: 0x0
2871  Access type: write-only
2872  Description: 1 - run command. Start a transaction.
2873  2- abort command - stop reansaction.
2874  4- init command - init new transaction afet abort/error.
2875 
2876 */
2877 #define HOST_DMA_CH4TCTL2_CMD_W 3U
2878 #define HOST_DMA_CH4TCTL2_CMD_M 0x00000007U
2879 #define HOST_DMA_CH4TCTL2_CMD_S 0U
2880 
2881 
2882 /*-----------------------------------REGISTER------------------------------------
2883  Register name: CH4TSTA
2884  Offset name: HOST_DMA_O_CH4TSTA
2885  Relative address: 0x5014
2886  Description: Job completion reason - either last transaction or exception
2887  Default Value: 0x00000000
2888 
2889  Field: STA
2890  From..to bits: 0...0
2891  DefaultValue: 0x0
2892  Access type: read-only
2893  Description: channel OCP rstatus recieved at one of the primary ports.
2894  Once an error is encountered the channel will enter an Exception state and stay the until an init command is recieved.
2895  ICLR does not affect this status.
2896 
2897 */
2898 #define HOST_DMA_CH4TSTA_STA 0x00000001U
2899 #define HOST_DMA_CH4TSTA_STA_M 0x00000001U
2900 #define HOST_DMA_CH4TSTA_STA_S 0U
2901 /*
2902 
2903  Field: OFFSET
2904  From..to bits: 8...15
2905  DefaultValue: 0x0
2906  Access type: read-only
2907  Description: Offset in words from block boundary. Actually number of word have been transferred in this block
2908 
2909 */
2910 #define HOST_DMA_CH4TSTA_OFFSET_W 8U
2911 #define HOST_DMA_CH4TSTA_OFFSET_M 0x0000FF00U
2912 #define HOST_DMA_CH4TSTA_OFFSET_S 8U
2913 /*
2914 
2915  Field: REMAINB
2916  From..to bits: 16...29
2917  DefaultValue: 0x0
2918  Access type: read-only
2919  Description: Number of bytes remaining to complete the transaction.
2920 
2921 */
2922 #define HOST_DMA_CH4TSTA_REMAINB_W 14U
2923 #define HOST_DMA_CH4TSTA_REMAINB_M 0x3FFF0000U
2924 #define HOST_DMA_CH4TSTA_REMAINB_S 16U
2925 
2926 
2927 /*-----------------------------------REGISTER------------------------------------
2928  Register name: CH4JCTL
2929  Offset name: HOST_DMA_O_CH4JCTL
2930  Relative address: 0x501C
2931  Description: Job control register
2932  Default Value: 0x00000000
2933 
2934  Field: WORDSIZE
2935  From..to bits: 0...1
2936  DefaultValue: 0x0
2937  Access type: read-write
2938  Description: 00 -word size is 32 bits
2939  01 -word size is 16 bits
2940  10 -word size is 8 bits
2941 
2942 */
2943 #define HOST_DMA_CH4JCTL_WORDSIZE_W 2U
2944 #define HOST_DMA_CH4JCTL_WORDSIZE_M 0x00000003U
2945 #define HOST_DMA_CH4JCTL_WORDSIZE_S 0U
2946 /*
2947 
2948  Field: BLKSIZE
2949  From..to bits: 16...21
2950  DefaultValue: 0x0
2951  Access type: read-write
2952  Description: size of the block in words. If block mode is enabled, defines the address wrap around.
2953  Since channel arbitration decisions are made every block, this also effect how much bandwidth is given to a specific channel.
2954 
2955 
2956 
2957 */
2958 #define HOST_DMA_CH4JCTL_BLKSIZE_W 6U
2959 #define HOST_DMA_CH4JCTL_BLKSIZE_M 0x003F0000U
2960 #define HOST_DMA_CH4JCTL_BLKSIZE_S 16U
2961 /*
2962 
2963  Field: DMASIGBPS
2964  From..to bits: 26...26
2965  DefaultValue: 0x0
2966  Access type: read-write
2967  Description: Tie high channel DMA req signal. This is useful for memory to memort transaction
2968 
2969 */
2970 #define HOST_DMA_CH4JCTL_DMASIGBPS 0x04000000U
2971 #define HOST_DMA_CH4JCTL_DMASIGBPS_M 0x04000000U
2972 #define HOST_DMA_CH4JCTL_DMASIGBPS_S 26U
2973 /*
2974 
2975  Field: FIFOMODS
2976  From..to bits: 27...27
2977  DefaultValue: 0x0
2978  Access type: read-write
2979  Description: Source pointer fifo mode
2980 
2981 */
2982 #define HOST_DMA_CH4JCTL_FIFOMODS 0x08000000U
2983 #define HOST_DMA_CH4JCTL_FIFOMODS_M 0x08000000U
2984 #define HOST_DMA_CH4JCTL_FIFOMODS_S 27U
2985 /*
2986 
2987  Field: FIFOMODD
2988  From..to bits: 28...28
2989  DefaultValue: 0x0
2990  Access type: read-write
2991  Description: Destination pointer fifo mode
2992 
2993 */
2994 #define HOST_DMA_CH4JCTL_FIFOMODD 0x10000000U
2995 #define HOST_DMA_CH4JCTL_FIFOMODD_M 0x10000000U
2996 #define HOST_DMA_CH4JCTL_FIFOMODD_S 28U
2997 /*
2998 
2999  Field: SRCDSTCFG
3000  From..to bits: 29...29
3001  DefaultValue: 0x0
3002  Access type: read-write
3003  Description: 0 - Sorce is periph: transaction from periph to memory.
3004  1 - Destination is periph :transaction from Memory to periph
3005 
3006 */
3007 #define HOST_DMA_CH4JCTL_SRCDSTCFG 0x20000000U
3008 #define HOST_DMA_CH4JCTL_SRCDSTCFG_M 0x20000000U
3009 #define HOST_DMA_CH4JCTL_SRCDSTCFG_S 29U
3010 /*
3011 
3012  Field: ENCLR
3013  From..to bits: 30...30
3014  DefaultValue: 0x0
3015  Access type: read-write
3016  Description: Enable DMA to set a rd/wr clear pulse at the beginning of a job (one cycle after run cmd)
3017 
3018 */
3019 #define HOST_DMA_CH4JCTL_ENCLR 0x40000000U
3020 #define HOST_DMA_CH4JCTL_ENCLR_M 0x40000000U
3021 #define HOST_DMA_CH4JCTL_ENCLR_S 30U
3022 
3023 
3024 /*-----------------------------------REGISTER------------------------------------
3025  Register name: CH5STA
3026  Offset name: HOST_DMA_O_CH5STA
3027  Relative address: 0x6000
3028  Description: Channel Status FSM state and run indication.
3029  Default Value: 0x00000000
3030 
3031  Field: HWEVENT
3032  From..to bits: 0...2
3033  DefaultValue: 0x0
3034  Access type: read-only
3035  Description: HW event status.
3036  Channel status is a bit mask. Multiple bits can be set at the same time
3037  0. PROCESSING
3038  1. TRANS DONE
3039  2. ABORT
3040  4. EXCEPTION
3041 
3042 */
3043 #define HOST_DMA_CH5STA_HWEVENT_W 3U
3044 #define HOST_DMA_CH5STA_HWEVENT_M 0x00000007U
3045 #define HOST_DMA_CH5STA_HWEVENT_S 0U
3046 /*
3047 
3048  Field: FSMSTATE
3049  From..to bits: 8...11
3050  DefaultValue: 0x0
3051  Access type: read-only
3052  Description: FSM state:
3053  0x0. IDLE
3054  0x2. EXCEPTION
3055  0x3. DRAIN
3056  0x4. ABORT
3057  0x8. PENDING ARB
3058  0x9. COPY
3059  0xA. COPY LAST
3060  0xC. DONE
3061  0xD. SAVE CTX
3062  0xE. WAIT NEXT TRANS
3063  0xF. LAST
3064 
3065 */
3066 #define HOST_DMA_CH5STA_FSMSTATE_W 4U
3067 #define HOST_DMA_CH5STA_FSMSTATE_M 0x00000F00U
3068 #define HOST_DMA_CH5STA_FSMSTATE_S 8U
3069 /*
3070 
3071  Field: RUN
3072  From..to bits: 16...16
3073  DefaultValue: 0x0
3074  Access type: read-only
3075  Description: Indication that channel is currently transfering data and is not idle.
3076  Channels that are waiting on arbitration are considered running.
3077 
3078 */
3079 #define HOST_DMA_CH5STA_RUN 0x00010000U
3080 #define HOST_DMA_CH5STA_RUN_M 0x00010000U
3081 #define HOST_DMA_CH5STA_RUN_S 16U
3082 
3083 
3084 /*-----------------------------------REGISTER------------------------------------
3085  Register name: CH5TIPTR
3086  Offset name: HOST_DMA_O_CH5TIPTR
3087  Relative address: 0x6004
3088  Description: 32 bit address pointer of channel current input.
3089  Default Value: 0x00000000
3090 
3091  Field: IPTR
3092  From..to bits: 0...31
3093  DefaultValue: 0x0
3094  Access type: read-write
3095  Description: 32 bit address pointer of channel current input.
3096 
3097 */
3098 #define HOST_DMA_CH5TIPTR_IPTR_W 32U
3099 #define HOST_DMA_CH5TIPTR_IPTR_M 0xFFFFFFFFU
3100 #define HOST_DMA_CH5TIPTR_IPTR_S 0U
3101 
3102 
3103 /*-----------------------------------REGISTER------------------------------------
3104  Register name: CH5TOPTR
3105  Offset name: HOST_DMA_O_CH5TOPTR
3106  Relative address: 0x6008
3107  Description: 32 bit address pointer of channel current output.
3108  Default Value: 0x00000000
3109 
3110  Field: OPTR
3111  From..to bits: 0...31
3112  DefaultValue: 0x0
3113  Access type: read-write
3114  Description: 32 bit address pointer of channel current output.
3115 
3116 */
3117 #define HOST_DMA_CH5TOPTR_OPTR_W 32U
3118 #define HOST_DMA_CH5TOPTR_OPTR_M 0xFFFFFFFFU
3119 #define HOST_DMA_CH5TOPTR_OPTR_S 0U
3120 
3121 
3122 /*-----------------------------------REGISTER------------------------------------
3123  Register name: CH5TCTL
3124  Offset name: HOST_DMA_O_CH5TCTL
3125  Relative address: 0x600C
3126  Description: Transaction control
3127  Default Value: 0x00000000
3128 
3129  Field: TRANSB
3130  From..to bits: 0...13
3131  DefaultValue: 0x0
3132  Access type: read-write
3133  Description: Number of bytes of the transaction to move from source to destination.
3134 
3135 */
3136 #define HOST_DMA_CH5TCTL_TRANSB_W 14U
3137 #define HOST_DMA_CH5TCTL_TRANSB_M 0x00003FFFU
3138 #define HOST_DMA_CH5TCTL_TRANSB_S 0U
3139 /*
3140 
3141  Field: BURSTREQ
3142  From..to bits: 16...16
3143  DefaultValue: 0x0
3144  Access type: read-write
3145  Description: In case number of words to tranfer smaller than block size, DMA would use signle request and work with block size of 1 word. In case we know request would be set on altough number of words to tranfer is smaller than block size, we can set this field on and DMA will wait for block_request and transact all remaining words in one block.
3146 
3147 */
3148 #define HOST_DMA_CH5TCTL_BURSTREQ 0x00010000U
3149 #define HOST_DMA_CH5TCTL_BURSTREQ_M 0x00010000U
3150 #define HOST_DMA_CH5TCTL_BURSTREQ_S 16U
3151 /*
3152 
3153  Field: SPARE
3154  From..to bits: 17...17
3155  DefaultValue: 0x0
3156  Access type: read-write
3157  Description: spare
3158 
3159 */
3160 #define HOST_DMA_CH5TCTL_SPARE 0x00020000U
3161 #define HOST_DMA_CH5TCTL_SPARE_M 0x00020000U
3162 #define HOST_DMA_CH5TCTL_SPARE_S 17U
3163 /*
3164 
3165  Field: ENDIANESS
3166  From..to bits: 24...25
3167  DefaultValue: 0x0
3168  Access type: read-write
3169  Description: 0 -no endianess, 1 - byte endianess, 2 - bit endianess
3170 
3171 */
3172 #define HOST_DMA_CH5TCTL_ENDIANESS_W 2U
3173 #define HOST_DMA_CH5TCTL_ENDIANESS_M 0x03000000U
3174 #define HOST_DMA_CH5TCTL_ENDIANESS_S 24U
3175 
3176 
3177 /*-----------------------------------REGISTER------------------------------------
3178  Register name: CH5TCTL2
3179  Offset name: HOST_DMA_O_CH5TCTL2
3180  Relative address: 0x6010
3181  Description: DMA command interface
3182  Default Value: 0x00000000
3183 
3184  Field: CMD
3185  From..to bits: 0...2
3186  DefaultValue: 0x0
3187  Access type: write-only
3188  Description: 1 - run command. Start a transaction.
3189  2- abort command - stop reansaction.
3190  4- init command - init new transaction afet abort/error.
3191 
3192 */
3193 #define HOST_DMA_CH5TCTL2_CMD_W 3U
3194 #define HOST_DMA_CH5TCTL2_CMD_M 0x00000007U
3195 #define HOST_DMA_CH5TCTL2_CMD_S 0U
3196 
3197 
3198 /*-----------------------------------REGISTER------------------------------------
3199  Register name: CH5TSTA
3200  Offset name: HOST_DMA_O_CH5TSTA
3201  Relative address: 0x6014
3202  Description: Job completion reason - either last transaction or exception
3203  Default Value: 0x00000000
3204 
3205  Field: STA
3206  From..to bits: 0...0
3207  DefaultValue: 0x0
3208  Access type: read-only
3209  Description: channel OCP rstatus recieved at one of the primary ports.
3210  Once an error is encountered the channel will enter an Exception state and stay the until an init command is recieved.
3211  ICLR does not affect this status.
3212 
3213 */
3214 #define HOST_DMA_CH5TSTA_STA 0x00000001U
3215 #define HOST_DMA_CH5TSTA_STA_M 0x00000001U
3216 #define HOST_DMA_CH5TSTA_STA_S 0U
3217 /*
3218 
3219  Field: OFFSET
3220  From..to bits: 8...15
3221  DefaultValue: 0x0
3222  Access type: read-only
3223  Description: Offset in words from block boundary. Actually number of word have been transferred in this block
3224 
3225 */
3226 #define HOST_DMA_CH5TSTA_OFFSET_W 8U
3227 #define HOST_DMA_CH5TSTA_OFFSET_M 0x0000FF00U
3228 #define HOST_DMA_CH5TSTA_OFFSET_S 8U
3229 /*
3230 
3231  Field: REMAINB
3232  From..to bits: 16...29
3233  DefaultValue: 0x0
3234  Access type: read-only
3235  Description: Number of bytes remaining to complete the transaction.
3236 
3237 */
3238 #define HOST_DMA_CH5TSTA_REMAINB_W 14U
3239 #define HOST_DMA_CH5TSTA_REMAINB_M 0x3FFF0000U
3240 #define HOST_DMA_CH5TSTA_REMAINB_S 16U
3241 
3242 
3243 /*-----------------------------------REGISTER------------------------------------
3244  Register name: CH5JCTL
3245  Offset name: HOST_DMA_O_CH5JCTL
3246  Relative address: 0x601C
3247  Description: Job control register
3248  Default Value: 0x00000000
3249 
3250  Field: WORDSIZE
3251  From..to bits: 0...1
3252  DefaultValue: 0x0
3253  Access type: read-write
3254  Description: 00 -word size is 32 bits
3255  01 -word size is 16 bits
3256  10 -word size is 8 bits
3257 
3258 */
3259 #define HOST_DMA_CH5JCTL_WORDSIZE_W 2U
3260 #define HOST_DMA_CH5JCTL_WORDSIZE_M 0x00000003U
3261 #define HOST_DMA_CH5JCTL_WORDSIZE_S 0U
3262 /*
3263 
3264  Field: BLKSIZE
3265  From..to bits: 16...21
3266  DefaultValue: 0x0
3267  Access type: read-write
3268  Description: size of the block in words. If block mode is enabled, defines the address wrap around.
3269  Since channel arbitration decisions are made every block, this also effect how much bandwidth is given to a specific channel.
3270 
3271 
3272 
3273 */
3274 #define HOST_DMA_CH5JCTL_BLKSIZE_W 6U
3275 #define HOST_DMA_CH5JCTL_BLKSIZE_M 0x003F0000U
3276 #define HOST_DMA_CH5JCTL_BLKSIZE_S 16U
3277 /*
3278 
3279  Field: DMASIGBPS
3280  From..to bits: 26...26
3281  DefaultValue: 0x0
3282  Access type: read-write
3283  Description: Tie high channel DMA req signal. This is useful for memory to memort transaction
3284 
3285 */
3286 #define HOST_DMA_CH5JCTL_DMASIGBPS 0x04000000U
3287 #define HOST_DMA_CH5JCTL_DMASIGBPS_M 0x04000000U
3288 #define HOST_DMA_CH5JCTL_DMASIGBPS_S 26U
3289 /*
3290 
3291  Field: FIFOMODS
3292  From..to bits: 27...27
3293  DefaultValue: 0x0
3294  Access type: read-write
3295  Description: Source pointer fifo mode
3296 
3297 */
3298 #define HOST_DMA_CH5JCTL_FIFOMODS 0x08000000U
3299 #define HOST_DMA_CH5JCTL_FIFOMODS_M 0x08000000U
3300 #define HOST_DMA_CH5JCTL_FIFOMODS_S 27U
3301 /*
3302 
3303  Field: FIFOMODD
3304  From..to bits: 28...28
3305  DefaultValue: 0x0
3306  Access type: read-write
3307  Description: Destination pointer fifo mode
3308 
3309 */
3310 #define HOST_DMA_CH5JCTL_FIFOMODD 0x10000000U
3311 #define HOST_DMA_CH5JCTL_FIFOMODD_M 0x10000000U
3312 #define HOST_DMA_CH5JCTL_FIFOMODD_S 28U
3313 /*
3314 
3315  Field: SRCDSTCFG
3316  From..to bits: 29...29
3317  DefaultValue: 0x0
3318  Access type: read-write
3319  Description: 0 - Sorce is periph: transaction from periph to memory.
3320  1 - Destination is periph :transaction from Memory to periph
3321 
3322 */
3323 #define HOST_DMA_CH5JCTL_SRCDSTCFG 0x20000000U
3324 #define HOST_DMA_CH5JCTL_SRCDSTCFG_M 0x20000000U
3325 #define HOST_DMA_CH5JCTL_SRCDSTCFG_S 29U
3326 /*
3327 
3328  Field: ENCLR
3329  From..to bits: 30...30
3330  DefaultValue: 0x0
3331  Access type: read-write
3332  Description: Enable DMA to set a rd/wr clear pulse at the beginning of a job (one cycle after run cmd)
3333 
3334 */
3335 #define HOST_DMA_CH5JCTL_ENCLR 0x40000000U
3336 #define HOST_DMA_CH5JCTL_ENCLR_M 0x40000000U
3337 #define HOST_DMA_CH5JCTL_ENCLR_S 30U
3338 
3339 
3340 /*-----------------------------------REGISTER------------------------------------
3341  Register name: CH6STA
3342  Offset name: HOST_DMA_O_CH6STA
3343  Relative address: 0x7000
3344  Description: Channel Status FSM state and run indication.
3345  Default Value: 0x00000000
3346 
3347  Field: HWEVENT
3348  From..to bits: 0...2
3349  DefaultValue: 0x0
3350  Access type: read-only
3351  Description: HW event status.
3352  Channel status is a bit mask. Multiple bits can be set at the same time
3353  0. PROCESSING
3354  1. TRANS DONE
3355  2. ABORT
3356  4. EXCEPTION
3357 
3358 */
3359 #define HOST_DMA_CH6STA_HWEVENT_W 3U
3360 #define HOST_DMA_CH6STA_HWEVENT_M 0x00000007U
3361 #define HOST_DMA_CH6STA_HWEVENT_S 0U
3362 /*
3363 
3364  Field: FSMSTATE
3365  From..to bits: 8...11
3366  DefaultValue: 0x0
3367  Access type: read-only
3368  Description: FSM state:
3369  0x0. IDLE
3370  0x2. EXCEPTION
3371  0x3. DRAIN
3372  0x4. ABORT
3373  0x8. PENDING ARB
3374  0x9. COPY
3375  0xA. COPY LAST
3376  0xC. DONE
3377  0xD. SAVE CTX
3378  0xE. WAIT NEXT TRANS
3379  0xF. LAST
3380 
3381 */
3382 #define HOST_DMA_CH6STA_FSMSTATE_W 4U
3383 #define HOST_DMA_CH6STA_FSMSTATE_M 0x00000F00U
3384 #define HOST_DMA_CH6STA_FSMSTATE_S 8U
3385 /*
3386 
3387  Field: RUN
3388  From..to bits: 16...16
3389  DefaultValue: 0x0
3390  Access type: read-only
3391  Description: Indication that channel is currently transfering data and is not idle.
3392  Channels that are waiting on arbitration are considered running.
3393 
3394 */
3395 #define HOST_DMA_CH6STA_RUN 0x00010000U
3396 #define HOST_DMA_CH6STA_RUN_M 0x00010000U
3397 #define HOST_DMA_CH6STA_RUN_S 16U
3398 
3399 
3400 /*-----------------------------------REGISTER------------------------------------
3401  Register name: CH6TIPTR
3402  Offset name: HOST_DMA_O_CH6TIPTR
3403  Relative address: 0x7004
3404  Description: 32 bit address pointer of channel current input.
3405  Default Value: 0x00000000
3406 
3407  Field: IPTR
3408  From..to bits: 0...31
3409  DefaultValue: 0x0
3410  Access type: read-write
3411  Description: 32 bit address pointer of channel current input.
3412 
3413 */
3414 #define HOST_DMA_CH6TIPTR_IPTR_W 32U
3415 #define HOST_DMA_CH6TIPTR_IPTR_M 0xFFFFFFFFU
3416 #define HOST_DMA_CH6TIPTR_IPTR_S 0U
3417 
3418 
3419 /*-----------------------------------REGISTER------------------------------------
3420  Register name: CH6TOPTR
3421  Offset name: HOST_DMA_O_CH6TOPTR
3422  Relative address: 0x7008
3423  Description: 32 bit address pointer of channel current output.
3424  Default Value: 0x00000000
3425 
3426  Field: OPTR
3427  From..to bits: 0...31
3428  DefaultValue: 0x0
3429  Access type: read-write
3430  Description: 32 bit address pointer of channel current output.
3431 
3432 */
3433 #define HOST_DMA_CH6TOPTR_OPTR_W 32U
3434 #define HOST_DMA_CH6TOPTR_OPTR_M 0xFFFFFFFFU
3435 #define HOST_DMA_CH6TOPTR_OPTR_S 0U
3436 
3437 
3438 /*-----------------------------------REGISTER------------------------------------
3439  Register name: CH6TCTL
3440  Offset name: HOST_DMA_O_CH6TCTL
3441  Relative address: 0x700C
3442  Description: Transaction control
3443  Default Value: 0x00000000
3444 
3445  Field: TRANSB
3446  From..to bits: 0...13
3447  DefaultValue: 0x0
3448  Access type: read-write
3449  Description: Number of bytes of the transaction to move from source to destination.
3450 
3451 */
3452 #define HOST_DMA_CH6TCTL_TRANSB_W 14U
3453 #define HOST_DMA_CH6TCTL_TRANSB_M 0x00003FFFU
3454 #define HOST_DMA_CH6TCTL_TRANSB_S 0U
3455 /*
3456 
3457  Field: BURSTREQ
3458  From..to bits: 16...16
3459  DefaultValue: 0x0
3460  Access type: read-write
3461  Description: In case number of words to tranfer smaller than block size, DMA would use signle request and work with block size of 1 word. In case we know request would be set on altough number of words to tranfer is smaller than block size, we can set this field on and DMA will wait for block_request and transact all remaining words in one block.
3462 
3463 */
3464 #define HOST_DMA_CH6TCTL_BURSTREQ 0x00010000U
3465 #define HOST_DMA_CH6TCTL_BURSTREQ_M 0x00010000U
3466 #define HOST_DMA_CH6TCTL_BURSTREQ_S 16U
3467 /*
3468 
3469  Field: SPARE
3470  From..to bits: 17...17
3471  DefaultValue: 0x0
3472  Access type: read-write
3473  Description: spare
3474 
3475 */
3476 #define HOST_DMA_CH6TCTL_SPARE 0x00020000U
3477 #define HOST_DMA_CH6TCTL_SPARE_M 0x00020000U
3478 #define HOST_DMA_CH6TCTL_SPARE_S 17U
3479 /*
3480 
3481  Field: ENDIANESS
3482  From..to bits: 24...25
3483  DefaultValue: 0x0
3484  Access type: read-write
3485  Description: 0 -no endianess, 1 - byte endianess, 2 - bit endianess
3486 
3487 */
3488 #define HOST_DMA_CH6TCTL_ENDIANESS_W 2U
3489 #define HOST_DMA_CH6TCTL_ENDIANESS_M 0x03000000U
3490 #define HOST_DMA_CH6TCTL_ENDIANESS_S 24U
3491 
3492 
3493 /*-----------------------------------REGISTER------------------------------------
3494  Register name: CH6TCTL2
3495  Offset name: HOST_DMA_O_CH6TCTL2
3496  Relative address: 0x7010
3497  Description: DMA command interface
3498  Default Value: 0x00000000
3499 
3500  Field: CMD
3501  From..to bits: 0...2
3502  DefaultValue: 0x0
3503  Access type: write-only
3504  Description: 1 - run command. Start a transaction.
3505  2- abort command - stop reansaction.
3506  4- init command - init new transaction afet abort/error.
3507 
3508 */
3509 #define HOST_DMA_CH6TCTL2_CMD_W 3U
3510 #define HOST_DMA_CH6TCTL2_CMD_M 0x00000007U
3511 #define HOST_DMA_CH6TCTL2_CMD_S 0U
3512 
3513 
3514 /*-----------------------------------REGISTER------------------------------------
3515  Register name: CH6TSTA
3516  Offset name: HOST_DMA_O_CH6TSTA
3517  Relative address: 0x7014
3518  Description: Job completion reason - either last transaction or exception
3519  Default Value: 0x00000000
3520 
3521  Field: STA
3522  From..to bits: 0...0
3523  DefaultValue: 0x0
3524  Access type: read-only
3525  Description: channel OCP rstatus recieved at one of the primary ports.
3526  Once an error is encountered the channel will enter an Exception state and stay the until an init command is recieved.
3527  ICLR does not affect this status.
3528 
3529 */
3530 #define HOST_DMA_CH6TSTA_STA 0x00000001U
3531 #define HOST_DMA_CH6TSTA_STA_M 0x00000001U
3532 #define HOST_DMA_CH6TSTA_STA_S 0U
3533 /*
3534 
3535  Field: WORDOFFSET
3536  From..to bits: 8...15
3537  DefaultValue: 0x0
3538  Access type: read-only
3539  Description: Offset in words from block boundary. Actually number of word have been transferred in this block
3540 
3541 */
3542 #define HOST_DMA_CH6TSTA_WORDOFFSET_W 8U
3543 #define HOST_DMA_CH6TSTA_WORDOFFSET_M 0x0000FF00U
3544 #define HOST_DMA_CH6TSTA_WORDOFFSET_S 8U
3545 /*
3546 
3547  Field: REMAINB
3548  From..to bits: 16...29
3549  DefaultValue: 0x0
3550  Access type: read-only
3551  Description: Number of bytes remaining to complete the transaction.
3552 
3553 */
3554 #define HOST_DMA_CH6TSTA_REMAINB_W 14U
3555 #define HOST_DMA_CH6TSTA_REMAINB_M 0x3FFF0000U
3556 #define HOST_DMA_CH6TSTA_REMAINB_S 16U
3557 
3558 
3559 /*-----------------------------------REGISTER------------------------------------
3560  Register name: CH6JCTL
3561  Offset name: HOST_DMA_O_CH6JCTL
3562  Relative address: 0x701C
3563  Description: Job control register
3564  Default Value: 0x00000000
3565 
3566  Field: WORDSIZE
3567  From..to bits: 0...1
3568  DefaultValue: 0x0
3569  Access type: read-write
3570  Description: 00 -word size is 32 bits
3571  01 -word size is 16 bits
3572  10 -word size is 8 bits
3573 
3574 */
3575 #define HOST_DMA_CH6JCTL_WORDSIZE_W 2U
3576 #define HOST_DMA_CH6JCTL_WORDSIZE_M 0x00000003U
3577 #define HOST_DMA_CH6JCTL_WORDSIZE_S 0U
3578 /*
3579 
3580  Field: BLKSIZE
3581  From..to bits: 16...21
3582  DefaultValue: 0x0
3583  Access type: read-write
3584  Description: size of the block in words. If block mode is enabled, defines the address wrap around.
3585  Since channel arbitration decisions are made every block, this also effect how much bandwidth is given to a specific channel.
3586 
3587 
3588 
3589 */
3590 #define HOST_DMA_CH6JCTL_BLKSIZE_W 6U
3591 #define HOST_DMA_CH6JCTL_BLKSIZE_M 0x003F0000U
3592 #define HOST_DMA_CH6JCTL_BLKSIZE_S 16U
3593 /*
3594 
3595  Field: DMASIGBPS
3596  From..to bits: 26...26
3597  DefaultValue: 0x0
3598  Access type: read-write
3599  Description: Tie high channel DMA req signal. This is useful for memory to memort transaction
3600 
3601 */
3602 #define HOST_DMA_CH6JCTL_DMASIGBPS 0x04000000U
3603 #define HOST_DMA_CH6JCTL_DMASIGBPS_M 0x04000000U
3604 #define HOST_DMA_CH6JCTL_DMASIGBPS_S 26U
3605 /*
3606 
3607  Field: FIFOMODS
3608  From..to bits: 27...27
3609  DefaultValue: 0x0
3610  Access type: read-write
3611  Description: Source pointer fifo mode
3612 
3613 */
3614 #define HOST_DMA_CH6JCTL_FIFOMODS 0x08000000U
3615 #define HOST_DMA_CH6JCTL_FIFOMODS_M 0x08000000U
3616 #define HOST_DMA_CH6JCTL_FIFOMODS_S 27U
3617 /*
3618 
3619  Field: FIFOMODD
3620  From..to bits: 28...28
3621  DefaultValue: 0x0
3622  Access type: read-write
3623  Description: Destination pointer fifo mode
3624 
3625 */
3626 #define HOST_DMA_CH6JCTL_FIFOMODD 0x10000000U
3627 #define HOST_DMA_CH6JCTL_FIFOMODD_M 0x10000000U
3628 #define HOST_DMA_CH6JCTL_FIFOMODD_S 28U
3629 /*
3630 
3631  Field: SRCDSTCFG
3632  From..to bits: 29...29
3633  DefaultValue: 0x0
3634  Access type: read-write
3635  Description: 0 - Sorce is periph: transaction from periph to memory.
3636  1 - Destination is periph :transaction from Memory to periph
3637 
3638 */
3639 #define HOST_DMA_CH6JCTL_SRCDSTCFG 0x20000000U
3640 #define HOST_DMA_CH6JCTL_SRCDSTCFG_M 0x20000000U
3641 #define HOST_DMA_CH6JCTL_SRCDSTCFG_S 29U
3642 /*
3643 
3644  Field: ENCLR
3645  From..to bits: 30...30
3646  DefaultValue: 0x0
3647  Access type: read-write
3648  Description: Enable DMA to set a rd/wr clear pulse at the beginning of a job (one cycle after run cmd)
3649 
3650 */
3651 #define HOST_DMA_CH6JCTL_ENCLR 0x40000000U
3652 #define HOST_DMA_CH6JCTL_ENCLR_M 0x40000000U
3653 #define HOST_DMA_CH6JCTL_ENCLR_S 30U
3654 
3655 
3656 /*-----------------------------------REGISTER------------------------------------
3657  Register name: CH7STA
3658  Offset name: HOST_DMA_O_CH7STA
3659  Relative address: 0x8000
3660  Description: Channel Status FSM state and run indication.
3661  Default Value: 0x00000000
3662 
3663  Field: HWEVENT
3664  From..to bits: 0...2
3665  DefaultValue: 0x0
3666  Access type: read-only
3667  Description: HW event status.
3668  Channel status is a bit mask. Multiple bits can be set at the same time
3669  0. PROCESSING
3670  1. TRANS DONE
3671  2. ABORT
3672  4. EXCEPTION
3673 
3674 */
3675 #define HOST_DMA_CH7STA_HWEVENT_W 3U
3676 #define HOST_DMA_CH7STA_HWEVENT_M 0x00000007U
3677 #define HOST_DMA_CH7STA_HWEVENT_S 0U
3678 /*
3679 
3680  Field: FSMSTATE
3681  From..to bits: 8...11
3682  DefaultValue: 0x0
3683  Access type: read-only
3684  Description: FSM state:
3685  0x0. IDLE
3686  0x2. EXCEPTION
3687  0x3. DRAIN
3688  0x4. ABORT
3689  0x8. PENDING ARB
3690  0x9. COPY
3691  0xA. COPY LAST
3692  0xC. DONE
3693  0xD. SAVE CTX
3694  0xE. WAIT NEXT TRANS
3695  0xF. LAST
3696 
3697 */
3698 #define HOST_DMA_CH7STA_FSMSTATE_W 4U
3699 #define HOST_DMA_CH7STA_FSMSTATE_M 0x00000F00U
3700 #define HOST_DMA_CH7STA_FSMSTATE_S 8U
3701 /*
3702 
3703  Field: RUN
3704  From..to bits: 16...16
3705  DefaultValue: 0x0
3706  Access type: read-only
3707  Description: Indication that channel is currently transfering data and is not idle.
3708  Channels that are waiting on arbitration are considered running.
3709 
3710 */
3711 #define HOST_DMA_CH7STA_RUN 0x00010000U
3712 #define HOST_DMA_CH7STA_RUN_M 0x00010000U
3713 #define HOST_DMA_CH7STA_RUN_S 16U
3714 
3715 
3716 /*-----------------------------------REGISTER------------------------------------
3717  Register name: CH7TIPTR
3718  Offset name: HOST_DMA_O_CH7TIPTR
3719  Relative address: 0x8004
3720  Description: 32 bit address pointer of channel current input.
3721  Default Value: 0x00000000
3722 
3723  Field: IPTR
3724  From..to bits: 0...31
3725  DefaultValue: 0x0
3726  Access type: read-write
3727  Description: 32 bit address pointer of channel current input.
3728 
3729 */
3730 #define HOST_DMA_CH7TIPTR_IPTR_W 32U
3731 #define HOST_DMA_CH7TIPTR_IPTR_M 0xFFFFFFFFU
3732 #define HOST_DMA_CH7TIPTR_IPTR_S 0U
3733 
3734 
3735 /*-----------------------------------REGISTER------------------------------------
3736  Register name: CH7TOPTR
3737  Offset name: HOST_DMA_O_CH7TOPTR
3738  Relative address: 0x8008
3739  Description: 32 bit address pointer of channel current output.
3740  Default Value: 0x00000000
3741 
3742  Field: OPTR
3743  From..to bits: 0...31
3744  DefaultValue: 0x0
3745  Access type: read-write
3746  Description: 32 bit address pointer of channel current output.
3747 
3748 */
3749 #define HOST_DMA_CH7TOPTR_OPTR_W 32U
3750 #define HOST_DMA_CH7TOPTR_OPTR_M 0xFFFFFFFFU
3751 #define HOST_DMA_CH7TOPTR_OPTR_S 0U
3752 
3753 
3754 /*-----------------------------------REGISTER------------------------------------
3755  Register name: CH7TCTL
3756  Offset name: HOST_DMA_O_CH7TCTL
3757  Relative address: 0x800C
3758  Description: Transaction control
3759  Default Value: 0x00000000
3760 
3761  Field: TRANSB
3762  From..to bits: 0...13
3763  DefaultValue: 0x0
3764  Access type: read-write
3765  Description: Number of bytes of the transaction to move from source to destination.
3766 
3767 */
3768 #define HOST_DMA_CH7TCTL_TRANSB_W 14U
3769 #define HOST_DMA_CH7TCTL_TRANSB_M 0x00003FFFU
3770 #define HOST_DMA_CH7TCTL_TRANSB_S 0U
3771 /*
3772 
3773  Field: BURSTREQ
3774  From..to bits: 16...16
3775  DefaultValue: 0x0
3776  Access type: read-write
3777  Description: In case number of words to tranfer smaller than block size, DMA would use signle request and work with block size of 1 word. In case we know request would be set on altough number of words to tranfer is smaller than block size, we can set this field on and DMA will wait for block_request and transact all remaining words in one block.
3778 
3779 */
3780 #define HOST_DMA_CH7TCTL_BURSTREQ 0x00010000U
3781 #define HOST_DMA_CH7TCTL_BURSTREQ_M 0x00010000U
3782 #define HOST_DMA_CH7TCTL_BURSTREQ_S 16U
3783 /*
3784 
3785  Field: SPARE
3786  From..to bits: 17...17
3787  DefaultValue: 0x0
3788  Access type: read-write
3789  Description: spare
3790 
3791 */
3792 #define HOST_DMA_CH7TCTL_SPARE 0x00020000U
3793 #define HOST_DMA_CH7TCTL_SPARE_M 0x00020000U
3794 #define HOST_DMA_CH7TCTL_SPARE_S 17U
3795 /*
3796 
3797  Field: ENDIANESS
3798  From..to bits: 24...25
3799  DefaultValue: 0x0
3800  Access type: read-write
3801  Description: 0 -no endianess, 1 - byte endianess, 2 - bit endianess
3802 
3803 */
3804 #define HOST_DMA_CH7TCTL_ENDIANESS_W 2U
3805 #define HOST_DMA_CH7TCTL_ENDIANESS_M 0x03000000U
3806 #define HOST_DMA_CH7TCTL_ENDIANESS_S 24U
3807 
3808 
3809 /*-----------------------------------REGISTER------------------------------------
3810  Register name: CH7TCTL2
3811  Offset name: HOST_DMA_O_CH7TCTL2
3812  Relative address: 0x8010
3813  Description: DMA command interface
3814  Default Value: 0x00000000
3815 
3816  Field: CMD
3817  From..to bits: 0...2
3818  DefaultValue: 0x0
3819  Access type: write-only
3820  Description: 1 - run command. Start a transaction.
3821  2- abort command - stop reansaction.
3822  4- init command - init new transaction afet abort/error.
3823 
3824 */
3825 #define HOST_DMA_CH7TCTL2_CMD_W 3U
3826 #define HOST_DMA_CH7TCTL2_CMD_M 0x00000007U
3827 #define HOST_DMA_CH7TCTL2_CMD_S 0U
3828 
3829 
3830 /*-----------------------------------REGISTER------------------------------------
3831  Register name: CH7TSTA
3832  Offset name: HOST_DMA_O_CH7TSTA
3833  Relative address: 0x8014
3834  Description: Job completion reason - either last transaction or exception
3835  Default Value: 0x00000000
3836 
3837  Field: STA
3838  From..to bits: 0...0
3839  DefaultValue: 0x0
3840  Access type: read-only
3841  Description: channel OCP rstatus recieved at one of the primary ports.
3842  Once an error is encountered the channel will enter an Exception state and stay the until an init command is recieved.
3843  ICLR does not affect this status.
3844 
3845 */
3846 #define HOST_DMA_CH7TSTA_STA 0x00000001U
3847 #define HOST_DMA_CH7TSTA_STA_M 0x00000001U
3848 #define HOST_DMA_CH7TSTA_STA_S 0U
3849 /*
3850 
3851  Field: OFFSET
3852  From..to bits: 8...15
3853  DefaultValue: 0x0
3854  Access type: read-only
3855  Description: Offset in words from block boundary. Actually number of word have been transferred in this block
3856 
3857 */
3858 #define HOST_DMA_CH7TSTA_OFFSET_W 8U
3859 #define HOST_DMA_CH7TSTA_OFFSET_M 0x0000FF00U
3860 #define HOST_DMA_CH7TSTA_OFFSET_S 8U
3861 /*
3862 
3863  Field: REMAINB
3864  From..to bits: 16...29
3865  DefaultValue: 0x0
3866  Access type: read-only
3867  Description: Number of bytes remaining to complete the transaction.
3868 
3869 */
3870 #define HOST_DMA_CH7TSTA_REMAINB_W 14U
3871 #define HOST_DMA_CH7TSTA_REMAINB_M 0x3FFF0000U
3872 #define HOST_DMA_CH7TSTA_REMAINB_S 16U
3873 
3874 
3875 /*-----------------------------------REGISTER------------------------------------
3876  Register name: CH7JCTL
3877  Offset name: HOST_DMA_O_CH7JCTL
3878  Relative address: 0x801C
3879  Description: Job control register
3880  Default Value: 0x00000000
3881 
3882  Field: WORDSIZE
3883  From..to bits: 0...1
3884  DefaultValue: 0x0
3885  Access type: read-write
3886  Description: 00 -word size is 32 bits
3887  01 -word size is 16 bits
3888  10 -word size is 8 bits
3889 
3890 */
3891 #define HOST_DMA_CH7JCTL_WORDSIZE_W 2U
3892 #define HOST_DMA_CH7JCTL_WORDSIZE_M 0x00000003U
3893 #define HOST_DMA_CH7JCTL_WORDSIZE_S 0U
3894 /*
3895 
3896  Field: BLKSIZE
3897  From..to bits: 16...21
3898  DefaultValue: 0x0
3899  Access type: read-write
3900  Description: size of the block in words. If block mode is enabled, defines the address wrap around.
3901  Since channel arbitration decisions are made every block, this also effect how much bandwidth is given to a specific channel.
3902 
3903 
3904 
3905 */
3906 #define HOST_DMA_CH7JCTL_BLKSIZE_W 6U
3907 #define HOST_DMA_CH7JCTL_BLKSIZE_M 0x003F0000U
3908 #define HOST_DMA_CH7JCTL_BLKSIZE_S 16U
3909 /*
3910 
3911  Field: DMASIGBPS
3912  From..to bits: 26...26
3913  DefaultValue: 0x0
3914  Access type: read-write
3915  Description: Tie high channel DMA req signal. This is useful for memory to memort transaction
3916 
3917 */
3918 #define HOST_DMA_CH7JCTL_DMASIGBPS 0x04000000U
3919 #define HOST_DMA_CH7JCTL_DMASIGBPS_M 0x04000000U
3920 #define HOST_DMA_CH7JCTL_DMASIGBPS_S 26U
3921 /*
3922 
3923  Field: FIFOMODS
3924  From..to bits: 27...27
3925  DefaultValue: 0x0
3926  Access type: read-write
3927  Description: Source pointer fifo mode
3928 
3929 */
3930 #define HOST_DMA_CH7JCTL_FIFOMODS 0x08000000U
3931 #define HOST_DMA_CH7JCTL_FIFOMODS_M 0x08000000U
3932 #define HOST_DMA_CH7JCTL_FIFOMODS_S 27U
3933 /*
3934 
3935  Field: FIFOMODD
3936  From..to bits: 28...28
3937  DefaultValue: 0x0
3938  Access type: read-write
3939  Description: Destination pointer fifo mode
3940 
3941 */
3942 #define HOST_DMA_CH7JCTL_FIFOMODD 0x10000000U
3943 #define HOST_DMA_CH7JCTL_FIFOMODD_M 0x10000000U
3944 #define HOST_DMA_CH7JCTL_FIFOMODD_S 28U
3945 /*
3946 
3947  Field: SRCDSTCFG
3948  From..to bits: 29...29
3949  DefaultValue: 0x0
3950  Access type: read-write
3951  Description: 0 - Sorce is periph: transaction from periph to memory.
3952  1 - Destination is periph :transaction from Memory to periph
3953 
3954 */
3955 #define HOST_DMA_CH7JCTL_SRCDSTCFG 0x20000000U
3956 #define HOST_DMA_CH7JCTL_SRCDSTCFG_M 0x20000000U
3957 #define HOST_DMA_CH7JCTL_SRCDSTCFG_S 29U
3958 /*
3959 
3960  Field: ENCLR
3961  From..to bits: 30...30
3962  DefaultValue: 0x0
3963  Access type: read-write
3964  Description: Enable DMA to set a rd/wr clear pulse at the beginning of a job (one cycle after run cmd)
3965 
3966 */
3967 #define HOST_DMA_CH7JCTL_ENCLR 0x40000000U
3968 #define HOST_DMA_CH7JCTL_ENCLR_M 0x40000000U
3969 #define HOST_DMA_CH7JCTL_ENCLR_S 30U
3970 
3971 
3972 /*-----------------------------------REGISTER------------------------------------
3973  Register name: CH8STA
3974  Offset name: HOST_DMA_O_CH8STA
3975  Relative address: 0x9000
3976  Description: Channel Status FSM state and run indication.
3977  Default Value: 0x00000000
3978 
3979  Field: HWEVENT
3980  From..to bits: 0...2
3981  DefaultValue: 0x0
3982  Access type: read-only
3983  Description: HW event status.
3984  Channel status is a bit mask. Multiple bits can be set at the same time
3985  0. PROCESSING
3986  1. TRANS DONE
3987  2. ABORT
3988  4. EXCEPTION
3989 
3990 */
3991 #define HOST_DMA_CH8STA_HWEVENT_W 3U
3992 #define HOST_DMA_CH8STA_HWEVENT_M 0x00000007U
3993 #define HOST_DMA_CH8STA_HWEVENT_S 0U
3994 /*
3995 
3996  Field: FSMSTATE
3997  From..to bits: 8...11
3998  DefaultValue: 0x0
3999  Access type: read-only
4000  Description: FSM state:
4001  0x0. IDLE
4002  0x2. EXCEPTION
4003  0x3. DRAIN
4004  0x4. ABORT
4005  0x8. PENDING ARB
4006  0x9. COPY
4007  0xA. COPY LAST
4008  0xC. DONE
4009  0xD. SAVE CTX
4010  0xE. WAIT NEXT TRANS
4011  0xF. LAST
4012 
4013 */
4014 #define HOST_DMA_CH8STA_FSMSTATE_W 4U
4015 #define HOST_DMA_CH8STA_FSMSTATE_M 0x00000F00U
4016 #define HOST_DMA_CH8STA_FSMSTATE_S 8U
4017 /*
4018 
4019  Field: RUN
4020  From..to bits: 16...16
4021  DefaultValue: 0x0
4022  Access type: read-only
4023  Description: Indication that channel is currently transfering data and is not idle.
4024  Channels that are waiting on arbitration are considered running.
4025 
4026 */
4027 #define HOST_DMA_CH8STA_RUN 0x00010000U
4028 #define HOST_DMA_CH8STA_RUN_M 0x00010000U
4029 #define HOST_DMA_CH8STA_RUN_S 16U
4030 
4031 
4032 /*-----------------------------------REGISTER------------------------------------
4033  Register name: CH8TIPTR
4034  Offset name: HOST_DMA_O_CH8TIPTR
4035  Relative address: 0x9004
4036  Description: 32 bit address pointer of channel current input.
4037  Default Value: 0x00000000
4038 
4039  Field: IPTR
4040  From..to bits: 0...31
4041  DefaultValue: 0x0
4042  Access type: read-write
4043  Description: 32 bit address pointer of channel current input.
4044 
4045 */
4046 #define HOST_DMA_CH8TIPTR_IPTR_W 32U
4047 #define HOST_DMA_CH8TIPTR_IPTR_M 0xFFFFFFFFU
4048 #define HOST_DMA_CH8TIPTR_IPTR_S 0U
4049 
4050 
4051 /*-----------------------------------REGISTER------------------------------------
4052  Register name: CH8TOPTR
4053  Offset name: HOST_DMA_O_CH8TOPTR
4054  Relative address: 0x9008
4055  Description: 32 bit address pointer of channel current output.
4056  Default Value: 0x00000000
4057 
4058  Field: OPTR
4059  From..to bits: 0...31
4060  DefaultValue: 0x0
4061  Access type: read-write
4062  Description: 32 bit address pointer of channel current output.
4063 
4064 */
4065 #define HOST_DMA_CH8TOPTR_OPTR_W 32U
4066 #define HOST_DMA_CH8TOPTR_OPTR_M 0xFFFFFFFFU
4067 #define HOST_DMA_CH8TOPTR_OPTR_S 0U
4068 
4069 
4070 /*-----------------------------------REGISTER------------------------------------
4071  Register name: CH8TCTL
4072  Offset name: HOST_DMA_O_CH8TCTL
4073  Relative address: 0x900C
4074  Description: Transaction control
4075  Default Value: 0x00000000
4076 
4077  Field: TRANSB
4078  From..to bits: 0...13
4079  DefaultValue: 0x0
4080  Access type: read-write
4081  Description: Number of bytes of the transaction to move from source to destination.
4082 
4083 */
4084 #define HOST_DMA_CH8TCTL_TRANSB_W 14U
4085 #define HOST_DMA_CH8TCTL_TRANSB_M 0x00003FFFU
4086 #define HOST_DMA_CH8TCTL_TRANSB_S 0U
4087 /*
4088 
4089  Field: BURSTREQ
4090  From..to bits: 16...16
4091  DefaultValue: 0x0
4092  Access type: read-write
4093  Description: In case number of words to tranfer smaller than block size, DMA would use signle request and work with block size of 1 word. In case we know request would be set on altough number of words to tranfer is smaller than block size, we can set this field on and DMA will wait for block_request and transact all remaining words in one block.
4094 
4095 */
4096 #define HOST_DMA_CH8TCTL_BURSTREQ 0x00010000U
4097 #define HOST_DMA_CH8TCTL_BURSTREQ_M 0x00010000U
4098 #define HOST_DMA_CH8TCTL_BURSTREQ_S 16U
4099 /*
4100 
4101  Field: SPARE
4102  From..to bits: 17...17
4103  DefaultValue: 0x0
4104  Access type: read-write
4105  Description: spare
4106 
4107 */
4108 #define HOST_DMA_CH8TCTL_SPARE 0x00020000U
4109 #define HOST_DMA_CH8TCTL_SPARE_M 0x00020000U
4110 #define HOST_DMA_CH8TCTL_SPARE_S 17U
4111 /*
4112 
4113  Field: ENDIANESS
4114  From..to bits: 24...25
4115  DefaultValue: 0x0
4116  Access type: read-write
4117  Description: 0 -no endianess, 1 - byte endianess, 2 - bit endianess
4118 
4119 */
4120 #define HOST_DMA_CH8TCTL_ENDIANESS_W 2U
4121 #define HOST_DMA_CH8TCTL_ENDIANESS_M 0x03000000U
4122 #define HOST_DMA_CH8TCTL_ENDIANESS_S 24U
4123 
4124 
4125 /*-----------------------------------REGISTER------------------------------------
4126  Register name: CH8TCTL2
4127  Offset name: HOST_DMA_O_CH8TCTL2
4128  Relative address: 0x9010
4129  Description: DMA command interface
4130  Default Value: 0x00000000
4131 
4132  Field: CMD
4133  From..to bits: 0...2
4134  DefaultValue: 0x0
4135  Access type: write-only
4136  Description: 1 - run command. Start a transaction.
4137  2- abort command - stop reansaction.
4138  4- init command - init new transaction afet abort/error.
4139 
4140 */
4141 #define HOST_DMA_CH8TCTL2_CMD_W 3U
4142 #define HOST_DMA_CH8TCTL2_CMD_M 0x00000007U
4143 #define HOST_DMA_CH8TCTL2_CMD_S 0U
4144 
4145 
4146 /*-----------------------------------REGISTER------------------------------------
4147  Register name: CH8TSTA
4148  Offset name: HOST_DMA_O_CH8TSTA
4149  Relative address: 0x9014
4150  Description: Job completion reason - either last transaction or exception
4151  Default Value: 0x00000000
4152 
4153  Field: STA
4154  From..to bits: 0...0
4155  DefaultValue: 0x0
4156  Access type: read-only
4157  Description: channel OCP rstatus recieved at one of the primary ports.
4158  Once an error is encountered the channel will enter an Exception state and stay the until an init command is recieved.
4159  ICLR does not affect this status.
4160 
4161 */
4162 #define HOST_DMA_CH8TSTA_STA 0x00000001U
4163 #define HOST_DMA_CH8TSTA_STA_M 0x00000001U
4164 #define HOST_DMA_CH8TSTA_STA_S 0U
4165 /*
4166 
4167  Field: OFFSET
4168  From..to bits: 8...15
4169  DefaultValue: 0x0
4170  Access type: read-only
4171  Description: Offset in words from block boundary. Actually number of word have been transferred in this block
4172 
4173 */
4174 #define HOST_DMA_CH8TSTA_OFFSET_W 8U
4175 #define HOST_DMA_CH8TSTA_OFFSET_M 0x0000FF00U
4176 #define HOST_DMA_CH8TSTA_OFFSET_S 8U
4177 /*
4178 
4179  Field: REMAINB
4180  From..to bits: 16...29
4181  DefaultValue: 0x0
4182  Access type: read-only
4183  Description: Number of bytes remaining to complete the transaction.
4184 
4185 */
4186 #define HOST_DMA_CH8TSTA_REMAINB_W 14U
4187 #define HOST_DMA_CH8TSTA_REMAINB_M 0x3FFF0000U
4188 #define HOST_DMA_CH8TSTA_REMAINB_S 16U
4189 
4190 
4191 /*-----------------------------------REGISTER------------------------------------
4192  Register name: CH8JCTL
4193  Offset name: HOST_DMA_O_CH8JCTL
4194  Relative address: 0x901C
4195  Description: Job control register
4196  Default Value: 0x00000000
4197 
4198  Field: WORDSIZE
4199  From..to bits: 0...1
4200  DefaultValue: 0x0
4201  Access type: read-write
4202  Description: 00 -word size is 32 bits
4203  01 -word size is 16 bits
4204  10 -word size is 8 bits
4205 
4206 */
4207 #define HOST_DMA_CH8JCTL_WORDSIZE_W 2U
4208 #define HOST_DMA_CH8JCTL_WORDSIZE_M 0x00000003U
4209 #define HOST_DMA_CH8JCTL_WORDSIZE_S 0U
4210 /*
4211 
4212  Field: BLKSIZE
4213  From..to bits: 16...21
4214  DefaultValue: 0x0
4215  Access type: read-write
4216  Description: size of the block in words. If block mode is enabled, defines the address wrap around.
4217  Since channel arbitration decisions are made every block, this also effect how much bandwidth is given to a specific channel.
4218 
4219 
4220 
4221 */
4222 #define HOST_DMA_CH8JCTL_BLKSIZE_W 6U
4223 #define HOST_DMA_CH8JCTL_BLKSIZE_M 0x003F0000U
4224 #define HOST_DMA_CH8JCTL_BLKSIZE_S 16U
4225 /*
4226 
4227  Field: DMASIGBPS
4228  From..to bits: 26...26
4229  DefaultValue: 0x0
4230  Access type: read-write
4231  Description: Tie high channel DMA req signal. This is useful for memory to memort transaction
4232 
4233 */
4234 #define HOST_DMA_CH8JCTL_DMASIGBPS 0x04000000U
4235 #define HOST_DMA_CH8JCTL_DMASIGBPS_M 0x04000000U
4236 #define HOST_DMA_CH8JCTL_DMASIGBPS_S 26U
4237 /*
4238 
4239  Field: FIFOMODS
4240  From..to bits: 27...27
4241  DefaultValue: 0x0
4242  Access type: read-write
4243  Description: Source pointer fifo mode
4244 
4245 */
4246 #define HOST_DMA_CH8JCTL_FIFOMODS 0x08000000U
4247 #define HOST_DMA_CH8JCTL_FIFOMODS_M 0x08000000U
4248 #define HOST_DMA_CH8JCTL_FIFOMODS_S 27U
4249 /*
4250 
4251  Field: FIFOMODD
4252  From..to bits: 28...28
4253  DefaultValue: 0x0
4254  Access type: read-write
4255  Description: Destination pointer fifo mode
4256 
4257 */
4258 #define HOST_DMA_CH8JCTL_FIFOMODD 0x10000000U
4259 #define HOST_DMA_CH8JCTL_FIFOMODD_M 0x10000000U
4260 #define HOST_DMA_CH8JCTL_FIFOMODD_S 28U
4261 /*
4262 
4263  Field: SRCDSTCFG
4264  From..to bits: 29...29
4265  DefaultValue: 0x0
4266  Access type: read-write
4267  Description: 0 - Sorce is periph: transaction from periph to memory.
4268  1 - Destination is periph :transaction from Memory to periph
4269 
4270 */
4271 #define HOST_DMA_CH8JCTL_SRCDSTCFG 0x20000000U
4272 #define HOST_DMA_CH8JCTL_SRCDSTCFG_M 0x20000000U
4273 #define HOST_DMA_CH8JCTL_SRCDSTCFG_S 29U
4274 /*
4275 
4276  Field: ENCLR
4277  From..to bits: 30...30
4278  DefaultValue: 0x0
4279  Access type: read-write
4280  Description: Enable DMA to set a rd/wr clear pulse at the beginning of a job (one cycle after run cmd)
4281 
4282 */
4283 #define HOST_DMA_CH8JCTL_ENCLR 0x40000000U
4284 #define HOST_DMA_CH8JCTL_ENCLR_M 0x40000000U
4285 #define HOST_DMA_CH8JCTL_ENCLR_S 30U
4286 
4287 
4288 /*-----------------------------------REGISTER------------------------------------
4289  Register name: CH9STA
4290  Offset name: HOST_DMA_O_CH9STA
4291  Relative address: 0xA000
4292  Description: Channel Status FSM state and run indication.
4293  Default Value: 0x00000000
4294 
4295  Field: HWEVENT
4296  From..to bits: 0...2
4297  DefaultValue: 0x0
4298  Access type: read-only
4299  Description: HW event status.
4300  Channel status is a bit mask. Multiple bits can be set at the same time
4301  0. PROCESSING
4302  1. TRANS DONE
4303  2. ABORT
4304  4. EXCEPTION
4305 
4306 */
4307 #define HOST_DMA_CH9STA_HWEVENT_W 3U
4308 #define HOST_DMA_CH9STA_HWEVENT_M 0x00000007U
4309 #define HOST_DMA_CH9STA_HWEVENT_S 0U
4310 /*
4311 
4312  Field: FSMSTATE
4313  From..to bits: 8...11
4314  DefaultValue: 0x0
4315  Access type: read-only
4316  Description: FSM state:
4317  0x0. IDLE
4318  0x2. EXCEPTION
4319  0x3. DRAIN
4320  0x4. ABORT
4321  0x8. PENDING ARB
4322  0x9. COPY
4323  0xA. COPY LAST
4324  0xC. DONE
4325  0xD. SAVE CTX
4326  0xE. WAIT NEXT TRANS
4327  0xF. LAST
4328 
4329 */
4330 #define HOST_DMA_CH9STA_FSMSTATE_W 4U
4331 #define HOST_DMA_CH9STA_FSMSTATE_M 0x00000F00U
4332 #define HOST_DMA_CH9STA_FSMSTATE_S 8U
4333 /*
4334 
4335  Field: RUN
4336  From..to bits: 16...16
4337  DefaultValue: 0x0
4338  Access type: read-only
4339  Description: Indication that channel is currently transfering data and is not idle.
4340  Channels that are waiting on arbitration are considered running.
4341 
4342 */
4343 #define HOST_DMA_CH9STA_RUN 0x00010000U
4344 #define HOST_DMA_CH9STA_RUN_M 0x00010000U
4345 #define HOST_DMA_CH9STA_RUN_S 16U
4346 
4347 
4348 /*-----------------------------------REGISTER------------------------------------
4349  Register name: CH9TIPTR
4350  Offset name: HOST_DMA_O_CH9TIPTR
4351  Relative address: 0xA004
4352  Description: 32 bit address pointer of channel current input.
4353  Default Value: 0x00000000
4354 
4355  Field: IPTR
4356  From..to bits: 0...31
4357  DefaultValue: 0x0
4358  Access type: read-write
4359  Description: 32 bit address pointer of channel current input.
4360 
4361 */
4362 #define HOST_DMA_CH9TIPTR_IPTR_W 32U
4363 #define HOST_DMA_CH9TIPTR_IPTR_M 0xFFFFFFFFU
4364 #define HOST_DMA_CH9TIPTR_IPTR_S 0U
4365 
4366 
4367 /*-----------------------------------REGISTER------------------------------------
4368  Register name: CH9TOPTR
4369  Offset name: HOST_DMA_O_CH9TOPTR
4370  Relative address: 0xA008
4371  Description: 32 bit address pointer of channel current output.
4372  Default Value: 0x00000000
4373 
4374  Field: OPTR
4375  From..to bits: 0...31
4376  DefaultValue: 0x0
4377  Access type: read-write
4378  Description: 32 bit address pointer of channel current output.
4379 
4380 */
4381 #define HOST_DMA_CH9TOPTR_OPTR_W 32U
4382 #define HOST_DMA_CH9TOPTR_OPTR_M 0xFFFFFFFFU
4383 #define HOST_DMA_CH9TOPTR_OPTR_S 0U
4384 
4385 
4386 /*-----------------------------------REGISTER------------------------------------
4387  Register name: CH9TCTL
4388  Offset name: HOST_DMA_O_CH9TCTL
4389  Relative address: 0xA00C
4390  Description: Transaction control
4391  Default Value: 0x00000000
4392 
4393  Field: TRANSB
4394  From..to bits: 0...13
4395  DefaultValue: 0x0
4396  Access type: read-write
4397  Description: Number of bytes of the transaction to move from source to destination.
4398 
4399 */
4400 #define HOST_DMA_CH9TCTL_TRANSB_W 14U
4401 #define HOST_DMA_CH9TCTL_TRANSB_M 0x00003FFFU
4402 #define HOST_DMA_CH9TCTL_TRANSB_S 0U
4403 /*
4404 
4405  Field: BURSTREQ
4406  From..to bits: 16...16
4407  DefaultValue: 0x0
4408  Access type: read-write
4409  Description: In case number of words to tranfer smaller than block size, DMA would use signle request and work with block size of 1 word. In case we know request would be set on altough number of words to tranfer is smaller than block size, we can set this field on and DMA will wait for block_request and transact all remaining words in one block.
4410 
4411 */
4412 #define HOST_DMA_CH9TCTL_BURSTREQ 0x00010000U
4413 #define HOST_DMA_CH9TCTL_BURSTREQ_M 0x00010000U
4414 #define HOST_DMA_CH9TCTL_BURSTREQ_S 16U
4415 /*
4416 
4417  Field: SPARE
4418  From..to bits: 17...17
4419  DefaultValue: 0x0
4420  Access type: read-write
4421  Description: spare
4422 
4423 */
4424 #define HOST_DMA_CH9TCTL_SPARE 0x00020000U
4425 #define HOST_DMA_CH9TCTL_SPARE_M 0x00020000U
4426 #define HOST_DMA_CH9TCTL_SPARE_S 17U
4427 /*
4428 
4429  Field: ENDIANESS
4430  From..to bits: 24...25
4431  DefaultValue: 0x0
4432  Access type: read-write
4433  Description: 0 -no endianess, 1 - byte endianess, 2 - bit endianess
4434 
4435 */
4436 #define HOST_DMA_CH9TCTL_ENDIANESS_W 2U
4437 #define HOST_DMA_CH9TCTL_ENDIANESS_M 0x03000000U
4438 #define HOST_DMA_CH9TCTL_ENDIANESS_S 24U
4439 
4440 
4441 /*-----------------------------------REGISTER------------------------------------
4442  Register name: CH9TCTL2
4443  Offset name: HOST_DMA_O_CH9TCTL2
4444  Relative address: 0xA010
4445  Description: DMA command interface
4446  Default Value: 0x00000000
4447 
4448  Field: CMD
4449  From..to bits: 0...2
4450  DefaultValue: 0x0
4451  Access type: write-only
4452  Description: 1 - run command. Start a transaction.
4453  2- abort command - stop reansaction.
4454  4- init command - init new transaction afet abort/error.
4455 
4456 */
4457 #define HOST_DMA_CH9TCTL2_CMD_W 3U
4458 #define HOST_DMA_CH9TCTL2_CMD_M 0x00000007U
4459 #define HOST_DMA_CH9TCTL2_CMD_S 0U
4460 
4461 
4462 /*-----------------------------------REGISTER------------------------------------
4463  Register name: CH9TSTA
4464  Offset name: HOST_DMA_O_CH9TSTA
4465  Relative address: 0xA014
4466  Description: Job completion reason - either last transaction or exception
4467  Default Value: 0x00000000
4468 
4469  Field: STA
4470  From..to bits: 0...0
4471  DefaultValue: 0x0
4472  Access type: read-only
4473  Description: channel OCP rstatus recieved at one of the primary ports.
4474  Once an error is encountered the channel will enter an Exception state and stay the until an init command is recieved.
4475  ICLR does not affect this status.
4476 
4477 */
4478 #define HOST_DMA_CH9TSTA_STA 0x00000001U
4479 #define HOST_DMA_CH9TSTA_STA_M 0x00000001U
4480 #define HOST_DMA_CH9TSTA_STA_S 0U
4481 /*
4482 
4483  Field: OFFSET
4484  From..to bits: 8...15
4485  DefaultValue: 0x0
4486  Access type: read-only
4487  Description: Offset in words from block boundary. Actually number of word have been transferred in this block
4488 
4489 */
4490 #define HOST_DMA_CH9TSTA_OFFSET_W 8U
4491 #define HOST_DMA_CH9TSTA_OFFSET_M 0x0000FF00U
4492 #define HOST_DMA_CH9TSTA_OFFSET_S 8U
4493 /*
4494 
4495  Field: REMAINB
4496  From..to bits: 16...29
4497  DefaultValue: 0x0
4498  Access type: read-only
4499  Description: Number of bytes remaining to complete the transaction.
4500 
4501 */
4502 #define HOST_DMA_CH9TSTA_REMAINB_W 14U
4503 #define HOST_DMA_CH9TSTA_REMAINB_M 0x3FFF0000U
4504 #define HOST_DMA_CH9TSTA_REMAINB_S 16U
4505 
4506 
4507 /*-----------------------------------REGISTER------------------------------------
4508  Register name: CH9JCTL
4509  Offset name: HOST_DMA_O_CH9JCTL
4510  Relative address: 0xA01C
4511  Description: Job control register
4512  Default Value: 0x00000000
4513 
4514  Field: WORDSIZE
4515  From..to bits: 0...1
4516  DefaultValue: 0x0
4517  Access type: read-write
4518  Description: 00 -word size is 32 bits
4519  01 -word size is 16 bits
4520  10 -word size is 8 bits
4521 
4522 */
4523 #define HOST_DMA_CH9JCTL_WORDSIZE_W 2U
4524 #define HOST_DMA_CH9JCTL_WORDSIZE_M 0x00000003U
4525 #define HOST_DMA_CH9JCTL_WORDSIZE_S 0U
4526 /*
4527 
4528  Field: BLKSIZE
4529  From..to bits: 16...21
4530  DefaultValue: 0x0
4531  Access type: read-write
4532  Description: size of the block in words. If block mode is enabled, defines the address wrap around.
4533  Since channel arbitration decisions are made every block, this also effect how much bandwidth is given to a specific channel.
4534 
4535 
4536 
4537 */
4538 #define HOST_DMA_CH9JCTL_BLKSIZE_W 6U
4539 #define HOST_DMA_CH9JCTL_BLKSIZE_M 0x003F0000U
4540 #define HOST_DMA_CH9JCTL_BLKSIZE_S 16U
4541 /*
4542 
4543  Field: DMASIGBPS
4544  From..to bits: 26...26
4545  DefaultValue: 0x0
4546  Access type: read-write
4547  Description: Tie high channel DMA req signal. This is useful for memory to memort transaction
4548 
4549 */
4550 #define HOST_DMA_CH9JCTL_DMASIGBPS 0x04000000U
4551 #define HOST_DMA_CH9JCTL_DMASIGBPS_M 0x04000000U
4552 #define HOST_DMA_CH9JCTL_DMASIGBPS_S 26U
4553 /*
4554 
4555  Field: FIFOMODS
4556  From..to bits: 27...27
4557  DefaultValue: 0x0
4558  Access type: read-write
4559  Description: Source pointer fifo mode
4560 
4561 */
4562 #define HOST_DMA_CH9JCTL_FIFOMODS 0x08000000U
4563 #define HOST_DMA_CH9JCTL_FIFOMODS_M 0x08000000U
4564 #define HOST_DMA_CH9JCTL_FIFOMODS_S 27U
4565 /*
4566 
4567  Field: FIFOMODD
4568  From..to bits: 28...28
4569  DefaultValue: 0x0
4570  Access type: read-write
4571  Description: Destination pointer fifo mode
4572 
4573 */
4574 #define HOST_DMA_CH9JCTL_FIFOMODD 0x10000000U
4575 #define HOST_DMA_CH9JCTL_FIFOMODD_M 0x10000000U
4576 #define HOST_DMA_CH9JCTL_FIFOMODD_S 28U
4577 /*
4578 
4579  Field: SRCDSTCFG
4580  From..to bits: 29...29
4581  DefaultValue: 0x0
4582  Access type: read-write
4583  Description: 0 - Sorce is periph: transaction from periph to memory.
4584  1 - Destination is periph :transaction from Memory to periph
4585 
4586 */
4587 #define HOST_DMA_CH9JCTL_SRCDSTCFG 0x20000000U
4588 #define HOST_DMA_CH9JCTL_SRCDSTCFG_M 0x20000000U
4589 #define HOST_DMA_CH9JCTL_SRCDSTCFG_S 29U
4590 /*
4591 
4592  Field: ENCLR
4593  From..to bits: 30...30
4594  DefaultValue: 0x0
4595  Access type: read-write
4596  Description: Enable DMA to set a rd/wr clear pulse at the beginning of a job (one cycle after run cmd)
4597 
4598 */
4599 #define HOST_DMA_CH9JCTL_ENCLR 0x40000000U
4600 #define HOST_DMA_CH9JCTL_ENCLR_M 0x40000000U
4601 #define HOST_DMA_CH9JCTL_ENCLR_S 30U
4602 
4603 
4604 /*-----------------------------------REGISTER------------------------------------
4605  Register name: CH10STA
4606  Offset name: HOST_DMA_O_CH10STA
4607  Relative address: 0xB000
4608  Description: Channel Status FSM state and run indication.
4609  Default Value: 0x00000000
4610 
4611  Field: HWEVENT
4612  From..to bits: 0...2
4613  DefaultValue: 0x0
4614  Access type: read-only
4615  Description: HW event status.
4616  Channel status is a bit mask. Multiple bits can be set at the same time
4617  0. PROCESSING
4618  1. TRANS DONE
4619  2. ABORT
4620  4. EXCEPTION
4621 
4622 */
4623 #define HOST_DMA_CH10STA_HWEVENT_W 3U
4624 #define HOST_DMA_CH10STA_HWEVENT_M 0x00000007U
4625 #define HOST_DMA_CH10STA_HWEVENT_S 0U
4626 /*
4627 
4628  Field: FSMSTATE
4629  From..to bits: 8...11
4630  DefaultValue: 0x0
4631  Access type: read-only
4632  Description: FSM state:
4633  0x0. IDLE
4634  0x2. EXCEPTION
4635  0x3. DRAIN
4636  0x4. ABORT
4637  0x8. PENDING ARB
4638  0x9. COPY
4639  0xA. COPY LAST
4640  0xC. DONE
4641  0xD. SAVE CTX
4642  0xE. WAIT NEXT TRANS
4643  0xF. LAST
4644 
4645 */
4646 #define HOST_DMA_CH10STA_FSMSTATE_W 4U
4647 #define HOST_DMA_CH10STA_FSMSTATE_M 0x00000F00U
4648 #define HOST_DMA_CH10STA_FSMSTATE_S 8U
4649 /*
4650 
4651  Field: RUN
4652  From..to bits: 16...16
4653  DefaultValue: 0x0
4654  Access type: read-only
4655  Description: Indication that channel is currently transfering data and is not idle.
4656  Channels that are waiting on arbitration are considered running.
4657 
4658 */
4659 #define HOST_DMA_CH10STA_RUN 0x00010000U
4660 #define HOST_DMA_CH10STA_RUN_M 0x00010000U
4661 #define HOST_DMA_CH10STA_RUN_S 16U
4662 
4663 
4664 /*-----------------------------------REGISTER------------------------------------
4665  Register name: CH10TIPTR
4666  Offset name: HOST_DMA_O_CH10TIPTR
4667  Relative address: 0xB004
4668  Description: 32 bit address pointer of channel current input.
4669  Default Value: 0x00000000
4670 
4671  Field: IPTR
4672  From..to bits: 0...31
4673  DefaultValue: 0x0
4674  Access type: read-write
4675  Description: 32 bit address pointer of channel current input.
4676 
4677 */
4678 #define HOST_DMA_CH10TIPTR_IPTR_W 32U
4679 #define HOST_DMA_CH10TIPTR_IPTR_M 0xFFFFFFFFU
4680 #define HOST_DMA_CH10TIPTR_IPTR_S 0U
4681 
4682 
4683 /*-----------------------------------REGISTER------------------------------------
4684  Register name: CH10TOPTR
4685  Offset name: HOST_DMA_O_CH10TOPTR
4686  Relative address: 0xB008
4687  Description: 32 bit address pointer of channel current output.
4688  Default Value: 0x00000000
4689 
4690  Field: OPTR
4691  From..to bits: 0...31
4692  DefaultValue: 0x0
4693  Access type: read-write
4694  Description: 32 bit address pointer of channel current output.
4695 
4696 */
4697 #define HOST_DMA_CH10TOPTR_OPTR_W 32U
4698 #define HOST_DMA_CH10TOPTR_OPTR_M 0xFFFFFFFFU
4699 #define HOST_DMA_CH10TOPTR_OPTR_S 0U
4700 
4701 
4702 /*-----------------------------------REGISTER------------------------------------
4703  Register name: CH10TCTL
4704  Offset name: HOST_DMA_O_CH10TCTL
4705  Relative address: 0xB00C
4706  Description: Transaction control
4707  Default Value: 0x00000000
4708 
4709  Field: TRANSB
4710  From..to bits: 0...13
4711  DefaultValue: 0x0
4712  Access type: read-write
4713  Description: Number of bytes of the transaction to move from source to destination.
4714 
4715 */
4716 #define HOST_DMA_CH10TCTL_TRANSB_W 14U
4717 #define HOST_DMA_CH10TCTL_TRANSB_M 0x00003FFFU
4718 #define HOST_DMA_CH10TCTL_TRANSB_S 0U
4719 /*
4720 
4721  Field: BURSTREQ
4722  From..to bits: 16...16
4723  DefaultValue: 0x0
4724  Access type: read-write
4725  Description: In case number of words to tranfer smaller than block size, DMA would use signle request and work with block size of 1 word. In case we know request would be set on altough number of words to tranfer is smaller than block size, we can set this field on and DMA will wait for block_request and transact all remaining words in one block.
4726 
4727 */
4728 #define HOST_DMA_CH10TCTL_BURSTREQ 0x00010000U
4729 #define HOST_DMA_CH10TCTL_BURSTREQ_M 0x00010000U
4730 #define HOST_DMA_CH10TCTL_BURSTREQ_S 16U
4731 /*
4732 
4733  Field: SPARE
4734  From..to bits: 17...17
4735  DefaultValue: 0x0
4736  Access type: read-write
4737  Description: spare
4738 
4739 */
4740 #define HOST_DMA_CH10TCTL_SPARE 0x00020000U
4741 #define HOST_DMA_CH10TCTL_SPARE_M 0x00020000U
4742 #define HOST_DMA_CH10TCTL_SPARE_S 17U
4743 /*
4744 
4745  Field: ENDIANESS
4746  From..to bits: 24...25
4747  DefaultValue: 0x0
4748  Access type: read-write
4749  Description: 0 -no endianess, 1 - byte endianess, 2 - bit endianess
4750 
4751 */
4752 #define HOST_DMA_CH10TCTL_ENDIANESS_W 2U
4753 #define HOST_DMA_CH10TCTL_ENDIANESS_M 0x03000000U
4754 #define HOST_DMA_CH10TCTL_ENDIANESS_S 24U
4755 
4756 
4757 /*-----------------------------------REGISTER------------------------------------
4758  Register name: CH10TCTL2
4759  Offset name: HOST_DMA_O_CH10TCTL2
4760  Relative address: 0xB010
4761  Description: DMA command interface
4762  Default Value: 0x00000000
4763 
4764  Field: CMD
4765  From..to bits: 0...2
4766  DefaultValue: 0x0
4767  Access type: write-only
4768  Description: 1 - run command. Start a transaction.
4769  2- abort command - stop reansaction.
4770  4- init command - init new transaction afet abort/error.
4771 
4772 */
4773 #define HOST_DMA_CH10TCTL2_CMD_W 3U
4774 #define HOST_DMA_CH10TCTL2_CMD_M 0x00000007U
4775 #define HOST_DMA_CH10TCTL2_CMD_S 0U
4776 
4777 
4778 /*-----------------------------------REGISTER------------------------------------
4779  Register name: CH10TSTA
4780  Offset name: HOST_DMA_O_CH10TSTA
4781  Relative address: 0xB014
4782  Description: Job completion reason - either last transaction or exception
4783  Default Value: 0x00000000
4784 
4785  Field: STA
4786  From..to bits: 0...0
4787  DefaultValue: 0x0
4788  Access type: read-only
4789  Description: channel OCP rstatus recieved at one of the primary ports.
4790  Once an error is encountered the channel will enter an Exception state and stay the until an init command is recieved.
4791  ICLR does not affect this status.
4792 
4793 */
4794 #define HOST_DMA_CH10TSTA_STA 0x00000001U
4795 #define HOST_DMA_CH10TSTA_STA_M 0x00000001U
4796 #define HOST_DMA_CH10TSTA_STA_S 0U
4797 /*
4798 
4799  Field: OFFSET
4800  From..to bits: 8...15
4801  DefaultValue: 0x0
4802  Access type: read-only
4803  Description: Offset in words from block boundary. Actually number of word have been transferred in this block
4804 
4805 */
4806 #define HOST_DMA_CH10TSTA_OFFSET_W 8U
4807 #define HOST_DMA_CH10TSTA_OFFSET_M 0x0000FF00U
4808 #define HOST_DMA_CH10TSTA_OFFSET_S 8U
4809 /*
4810 
4811  Field: REMAINB
4812  From..to bits: 16...29
4813  DefaultValue: 0x0
4814  Access type: read-only
4815  Description: Number of bytes remaining to complete the transaction.
4816 
4817 */
4818 #define HOST_DMA_CH10TSTA_REMAINB_W 14U
4819 #define HOST_DMA_CH10TSTA_REMAINB_M 0x3FFF0000U
4820 #define HOST_DMA_CH10TSTA_REMAINB_S 16U
4821 
4822 
4823 /*-----------------------------------REGISTER------------------------------------
4824  Register name: CH10JCTL
4825  Offset name: HOST_DMA_O_CH10JCTL
4826  Relative address: 0xB01C
4827  Description: Job control register
4828  Default Value: 0x00000000
4829 
4830  Field: WORDSIZE
4831  From..to bits: 0...1
4832  DefaultValue: 0x0
4833  Access type: read-write
4834  Description: 00 -word size is 32 bits
4835  01 -word size is 16 bits
4836  10 -word size is 8 bits
4837 
4838 */
4839 #define HOST_DMA_CH10JCTL_WORDSIZE_W 2U
4840 #define HOST_DMA_CH10JCTL_WORDSIZE_M 0x00000003U
4841 #define HOST_DMA_CH10JCTL_WORDSIZE_S 0U
4842 /*
4843 
4844  Field: BLKSIZE
4845  From..to bits: 16...23
4846  DefaultValue: 0x0
4847  Access type: read-write
4848  Description: size of the block in words. If block mode is enabled, defines the address wrap around.
4849  Since channel arbitration decisions are made every block, this also effect how much bandwidth is given to a specific channel.
4850 
4851 
4852 
4853 */
4854 #define HOST_DMA_CH10JCTL_BLKSIZE_W 8U
4855 #define HOST_DMA_CH10JCTL_BLKSIZE_M 0x00FF0000U
4856 #define HOST_DMA_CH10JCTL_BLKSIZE_S 16U
4857 /*
4858 
4859  Field: DMASIGBPS
4860  From..to bits: 26...26
4861  DefaultValue: 0x0
4862  Access type: read-write
4863  Description: Tie high channel DMA req signal. This is useful for memory to memort transaction
4864 
4865 */
4866 #define HOST_DMA_CH10JCTL_DMASIGBPS 0x04000000U
4867 #define HOST_DMA_CH10JCTL_DMASIGBPS_M 0x04000000U
4868 #define HOST_DMA_CH10JCTL_DMASIGBPS_S 26U
4869 /*
4870 
4871  Field: FIFOMODS
4872  From..to bits: 27...27
4873  DefaultValue: 0x0
4874  Access type: read-write
4875  Description: Source pointer fifo mode
4876 
4877 */
4878 #define HOST_DMA_CH10JCTL_FIFOMODS 0x08000000U
4879 #define HOST_DMA_CH10JCTL_FIFOMODS_M 0x08000000U
4880 #define HOST_DMA_CH10JCTL_FIFOMODS_S 27U
4881 /*
4882 
4883  Field: FIFOMODD
4884  From..to bits: 28...28
4885  DefaultValue: 0x0
4886  Access type: read-write
4887  Description: Destination pointer fifo mode
4888 
4889 */
4890 #define HOST_DMA_CH10JCTL_FIFOMODD 0x10000000U
4891 #define HOST_DMA_CH10JCTL_FIFOMODD_M 0x10000000U
4892 #define HOST_DMA_CH10JCTL_FIFOMODD_S 28U
4893 /*
4894 
4895  Field: SRCDSTCFG
4896  From..to bits: 29...29
4897  DefaultValue: 0x0
4898  Access type: read-write
4899  Description: 0 - Sorce is periph: transaction from periph to memory.
4900  1 - Destination is periph :transaction from Memory to periph
4901 
4902 */
4903 #define HOST_DMA_CH10JCTL_SRCDSTCFG 0x20000000U
4904 #define HOST_DMA_CH10JCTL_SRCDSTCFG_M 0x20000000U
4905 #define HOST_DMA_CH10JCTL_SRCDSTCFG_S 29U
4906 /*
4907 
4908  Field: ENCLR
4909  From..to bits: 30...30
4910  DefaultValue: 0x0
4911  Access type: read-write
4912  Description: Enable DMA to set a rd/wr clear pulse at the beginning of a job (one cycle after run cmd)
4913 
4914 */
4915 #define HOST_DMA_CH10JCTL_ENCLR 0x40000000U
4916 #define HOST_DMA_CH10JCTL_ENCLR_M 0x40000000U
4917 #define HOST_DMA_CH10JCTL_ENCLR_S 30U
4918 
4919 
4920 /*-----------------------------------REGISTER------------------------------------
4921  Register name: CH11STA
4922  Offset name: HOST_DMA_O_CH11STA
4923  Relative address: 0xC000
4924  Description: Channel Status FSM state and run indication.
4925  Default Value: 0x00000000
4926 
4927  Field: HWEVENT
4928  From..to bits: 0...2
4929  DefaultValue: 0x0
4930  Access type: read-only
4931  Description: HW event status.
4932  Channel status is a bit mask. Multiple bits can be set at the same time
4933  0. PROCESSING
4934  1. TRANS DONE
4935  2. ABORT
4936  4. EXCEPTION
4937 
4938 */
4939 #define HOST_DMA_CH11STA_HWEVENT_W 3U
4940 #define HOST_DMA_CH11STA_HWEVENT_M 0x00000007U
4941 #define HOST_DMA_CH11STA_HWEVENT_S 0U
4942 /*
4943 
4944  Field: FSMSTATE
4945  From..to bits: 8...11
4946  DefaultValue: 0x0
4947  Access type: read-only
4948  Description: FSM state:
4949  0x0. IDLE
4950  0x2. EXCEPTION
4951  0x3. DRAIN
4952  0x4. ABORT
4953  0x8. PENDING ARB
4954  0x9. COPY
4955  0xA. COPY LAST
4956  0xC. DONE
4957  0xD. SAVE CTX
4958  0xE. WAIT NEXT TRANS
4959  0xF. LAST
4960 
4961 */
4962 #define HOST_DMA_CH11STA_FSMSTATE_W 4U
4963 #define HOST_DMA_CH11STA_FSMSTATE_M 0x00000F00U
4964 #define HOST_DMA_CH11STA_FSMSTATE_S 8U
4965 /*
4966 
4967  Field: RUN
4968  From..to bits: 16...16
4969  DefaultValue: 0x0
4970  Access type: read-only
4971  Description: Indication that channel is currently transfering data and is not idle.
4972  Channels that are waiting on arbitration are considered running.
4973 
4974 */
4975 #define HOST_DMA_CH11STA_RUN 0x00010000U
4976 #define HOST_DMA_CH11STA_RUN_M 0x00010000U
4977 #define HOST_DMA_CH11STA_RUN_S 16U
4978 
4979 
4980 /*-----------------------------------REGISTER------------------------------------
4981  Register name: CH11TIPTR
4982  Offset name: HOST_DMA_O_CH11TIPTR
4983  Relative address: 0xC004
4984  Description: 32 bit address pointer of channel current input.
4985  Default Value: 0x00000000
4986 
4987  Field: IPTR
4988  From..to bits: 0...31
4989  DefaultValue: 0x0
4990  Access type: read-write
4991  Description: 32 bit address pointer of channel current input.
4992 
4993 */
4994 #define HOST_DMA_CH11TIPTR_IPTR_W 32U
4995 #define HOST_DMA_CH11TIPTR_IPTR_M 0xFFFFFFFFU
4996 #define HOST_DMA_CH11TIPTR_IPTR_S 0U
4997 
4998 
4999 /*-----------------------------------REGISTER------------------------------------
5000  Register name: CH11TOPTR
5001  Offset name: HOST_DMA_O_CH11TOPTR
5002  Relative address: 0xC008
5003  Description: 32 bit address pointer of channel current output.
5004  Default Value: 0x00000000
5005 
5006  Field: OPTR
5007  From..to bits: 0...31
5008  DefaultValue: 0x0
5009  Access type: read-write
5010  Description: 32 bit address pointer of channel current output.
5011 
5012 */
5013 #define HOST_DMA_CH11TOPTR_OPTR_W 32U
5014 #define HOST_DMA_CH11TOPTR_OPTR_M 0xFFFFFFFFU
5015 #define HOST_DMA_CH11TOPTR_OPTR_S 0U
5016 
5017 
5018 /*-----------------------------------REGISTER------------------------------------
5019  Register name: CH11TCTL
5020  Offset name: HOST_DMA_O_CH11TCTL
5021  Relative address: 0xC00C
5022  Description: Transaction control
5023  Default Value: 0x00000000
5024 
5025  Field: TRANSB
5026  From..to bits: 0...13
5027  DefaultValue: 0x0
5028  Access type: read-write
5029  Description: Number of bytes of the transaction to move from source to destination.
5030 
5031 */
5032 #define HOST_DMA_CH11TCTL_TRANSB_W 14U
5033 #define HOST_DMA_CH11TCTL_TRANSB_M 0x00003FFFU
5034 #define HOST_DMA_CH11TCTL_TRANSB_S 0U
5035 /*
5036 
5037  Field: BURSTREQ
5038  From..to bits: 16...16
5039  DefaultValue: 0x0
5040  Access type: read-write
5041  Description: In case number of words to tranfer smaller than block size, DMA would use signle request and work with block size of 1 word. In case we know request would be set on altough number of words to tranfer is smaller than block size, we can set this field on and DMA will wait for block_request and transact all remaining words in one block.
5042 
5043 */
5044 #define HOST_DMA_CH11TCTL_BURSTREQ 0x00010000U
5045 #define HOST_DMA_CH11TCTL_BURSTREQ_M 0x00010000U
5046 #define HOST_DMA_CH11TCTL_BURSTREQ_S 16U
5047 /*
5048 
5049  Field: SPARE
5050  From..to bits: 17...17
5051  DefaultValue: 0x0
5052  Access type: read-write
5053  Description: spare
5054 
5055 */
5056 #define HOST_DMA_CH11TCTL_SPARE 0x00020000U
5057 #define HOST_DMA_CH11TCTL_SPARE_M 0x00020000U
5058 #define HOST_DMA_CH11TCTL_SPARE_S 17U
5059 /*
5060 
5061  Field: ENDIANESS
5062  From..to bits: 24...25
5063  DefaultValue: 0x0
5064  Access type: read-write
5065  Description: 0 -no endianess, 1 - byte endianess, 2 - bit endianess
5066 
5067 */
5068 #define HOST_DMA_CH11TCTL_ENDIANESS_W 2U
5069 #define HOST_DMA_CH11TCTL_ENDIANESS_M 0x03000000U
5070 #define HOST_DMA_CH11TCTL_ENDIANESS_S 24U
5071 
5072 
5073 /*-----------------------------------REGISTER------------------------------------
5074  Register name: CH11TCTL2
5075  Offset name: HOST_DMA_O_CH11TCTL2
5076  Relative address: 0xC010
5077  Description: DMA command interface
5078  Default Value: 0x00000000
5079 
5080  Field: CMD
5081  From..to bits: 0...2
5082  DefaultValue: 0x0
5083  Access type: write-only
5084  Description: 1 - run command. Start a transaction.
5085  2- abort command - stop reansaction.
5086  4- init command - init new transaction afet abort/error.
5087 
5088 */
5089 #define HOST_DMA_CH11TCTL2_CMD_W 3U
5090 #define HOST_DMA_CH11TCTL2_CMD_M 0x00000007U
5091 #define HOST_DMA_CH11TCTL2_CMD_S 0U
5092 
5093 
5094 /*-----------------------------------REGISTER------------------------------------
5095  Register name: CH11TSTA
5096  Offset name: HOST_DMA_O_CH11TSTA
5097  Relative address: 0xC014
5098  Description: Job completion reason - either last transaction or exception
5099  Default Value: 0x00000000
5100 
5101  Field: STA
5102  From..to bits: 0...0
5103  DefaultValue: 0x0
5104  Access type: read-only
5105  Description: channel OCP rstatus recieved at one of the primary ports.
5106  Once an error is encountered the channel will enter an Exception state and stay the until an init command is recieved.
5107  ICLR does not affect this status.
5108 
5109 */
5110 #define HOST_DMA_CH11TSTA_STA 0x00000001U
5111 #define HOST_DMA_CH11TSTA_STA_M 0x00000001U
5112 #define HOST_DMA_CH11TSTA_STA_S 0U
5113 /*
5114 
5115  Field: OFFSET
5116  From..to bits: 8...15
5117  DefaultValue: 0x0
5118  Access type: read-only
5119  Description: Offset in words from block boundary. Actually number of word have been transferred in this block
5120 
5121 */
5122 #define HOST_DMA_CH11TSTA_OFFSET_W 8U
5123 #define HOST_DMA_CH11TSTA_OFFSET_M 0x0000FF00U
5124 #define HOST_DMA_CH11TSTA_OFFSET_S 8U
5125 /*
5126 
5127  Field: REMAINB
5128  From..to bits: 16...29
5129  DefaultValue: 0x0
5130  Access type: read-only
5131  Description: Number of bytes remaining to complete the transaction.
5132 
5133 */
5134 #define HOST_DMA_CH11TSTA_REMAINB_W 14U
5135 #define HOST_DMA_CH11TSTA_REMAINB_M 0x3FFF0000U
5136 #define HOST_DMA_CH11TSTA_REMAINB_S 16U
5137 
5138 
5139 /*-----------------------------------REGISTER------------------------------------
5140  Register name: CH11JCTL
5141  Offset name: HOST_DMA_O_CH11JCTL
5142  Relative address: 0xC01C
5143  Description: Job control register
5144  Default Value: 0x00000000
5145 
5146  Field: WORDSIZE
5147  From..to bits: 0...1
5148  DefaultValue: 0x0
5149  Access type: read-write
5150  Description: 00 -word size is 32 bits
5151  01 -word size is 16 bits
5152  10 -word size is 8 bits
5153 
5154 */
5155 #define HOST_DMA_CH11JCTL_WORDSIZE_W 2U
5156 #define HOST_DMA_CH11JCTL_WORDSIZE_M 0x00000003U
5157 #define HOST_DMA_CH11JCTL_WORDSIZE_S 0U
5158 /*
5159 
5160  Field: BLKSIZE
5161  From..to bits: 16...21
5162  DefaultValue: 0x0
5163  Access type: read-write
5164  Description: size of the block in words. If block mode is enabled, defines the address wrap around.
5165  Since channel arbitration decisions are made every block, this also effect how much bandwidth is given to a specific channel.
5166 
5167 
5168 
5169 */
5170 #define HOST_DMA_CH11JCTL_BLKSIZE_W 6U
5171 #define HOST_DMA_CH11JCTL_BLKSIZE_M 0x003F0000U
5172 #define HOST_DMA_CH11JCTL_BLKSIZE_S 16U
5173 /*
5174 
5175  Field: DMASIGBPS
5176  From..to bits: 26...26
5177  DefaultValue: 0x0
5178  Access type: read-write
5179  Description: Tie high channel DMA req signal. This is useful for memory to memort transaction
5180 
5181 */
5182 #define HOST_DMA_CH11JCTL_DMASIGBPS 0x04000000U
5183 #define HOST_DMA_CH11JCTL_DMASIGBPS_M 0x04000000U
5184 #define HOST_DMA_CH11JCTL_DMASIGBPS_S 26U
5185 /*
5186 
5187  Field: FIFOMODS
5188  From..to bits: 27...27
5189  DefaultValue: 0x0
5190  Access type: read-write
5191  Description: Source pointer fifo mode
5192 
5193 */
5194 #define HOST_DMA_CH11JCTL_FIFOMODS 0x08000000U
5195 #define HOST_DMA_CH11JCTL_FIFOMODS_M 0x08000000U
5196 #define HOST_DMA_CH11JCTL_FIFOMODS_S 27U
5197 /*
5198 
5199  Field: FIFOMODD
5200  From..to bits: 28...28
5201  DefaultValue: 0x0
5202  Access type: read-write
5203  Description: Destination pointer fifo mode
5204 
5205 */
5206 #define HOST_DMA_CH11JCTL_FIFOMODD 0x10000000U
5207 #define HOST_DMA_CH11JCTL_FIFOMODD_M 0x10000000U
5208 #define HOST_DMA_CH11JCTL_FIFOMODD_S 28U
5209 /*
5210 
5211  Field: SRCDSTCFG
5212  From..to bits: 29...29
5213  DefaultValue: 0x0
5214  Access type: read-write
5215  Description: 0 - Sorce is periph: transaction from periph to memory.
5216  1 - Destination is periph :transaction from Memory to periph
5217 
5218 */
5219 #define HOST_DMA_CH11JCTL_SRCDSTCFG 0x20000000U
5220 #define HOST_DMA_CH11JCTL_SRCDSTCFG_M 0x20000000U
5221 #define HOST_DMA_CH11JCTL_SRCDSTCFG_S 29U
5222 /*
5223 
5224  Field: ENCLR
5225  From..to bits: 30...30
5226  DefaultValue: 0x0
5227  Access type: read-write
5228  Description: Enable DMA to set a rd/wr clear pulse at the beginning of a job (one cycle after run cmd)
5229 
5230 */
5231 #define HOST_DMA_CH11JCTL_ENCLR 0x40000000U
5232 #define HOST_DMA_CH11JCTL_ENCLR_M 0x40000000U
5233 #define HOST_DMA_CH11JCTL_ENCLR_S 30U
5234 
5235 
5236 /*-----------------------------------REGISTER------------------------------------
5237  Register name: CH12STA
5238  Offset name: HOST_DMA_O_CH12STA
5239  Relative address: 0xD000
5240  Description: Channel Status FSM state and run indication.
5241  Default Value: 0x00000000
5242 
5243  Field: HWEVENT
5244  From..to bits: 0...2
5245  DefaultValue: 0x0
5246  Access type: read-only
5247  Description: HW event status.
5248  Channel status is a bit mask. Multiple bits can be set at the same time
5249  0. PROCESSING
5250  1. TRANS DONE
5251  2. ABORT
5252  4. EXCEPTION
5253 
5254 */
5255 #define HOST_DMA_CH12STA_HWEVENT_W 3U
5256 #define HOST_DMA_CH12STA_HWEVENT_M 0x00000007U
5257 #define HOST_DMA_CH12STA_HWEVENT_S 0U
5258 /*
5259 
5260  Field: FSMSTATE
5261  From..to bits: 8...11
5262  DefaultValue: 0x0
5263  Access type: read-only
5264  Description: FSM state:
5265  0x0. IDLE
5266  0x2. EXCEPTION
5267  0x3. DRAIN
5268  0x4. ABORT
5269  0x8. PENDING ARB
5270  0x9. COPY
5271  0xA. COPY LAST
5272  0xC. DONE
5273  0xD. SAVE CTX
5274  0xE. WAIT NEXT TRANS
5275  0xF. LAST
5276 
5277 */
5278 #define HOST_DMA_CH12STA_FSMSTATE_W 4U
5279 #define HOST_DMA_CH12STA_FSMSTATE_M 0x00000F00U
5280 #define HOST_DMA_CH12STA_FSMSTATE_S 8U
5281 /*
5282 
5283  Field: RUN
5284  From..to bits: 16...16
5285  DefaultValue: 0x0
5286  Access type: read-only
5287  Description: Indication that channel is currently transfering data and is not idle.
5288  Channels that are waiting on arbitration are considered running.
5289 
5290 */
5291 #define HOST_DMA_CH12STA_RUN 0x00010000U
5292 #define HOST_DMA_CH12STA_RUN_M 0x00010000U
5293 #define HOST_DMA_CH12STA_RUN_S 16U
5294 
5295 
5296 /*-----------------------------------REGISTER------------------------------------
5297  Register name: CH12TIPTR
5298  Offset name: HOST_DMA_O_CH12TIPTR
5299  Relative address: 0xD004
5300  Description: 32 bit address pointer of channel current input.
5301  Default Value: 0x00000000
5302 
5303  Field: IPTR
5304  From..to bits: 0...31
5305  DefaultValue: 0x0
5306  Access type: read-write
5307  Description: 32 bit address pointer of channel current input.
5308 
5309 */
5310 #define HOST_DMA_CH12TIPTR_IPTR_W 32U
5311 #define HOST_DMA_CH12TIPTR_IPTR_M 0xFFFFFFFFU
5312 #define HOST_DMA_CH12TIPTR_IPTR_S 0U
5313 
5314 
5315 /*-----------------------------------REGISTER------------------------------------
5316  Register name: CH12TOPTR
5317  Offset name: HOST_DMA_O_CH12TOPTR
5318  Relative address: 0xD008
5319  Description: 32 bit address pointer of channel current output.
5320  Default Value: 0x00000000
5321 
5322  Field: OPTR
5323  From..to bits: 0...31
5324  DefaultValue: 0x0
5325  Access type: read-write
5326  Description: 32 bit address pointer of channel current output.
5327 
5328 */
5329 #define HOST_DMA_CH12TOPTR_OPTR_W 32U
5330 #define HOST_DMA_CH12TOPTR_OPTR_M 0xFFFFFFFFU
5331 #define HOST_DMA_CH12TOPTR_OPTR_S 0U
5332 
5333 
5334 /*-----------------------------------REGISTER------------------------------------
5335  Register name: CH12TCTL
5336  Offset name: HOST_DMA_O_CH12TCTL
5337  Relative address: 0xD00C
5338  Description: Transaction control
5339  Default Value: 0x00000000
5340 
5341  Field: TRANSB
5342  From..to bits: 0...13
5343  DefaultValue: 0x0
5344  Access type: read-write
5345  Description: Number of bytes of the transaction to move from source to destination.
5346 
5347 */
5348 #define HOST_DMA_CH12TCTL_TRANSB_W 14U
5349 #define HOST_DMA_CH12TCTL_TRANSB_M 0x00003FFFU
5350 #define HOST_DMA_CH12TCTL_TRANSB_S 0U
5351 /*
5352 
5353  Field: BURSTREQ
5354  From..to bits: 16...16
5355  DefaultValue: 0x0
5356  Access type: read-write
5357  Description: In case number of words to tranfer smaller than block size, DMA would use signle request and work with block size of 1 word. In case we know request would be set on altough number of words to tranfer is smaller than block size, we can set this field on and DMA will wait for block_request and transact all remaining words in one block.
5358 
5359 */
5360 #define HOST_DMA_CH12TCTL_BURSTREQ 0x00010000U
5361 #define HOST_DMA_CH12TCTL_BURSTREQ_M 0x00010000U
5362 #define HOST_DMA_CH12TCTL_BURSTREQ_S 16U
5363 /*
5364 
5365  Field: SPARE
5366  From..to bits: 17...17
5367  DefaultValue: 0x0
5368  Access type: read-write
5369  Description: spare
5370 
5371 */
5372 #define HOST_DMA_CH12TCTL_SPARE 0x00020000U
5373 #define HOST_DMA_CH12TCTL_SPARE_M 0x00020000U
5374 #define HOST_DMA_CH12TCTL_SPARE_S 17U
5375 /*
5376 
5377  Field: ENDIANESS
5378  From..to bits: 24...25
5379  DefaultValue: 0x0
5380  Access type: read-write
5381  Description: 0 -no endianess, 1 - byte endianess, 2 - bit endianess
5382 
5383 */
5384 #define HOST_DMA_CH12TCTL_ENDIANESS_W 2U
5385 #define HOST_DMA_CH12TCTL_ENDIANESS_M 0x03000000U
5386 #define HOST_DMA_CH12TCTL_ENDIANESS_S 24U
5387 
5388 
5389 /*-----------------------------------REGISTER------------------------------------
5390  Register name: CH12TCTL2
5391  Offset name: HOST_DMA_O_CH12TCTL2
5392  Relative address: 0xD010
5393  Description: DMA command interface
5394  Default Value: 0x00000000
5395 
5396  Field: CMD
5397  From..to bits: 0...2
5398  DefaultValue: 0x0
5399  Access type: write-only
5400  Description: 1 - run command. Start a transaction.
5401  2- abort command - stop reansaction.
5402  4- init command - init new transaction afet abort/error.
5403 
5404 */
5405 #define HOST_DMA_CH12TCTL2_CMD_W 3U
5406 #define HOST_DMA_CH12TCTL2_CMD_M 0x00000007U
5407 #define HOST_DMA_CH12TCTL2_CMD_S 0U
5408 
5409 
5410 /*-----------------------------------REGISTER------------------------------------
5411  Register name: CH12TSTA
5412  Offset name: HOST_DMA_O_CH12TSTA
5413  Relative address: 0xD014
5414  Description: Job completion reason - either last transaction or exception
5415  Default Value: 0x00000000
5416 
5417  Field: STA
5418  From..to bits: 0...0
5419  DefaultValue: 0x0
5420  Access type: read-only
5421  Description: channel OCP rstatus recieved at one of the primary ports.
5422  Once an error is encountered the channel will enter an Exception state and stay the until an init command is recieved.
5423  ICLR does not affect this status.
5424 
5425 */
5426 #define HOST_DMA_CH12TSTA_STA 0x00000001U
5427 #define HOST_DMA_CH12TSTA_STA_M 0x00000001U
5428 #define HOST_DMA_CH12TSTA_STA_S 0U
5429 /*
5430 
5431  Field: OFFSET
5432  From..to bits: 8...15
5433  DefaultValue: 0x0
5434  Access type: read-only
5435  Description: Offset in words from block boundary. Actually number of word have been transferred in this block
5436 
5437 */
5438 #define HOST_DMA_CH12TSTA_OFFSET_W 8U
5439 #define HOST_DMA_CH12TSTA_OFFSET_M 0x0000FF00U
5440 #define HOST_DMA_CH12TSTA_OFFSET_S 8U
5441 /*
5442 
5443  Field: REMAINB
5444  From..to bits: 16...29
5445  DefaultValue: 0x0
5446  Access type: read-only
5447  Description: Number of bytes remaining to complete the transaction.
5448 
5449 */
5450 #define HOST_DMA_CH12TSTA_REMAINB_W 14U
5451 #define HOST_DMA_CH12TSTA_REMAINB_M 0x3FFF0000U
5452 #define HOST_DMA_CH12TSTA_REMAINB_S 16U
5453 
5454 
5455 /*-----------------------------------REGISTER------------------------------------
5456  Register name: CH12JCTL
5457  Offset name: HOST_DMA_O_CH12JCTL
5458  Relative address: 0xD01C
5459  Description: Job control register
5460  Default Value: 0x00000000
5461 
5462  Field: WORDSIZE
5463  From..to bits: 0...1
5464  DefaultValue: 0x0
5465  Access type: read-write
5466  Description: 00 -word size is 32 bits
5467  01 -word size is 16 bits
5468  10 -word size is 8 bits
5469 
5470 */
5471 #define HOST_DMA_CH12JCTL_WORDSIZE_W 2U
5472 #define HOST_DMA_CH12JCTL_WORDSIZE_M 0x00000003U
5473 #define HOST_DMA_CH12JCTL_WORDSIZE_S 0U
5474 /*
5475 
5476  Field: BLKSIZE
5477  From..to bits: 16...21
5478  DefaultValue: 0x0
5479  Access type: read-write
5480  Description: size of the block in words. If block mode is enabled, defines the address wrap around.
5481  Since channel arbitration decisions are made every block, this also effect how much bandwidth is given to a specific channel.
5482 
5483 
5484 
5485 */
5486 #define HOST_DMA_CH12JCTL_BLKSIZE_W 6U
5487 #define HOST_DMA_CH12JCTL_BLKSIZE_M 0x003F0000U
5488 #define HOST_DMA_CH12JCTL_BLKSIZE_S 16U
5489 /*
5490 
5491  Field: DMASIGBPS
5492  From..to bits: 26...26
5493  DefaultValue: 0x0
5494  Access type: read-write
5495  Description: Tie high channel DMA req signal. This is useful for memory to memort transaction
5496 
5497 */
5498 #define HOST_DMA_CH12JCTL_DMASIGBPS 0x04000000U
5499 #define HOST_DMA_CH12JCTL_DMASIGBPS_M 0x04000000U
5500 #define HOST_DMA_CH12JCTL_DMASIGBPS_S 26U
5501 /*
5502 
5503  Field: FIFOMODS
5504  From..to bits: 27...27
5505  DefaultValue: 0x0
5506  Access type: read-write
5507  Description: Source pointer fifo mode
5508 
5509 */
5510 #define HOST_DMA_CH12JCTL_FIFOMODS 0x08000000U
5511 #define HOST_DMA_CH12JCTL_FIFOMODS_M 0x08000000U
5512 #define HOST_DMA_CH12JCTL_FIFOMODS_S 27U
5513 /*
5514 
5515  Field: FIFOMODD
5516  From..to bits: 28...28
5517  DefaultValue: 0x0
5518  Access type: read-write
5519  Description: Destination pointer fifo mode
5520 
5521 */
5522 #define HOST_DMA_CH12JCTL_FIFOMODD 0x10000000U
5523 #define HOST_DMA_CH12JCTL_FIFOMODD_M 0x10000000U
5524 #define HOST_DMA_CH12JCTL_FIFOMODD_S 28U
5525 /*
5526 
5527  Field: SRCDSTCFG
5528  From..to bits: 29...29
5529  DefaultValue: 0x0
5530  Access type: read-write
5531  Description: 0 - Sorce is periph: transaction from periph to memory.
5532  1 - Destination is periph :transaction from Memory to periph
5533 
5534 */
5535 #define HOST_DMA_CH12JCTL_SRCDSTCFG 0x20000000U
5536 #define HOST_DMA_CH12JCTL_SRCDSTCFG_M 0x20000000U
5537 #define HOST_DMA_CH12JCTL_SRCDSTCFG_S 29U
5538 /*
5539 
5540  Field: ENCLR
5541  From..to bits: 30...30
5542  DefaultValue: 0x0
5543  Access type: read-write
5544  Description: Enable DMA to set a rd/wr clear pulse at the beginning of a job (one cycle after run cmd)
5545 
5546 */
5547 #define HOST_DMA_CH12JCTL_ENCLR 0x40000000U
5548 #define HOST_DMA_CH12JCTL_ENCLR_M 0x40000000U
5549 #define HOST_DMA_CH12JCTL_ENCLR_S 30U
5550 
5551 
5552 /*-----------------------------------REGISTER------------------------------------
5553  Register name: CH13STA
5554  Offset name: HOST_DMA_O_CH13STA
5555  Relative address: 0xE000
5556  Description: Channel Status FSM state and run indication.
5557  Default Value: 0x00000000
5558 
5559  Field: HWEVENT
5560  From..to bits: 0...2
5561  DefaultValue: 0x0
5562  Access type: read-only
5563  Description: HW event status.
5564  Channel status is a bit mask. Multiple bits can be set at the same time
5565  0. PROCESSING
5566  1. TRANS DONE
5567  2. ABORT
5568  4. EXCEPTION
5569 
5570 */
5571 #define HOST_DMA_CH13STA_HWEVENT_W 3U
5572 #define HOST_DMA_CH13STA_HWEVENT_M 0x00000007U
5573 #define HOST_DMA_CH13STA_HWEVENT_S 0U
5574 /*
5575 
5576  Field: FSMSTATE
5577  From..to bits: 8...11
5578  DefaultValue: 0x0
5579  Access type: read-only
5580  Description: FSM state:
5581  0x0. IDLE
5582  0x2. EXCEPTION
5583  0x3. DRAIN
5584  0x4. ABORT
5585  0x8. PENDING ARB
5586  0x9. COPY
5587  0xA. COPY LAST
5588  0xC. DONE
5589  0xD. SAVE CTX
5590  0xE. WAIT NEXT TRANS
5591  0xF. LAST
5592 
5593 */
5594 #define HOST_DMA_CH13STA_FSMSTATE_W 4U
5595 #define HOST_DMA_CH13STA_FSMSTATE_M 0x00000F00U
5596 #define HOST_DMA_CH13STA_FSMSTATE_S 8U
5597 /*
5598 
5599  Field: RUN
5600  From..to bits: 16...16
5601  DefaultValue: 0x0
5602  Access type: read-only
5603  Description: Indication that channel is currently transfering data and is not idle.
5604  Channels that are waiting on arbitration are considered running.
5605 
5606 */
5607 #define HOST_DMA_CH13STA_RUN 0x00010000U
5608 #define HOST_DMA_CH13STA_RUN_M 0x00010000U
5609 #define HOST_DMA_CH13STA_RUN_S 16U
5610 
5611 
5612 /*-----------------------------------REGISTER------------------------------------
5613  Register name: CH13TIPTR
5614  Offset name: HOST_DMA_O_CH13TIPTR
5615  Relative address: 0xE004
5616  Description: 32 bit address pointer of channel current input.
5617  Default Value: 0x00000000
5618 
5619  Field: IPTR
5620  From..to bits: 0...31
5621  DefaultValue: 0x0
5622  Access type: read-write
5623  Description: 32 bit address pointer of channel current input.
5624 
5625 */
5626 #define HOST_DMA_CH13TIPTR_IPTR_W 32U
5627 #define HOST_DMA_CH13TIPTR_IPTR_M 0xFFFFFFFFU
5628 #define HOST_DMA_CH13TIPTR_IPTR_S 0U
5629 
5630 
5631 /*-----------------------------------REGISTER------------------------------------
5632  Register name: CH13TOPTR
5633  Offset name: HOST_DMA_O_CH13TOPTR
5634  Relative address: 0xE008
5635  Description: 32 bit address pointer of channel current output.
5636  Default Value: 0x00000000
5637 
5638  Field: OPTR
5639  From..to bits: 0...31
5640  DefaultValue: 0x0
5641  Access type: read-write
5642  Description: 32 bit address pointer of channel current output.
5643 
5644 */
5645 #define HOST_DMA_CH13TOPTR_OPTR_W 32U
5646 #define HOST_DMA_CH13TOPTR_OPTR_M 0xFFFFFFFFU
5647 #define HOST_DMA_CH13TOPTR_OPTR_S 0U
5648 
5649 
5650 /*-----------------------------------REGISTER------------------------------------
5651  Register name: CH13TCTL
5652  Offset name: HOST_DMA_O_CH13TCTL
5653  Relative address: 0xE00C
5654  Description: Transaction control
5655  Default Value: 0x00000000
5656 
5657  Field: TRANSB
5658  From..to bits: 0...13
5659  DefaultValue: 0x0
5660  Access type: read-write
5661  Description: Number of bytes of the transaction to move from source to destination.
5662 
5663 */
5664 #define HOST_DMA_CH13TCTL_TRANSB_W 14U
5665 #define HOST_DMA_CH13TCTL_TRANSB_M 0x00003FFFU
5666 #define HOST_DMA_CH13TCTL_TRANSB_S 0U
5667 /*
5668 
5669  Field: BURSTREQ
5670  From..to bits: 16...16
5671  DefaultValue: 0x0
5672  Access type: read-write
5673  Description: In case number of words to tranfer smaller than block size, DMA would use signle request and work with block size of 1 word. In case we know request would be set on altough number of words to tranfer is smaller than block size, we can set this field on and DMA will wait for block_request and transact all remaining words in one block.
5674 
5675 */
5676 #define HOST_DMA_CH13TCTL_BURSTREQ 0x00010000U
5677 #define HOST_DMA_CH13TCTL_BURSTREQ_M 0x00010000U
5678 #define HOST_DMA_CH13TCTL_BURSTREQ_S 16U
5679 /*
5680 
5681  Field: SPARE
5682  From..to bits: 17...17
5683  DefaultValue: 0x0
5684  Access type: read-write
5685  Description: spare
5686 
5687 */
5688 #define HOST_DMA_CH13TCTL_SPARE 0x00020000U
5689 #define HOST_DMA_CH13TCTL_SPARE_M 0x00020000U
5690 #define HOST_DMA_CH13TCTL_SPARE_S 17U
5691 /*
5692 
5693  Field: ENDIANESS
5694  From..to bits: 24...25
5695  DefaultValue: 0x0
5696  Access type: read-write
5697  Description: 0 -no endianess, 1 - byte endianess, 2 - bit endianess
5698 
5699 */
5700 #define HOST_DMA_CH13TCTL_ENDIANESS_W 2U
5701 #define HOST_DMA_CH13TCTL_ENDIANESS_M 0x03000000U
5702 #define HOST_DMA_CH13TCTL_ENDIANESS_S 24U
5703 
5704 
5705 /*-----------------------------------REGISTER------------------------------------
5706  Register name: CH13TCTL2
5707  Offset name: HOST_DMA_O_CH13TCTL2
5708  Relative address: 0xE010
5709  Description: DMA command interface
5710  Default Value: 0x00000000
5711 
5712  Field: CMD
5713  From..to bits: 0...2
5714  DefaultValue: 0x0
5715  Access type: write-only
5716  Description: 1 - run command. Start a transaction.
5717  2- abort command - stop reansaction.
5718  4- init command - init new transaction afet abort/error.
5719 
5720 */
5721 #define HOST_DMA_CH13TCTL2_CMD_W 3U
5722 #define HOST_DMA_CH13TCTL2_CMD_M 0x00000007U
5723 #define HOST_DMA_CH13TCTL2_CMD_S 0U
5724 
5725 
5726 /*-----------------------------------REGISTER------------------------------------
5727  Register name: CH13TSTA
5728  Offset name: HOST_DMA_O_CH13TSTA
5729  Relative address: 0xE014
5730  Description: Job completion reason - either last transaction or exception
5731  Default Value: 0x00000000
5732 
5733  Field: STA
5734  From..to bits: 0...0
5735  DefaultValue: 0x0
5736  Access type: read-only
5737  Description: channel OCP rstatus recieved at one of the primary ports.
5738  Once an error is encountered the channel will enter an Exception state and stay the until an init command is recieved.
5739  ICLR does not affect this status.
5740 
5741 */
5742 #define HOST_DMA_CH13TSTA_STA 0x00000001U
5743 #define HOST_DMA_CH13TSTA_STA_M 0x00000001U
5744 #define HOST_DMA_CH13TSTA_STA_S 0U
5745 /*
5746 
5747  Field: OFFSET
5748  From..to bits: 8...15
5749  DefaultValue: 0x0
5750  Access type: read-only
5751  Description: Offset in words from block boundary. Actually number of word have been transferred in this block
5752 
5753 */
5754 #define HOST_DMA_CH13TSTA_OFFSET_W 8U
5755 #define HOST_DMA_CH13TSTA_OFFSET_M 0x0000FF00U
5756 #define HOST_DMA_CH13TSTA_OFFSET_S 8U
5757 /*
5758 
5759  Field: REMAINB
5760  From..to bits: 16...29
5761  DefaultValue: 0x0
5762  Access type: read-only
5763  Description: Number of bytes remaining to complete the transaction.
5764 
5765 */
5766 #define HOST_DMA_CH13TSTA_REMAINB_W 14U
5767 #define HOST_DMA_CH13TSTA_REMAINB_M 0x3FFF0000U
5768 #define HOST_DMA_CH13TSTA_REMAINB_S 16U
5769 
5770 
5771 /*-----------------------------------REGISTER------------------------------------
5772  Register name: CH13JCTL
5773  Offset name: HOST_DMA_O_CH13JCTL
5774  Relative address: 0xE01C
5775  Description: Job control register
5776  Default Value: 0x00000000
5777 
5778  Field: WORDSIZE
5779  From..to bits: 0...1
5780  DefaultValue: 0x0
5781  Access type: read-write
5782  Description: 00 -word size is 32 bits
5783  01 -word size is 16 bits
5784  10 -word size is 8 bits
5785 
5786 */
5787 #define HOST_DMA_CH13JCTL_WORDSIZE_W 2U
5788 #define HOST_DMA_CH13JCTL_WORDSIZE_M 0x00000003U
5789 #define HOST_DMA_CH13JCTL_WORDSIZE_S 0U
5790 /*
5791 
5792  Field: BLKSIZE
5793  From..to bits: 16...21
5794  DefaultValue: 0x0
5795  Access type: read-write
5796  Description: size of the block in words. If block mode is enabled, defines the address wrap around.
5797  Since channel arbitration decisions are made every block, this also effect how much bandwidth is given to a specific channel.
5798 
5799 
5800 
5801 */
5802 #define HOST_DMA_CH13JCTL_BLKSIZE_W 6U
5803 #define HOST_DMA_CH13JCTL_BLKSIZE_M 0x003F0000U
5804 #define HOST_DMA_CH13JCTL_BLKSIZE_S 16U
5805 /*
5806 
5807  Field: DMASIGBPS
5808  From..to bits: 26...26
5809  DefaultValue: 0x0
5810  Access type: read-write
5811  Description: Tie high channel DMA req signal. This is useful for memory to memort transaction
5812 
5813 */
5814 #define HOST_DMA_CH13JCTL_DMASIGBPS 0x04000000U
5815 #define HOST_DMA_CH13JCTL_DMASIGBPS_M 0x04000000U
5816 #define HOST_DMA_CH13JCTL_DMASIGBPS_S 26U
5817 /*
5818 
5819  Field: FIFOMODS
5820  From..to bits: 27...27
5821  DefaultValue: 0x0
5822  Access type: read-write
5823  Description: Source pointer fifo mode
5824 
5825 */
5826 #define HOST_DMA_CH13JCTL_FIFOMODS 0x08000000U
5827 #define HOST_DMA_CH13JCTL_FIFOMODS_M 0x08000000U
5828 #define HOST_DMA_CH13JCTL_FIFOMODS_S 27U
5829 /*
5830 
5831  Field: FIFOMODD
5832  From..to bits: 28...28
5833  DefaultValue: 0x0
5834  Access type: read-write
5835  Description: Destination pointer fifo mode
5836 
5837 */
5838 #define HOST_DMA_CH13JCTL_FIFOMODD 0x10000000U
5839 #define HOST_DMA_CH13JCTL_FIFOMODD_M 0x10000000U
5840 #define HOST_DMA_CH13JCTL_FIFOMODD_S 28U
5841 /*
5842 
5843  Field: SRCDSTCFG
5844  From..to bits: 29...29
5845  DefaultValue: 0x0
5846  Access type: read-write
5847  Description: 0 - Sorce is periph: transaction from periph to memory.
5848  1 - Destination is periph :transaction from Memory to periph
5849 
5850 */
5851 #define HOST_DMA_CH13JCTL_SRCDSTCFG 0x20000000U
5852 #define HOST_DMA_CH13JCTL_SRCDSTCFG_M 0x20000000U
5853 #define HOST_DMA_CH13JCTL_SRCDSTCFG_S 29U
5854 /*
5855 
5856  Field: ENCLR
5857  From..to bits: 30...30
5858  DefaultValue: 0x0
5859  Access type: read-write
5860  Description: Enable DMA to set a rd/wr clear pulse at the beginning of a job (one cycle after run cmd)
5861 
5862 */
5863 #define HOST_DMA_CH13JCTL_ENCLR 0x40000000U
5864 #define HOST_DMA_CH13JCTL_ENCLR_M 0x40000000U
5865 #define HOST_DMA_CH13JCTL_ENCLR_S 30U
5866 
5867 #endif /* __HW_HOST_DMA_H__*/