illumination.h

来自「IT projecotr reference design.」· C头文件 代码 · 共 50 行

H
50
字号
/****************************************************************************/
/*             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.   */
/****************************************************************************/

/****************************************************************************/
/* illumination.h                                                           */
/*                                                                          */
/* Illumination manager: Incorporates control of lamp and related color     */
/* wheel functionality.                                                     */
/****************************************************************************/

#ifndef __ILLUMIATION_H
#define __ILLUMIATION_H

#include "common.h"
#include "sysmon.h"



/****************************************************************************/
/* Declarations.                                                            */
/****************************************************************************/

#define LAMP_PERIOD 1000                     /* 1000 milliseconds lamp scan */



/****************************************************************************/
/* Interface functions.                                                     */
/****************************************************************************/

int16        illum_poll( uint16 tick );
EXEC_CC_ENUM illum_powerStandby( void );
EXEC_CC_ENUM illum_powerNormal( void );
EXEC_CC_ENUM illum_init( void );

uint32       illum_lampHoursGet( void );
void         illum_lampHoursReset( void );
BOOL         illum_lampOvertemp( void );
BOOL         illum_isLampStrikeReset( void );

#endif

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?