天嵌二次封装库使用手册  V1.0
tq_backlight.h
浏览该文件的文档.
1 #ifndef _TQ_BACKLIGHT_H_
2 #define _TQ_BACKLIGHT_H_
3 
19 #include <stdlib.h>
20 #include <stdio.h>
21 #include <string.h>
22 #include <unistd.h>
23 #include <fcntl.h>
24 #include <errno.h>
25 #include <dirent.h>
26 #include "tq_common.h"
27 #define simplified_name
28 #ifdef __cplusplus
29 extern "C"
30 {
31 #endif
32 
38  int tq_set_backlight(char *devname, unsigned int duty);
39 
45  int tq_get_backlight(char *devname);
46 #ifdef __cplusplus
47 }
48 #endif
49 #endif
int tq_get_backlight(char *devname)
获取屏幕的背光
int tq_set_backlight(char *devname, unsigned int duty)
设置屏幕的背光