diff options
Diffstat (limited to 'orbtrace/orbtrace_dbgif.h')
-rw-r--r-- | orbtrace/orbtrace_dbgif.h | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/orbtrace/orbtrace_dbgif.h b/orbtrace/orbtrace_dbgif.h new file mode 100644 index 0000000..c5f0b46 --- /dev/null +++ b/orbtrace/orbtrace_dbgif.h @@ -0,0 +1,18 @@ +#pragma once + +#include <stdint.h> +#include <mmio/mmio.h> + +struct Orbtrace_DBGIF_reg_t { + volatile uint32_t CMD; + volatile uint32_t STATUS; + volatile uint32_t DWRITE; + volatile uint32_t DREAD; + volatile uint32_t PINS_OUT; + volatile uint32_t PINS_IN; +}; + +class Orbtrace_DBGIF_t : public mmio_ptr<Orbtrace_DBGIF_reg_t> { + public: + using mmio_ptr<Orbtrace_DBGIF_reg_t>::ptr; +}; |