info.h
来自「IT projecotr reference design.」· C头文件 代码 · 共 57 行
H
57 行
/****************************************************************************/
/* 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 + =
减小字号Ctrl + -
显示快捷键?