WE310F5  39.00.000
M2MB_DBG_CFG Struct Reference

Debug module configuration context.
More...

#include <m2mb_dbg.h>

Data Fields

M2MB_UART_PORT_ID_E port
 
UINT16 bufferSize
 
M2MB_DBG_LOG_SEVERITY_T logLevel
 
UINT8 enableCI
 
M2MB_DBG_CMD_CB_T cb
 
VOIDcbCtx
 
M2MB_DBG_SEND_T sendData
 
M2MB_DBG_RECV_PROC_DONE_T recvDone
 
VOIDuserCtx
 

Detailed Description

Debug module configuration context.

Structure to configure the module. This is used while initializing the module.

Definition at line 214 of file m2mb_dbg.h.

Field Documentation

◆ bufferSize

UINT16 bufferSize

Total Size of the log buffer in bytes

Definition at line 217 of file m2mb_dbg.h.

◆ cb

User callback to handle command

Definition at line 221 of file m2mb_dbg.h.

◆ cbCtx

VOID* cbCtx

User callback context, to be passed when callback is called

Definition at line 222 of file m2mb_dbg.h.

◆ enableCI

UINT8 enableCI

Enable command interface

Definition at line 220 of file m2mb_dbg.h.

◆ logLevel

Messages at or above the configured level are displayed or logged

Definition at line 218 of file m2mb_dbg.h.

◆ port

Definition at line 216 of file m2mb_dbg.h.

◆ recvDone

User callback to indicate the data received, is processed

Definition at line 227 of file m2mb_dbg.h.

◆ sendData

M2MB_DBG_SEND_T sendData

User API to consume the denug log, if UART port is not used for sending log

Definition at line 224 of file m2mb_dbg.h.

◆ userCtx

VOID* userCtx

User context pointer for above two \ function pointer

Definition at line 229 of file m2mb_dbg.h.


The documentation for this struct was generated from the following file: