Details |
Last modification |
View Log
| RSS feed
| Rev |
Author |
Line No. |
Line |
| 881 |
theseven |
1 |
#ifndef __DEVICE_D1759_BACKLIGHT_MANAGER_H__
|
|
|
2 |
#define __DEVICE_D1759_BACKLIGHT_MANAGER_H__
|
|
|
3 |
|
|
|
4 |
#include "global.h"
|
|
|
5 |
#include "interface/backlight_manager/backlight_manager.h"
|
|
|
6 |
#include "protocol/i2c/i2c.h"
|
|
|
7 |
|
|
|
8 |
|
|
|
9 |
struct __attribute__((packed,aligned(4))) d1759_backlight_manager_driver_config
|
|
|
10 |
{
|
|
|
11 |
const struct i2c_driver_instance* i2c;
|
|
|
12 |
uint8_t max_current;
|
|
|
13 |
bool default_fade;
|
|
|
14 |
uint8_t reserved[2];
|
|
|
15 |
};
|
|
|
16 |
|
|
|
17 |
struct __attribute__((packed,aligned(4))) d1759_backlight_manager_driver_state
|
|
|
18 |
{
|
|
|
19 |
bool fade;
|
|
|
20 |
uint8_t reserved[3];
|
|
|
21 |
};
|
|
|
22 |
|
|
|
23 |
extern const struct backlight_manager_driver d1759_backlight_manager_driver;
|
|
|
24 |
|
|
|
25 |
|
|
|
26 |
#endif
|