volt.h

来自「一个操作系统源代码 用于嵌入式设备 在Vc++环境下仿真 成功移植到多款处理器上」· C头文件 代码 · 共 17 行

H
17
字号
#ifndef _VOLT_H
#define _VOLT_H

#include <sys\ppsmtype.h>

#define LOW_BATTERY  			0x20	// ???
#define BATTERY_FULL 			0x80	// ???
#define BATTERY_PULSE_CHARGE 	0x10	//???


extern void BatChargeEnable(void);
extern void BatChargeDisable(void);
extern void BatVoltChk(void);
extern U16 BatVoltRead(void);
extern U16 KeyVoltRead(void);

#endif

⌨️ 快捷键说明

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