📄 info.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. */
/****************************************************************************/
/****************************************************************************/
/* info.h */
/* */
/* System information interface. */
/****************************************************************************/
#ifndef __INFO_H
#define __INFO_H
/****************************************************/
/* Task type identifiers. */
/* */
/* The application provides a consistant method to */
/* obtain task information. The API uses two diff- */
/* erent methods. The task info functions unify all */
/* to use a single reporting structure. */
/****************************************************/
/****************************************************/
/* Task information structure. */
/****************************************************/
typedef struct _taskInfo
{
uint32 taskID; /* RTOS task ID */
uint32 priority; /* task priority */
uint32 stackSize; /* task stack size */
uint32 stackUnused; /* free stack */
uint32 stackUsed; /* used stack */
const char *taskName; /* task name */
} TASKINFO_STRUCT;
/****************************************************/
/* System information public functions. */
/****************************************************/
BOOL info_getTaskInfo( uint08 index, TASKINFO_STRUCT *pInfo );
void info_showAllTaskInfo( void );
#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -