📄 ledsapi.h
字号:
/******************************************************************************
**
** COPYRIGHT (C) 2000, 2001 Intel Corporation.
**
** This software as well as the software described in it is furnished under
** license and may only be used or copied in accordance with the terms of the
** license. The information in this file is furnished for informational use
** only, is subject to change without notice, and should not be construed as
** a commitment by Intel Corporation. Intel Corporation assumes no
** responsibility or liability for any errors or inaccuracies that may appear
** in this document or any software that may be provided in association with
** this document.
** Except as permitted by such license, no part of this document may be
** reproduced, stored in a retrieval system, or transmitted in any form or by
** any means without the express written consent of Intel Corporation.
**
** FILENAME: LEDsAPI.h
**
** PURPOSE: This is the header file for the LEDs test.
**
** LAST MODIFIED: $Modtime: 7/17/03 1:01p $
******************************************************************************/
#ifndef _LEDsAPI_h
#define _LEDsAPI_h
#define HEX_SW_TIMEOUT 1000
#define LEFT_HEX_SW_MASK 0xF0
#define RIGHT_HEX_SW_MASK 0x0F
#define BLANK_ALL_HEX_LEDS 0xFF
#define ALL_HEX_LEDS_ON 0x00
#define HEX_LED0_ON 0xFE
typedef struct HexSwitchesS
{
UINT value;
BOOL flag;
}HexSwitchesT;
/*
*******************************************************************************
* Function Prototypes
*******************************************************************************
*/
UINT32 PostHexSwitchesTest(VOID);
UINT32 PostHexLEDsTest(VOID);
VOID PostHexSwitchesTestCmd (PVOID ctxp, PCHAR param);
VOID PostHexLEDsTestCmd (PVOID ctxp, PCHAR param);
#endif // _LEDsAPI_h
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -