davincihd_led.h
来自「用于dm6467 开发平台的uboot源码」· C头文件 代码 · 共 44 行
H
44 行
/*
* Copyright 2007 by Spectrum Digital Incorporated.
* All rights reserved. Property of Spectrum Digital Incorporated.
*/
/*
* LED header file
*
*/
#ifndef LED_
#define LED_
#ifdef __cplusplus
extern "C" {
#endif
#include "davincihd.h"
#include "davincihd_i2c_gpio.h"
/* ------------------------------------------------------------------------ *
* LED Count *
* ------------------------------------------------------------------------ */
#define NUM_LEDS 4
/* ------------------------------------------------------------------------ *
* I2C Address *
* ------------------------------------------------------------------------ */
#define LED_I2C_ADDR I2C_GPIO_GROUP_0
/* ------------------------------------------------------------------------ *
* Prototypes *
* ------------------------------------------------------------------------ */
Int16 DAVINCIHD_LED_init ( );
Int16 DAVINCIHD_LED_on ( Uint16 number );
Int16 DAVINCIHD_LED_off ( Uint16 number );
Int16 DAVINCIHD_LED_toggle( Uint16 number );
#ifdef __cplusplus
}
#endif
#endif
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?