-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathapplication.h
76 lines (51 loc) · 2.39 KB
/
application.h
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
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
/////////////////////////////////////////////////////////////////////////////////////////////
#ifndef __APPLICATION_H__
#define __APPLICATION_H__
/////////////////////////////////////////////////////////////////////////////////////////////
//Set Power Module
#define PowerModuleModelSelect FAC_CMD
/////////////////////////////////////////////////////////////////////////////////////////////
//Modules iib FAP
//#define SI_FAM_PS_QFA
//#define SI_FAM_PS_QFP
//#define SI_FAM_PS_QFB
//#define SI_FAM_PS_QDA_QDP1_QDP2
//#define SI_FAM_PS_QDB1_QDB2
//#define SI_FAM_PS_Q1_Q2_Q3_Q4
//#define SI_FAM_PS_SDA0_SDP0_SFA0_SFP0_SDA1_SDA2_SDA3_SFA1_SFA2_SDP1_SDP2_SDP3_SFP1_SFP2
//#define SI_FAM_PS_SDB0_SDB1_SDB2_SDB3_SFB0_SFB1_SFB2
//#define SI_FAM_PS_B1B2_1_and_B1B2_2
//#define TS_FAM_PS_B
//#define TB_FAM_PS_B
//#define TS_01_PS_QF1A_TS_01_PS_QF1B_TS_02_PS_QF2_TS_02_PS_QD2_TS_03_PS_QF3_TS_04_PS_QF4_TS_04_PS_QD4A_TS_04_PS_QD4B
#define FAP_GIGA_TESTE_IGBT_1200V
/////////////////////////////////////////////////////////////////////////////////////////////
#define FAP 0
#define FAC_OS 1
#define FAC_IS 2
#define FAC_CMD 3
/////////////////////////////////////////////////////////////////////////////////////////////
void LedIndicationStatus(void);
void AppConfiguration(void);
/////////////////////////////////////////////////////////////////////////////////////////////
void InterlockClear(void);
void InterlockSet(void);
void InterlockClearCheck(void);
unsigned char InterlockRead(void);
void AppInterlock(void);
/////////////////////////////////////////////////////////////////////////////////////////////
void AlarmSet(void);
void AlarmClear(void);
unsigned char AlarmRead(void);
/////////////////////////////////////////////////////////////////////////////////////////////
void InterlockAppCheck(void);
void AlarmAppCheck(void);
/////////////////////////////////////////////////////////////////////////////////////////////
void Application(void);
unsigned char AppType(void);
/////////////////////////////////////////////////////////////////////////////////////////////
extern void power_on_check();
extern void send_data_schedule();
/////////////////////////////////////////////////////////////////////////////////////////////
#endif
/////////////////////////////////////////////////////////////////////////////////////////////