dm643_led.h

来自「基于ccs2(6000)开发环境,通过这个程序可以修改板上EEPROM 的MAC」· C头文件 代码 · 共 38 行

H
38
字号
/*
 *  Copyright 2003 by Spectrum Digital Incorporated.
 *  All rights reserved. Property of Spectrum Digital Incorporated.
 */
 
/*
 *  ======== dm643_led.h ========
 *
 *  Interface for LEDs on the DM643 board
 */
#ifndef DM643_LED_
#define DM643_LED_

#ifdef __cplusplus
extern "C" {
#endif

#include <csl.h>

/* Initialize the LEDs */
void DM643_LED_init();

/* Turn the LED numbered ledNum off */
void DM643_LED_off(Uint32 ledNum);

/* Turn the LED numbered ledNum on */
void DM643_LED_on(Uint32 ledNum);

/* Toggle the LED numbered ledNum */
void DM643_LED_toggle(Uint32 ledNum);

#ifdef __cplusplus
}
#endif

#endif

⌨️ 快捷键说明

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