Induction Heater C Library V1.1
Chapter 5 6BSystem Function
5 System Function
5.1 Global Variable
Variable Description
Note
BYTE dVal[4];
Display for 4-bit digital.
Used in Display function.
BYTE dLed;
Display for 8 led.
Used in Display function.
5.2 Function List
Prototype Description
Note
void InitSys(void)
Initalize system.
call in the system at first
int GetKey(void)
Get the user pushed key.
int ParseKey(int key)
Get the system event.
void EventProc(int evt)
Process the event by the event value.
void Display()
Display process
5.3 Function Prototype
5.3.1 InitSys ()
Prototype
void InitSys(void)
Output
void
Input
void
Description
Initalize system.
5.3.2 GetKey ()
Prototype int
GetKey(void)
Output
int, return the key value.
Input void
Description
Get the user pushed key.
5.3.3 ParseKey ()
Prototype
int ParseKey(int key)
Output
int, return the event value.
Input
key, the user pushed key
Description
Get the system event.
5.3.4 EventProc ()
Prototype
void EventProc(int evt)
Output void
Input
evt, the system event.
MCU-AN-500089-E-11 – Page 10