-
Notifications
You must be signed in to change notification settings - Fork 1
/
LED_HAL.h
47 lines (27 loc) · 946 Bytes
/
LED_HAL.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
//------------------------------------------
// LED API
#ifndef LED_H_
#define LED_H_
// Initializes all the LEDs as output
void InitLEDs();
// 3 functions for LED on booster
void Toggle_Booster_LED();
void TurnON_Booster_LED();
void TurnOFF_Booster_LED();
// 3 functions for left LED on launchpad
void Toggle_Launchpad_Left_LED() ;
void TurnON_Launchpad_Left_LED();
void TurnOFF_Launchpad_Left_LED();
// 3 functions for right red LED on launchpad
void Toggle_Launchpad_Right_Red_LED();
void TurnON_Launchpad_Right_Red_LED();
void TurnOFF_Launchpad_Right_Red_LED();
// 3 functions for right green LED on launchpad
void Toggle_Launchpad_Right_Green_LED();
void TurnON_Launchpad_Right_Green_LED();
void TurnOFF_Launchpad_Right_Green_LED();
// 3 functions for rigth blue LED on launchpad
void Toggle_Launchpad_Right_Blue_LED();
void TurnON_Launchpad_Right_Blue_LED();
void TurnOFF_Launchpad_Right_Blue_LED();
#endif /* LED_H_ */