www.pudn.com > writemac.rar > dm643_led.h


/* 
 *  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  
 
/* 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