REVISION
Definition in file SYS_gotoDiagnosis.c.
#include "sys_hardware.h"
#include "../KEYBOARD/keyboard.h"
Include dependency graph for SYS_gotoDiagnosis.c:

Go to the source code of this file.
Functions | |
| BOOL | SYS_gotoDiagnosis (void) |
| Function detects the keyboard to tell if diagnosis mode is requested by user. | |
|
|
Function detects the keyboard to tell if diagnosis mode is requested by user. At power up, if PRESET1, PRESET5, and PLAY are simultaneously held, system will go to diagnosis mode.
Definition at line 37 of file SYS_gotoDiagnosis.c. References KBD_isKeyDown(), KPRESET1, and KPRESET5. Referenced by SYS_kickoff(). 00038 {
00039 //if( KBD_isKeyDown(KPLAY) == TRUE )
00040 {
00041 if( KBD_isKeyDown(KPRESET1) == TRUE )
00042 {
00043 if( KBD_isKeyDown(KPRESET5) == TRUE )
00044 {
00045 return TRUE;
00046 }
00047 }
00048 }
00049 return FALSE;
00050 }
|
Here is the call graph for this function:

1.3.9.1