-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtab.h
57 lines (38 loc) · 1.46 KB
/
tab.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
/************************************************************************
* Project : Multi Task Monitoring and Logger System
* Version : V1.0
* Date : 06/29/2011
* Author : Erfan Jazeb Nikoo
* Compiler: KEIL uVision V4.01
* Chip type : LPC2368 NXP ARM7
* Clock frequency : 12.000000 MHz
************************************************************************/
#include "../initialization.h"
#ifndef _TAB_H
#define _TAB_H
////////////////////// Struct ////////////////////////
typedef struct{
int X1,X2,Y1,Y2;
}Key;
//////////////////////////////////////////////////////
typedef struct{
int D0,D1,D2,D3,D4,D5,D6,D7;
}DATA;
//////////////////////////////////////////////////////
void Main_Page (float BT48V_Cell1 , float BT48V_Cell2 ,float BT48V , float BT24V , int Conn_Status , int Charge_Status);
void Handling_Left (int Motor_L_RPM , int Motor_L_Current , int HL_Status);
void Handling_Right (int Motor_R_RPM , int Motor_R_Current , int HR_Status);
void Kicker (float In_Vol , float Cap_Vol , int Shoot_Status , int Fuse_Status ,
int Kicker_Status);
void Power (float BT48V_Cell1 , float BT48V_Cell2 , float BT48V_Total , float BT24V ,
int IR1 , int IR2 , int Vision_Reset , int General_Key ,
int BT48_Curr , int BT24_Curr);
void Multi_Tasking(void);
int SendToCan(void);
int Push_Touch (int x1,int x2,int y1,int y2);
int Button(void);
int Key_Read(void);
void BackLight(int counter);
void RefreshTab(void);
void Calibration(void);
#endif