天嵌二次封装库使用手册  V2.1.2
lib_backlight.h
浏览该文件的文档.
1 
7 #ifndef LINUX_LIBV2_SOURCE_BACKLIGHT_LIB_BACKLIGHT_H_
8 #define LINUX_LIBV2_SOURCE_BACKLIGHT_LIB_BACKLIGHT_H_
9 
10 #define simplified_name
11 
12 #ifdef __cplusplus
13 #define BACKLIGHT_API extern "C"
14 #else
15 #define BACKLIGHT_API
16 #endif
17 
23  BACKLIGHT_API int set_backlight(char *devname, unsigned int duty);
24 
30  BACKLIGHT_API int get_backlight(char *devname);
31 
32 #endif
BACKLIGHT_API int set_backlight(char *devname, unsigned int duty)
设置屏幕的背光
BACKLIGHT_API int get_backlight(char *devname)
获取屏幕的背光
#define BACKLIGHT_API
Definition: lib_backlight.h:15