evmdm642_led.h

来自「DM643开发板字符叠加功能实现代码」· C头文件 代码 · 共 38 行

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

#ifdef __cplusplus
extern "C" {
#endif

#include <csl.h>

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

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

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

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

#ifdef __cplusplus
}
#endif

#endif

⌨️ 快捷键说明

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