leds.h File Reference

Declaration of leds interface. More...

#include <types.h>
#include <inttypes.h>

Go to the source code of this file.

Functions

result_t BSP_OpenLeds (void)
 Opens leds module to use.
result_t BSP_CloseLeds (void)
 Closes leds module.
void BSP_OnLed (uint8_t id)
 Turns on a led.
void BSP_OffLed (uint8_t id)
 Turns off a led.
void BSP_ToggleLed (uint8_t id)
 Switches the led state to the opposite.


Detailed Description

Declaration of leds interface.

Definition in file leds.h.


Function Documentation

result_t BSP_CloseLeds ( void   ) 

Closes leds module.

Returns:
SUCCESS - always.

void BSP_OffLed ( uint8_t  id  ) 

Turns off a led.

Parameters:
[in] id - number of the led to proceed. Must be chosen from:
LED_RED
LED_GREEN
LED_YELLOW

void BSP_OnLed ( uint8_t  id  ) 

Turns on a led.

Parameters:
[in] id - number of the led to proceed. Must be chosen from:
LED_RED
LED_GREEN
LED_YELLOW

result_t BSP_OpenLeds ( void   ) 

Opens leds module to use.

Returns:
SUCCESS - always.

void BSP_ToggleLed ( uint8_t  id  ) 

Switches the led state to the opposite.

Parameters:
[in] id - number of the led to proceed. Must be chosen from:
LED_RED
LED_GREEN
LED_YELLOW


Generated on Wed Apr 2 19:06:16 2008 for ZigBeeNet Stack Documentation by  doxygen 1.5.1-p1