123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375 |
- /*!
- *******************************************************************************
- **
- ** \file gh_debug_memd.h
- **
- ** \brief MEMD Debug Registers.
- **
- ** Copyright: 2012 - 2016 (C) GoKe Microelectronics
- **
- ** \attention THIS SAMPLE CODE IS PROVIDED AS IS. GOKE MICROELECTRONICS
- ** ACCEPTS NO RESPONSIBILITY OR LIABILITY FOR ANY ERRORS OR
- ** OMMISSIONS.
- **
- ** \note Do not modify this file as it is generated automatically.
- **
- ******************************************************************************/
- #ifndef _GH_DEBUG_MEMD_H
- #define _GH_DEBUG_MEMD_H
- #ifdef __LINUX__
- #include "reg4linux.h"
- #else
- #define FIO_ADDRESS(block,address) (address)
- #define FIO_MOFFSET(block,moffset) (moffset)
- #endif
- #ifndef __LINUX__
- #include "gtypes.h" /* global type definitions */
- #include "gh_lib_cfg.h" /* configuration */
- #endif
- #define GH_DEBUG_MEMD_ENABLE_DEBUG_PRINT 0
- #ifdef __LINUX__
- #define GH_DEBUG_MEMD_DEBUG_PRINT_FUNCTION printk
- #else
- #define GH_DEBUG_MEMD_DEBUG_PRINT_FUNCTION printf
- #endif
- #ifndef __LINUX__
- #if GH_DEBUG_MEMD_ENABLE_DEBUG_PRINT
- #include <stdio.h>
- #endif
- #endif
- /*----------------------------------------------------------------------------*/
- /* registers */
- /*----------------------------------------------------------------------------*/
- #define REG_DEBUG_MEMD_MEMD_CR_TRESET_ADDR FIO_ADDRESS(DEBUG_MEMD,0xa0150000) /* read/write */
- #define REG_DEBUG_MEMD_MEMD_CR_IC_INVLD_ADDR FIO_ADDRESS(DEBUG_MEMD,0xa0150004) /* write */
- #define REG_DEBUG_MEMD_MEMD_CR_RESET_PC_ADDR FIO_ADDRESS(DEBUG_MEMD,0xa0150008) /* read/write */
- #define REG_DEBUG_MEMD_MEMD_CR_CLKCTRL_ADDR FIO_ADDRESS(DEBUG_MEMD,0xa015000C) /* read/write */
- #define REG_DEBUG_MEMD_MEMD_CR_TS_T0_ADDR FIO_ADDRESS(DEBUG_MEMD,0xa0150010) /* read */
- #define REG_DEBUG_MEMD_MEMD_CR_TS_T1_ADDR FIO_ADDRESS(DEBUG_MEMD,0xa0150014) /* read */
- #define REG_DEBUG_MEMD_MEMD_CR_TS_T2_ADDR FIO_ADDRESS(DEBUG_MEMD,0xa0150018) /* read */
- #define REG_DEBUG_MEMD_MEMD_CR_TS_T3_ADDR FIO_ADDRESS(DEBUG_MEMD,0xa015001C) /* read */
- #define REG_DEBUG_MEMD_MEMD_CR_IS_ADDR FIO_ADDRESS(DEBUG_MEMD,0xa0150020) /* read */
- #define REG_DEBUG_MEMD_MEMD_CR_LRU_ADDR FIO_ADDRESS(DEBUG_MEMD,0xa0150024) /* read */
- #define REG_DEBUG_MEMD_MEMD_CR_PC_T0_ADDR FIO_ADDRESS(DEBUG_MEMD,0xa0150028) /* read */
- #define REG_DEBUG_MEMD_MEMD_CR_PC_T1_ADDR FIO_ADDRESS(DEBUG_MEMD,0xa015002C) /* read */
- #define REG_DEBUG_MEMD_MEMD_CR_PC_T2_ADDR FIO_ADDRESS(DEBUG_MEMD,0xa0150030) /* read */
- #define REG_DEBUG_MEMD_MEMD_CR_PC_T3_ADDR FIO_ADDRESS(DEBUG_MEMD,0xa0150034) /* read */
- #define REG_DEBUG_MEMD_MEMD_CR_PC_D_ADDR FIO_ADDRESS(DEBUG_MEMD,0xa0150038) /* read */
- #define REG_DEBUG_MEMD_MEMD_CR_OP_D_ADDR FIO_ADDRESS(DEBUG_MEMD,0xa015003C) /* read */
- #define REG_DEBUG_MEMD_MEMD_CR_STALL_ADDR FIO_ADDRESS(DEBUG_MEMD,0xa0150040) /* read */
- #define REG_DEBUG_MEMD_MEMD_CR_DMAQ0_ADDR FIO_ADDRESS(DEBUG_MEMD,0xa0150044) /* read */
- #define REG_DEBUG_MEMD_MEMD_CR_DMAQ1_ADDR FIO_ADDRESS(DEBUG_MEMD,0xa0150048) /* read */
- #define REG_DEBUG_MEMD_MEMD_CR_DMAQ2_ADDR FIO_ADDRESS(DEBUG_MEMD,0xa015004C) /* read */
- #define REG_DEBUG_MEMD_MEMD_CR_CMDQ0_ADDR FIO_ADDRESS(DEBUG_MEMD,0xa0150050) /* read */
- #define REG_DEBUG_MEMD_MEMD_CR_ME_ADDR FIO_ADDRESS(DEBUG_MEMD,0xa0150060) /* read */
- #define REG_DEBUG_MEMD_MEMD_CR_MD_ADDR FIO_ADDRESS(DEBUG_MEMD,0xa0150064) /* read */
- #define REG_DEBUG_MEMD_MEMD_CR_RF_ADDR FIO_ADDRESS(DEBUG_MEMD,0xa0150800) /* read/write */
- /*----------------------------------------------------------------------------*/
- /* bit group structures */
- /*----------------------------------------------------------------------------*/
- typedef union { /* DEBUG_MEMD_MEMD_CR_TRESET_ADDR */
- U32 all;
- struct {
- U32 reset : 4;
- U32 suspend : 4;
- U32 : 23;
- U32 orc_reset : 1;
- } bitc;
- } GH_DEBUG_MEMD_MEMD_CR_TRESET_ADDR_S;
- typedef union { /* DEBUG_MEMD_MEMD_CR_IC_INVLD_ADDR */
- U32 all;
- struct {
- U32 icache : 1;
- U32 : 31;
- } bitc;
- } GH_DEBUG_MEMD_MEMD_CR_IC_INVLD_ADDR_S;
- typedef union { /* DEBUG_MEMD_MEMD_CR_RESET_PC_ADDR */
- U32 all;
- struct {
- U32 reset : 32;
- } bitc;
- } GH_DEBUG_MEMD_MEMD_CR_RESET_PC_ADDR_S;
- typedef union { /* DEBUG_MEMD_MEMD_CR_CLKCTRL_ADDR */
- U32 all;
- struct {
- U32 mctf : 1;
- U32 me : 1;
- U32 md : 1;
- U32 : 1;
- U32 mctf_hw : 1;
- U32 me_hw : 1;
- U32 md_hw : 1;
- U32 : 25;
- } bitc;
- } GH_DEBUG_MEMD_MEMD_CR_CLKCTRL_ADDR_S;
- typedef union { /* DEBUG_MEMD_MEMD_CR_LRU_ADDR */
- U32 all;
- struct {
- U32 entry0 : 4;
- U32 entry1 : 4;
- U32 entry2 : 4;
- U32 entry3 : 4;
- U32 : 16;
- } bitc;
- } GH_DEBUG_MEMD_MEMD_CR_LRU_ADDR_S;
- typedef union { /* DEBUG_MEMD_MEMD_CR_PC_D_ADDR */
- U32 all;
- struct {
- U32 pc_d : 20;
- U32 : 11;
- U32 vld_d : 1;
- } bitc;
- } GH_DEBUG_MEMD_MEMD_CR_PC_D_ADDR_S;
- /*----------------------------------------------------------------------------*/
- /* mirror variables */
- /*----------------------------------------------------------------------------*/
- extern GH_DEBUG_MEMD_MEMD_CR_IC_INVLD_ADDR_S m_debug_memd_memd_cr_ic_invld_addr;
- #ifdef __cplusplus
- extern "C" {
- #endif
- /*----------------------------------------------------------------------------*/
- /* register DEBUG_MEMD_MEMD_CR_TRESET_ADDR (read/write) */
- /*----------------------------------------------------------------------------*/
- /*! \brief Writes the register 'DEBUG_MEMD_MEMD_CR_TRESET_ADDR'. */
- void GH_DEBUG_MEMD_set_MEMD_CR_TRESET_ADDR(U32 data);
- /*! \brief Reads the register 'DEBUG_MEMD_MEMD_CR_TRESET_ADDR'. */
- U32 GH_DEBUG_MEMD_get_MEMD_CR_TRESET_ADDR(void);
- /*! \brief Writes the bit group 'reset' of register 'DEBUG_MEMD_MEMD_CR_TRESET_ADDR'. */
- void GH_DEBUG_MEMD_set_MEMD_CR_TRESET_ADDR_reset(U8 data);
- /*! \brief Reads the bit group 'reset' of register 'DEBUG_MEMD_MEMD_CR_TRESET_ADDR'. */
- U8 GH_DEBUG_MEMD_get_MEMD_CR_TRESET_ADDR_reset(void);
- /*! \brief Writes the bit group 'suspend' of register 'DEBUG_MEMD_MEMD_CR_TRESET_ADDR'. */
- void GH_DEBUG_MEMD_set_MEMD_CR_TRESET_ADDR_suspend(U8 data);
- /*! \brief Reads the bit group 'suspend' of register 'DEBUG_MEMD_MEMD_CR_TRESET_ADDR'. */
- U8 GH_DEBUG_MEMD_get_MEMD_CR_TRESET_ADDR_suspend(void);
- /*! \brief Writes the bit group 'ORC_reset' of register 'DEBUG_MEMD_MEMD_CR_TRESET_ADDR'. */
- void GH_DEBUG_MEMD_set_MEMD_CR_TRESET_ADDR_ORC_reset(U8 data);
- /*! \brief Reads the bit group 'ORC_reset' of register 'DEBUG_MEMD_MEMD_CR_TRESET_ADDR'. */
- U8 GH_DEBUG_MEMD_get_MEMD_CR_TRESET_ADDR_ORC_reset(void);
- /*----------------------------------------------------------------------------*/
- /* register DEBUG_MEMD_MEMD_CR_IC_INVLD_ADDR (write) */
- /*----------------------------------------------------------------------------*/
- /*! \brief Writes the register 'DEBUG_MEMD_MEMD_CR_IC_INVLD_ADDR'. */
- void GH_DEBUG_MEMD_set_MEMD_CR_IC_INVLD_ADDR(U32 data);
- /*! \brief Reads the mirror variable of the register 'DEBUG_MEMD_MEMD_CR_IC_INVLD_ADDR'. */
- U32 GH_DEBUG_MEMD_getm_MEMD_CR_IC_INVLD_ADDR(void);
- /*! \brief Writes the bit group 'icache' of register 'DEBUG_MEMD_MEMD_CR_IC_INVLD_ADDR'. */
- void GH_DEBUG_MEMD_set_MEMD_CR_IC_INVLD_ADDR_icache(U8 data);
- /*! \brief Reads the bit group 'icache' from the mirror variable of register 'DEBUG_MEMD_MEMD_CR_IC_INVLD_ADDR'. */
- U8 GH_DEBUG_MEMD_getm_MEMD_CR_IC_INVLD_ADDR_icache(void);
- /*----------------------------------------------------------------------------*/
- /* register DEBUG_MEMD_MEMD_CR_RESET_PC_ADDR (read/write) */
- /*----------------------------------------------------------------------------*/
- /*! \brief Writes the register 'DEBUG_MEMD_MEMD_CR_RESET_PC_ADDR'. */
- void GH_DEBUG_MEMD_set_MEMD_CR_RESET_PC_ADDR(U32 data);
- /*! \brief Reads the register 'DEBUG_MEMD_MEMD_CR_RESET_PC_ADDR'. */
- U32 GH_DEBUG_MEMD_get_MEMD_CR_RESET_PC_ADDR(void);
- /*! \brief Writes the bit group 'reset' of register 'DEBUG_MEMD_MEMD_CR_RESET_PC_ADDR'. */
- void GH_DEBUG_MEMD_set_MEMD_CR_RESET_PC_ADDR_reset(U32 data);
- /*! \brief Reads the bit group 'reset' of register 'DEBUG_MEMD_MEMD_CR_RESET_PC_ADDR'. */
- U32 GH_DEBUG_MEMD_get_MEMD_CR_RESET_PC_ADDR_reset(void);
- /*----------------------------------------------------------------------------*/
- /* register DEBUG_MEMD_MEMD_CR_CLKCTRL_ADDR (read/write) */
- /*----------------------------------------------------------------------------*/
- /*! \brief Writes the register 'DEBUG_MEMD_MEMD_CR_CLKCTRL_ADDR'. */
- void GH_DEBUG_MEMD_set_MEMD_CR_CLKCTRL_ADDR(U32 data);
- /*! \brief Reads the register 'DEBUG_MEMD_MEMD_CR_CLKCTRL_ADDR'. */
- U32 GH_DEBUG_MEMD_get_MEMD_CR_CLKCTRL_ADDR(void);
- /*! \brief Writes the bit group 'MCTF' of register 'DEBUG_MEMD_MEMD_CR_CLKCTRL_ADDR'. */
- void GH_DEBUG_MEMD_set_MEMD_CR_CLKCTRL_ADDR_MCTF(U8 data);
- /*! \brief Reads the bit group 'MCTF' of register 'DEBUG_MEMD_MEMD_CR_CLKCTRL_ADDR'. */
- U8 GH_DEBUG_MEMD_get_MEMD_CR_CLKCTRL_ADDR_MCTF(void);
- /*! \brief Writes the bit group 'ME' of register 'DEBUG_MEMD_MEMD_CR_CLKCTRL_ADDR'. */
- void GH_DEBUG_MEMD_set_MEMD_CR_CLKCTRL_ADDR_ME(U8 data);
- /*! \brief Reads the bit group 'ME' of register 'DEBUG_MEMD_MEMD_CR_CLKCTRL_ADDR'. */
- U8 GH_DEBUG_MEMD_get_MEMD_CR_CLKCTRL_ADDR_ME(void);
- /*! \brief Writes the bit group 'MD' of register 'DEBUG_MEMD_MEMD_CR_CLKCTRL_ADDR'. */
- void GH_DEBUG_MEMD_set_MEMD_CR_CLKCTRL_ADDR_MD(U8 data);
- /*! \brief Reads the bit group 'MD' of register 'DEBUG_MEMD_MEMD_CR_CLKCTRL_ADDR'. */
- U8 GH_DEBUG_MEMD_get_MEMD_CR_CLKCTRL_ADDR_MD(void);
- /*! \brief Writes the bit group 'MCTF_HW' of register 'DEBUG_MEMD_MEMD_CR_CLKCTRL_ADDR'. */
- void GH_DEBUG_MEMD_set_MEMD_CR_CLKCTRL_ADDR_MCTF_HW(U8 data);
- /*! \brief Reads the bit group 'MCTF_HW' of register 'DEBUG_MEMD_MEMD_CR_CLKCTRL_ADDR'. */
- U8 GH_DEBUG_MEMD_get_MEMD_CR_CLKCTRL_ADDR_MCTF_HW(void);
- /*! \brief Writes the bit group 'ME_HW' of register 'DEBUG_MEMD_MEMD_CR_CLKCTRL_ADDR'. */
- void GH_DEBUG_MEMD_set_MEMD_CR_CLKCTRL_ADDR_ME_HW(U8 data);
- /*! \brief Reads the bit group 'ME_HW' of register 'DEBUG_MEMD_MEMD_CR_CLKCTRL_ADDR'. */
- U8 GH_DEBUG_MEMD_get_MEMD_CR_CLKCTRL_ADDR_ME_HW(void);
- /*! \brief Writes the bit group 'MD_HW' of register 'DEBUG_MEMD_MEMD_CR_CLKCTRL_ADDR'. */
- void GH_DEBUG_MEMD_set_MEMD_CR_CLKCTRL_ADDR_MD_HW(U8 data);
- /*! \brief Reads the bit group 'MD_HW' of register 'DEBUG_MEMD_MEMD_CR_CLKCTRL_ADDR'. */
- U8 GH_DEBUG_MEMD_get_MEMD_CR_CLKCTRL_ADDR_MD_HW(void);
- /*----------------------------------------------------------------------------*/
- /* register DEBUG_MEMD_MEMD_CR_TS_T0_ADDR (read) */
- /*----------------------------------------------------------------------------*/
- /*! \brief Reads the register 'DEBUG_MEMD_MEMD_CR_TS_T0_ADDR'. */
- U32 GH_DEBUG_MEMD_get_MEMD_CR_TS_T0_ADDR(void);
- /*----------------------------------------------------------------------------*/
- /* register DEBUG_MEMD_MEMD_CR_TS_T1_ADDR (read) */
- /*----------------------------------------------------------------------------*/
- /*! \brief Reads the register 'DEBUG_MEMD_MEMD_CR_TS_T1_ADDR'. */
- U32 GH_DEBUG_MEMD_get_MEMD_CR_TS_T1_ADDR(void);
- /*----------------------------------------------------------------------------*/
- /* register DEBUG_MEMD_MEMD_CR_TS_T2_ADDR (read) */
- /*----------------------------------------------------------------------------*/
- /*! \brief Reads the register 'DEBUG_MEMD_MEMD_CR_TS_T2_ADDR'. */
- U32 GH_DEBUG_MEMD_get_MEMD_CR_TS_T2_ADDR(void);
- /*----------------------------------------------------------------------------*/
- /* register DEBUG_MEMD_MEMD_CR_TS_T3_ADDR (read) */
- /*----------------------------------------------------------------------------*/
- /*! \brief Reads the register 'DEBUG_MEMD_MEMD_CR_TS_T3_ADDR'. */
- U32 GH_DEBUG_MEMD_get_MEMD_CR_TS_T3_ADDR(void);
- /*----------------------------------------------------------------------------*/
- /* register DEBUG_MEMD_MEMD_CR_IS_ADDR (read) */
- /*----------------------------------------------------------------------------*/
- /*! \brief Reads the register 'DEBUG_MEMD_MEMD_CR_IS_ADDR'. */
- U32 GH_DEBUG_MEMD_get_MEMD_CR_IS_ADDR(void);
- /*----------------------------------------------------------------------------*/
- /* register DEBUG_MEMD_MEMD_CR_LRU_ADDR (read) */
- /*----------------------------------------------------------------------------*/
- /*! \brief Reads the register 'DEBUG_MEMD_MEMD_CR_LRU_ADDR'. */
- U32 GH_DEBUG_MEMD_get_MEMD_CR_LRU_ADDR(void);
- /*! \brief Reads the bit group 'entry0' of register 'DEBUG_MEMD_MEMD_CR_LRU_ADDR'. */
- U8 GH_DEBUG_MEMD_get_MEMD_CR_LRU_ADDR_entry0(void);
- /*! \brief Reads the bit group 'entry1' of register 'DEBUG_MEMD_MEMD_CR_LRU_ADDR'. */
- U8 GH_DEBUG_MEMD_get_MEMD_CR_LRU_ADDR_entry1(void);
- /*! \brief Reads the bit group 'entry2' of register 'DEBUG_MEMD_MEMD_CR_LRU_ADDR'. */
- U8 GH_DEBUG_MEMD_get_MEMD_CR_LRU_ADDR_entry2(void);
- /*! \brief Reads the bit group 'entry3' of register 'DEBUG_MEMD_MEMD_CR_LRU_ADDR'. */
- U8 GH_DEBUG_MEMD_get_MEMD_CR_LRU_ADDR_entry3(void);
- /*----------------------------------------------------------------------------*/
- /* register DEBUG_MEMD_MEMD_CR_PC_T0_ADDR (read) */
- /*----------------------------------------------------------------------------*/
- /*! \brief Reads the register 'DEBUG_MEMD_MEMD_CR_PC_T0_ADDR'. */
- U32 GH_DEBUG_MEMD_get_MEMD_CR_PC_T0_ADDR(void);
- /*----------------------------------------------------------------------------*/
- /* register DEBUG_MEMD_MEMD_CR_PC_T1_ADDR (read) */
- /*----------------------------------------------------------------------------*/
- /*! \brief Reads the register 'DEBUG_MEMD_MEMD_CR_PC_T1_ADDR'. */
- U32 GH_DEBUG_MEMD_get_MEMD_CR_PC_T1_ADDR(void);
- /*----------------------------------------------------------------------------*/
- /* register DEBUG_MEMD_MEMD_CR_PC_T2_ADDR (read) */
- /*----------------------------------------------------------------------------*/
- /*! \brief Reads the register 'DEBUG_MEMD_MEMD_CR_PC_T2_ADDR'. */
- U32 GH_DEBUG_MEMD_get_MEMD_CR_PC_T2_ADDR(void);
- /*----------------------------------------------------------------------------*/
- /* register DEBUG_MEMD_MEMD_CR_PC_T3_ADDR (read) */
- /*----------------------------------------------------------------------------*/
- /*! \brief Reads the register 'DEBUG_MEMD_MEMD_CR_PC_T3_ADDR'. */
- U32 GH_DEBUG_MEMD_get_MEMD_CR_PC_T3_ADDR(void);
- /*----------------------------------------------------------------------------*/
- /* register DEBUG_MEMD_MEMD_CR_PC_D_ADDR (read) */
- /*----------------------------------------------------------------------------*/
- /*! \brief Reads the register 'DEBUG_MEMD_MEMD_CR_PC_D_ADDR'. */
- U32 GH_DEBUG_MEMD_get_MEMD_CR_PC_D_ADDR(void);
- /*! \brief Reads the bit group 'pc_d' of register 'DEBUG_MEMD_MEMD_CR_PC_D_ADDR'. */
- U32 GH_DEBUG_MEMD_get_MEMD_CR_PC_D_ADDR_pc_d(void);
- /*! \brief Reads the bit group 'vld_d' of register 'DEBUG_MEMD_MEMD_CR_PC_D_ADDR'. */
- U8 GH_DEBUG_MEMD_get_MEMD_CR_PC_D_ADDR_vld_d(void);
- /*----------------------------------------------------------------------------*/
- /* register DEBUG_MEMD_MEMD_CR_OP_D_ADDR (read) */
- /*----------------------------------------------------------------------------*/
- /*! \brief Reads the register 'DEBUG_MEMD_MEMD_CR_OP_D_ADDR'. */
- U32 GH_DEBUG_MEMD_get_MEMD_CR_OP_D_ADDR(void);
- /*----------------------------------------------------------------------------*/
- /* register DEBUG_MEMD_MEMD_CR_STALL_ADDR (read) */
- /*----------------------------------------------------------------------------*/
- /*! \brief Reads the register 'DEBUG_MEMD_MEMD_CR_STALL_ADDR'. */
- U32 GH_DEBUG_MEMD_get_MEMD_CR_STALL_ADDR(void);
- /*----------------------------------------------------------------------------*/
- /* register DEBUG_MEMD_MEMD_CR_DMAQ0_ADDR (read) */
- /*----------------------------------------------------------------------------*/
- /*! \brief Reads the register 'DEBUG_MEMD_MEMD_CR_DMAQ0_ADDR'. */
- U32 GH_DEBUG_MEMD_get_MEMD_CR_DMAQ0_ADDR(void);
- /*----------------------------------------------------------------------------*/
- /* register DEBUG_MEMD_MEMD_CR_DMAQ1_ADDR (read) */
- /*----------------------------------------------------------------------------*/
- /*! \brief Reads the register 'DEBUG_MEMD_MEMD_CR_DMAQ1_ADDR'. */
- U32 GH_DEBUG_MEMD_get_MEMD_CR_DMAQ1_ADDR(void);
- /*----------------------------------------------------------------------------*/
- /* register DEBUG_MEMD_MEMD_CR_DMAQ2_ADDR (read) */
- /*----------------------------------------------------------------------------*/
- /*! \brief Reads the register 'DEBUG_MEMD_MEMD_CR_DMAQ2_ADDR'. */
- U32 GH_DEBUG_MEMD_get_MEMD_CR_DMAQ2_ADDR(void);
- /*----------------------------------------------------------------------------*/
- /* register DEBUG_MEMD_MEMD_CR_CMDQ0_ADDR (read) */
- /*----------------------------------------------------------------------------*/
- /*! \brief Reads the register 'DEBUG_MEMD_MEMD_CR_CMDQ0_ADDR'. */
- U32 GH_DEBUG_MEMD_get_MEMD_CR_CMDQ0_ADDR(void);
- /*----------------------------------------------------------------------------*/
- /* register DEBUG_MEMD_MEMD_CR_ME_ADDR (read) */
- /*----------------------------------------------------------------------------*/
- /*! \brief Reads the register 'DEBUG_MEMD_MEMD_CR_ME_ADDR'. */
- U32 GH_DEBUG_MEMD_get_MEMD_CR_ME_ADDR(void);
- /*----------------------------------------------------------------------------*/
- /* register DEBUG_MEMD_MEMD_CR_MD_ADDR (read) */
- /*----------------------------------------------------------------------------*/
- /*! \brief Reads the register 'DEBUG_MEMD_MEMD_CR_MD_ADDR'. */
- U32 GH_DEBUG_MEMD_get_MEMD_CR_MD_ADDR(void);
- /*----------------------------------------------------------------------------*/
- /* register DEBUG_MEMD_MEMD_CR_RF_ADDR (read/write) */
- /*----------------------------------------------------------------------------*/
- /*! \brief Writes the register 'DEBUG_MEMD_MEMD_CR_RF_ADDR'. */
- void GH_DEBUG_MEMD_set_MEMD_CR_RF_ADDR(U32 data);
- /*! \brief Reads the register 'DEBUG_MEMD_MEMD_CR_RF_ADDR'. */
- U32 GH_DEBUG_MEMD_get_MEMD_CR_RF_ADDR(void);
- /*----------------------------------------------------------------------------*/
- /* init function */
- /*----------------------------------------------------------------------------*/
- /*! \brief Initialises the registers and mirror variables. */
- void GH_DEBUG_MEMD_init(void);
- #ifdef SRC_INLINE
- #define SRC_INC 1
- #include "gh_debug_memd.c"
- #undef SRC_INC
- #endif
- #ifdef __cplusplus
- }
- #endif
- #endif /* _GH_DEBUG_MEMD_H */
- /*----------------------------------------------------------------------------*/
- /* end of file */
- /*----------------------------------------------------------------------------*/
|