📄 heartbeat.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. */
/****************************************************************************/
/****************************************************************************/
/* heartbeat.h */
/* */
/* System heartbeat indicator. */
/****************************************************************************/
#ifndef __HEARTBEAT_H
#define __HEARTBEAT_H
#include "common.h"
#include "gpio.h"
#include "sysmon.h"
#include "iox.h"
/****************************************************************************/
/* Declarations. */
/****************************************************************************/
#define HEARTBEAT_PERIOD 500 /* 500 milliseconds */
#define HEARTBEAT_LED IOX_D1_GREEN /* LED identifier */
/****************************************************************************/
/* Interface functions. */
/****************************************************************************/
EXEC_CC_ENUM heartbeat_init( void );
int16 heartbeat_poll( uint16 tick );
#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -