天嵌二次封装库使用手册  V2.1.2
tq_backlight.h
浏览该文件的文档.
1 
7 #ifndef LINUX_LIBV2_SOURCE_TQBACKLIGHT_TQ_BACKLIGHT_H_
8 #define LINUX_LIBV2_SOURCE_TQBACKLIGHT_TQ_BACKLIGHT_H_
9 
10 // Copyright 2024 广东省天嵌嵌入式技术股份有限公司
11 
12 
13 #define simplified_name
14 #ifdef __cplusplus
15 #define BACKLIGHT_API extern "C"
16 #else
17 #define BACKLIGHT_API
18 #endif
19 
25  BACKLIGHT_API int tq_set_backlight(char *devname, unsigned int duty);
26 
32  BACKLIGHT_API int tq_get_backlight(char *devname);
33 
34 #endif
#define BACKLIGHT_API
Definition: tq_backlight.h:17
BACKLIGHT_API int tq_set_backlight(char *devname, unsigned int duty)
设置屏幕的背光
BACKLIGHT_API int tq_get_backlight(char *devname)
获取屏幕的背光