aboutsummaryrefslogtreecommitdiff
path: root/src/widgets/led/lv_led_private.h
blob: ccd312b3c20004baef7fe74ae2d8decad5b9868f (plain)
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
48
49
50
51
/**
 * @file lv_led_private.h
 *
 */

#ifndef LV_LED_PRIVATE_H
#define LV_LED_PRIVATE_H

#ifdef __cplusplus
extern "C" {
#endif

/*********************
 *      INCLUDES
 *********************/

#include "lv_led.h"

#if LV_USE_LED

/*********************
 *      DEFINES
 *********************/

/**********************
 *      TYPEDEFS
 **********************/

/** Data of led */
struct lv_led_t {
    lv_obj_t obj;
    lv_color_t color;
    uint8_t bright;     /**< Current brightness of the LED (0..255)*/
};


/**********************
 * GLOBAL PROTOTYPES
 **********************/

/**********************
 *      MACROS
 **********************/

#endif /* LV_USE_LED */

#ifdef __cplusplus
} /*extern "C"*/
#endif

#endif /*LV_LED_PRIVATE_H*/