⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 davincievm_led.h

📁 I2C control file (TI DSP in CCS)
💻 H
字号:
/*
 *  Copyright 2005 by Spectrum Digital Incorporated.
 *  All rights reserved. Property of Spectrum Digital Incorporated.
 *
 *  Not for distribution.
 */

/*
 *  LED header file
 *
 */

#ifndef LED_
#define LED_

#ifdef __cplusplus
extern "C" {
#endif

#include "davincievm_i2c.h"

#define LED_I2C_ADDR        0x38    // I2C Address

/* ------------------------------------------------------------------------ *
 *                                                                          *
 *  LED Prototypes                                                          *
 *                                                                          *
 * ------------------------------------------------------------------------ */
Int16 DAVINCIEVM_LED_init  ( );
Int16 DAVINCIEVM_LED_on    ( Uint16 num );
Int16 DAVINCIEVM_LED_off   ( Uint16 num );
Int16 DAVINCIEVM_LED_toggle( Uint16 num );
Int16 DAVINCIEVM_LED_getall( Uint16 *pattern );
Int16 DAVINCIEVM_LED_setall( Uint16 pattern );

#ifdef __cplusplus
}
#endif

#endif

⌨️ 快捷键说明

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