📄 polltask.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. */
/****************************************************************************/
/****************************************************************************/
/* pollTask.h */
/* */
/* Periodic polling task. */
/****************************************************************************/
#ifndef __POLLTASK_H
#define __POLLTASK_H
#include "info.h"
#include "sysmon.h"
#define POLL_STARTUP_DELAY 1000 /* milliseconds delay to start polling */
EXEC_CC_ENUM pollTask_powerStandby( void );
EXEC_CC_ENUM pollTask_powerNormal( void );
EXEC_CC_ENUM pollTask_init( void );
void pollTask_info( TASKINFO_STRUCT *info );
/****************************************************/
/* Callback function type declaration. Modules */
/* using a periodic callback declare a function of */
/* this type which is referenced in a function */
/* table in the polling module. */
/* */
/* Functions return the time tick delay to their */
/* next requested poll. */
/****************************************************/
typedef int16 (*PP_CALLBACK)( uint16 tick );
#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -