📄 dbmessage.h
字号:
/****************************************************************************/
/* TEXAS INSTRUMENTS PROPRIETARY INFORMATION */
/* */
/* (c) Copyright, Texas Instruments Incorporated, 2006. */
/* All Rights Reserved. */
/* */
/* Property of Texas Instruments Incorporated. Restricted Rights - */
/* Use, duplication, or disclosure is subject to restrictions set */
/* forth in TI's program license agreement and associated documentation. */
/****************************************************************************/
/****************************************************************************/
/* dbmessage.h */
/* */
/* Debug messaging. */
/****************************************************************************/
#ifndef __DBMESSAGE_H
#define __DBMESSAGE_H
#include <stdarg.h>
#include <stdio.h>
#include "common.h"
#include "sysmon.h"
/****************************************************/
/* Define length of debug message string. */
/* */
/* NOTE THAT THE DEBUG MESSENGER DOES NOT VALIDATE */
/* THE LENGTH OF FORMATTED MESSAGE STRINGS. */
/****************************************************/
#define DBMSG_STRLEN 128
/****************************************************/
/* Define timeout waiting for semaphore access. */
/****************************************************/
#define DBMSG_WAIT 5
/****************************************************/
/* Debug message source bitmask definitions used as */
/* parameter 1 in dbmsg*() function. */
/****************************************************/
#define DBM_ALWAYS 0x80000000 /* always printed */
#define DBM_MBOXROUTE 0x40000000 /* mailbox message routing */
#define DBM_USB 0x20000000 /* USB */
#define DBM_KEY 0x10000000 /* IR decoder + keypad */
#define DBM_PERIPH 0x08000000 /* other peripherals */
#define DBM_MSG 0x04000000 /* projector control / RFC messaging */
#define DBM_ALOCK 0x02000000 /* autolock */
#define DBM_DPATH 0x01000000 /* datapath */
#define DBM_EEPROM 0x00800000 /* EEPROM */
#define DBM_SYSTEM 0x00400000 /* system functions */
#define DBM_ILLUM 0x00200000 /*illumination: DMD, wheel, lamp */
#define DBM_ENVIRO 0x00100000 /* environment */
#define DBM_GUI 0x00080000 /* GUI */
#define DBM_DDCCI 0x00040000 /* DDC/CI */
EXEC_CC_ENUM dbmsg_init( void );
void dbmsg_ftrace ( uint32 bitmask, char *fmtstring, ... );
void dbmsg_ptrace ( char *msg );
void dbmsg_trace ( uint32 bitmask, char *msg );
uint32 dbmsg_getmask( void );
void dbmsg_setmask( uint32 bitmask );
void dbmsg_stringUsage( uint08 *alloc, uint08 *used );
#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -