Main Page | Modules | Data Structures | File List | Data Fields | Globals

led.h File Reference

LED driver functions for the MRM. More...

Go to the source code of this file.

Enumerations

enum  LED_COLOR_T { RedLED = 0, GreenLED = 1 }

Functions

void led_init (void)
void led_on (LED_COLOR_T color)
void led_off (LED_COLOR_T color)
void led_toggle (LED_COLOR_T color)


Detailed Description

To use the functions defined in this file, include <68332/mrm/led.h> and link libled.a.

Enumeration Type Documentation

enum LED_COLOR_T
 

Enumerates the two LEDs on board the MRM.

Enumeration values:
RedLED 
GreenLED 


Function Documentation

void led_init void   ) 
 

Initialize LED driver

void led_on LED_COLOR_T  color  ) 
 

Turn LED on

void led_off LED_COLOR_T  color  ) 
 

Turn LED off

void led_toggle LED_COLOR_T  color  ) 
 

Toggle state of an LED


Generated on Wed Sep 6 03:02:22 2006 for MotoRobots by doxygen 1.3.6