Landtiger LPC1768 C BigLib
1
A self made, custom C library for the LandTiger board.
Loading...
Searching...
No Matches
led.h
Go to the documentation of this file.
1
#ifndef __LED_H
2
#define __LED_H
3
4
#include "
led_types.h
"
5
#include "
types.h
"
6
#include <stdint.h>
7
8
9
#define LED_NUM 8
10
11
void
LED_Init
(
void
);
12
void
LED_Deinit
(
void
);
13
16
void
LED_On
(
u8
leds);
17
20
void
LED_Off
(
u8
leds);
21
24
void
LED_Output
(
u8
value);
25
27
void
LED_Clear
();
28
29
#endif
LED_Clear
void LED_Clear()
Clears the LEDs.
Definition
led.c:32
LED_Deinit
void LED_Deinit(void)
Definition
led.c:11
LED_On
void LED_On(u8 leds)
Turns on the specified LEDs.
Definition
led.c:16
LED_Off
void LED_Off(u8 leds)
Turns off the specified LEDs.
Definition
led.c:21
LED_Init
void LED_Init(void)
Definition
led.c:4
LED_Output
void LED_Output(u8 value)
Displays the value using LEDs.
Definition
led.c:26
led_types.h
types.h
u8
uint8_t u8
Definition
types.h:8
Keil
Include
Peripherals
led.h
Generated by
1.9.8