backlight.h

来自「此压缩包为杰得开发得z228的BSP的源代码,可以实现很多功能,尤其是视频解码有」· C头文件 代码 · 共 39 行

H
39
字号
#include <platform.h>	// hardware information of arm 926 board
#include <windows.h>
#include <ceddk.h>
#include <types.h>
#include <excpt.h>
#include <tchar.h>
#include <devload.h>
#include <diskio.h>
#include <storemgr.h>
#include <pm.h>
#include <pkfuncs.h>

//#include "BlI2C.h"

//--Definitions---
#define DBG_MSG	0

#define LEVEL_OFF		0
#define LEVEL_DEFAULT	4

//  Data structure
typedef struct _BLStruct
{
    DWORD   m_dwBatteryTimeout;
    DWORD   m_dwACTimeout;
    DWORD   m_dwStatus;
    DWORD	m_dwUserLevel;
    BOOL    m_bBatteryAuto;
    BOOL    m_bACAuto;
} BLStruct, *PBLStruct;


//--Functions---
unsigned long WINAPI BLT_BacklightThread(LPVOID dwContext);
void BLT_ReadRegistry(BLStruct *pBLInfo);
void BLT_WriteRegistry(BLStruct *pBLInfo);
void BLT_ChangeLevel(unsigned long level);

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?