dsk5510_led.h

来自「MSP430与DSP接口技术3 编辑环境C语言,未试过,仅供参考」· C头文件 代码 · 共 38 行

H
38
字号
/*
 *  Copyright 2002 by Spectrum Digital Incorporated.
 *  All rights reserved. Property of Spectrum Digital Incorporated.
 */
 
/*
 *  ======== dsk5510_led.h ========
 *
 *  Interface for LEDs on the DSK5510 board
 */
#ifndef DSK5510_LED_
#define DSK5510_LED_

#ifdef __cplusplus
extern "C" {
#endif

#include <csl.h>

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

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

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

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

#ifdef __cplusplus
}
#endif

#endif

⌨️ 快捷键说明

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