whycyhl
2022-05-05 683c912f9ac1935a7b109fb402bb276dba450f6b
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
/************************** Copyright (c) **********************************
**                 FUZHOU FUGUANG ELECTRONICS Co.,LTD.
**                        ¸£Öݸ£¹âµç×ÓÓÐÏÞ¹«Ë¾
**                       http://www.fuguang.com
**
**-------------- File Info -------------------------------------------------
** File name:            ChargePage.h
** Last modified Date:  2008-11-16
** Last Version:        1.0
** Descriptions:        Charge test module functions
**
**--------------------------------------------------------------------------
** Created by:            mxpopstar
** Created date:        2008-11-16
** Version:                1.0
** Descriptions:        The original version
**
**--------------------------------------------------------------------------
** Modified by:            mxpopstar
** Modified date:        2008-11-20
** Version:
** Descriptions:        Charge test module functions
**
***************************************************************************/
//
#ifndef ChargingPage_H
#define ChargingPage_H
 
#include "Define.h"
 
//----------- ³äµç״̬ ------------
#define CPStopCharging     0
#define CPPauseCharging    1
#define CPSmallCharging    2
#define CPLargeCharging    3
#define CPNullCharging        4            
 
unsigned char DSPChargePage(void);
void CPUpdateValue(void);
unsigned char GetCPStateIndex(void);
unsigned int GetChargePowerState(void);
void UpdateCPStateText(unsigned char stateindex);
void GetChargePageButtonDown(void);
void DrawCPControlButton(const unsigned char sysstate);
unsigned char InitChargingParm(void);
unsigned char GetAutoStartCharge(void);
void OpenChargePower(const unsigned char powertype);
void CloseChargePower(void);
void StartCharging(const unsigned char chargetype);
void ResumeCharging(const unsigned char chargetype);
void SuspendCharging(const unsigned char pausetype);
void StopCharging(const unsigned char stoptype);
void SetAutoStartCharge(const unsigned char value);
void CPControlChargeCurrent(volatile const FBO_Data *fbodata);
void SetOverCurrentTime(const unsigned char time);
unsigned char GetOverCurrentTime(void);
void CPCheckAbnormalAlarm(void);
void DSPChargePageText(void);
 
#endif
//