dma_debug.h
1// THIS HEADER FILE IS AUTOMATICALLY GENERATED -- DO NOT EDIT
2
8#ifndef _HARDWARE_STRUCTS_DMA_DEBUG_H
9#define _HARDWARE_STRUCTS_DMA_DEBUG_H
10
12#include "hardware/regs/dma.h"
13
14// Reference to datasheet: https://datasheets.raspberrypi.com/rp2350/rp2350-datasheet.pdf#tab-registerlist_dma
15//
16// The _REG_ macro is intended to help make the register navigable in your IDE (for example, using the "Go to Definition" feature)
17// _REG_(x) will link to the corresponding register in hardware/regs/dma.h.
18//
19// Bit-field descriptions are of the form:
20// BITMASK [BITRANGE] FIELDNAME (RESETVALUE) DESCRIPTION
21
22typedef struct {
23 _REG_(DMA_CH0_DBG_CTDREQ_OFFSET) // DMA_CH0_DBG_CTDREQ
24 // Read: get channel DREQ counter (i
25 // 0x0000003f [5:0] CH0_DBG_CTDREQ (0x00)
26 io_rw_32 dbg_ctdreq;
27
28 _REG_(DMA_CH0_DBG_TCR_OFFSET) // DMA_CH0_DBG_TCR
29 // Read to get channel TRANS_COUNT reload value, i
30 // 0xffffffff [31:0] CH0_DBG_TCR (0x00000000)
31 io_ro_32 dbg_tcr;
32
33 uint32_t _pad0[14];
34
36
37typedef struct {
39
41
42#define dma_debug_hw ((dma_debug_hw_t *)(DMA_BASE + DMA_CH0_DBG_CTDREQ_OFFSET))
43
44#endif // _HARDWARE_STRUCTS_DMA_DEBUG_H
45
Definition: dma_debug.h:22
Definition: dma_debug.h:37