leds.h

Go to the documentation of this file.
00001 /************************************************************/
00018 #ifndef _LEDS_H
00019 #define _LEDS_H
00020 
00021 /****************************************************************
00022                    Includes section
00023 *****************************************************************/
00024 // \cond
00025 #include <types.h>
00026 // \endcond
00027 
00028 /****************************************************************
00029                    Define(s) section
00030 *****************************************************************/
00031 #define LED_FIRST     0
00032 #define LED_SECOND    1
00033 #define LED_THIRD     2
00034 #define LED_FOURTH    3
00035 #define LED_FIFTH     4
00036 #define LED_SIXTH     5
00037 #define LED_SEVENTH   6
00038 #define LED_EIGHTH    7
00039 #define LED_RED       LED_FIRST
00040 #define LED_YELLOW    LED_SECOND
00041 #define LED_GREEN     LED_THIRD
00042 #define LED_BLUE      LED_FOURTH
00043 
00044 /****************************************************************
00045                    Prototypes section
00046 *****************************************************************/
00047 /************************************************************/
00052 result_t BSP_OpenLeds(void);
00053 
00054 /************************************************************/
00059 result_t BSP_CloseLeds(void);
00060 
00061 /************************************************************/
00066 void BSP_OnLed(uint8_t id);
00067 
00068 /************************************************************/
00073 void BSP_OffLed(uint8_t id);
00074 
00075 /************************************************************/
00080 void BSP_ToggleLed(uint8_t id);
00081 
00082 #endif /* _LEDS_H */
00083 // eof leds.h

Generated on Mon Feb 16 17:53:40 2009 for BitCloud Stack Documentation by  doxygen 1.5.1-p1