AM243x MCU+ SDK  09.02.01
cdn_print.h File Reference

Go to the source code of this file.

Macros

#define USBSSP_DBG_CUSBD   0x00000010U
 
#define USBSSP_DBG_CUSBD_ISR   0x00000001U
 
#define DBG_DMA_BASIC_MSG   0x00000100U
 
#define DBG_DMA_VERBOSE_MSG   0x00000200U
 
#define DBG_DMA_ERR_MSG   0x00000400U
 
#define DBG_DMA_CHANNEL_USEGE_MSG   0x00001000U
 
#define DEFAULT_CDN_DBG_MODULE   (0)
 
#define DEFAULT_CDN_LOG_LVL   (0)
 

Functions

void DbgPrint (uint32_t module_id, uint32_t log_lvl, const char *str,...)
 Printf function hook for cadence usb device driver. More...
 
void CUSBD_DbgMsgInit (void)
 Initialize CUSBD Debug module with default parameters. More...
 
void DbgMsgSetLvl (uint32_t log_lvl)
 Sets debug verbosity level. More...
 
void DbgMsgEnableModule (uint32_t module_id)
 enable logs for given module More...
 
void DbgMsgDisableModule (uint32_t module_id)
 disable logs for given module More...