# /space/home/slher/rel/Beken/v6_4_5/macsw/modules/dbg/src/dbg.h File Reference

Declaration of the Debug module environment. More...

`#include "co_int.h"`
`#include "rwnx_config.h"`
`#include "compiler.h"`
`#include "co_math.h"`
`#include "reg_mac_pl.h"`
`#include "reg_sysctrl.h"`
`#include "dbg_profiling.h"`
`#include "la.h"`
`#include "la_mem.h"`
`#include "phy.h"`
`#include "trace.h"`
`#include <stdarg.h>`

Go to the source code of this file.

## Data Structures
struct | dbg_debug_info_tag
| Debug information forwarded to host when an error occurs. More...
struct | dbg_debug_dump_tag
| Full debug dump that is forwarded to host in case of error. More...
struct | debug_env_tag
| Declaration of DEBUG environment. More...
## Defines
#define | DBG_SW_DIAG_MAX_LEN 1024
| Maximum length of the SW diag trace.
#define | DBG_ERROR_TRACE_SIZE 256
| Maximum length of the error trace.
#define | DBG_DIAGS_MAC_MAX 48
| Number of MAC diagnostic port banks.
#define | DBG_DIAGS_PHY_MAX 32
| Number of PHY diagnostic port banks.
#define | DBG_RHD_MEM_LEN (5 * 1024)
| Maximum size of the RX header descriptor information in the debug dump.
#define | DBG_RBD_MEM_LEN (5 * 1024)
| Maximum size of the RX buffer descriptor information in the debug dump.
#define | DBG_THD_MEM_LEN (10 * 1024)
| Maximum size of the TX header descriptor information in the debug dump.
Profiling Macro definitions
#define | PROF_TX_IPC_IRQ_SET()
| Profiling macro.
#define | PROF_TX_IPC_IRQ_CLR()
| Profiling macro.
#define | PROF_TX_MACIF_EVT_SET()
| Profiling macro.
#define | PROF_TX_MACIF_EVT_CLR()
| Profiling macro.
#define | PROF_TX_DMA_IRQ_SET()
| Profiling macro.
#define | PROF_TX_DMA_IRQ_CLR()
| Profiling macro.
#define | PROF_TX_NEW_TAIL_SET()
| Profiling macro.
#define | PROF_TX_NEW_TAIL_CLR()
| Profiling macro.
#define | PROF_AGG_FIRST_MPDU_DWNLD_SET()
| Profiling macro.
#define | PROF_AGG_FIRST_MPDU_DWNLD_CLR()
| Profiling macro.
#define | PROF_AGG_START_AMPDU_SET()
| Profiling macro.
#define | PROF_AGG_START_AMPDU_CLR()
| Profiling macro.
#define | PROF_AGG_ADD_MPDU_SET()
| Profiling macro.
#define | PROF_AGG_ADD_MPDU_CLR()
| Profiling macro.
#define | PROF_AGG_FINISH_AMPDU_SET()
| Profiling macro.
#define | PROF_AGG_FINISH_AMPDU_CLR()
| Profiling macro.
#define | PROF_AGG_SMPDU_DONETX_SET()
| Profiling macro.
#define | PROF_AGG_SMPDU_DONETX_CLR()
| Profiling macro.
#define | PROF_AGG_BAR_DONETX_SET()
| Profiling macro.
#define | PROF_AGG_BAR_DONETX_CLR()
| Profiling macro.
#define | PROF_AGG_BA_RXED_SET()
| Profiling macro.
#define | PROF_AGG_BA_RXED_CLR()
| Profiling macro.
#define | PROF_CHAN_CTXT_CDE_EVT_SET()
| Profiling macro.
#define | PROF_CHAN_CTXT_CDE_EVT_CLR()
| Profiling macro.
#define | PROF_CHAN_CTXT_TBTT_SWITCH_SET()
| Profiling macro.
#define | PROF_CHAN_CTXT_TBTT_SWITCH_CLR()
| Profiling macro.
#define | PROF_CHAN_CTXT_TX_DISCARD_SET()
| Profiling macro.
#define | PROF_CHAN_CTXT_TX_DISCARD_CLR()
| Profiling macro.
#define | PROF_CHAN_CTXT_IDX_SET(idx)
| Profiling macro.
#define | PROF_CHAN_CTXT_WAIT_END_SET()
| Profiling macro.
#define | PROF_CHAN_CTXT_WAIT_END_CLR()
| Profiling macro.
#define | PROF_CHAN_CTXT_SWITCH_SET()
| Profiling macro.
#define | PROF_CHAN_CTXT_SWITCH_CLR()
| Profiling macro.
#define | PROF_CHAN_CTXT_TBTT_PRES_SET()
| Profiling macro.
#define | PROF_CHAN_CTXT_TBTT_PRES_CLR()
| Profiling macro.
#define | PROF_P2P_NOA_ABS_SET(inst)
| Profiling macro.
#define | PROF_P2P_NOA_ABS_CLR(inst)
| Profiling macro.
#define | PROF_P2P_CTW_SET()
| Profiling macro.
#define | PROF_P2P_CTW_CLR()
| Profiling macro.
#define | PROF_P2P_WAIT_BCN_SET()
| Profiling macro.
#define | PROF_P2P_WAIT_BCN_CLR()
| Profiling macro.
#define | PROF_P2P_ABSENCE_SET()
| Profiling macro.
#define | PROF_P2P_ABSENCE_CLR()
| Profiling macro.
#define | PROF_P2P_PS_PAUSED_SET()
| Profiling macro.
#define | PROF_P2P_PS_PAUSED_CLR()
| Profiling macro.
#define | PROF_MU_SEC_USER_IRQ_SET()
| Profiling macro.
#define | PROF_MU_SEC_USER_IRQ_CLR()
| Profiling macro.
#define | PROF_MU_PPDU_START_SET()
| Profiling macro.
#define | PROF_MU_PPDU_START_CLR()
| Profiling macro.
#define | PROF_MU_MPDU_ADD_SET()
| Profiling macro.
#define | PROF_MU_MPDU_ADD_CLR()
| Profiling macro.
#define | PROF_MU_PPDU_CLOSE_SET()
| Profiling macro.
#define | PROF_MU_PPDU_CLOSE_CLR()
| Profiling macro.
#define | PROF_MU_USER_POS_SET(pos)
| Profiling macro.
#define | PROF_MU_USER_POS_IRQ_SET(idx)
| Profiling macro.
#define | PROF_RADAR_IRQ_SET()
| Profiling macro.
#define | PROF_RADAR_IRQ_CLR()
| Profiling macro.
#define | PROF_TX_AC_BG_SET(ac)
| Profiling macro.
#define | PROF_TX_AC_IRQ_SET(ac)
| Profiling macro.
#define | PROF_TX_MAC_IRQ_SET()
| Profiling macro.
#define | PROF_TX_MAC_IRQ_CLR()
| Profiling macro.
#define | PROF_TX_HE_TRIG_IRQ_SET()
| Profiling macro.
#define | PROF_TX_HE_TRIG_IRQ_CLR()
| Profiling macro.
#define | PROF_TX_BUF_FREE_SET()
| Profiling macro.
#define | PROF_TX_BUF_FREE_CLR()
| Profiling macro.
#define | PROF_TX_BUF_ALLOC_SET()
| Profiling macro.
#define | PROF_TX_BUF_ALLOC_CLR()
| Profiling macro.
#define | PROF_TX_PAYL_HDL_SET()
| Profiling macro.
#define | PROF_TX_PAYL_HDL_CLR()
| Profiling macro.
#define | PROF_TX_CFM_EVT_SET()
| Profiling macro.
#define | PROF_TX_CFM_EVT_CLR()
| Profiling macro.
#define | PROF_TX_CFM_DMA_IRQ_SET()
| Profiling macro.
#define | PROF_TX_CFM_DMA_IRQ_CLR()
| Profiling macro.
#define | PROF_MM_HW_IDLE_SET()
| Profiling macro.
#define | PROF_MM_HW_IDLE_CLR()
| Profiling macro.
#define | PROF_MM_SET_CHANNEL_SET()
| Profiling macro.
#define | PROF_MM_SET_CHANNEL_CLR()
| Profiling macro.
#define | PROF_TX_FRAME_PUSH_SET()
| Profiling macro.
#define | PROF_TX_FRAME_PUSH_CLR()
| Profiling macro.
#define | PROF_TX_FRAME_CFM_SET()
| Profiling macro.
#define | PROF_TX_FRAME_CFM_CLR()
| Profiling macro.
#define | PROF_MSG_IRQ_SET()
| Profiling macro.
#define | PROF_MSG_IRQ_CLR()
| Profiling macro.
#define | PROF_MSG_FWD_SET()
| Profiling macro.
#define | PROF_MSG_FWD_CLR()
| Profiling macro.
#define | PROF_MSG_IPC_IND_SET()
| Profiling macro.
#define | PROF_MSG_IPC_IND_CLR()
| Profiling macro.
#define | PROF_RX_MAC_IRQ_SET()
| Profiling macro.
#define | PROF_RX_MAC_IRQ_CLR()
| Profiling macro.
#define | PROF_RX_DMA_IRQ_SET()
| Profiling macro.
#define | PROF_RX_DMA_IRQ_CLR()
| Profiling macro.
#define | PROF_RX_DMA_EVT_SET()
| Profiling macro.
#define | PROF_RX_DMA_EVT_CLR()
| Profiling macro.
#define | PROF_RX_IPC_IND_SET()
| Profiling macro.
#define | PROF_RX_IPC_IND_CLR()
| Profiling macro.
#define | RX_MPDU_XFER_SET()
| Profiling macro.
#define | RX_MPDU_XFER_CLR()
| Profiling macro.
#define | RX_MPDU_FREE_SET()
| Profiling macro.
#define | RX_MPDU_FREE_CLR()
| Profiling macro.
#define | RX_CNTRL_EVT_SET()
| Profiling macro.
#define | RX_CNTRL_EVT_CLR()
| Profiling macro.
#define | RX_HOSTBUF_IDX_SET(val)
| Profiling macro.
#define | RX_HOSTBUF_IDX_CLR()
| Profiling macro.
#define | PROF_HW_TBTT_EVT_SET()
| Profiling macro.
#define | PROF_HW_TBTT_EVT_CLR()
| Profiling macro.
#define | PROF_BCN_PRIM_TBTT_IRQ_SET()
| Profiling macro.
#define | PROF_BCN_PRIM_TBTT_IRQ_CLR()
| Profiling macro.
#define | PROF_BCN_SEC_TBTT_IRQ_SET()
| Profiling macro.
#define | PROF_BCN_SEC_TBTT_IRQ_CLR()
| Profiling macro.
#define | PROF_AP_TBTT_SET()
| Profiling macro.
#define | PROF_AP_TBTT_CLR()
| Profiling macro.
#define | PROF_STA_TBTT_SET()
| Profiling macro.
#define | PROF_STA_TBTT_CLR()
| Profiling macro.
#define | PROF_TBTT_IDX_SET(idx)
| Profiling macro.
#define | PROF_PS_SLEEP_SET()
| Profiling macro.
#define | PROF_PS_SLEEP_CLR()
| Profiling macro.
#define | PROF_PS_PAUSE_SET()
| Profiling macro.
#define | PROF_PS_PAUSE_CLR()
| Profiling macro.
#define | PROF_PS_DPSM_UPDATE_SET()
| Profiling macro.
#define | PROF_PS_DPSM_UPDATE_CLR()
| Profiling macro.
#define | PROF_PS_CHECK_RX_SET()
| Profiling macro.
#define | PROF_PS_CHECK_RX_CLR()
| Profiling macro.
#define | PROF_PS_CHECK_TX_SET()
| Profiling macro.
#define | PROF_PS_CHECK_TX_CLR()
| Profiling macro.
#define | PROF_PS_CHECK_BCN_SET()
| Profiling macro.
#define | PROF_PS_CHECK_BCN_CLR()
| Profiling macro.
#define | PROF_TD_CHECK_RX_SET()
| Profiling macro.
#define | PROF_TD_CHECK_RX_CLR()
| Profiling macro.
#define | PROF_TD_CHECK_TX_SET()
| Profiling macro.
#define | PROF_TD_CHECK_TX_CLR()
| Profiling macro.
#define | PROF_TD_CHECK_RX_PS_SET()
| Profiling macro.
#define | PROF_TD_CHECK_RX_PS_CLR()
| Profiling macro.
#define | PROF_TD_CHECK_TX_PS_SET()
| Profiling macro.
#define | PROF_TD_CHECK_TX_PS_CLR()
| Profiling macro.
#define | PROF_TD_TIMER_END_SET()
| Profiling macro.
#define | PROF_TD_TIMER_END_CLR()
| Profiling macro.
#define | PROF_BFR_MU_CALIB_SET()
| Profiling macro.
#define | PROF_BFR_MU_CALIB_CLR()
| Profiling macro.
#define | PROF_BFR_SU_CALIB_SET()
| Profiling macro.
#define | PROF_BFR_SU_CALIB_CLR()
| Profiling macro.
#define | PROF_BFR_RX_BFR_SET()
| Profiling macro.
#define | PROF_BFR_RX_BFR_CLR()
| Profiling macro.
#define | PROF_BFR_UPLOAD_SET()
| Profiling macro.
#define | PROF_BFR_UPLOAD_CLR()
| Profiling macro.
#define | PROF_BFR_DOWNLOAD_SET()
| Profiling macro.
#define | PROF_BFR_DOWNLOAD_CLR()
| Profiling macro.
#define | PROF_BFR_TX_IND_SET()
| Profiling macro.
#define | PROF_BFR_TX_IND_CLR()
| Profiling macro.
#define | PROF_BFR_TX_CFM_SET()
| Profiling macro.
#define | PROF_BFR_TX_CFM_CLR()
| Profiling macro.
#define | PROF_SMM_IDX_SET(idx)
| Profiling macro.
#define | PROF_RX_DUPLI_CHECK_SET()
| Profiling macro.
#define | PROF_RX_DUPLI_CHECK_CLR()
| Profiling macro.
#define | PROF_RX_DUPLI_NSTA_CHECK_SET()
| Profiling macro.
#define | PROF_RX_DUPLI_NSTA_CHECK_CLR()
| Profiling macro.
#define | PROF_IPCDESC_PREPARE_SET()
| Profiling macro.
#define | PROF_IPCDESC_PREPARE_CLR()
| Profiling macro.
#define | PROF_IPCDESC_TRANSFER_SET()
| Profiling macro.
#define | PROF_IPCDESC_TRANSFER_CLR()
| Profiling macro.
#define | PROF_DEFRAG_CHECK_SET()
| Profiling macro.
#define | PROF_DEFRAG_CHECK_CLR()
| Profiling macro.
#define | PROF_DEFRAG_TRANSFER_SET()
| Profiling macro.
#define | PROF_DEFRAG_TRANSFER_CLR()
| Profiling macro.
#define | PROF_DEFRAG_UPD_LENGTH_SET()
| Profiling macro.
#define | PROF_DEFRAG_UPD_LENGTH_CLR()
| Profiling macro.
#define | PROF_REORD_CHECK_SET()
| Profiling macro.
#define | PROF_REORD_CHECK_CLR()
| Profiling macro.
#define | PROF_REORD_BAR_CHECK_SET()
| Profiling macro.
#define | PROF_REORD_BAR_CHECK_CLR()
| Profiling macro.
#define | PROF_REORD_FLUSH_SET()
| Profiling macro.
#define | PROF_REORD_FLUSH_CLR()
| Profiling macro.
#define | PROF_REORD_FWD_SET()
| Profiling macro.
#define | PROF_REORD_FWD_CLR()
| Profiling macro.
#define | PROF_MAC2ETH_UPDATE_SET()
| Profiling macro.
#define | PROF_MAC2ETH_UPDATE_CLR()
| Profiling macro.
#define | PROF_PS_PEER_STATE_SET()
| Profiling macro.
#define | PROF_PS_PEER_STATE_CLR()
| Profiling macro.
#define | PROF_PS_BCMC_STATE_SET()
| Profiling macro.
#define | PROF_PS_BCMC_STATE_CLR()
| Profiling macro.
#define | PROF_PS_STATE_VAL_SET(val)
| Profiling macro.
#define | PROF_PS_PSPOLL_RX_SET()
| Profiling macro.
#define | PROF_PS_PSPOLL_RX_CLR()
| Profiling macro.
#define | PROF_PS_TRAFFIC_REQ_SET()
| Profiling macro.
#define | PROF_PS_TRAFFIC_REQ_CLR()
| Profiling macro.
#define | PROF_BW_DROP_IRQ_SET()
| Profiling macro.
#define | PROF_BW_DROP_IRQ_CLR()
| Profiling macro.
#define | PROF_BW_DROP_STEP_SET()
| Profiling macro.
#define | PROF_BW_DROP_STEP_CLR()
| Profiling macro.
#define | PROF_RC_UPD_COUNTERS_SET()
| Profiling macro.
#define | PROF_RC_UPD_COUNTERS_CLR()
| Profiling macro.
#define | PROF_RC_UPD_COUNTERS_TRIAL_SET()
| Profiling macro.
#define | PROF_RC_UPD_COUNTERS_TRIAL_CLR()
| Profiling macro.
#define | PROF_RC_STATS_CALC_SET()
| Profiling macro.
#define | PROF_RC_STATS_CALC_CLR()
| Profiling macro.
#define | PROF_RC_UPD_RETRY_CHAIN_SET()
| Profiling macro.
#define | PROF_RC_UPD_RETRY_CHAIN_CLR()
| Profiling macro.
#define | PROF_RC_UPD_RETRY_CHAIN_TRIAL_SET()
| Profiling macro.
#define | PROF_RC_UPD_RETRY_CHAIN_TRIAL_CLR()
| Profiling macro.
#define | PROF_RC_SET_TRIAL_BUFFER_SET()
| Profiling macro.
#define | PROF_RC_SET_TRIAL_BUFFER_CLR()
| Profiling macro.
#define | PROF_RC_LOOKAROUND_TX_SET()
| Profiling macro.
#define | PROF_RC_LOOKAROUND_TX_CLR()
| Profiling macro.
#define | PROF_RC_SW_RETRY_SET()
| Profiling macro.
#define | PROF_RC_SW_RETRY_CLR()
| Profiling macro.
#define | PROF_FT_OVER_DS_REQ_SET()
| Profiling macro.
#define | PROF_FT_OVER_DS_REQ_CLR()
| Profiling macro.
#define | PROF_FT_REASSOC_SET()
| Profiling macro.
#define | PROF_FT_REASSOC_CLR()
| Profiling macro.
#define | PROF_MESH_PS_ENABLE_SET()
| Profiling macro.
#define | PROF_MESH_PS_ENABLE_CLR()
| Profiling macro.
#define | PROF_MESH_PS_SP_OWNER_SET()
| Profiling macro.
#define | PROF_MESH_PS_SP_OWNER_CLR()
| Profiling macro.
#define | PROF_MESH_PS_SP_RECIP_SET()
| Profiling macro.
#define | PROF_MESH_PS_SP_RECIP_CLR()
| Profiling macro.
#define | PROF_MESH_PS_WAIT_BCMC_SET()
| Profiling macro.
#define | PROF_MESH_PS_WAIT_BCMC_CLR()
| Profiling macro.
#define | PROF_MESH_PS_WAIT_BCN_SET()
| Profiling macro.
#define | PROF_MESH_PS_WAIT_BCN_CLR()
| Profiling macro.
#define | PROF_MESH_PS_LOCAL_MAW_SET()
| Profiling macro.
#define | PROF_MESH_PS_LOCAL_MAW_CLR()
| Profiling macro.
#define | PROF_MESH_PS_PEER_MAW_SET()
| Profiling macro.
#define | PROF_MESH_PS_PEER_MAW_CLR()
| Profiling macro.
#define | PROF_CPU_SLEEP_SET()
| Profiling macro.
#define | PROF_CPU_SLEEP_CLR()
| Profiling macro.
#define | PROF_DEEP_SLEEP_SET()
| Profiling macro.
#define | PROF_DEEP_SLEEP_CLR()
| Profiling macro.
#define | PROF_TDLS_CHSW_REQ_RX_SET()
| Profiling macro.
#define | PROF_TDLS_CHSW_REQ_RX_CLR()
| Profiling macro.
#define | PROF_TDLS_CHSW_RESP_RX_SET()
| Profiling macro.
#define | PROF_TDLS_CHSW_RESP_RX_CLR()
| Profiling macro.
#define | PROF_TDLS_CHSW_REQ_TX_SET()
| Profiling macro.
#define | PROF_TDLS_CHSW_REQ_TX_CLR()
| Profiling macro.
#define | PROF_TDLS_CHSW_RESP_TX_SET()
| Profiling macro.
#define | PROF_TDLS_CHSW_RESP_TX_CLR()
| Profiling macro.
#define | PROF_TDLS_SWITCH_TO_OFFCH_SET()
| Profiling macro.
#define | PROF_TDLS_SWITCH_TO_OFFCH_CLR()
| Profiling macro.
#define | PROF_TDLS_SWITCH_TO_BASECH_SET()
| Profiling macro.
#define | PROF_TDLS_SWITCH_TO_BASECH_CLR()
| Profiling macro.
#define | PROF_TDLS_CHSW_TIME_TIMER_SET()
| Profiling macro.
#define | PROF_TDLS_CHSW_TIME_TIMER_CLR()
| Profiling macro.
#define | PROF_TDLS_CHSW_TIMEOUT_TIMER_SET()
| Profiling macro.
#define | PROF_TDLS_CHSW_TIMEOUT_TIMER_CLR()
| Profiling macro.
#define | PROF_TDLS_CHSW_END_TIMER_SET()
| Profiling macro.
#define | PROF_TDLS_CHSW_END_TIMER_CLR()
| Profiling macro.
#define | PROF_TDLS_CHSW_REQ_TX_TIMER_SET()
| Profiling macro.
#define | PROF_TDLS_CHSW_REQ_TX_TIMER_CLR()
| Profiling macro.
#define | PROF_TDLS_DELAY_CHSW_SET()
| Profiling macro.
#define | PROF_TDLS_DELAY_CHSW_CLR()
| Profiling macro.
#define | PROF_TDLS_CHSW_NULL_FRAME_TX_SET()
| Profiling macro.
#define | PROF_TDLS_CHSW_NULL_FRAME_TX_CLR()
| Profiling macro.
#define | PROF_RTOS_TASK_SET(taskid)
| Profiling macro.
#define | PROF_ANT_DIV_SWITCH_SET()
| Profiling macro.
#define | PROF_ANT_DIV_SWITCH_CLR()
| Profiling macro.
System Stats Macro definitions
#define | DBG_CPU_SLEEP_START() PROF_CPU_SLEEP_SET()
#define | DBG_CPU_SLEEP_END() PROF_CPU_SLEEP_CLR()
#define | DBG_DOZE_START() PROF_DEEP_SLEEP_SET()
#define | DBG_DOZE_END() PROF_DEEP_SLEEP_CLR()
## Enumerations
enum | { DBG_ERROR_RECOVERABLE = 0, DBG_ERROR_FATAL }
## Functions
void | dbg_init (void)
| Initialize the debug module.
## Variables
struct debug_env_tag | dbg_env
| DEBUG module environment declaration.
## Debug Print definitions
#define | NX_PRINT_NONE 0
| All print macro are discarded.
#define | NX_PRINT_IPC 1
| Print are sent to IPC.
#define | NX_PRINT_PRINTF 2
| Print are sent to standard printf.
#define | NX_PRINT_PRINTK 3
| Print are sent to Linux printk.
#define | D_KE "\x80"
| Prefix for Kernel.
#define | D_DBG "\x81"
| Prefix for DBG.
#define | D_IPC "\x82"
| Prefix for IPC.
#define | D_DMA "\x83"
| Prefix for DMA.
#define | D_MM "\x84"
| Prefix for LMAC management.
#define | D_TX "\x85"
| Prefix for Tx path.
#define | D_RX "\x86"
| Prefix for Rx path.
#define | D_PHY "\x87"
| Prefix for Modem / RF.
#define | D_XX0 "\x88"
| Prefix unused.
#define | D_XX1 "\x89"
| Prefix unused.
#define | D_XX2 "\x8A"
| Prefix unused.
#define | D_XX3 "\x8B"
| Prefix unused.
#define | D_XX4 "\x8C"
| Prefix unused.
#define | D_CRT "\x9A"
| Prefix for critical.
#define | D_ERR "\x9B"
| Prefix for error.
#define | D_WRN "\x9C"
| Prefix for warning.
#define | D_INF "\x9D"
| Prefix for info.
#define | D_VRB "\x9E"
| Prefix for verbose debug.
#define | DBG_MOD_MIN 0x80
| All print macro are discarded.
#define | DBG_MOD_MAX (DBG_MOD_MIN + DBG_MOD_IDX_MAX)
| All print macro are discarded.
#define | DBG_MOD_ALL 0xFFFFFFFF
| All print macro are discarded.
#define | DBG_SEV_MIN 0x9A
| All print macro are discarded.
#define | DBG_SEV_MAX 0xA0
| All print macro are discarded.
#define | dbg(fmt,...) do {} while (0)
| All print macro are discarded.
#define | dbg_vsnprintf(buffer, size, fmt, args) dbg_vsnprintf_offset(buffer, size, 0, fmt, args)
| Execute a pseudo vsnprintf function.
enum | dbg_mod_tag { DBG_MOD_IDX_KE = 0, DBG_MOD_IDX_DBG, DBG_MOD_IDX_IPC, DBG_MOD_IDX_DMA, DBG_MOD_IDX_MM, DBG_MOD_IDX_TX, DBG_MOD_IDX_RX, DBG_MOD_IDX_PHY, DBG_MOD_IDX_MAX }
| Module filtering macros, used only by debug module. More...
enum | dbg_sev_tag { DBG_SEV_IDX_NONE = 0, DBG_SEV_IDX_CRT, DBG_SEV_IDX_ERR, DBG_SEV_IDX_WRN, DBG_SEV_IDX_INF, DBG_SEV_IDX_VRB, DBG_SEV_IDX_MAX, DBG_SEV_ALL }
| Severity filtering macros, used only by debug module. More...
uint32_t | dbg_snprintf (char *buffer, uint32_t size, const char *fmt,...)
| Execute a pseudo snprintf function.
uint32_t | dbg_vsnprintf_offset (char *buffer, uint32_t size, uint32_t offset, const char *fmt, va_list args)
| Execute a pseudo vsnprintf function.

## Detailed Description

Declaration of the Debug module environment.

Copyright (C) RivieraWaves 2011-2019

Definition in file dbg.h.