
101
Returns
:
None
。
WedgeReady
Purpose
:
Check if the keyboard cable is connected or not.
Syntax
:
int WedgeReady(void);
Example call
:
if(WedgeReady())
SendData(CodeBuf);
Includes
:
#include
“
LIB_CL.h
"
Description
:
Before sending data via keyboard interface, it is recommended to
check the cable status first, otherwise the transmission may be
blocked.
Returns
:
None
。
SendData
Purpose
:
Send a string to keyboard interface.
Syntax
:
void ScanData(char* out_str);
Example call
:
SendData(CodeBuf);
Includes
:
#include
“
LIB_CL.h
"
Description
:
SendData routine transmits a string pointed by out_str to the
keyboard interface.
Returns
:
None.
◆
System
SysSuspend
Purpose
:
Shut down the system.
Syntax
:
void SysSuspend(void);
Example call
:
SysSuspend( );
Includes
:
#include
“
LIB_CL.h
"
Description
:
This function will shut down the system.When power on, the system
will resume or restart itself, depending on the system setting.
Returns
:
None.
SetPowerOnState
Purpose
:
Set power on state.
Syntax
:
void SetPowerOnState(int slState);
Example call
:
SetPowerOnState (0);
Includes
:
#include
“
LIB_CL.h
"
The SetPowerOnState is used to set power on state.
slState
Power on state
Description
:
0 Resume
Содержание PT-10
Страница 4: ...3 Keyboard Wedge 99 System 101 Power 102 Other 102 ...
Страница 13: ...12 6 Development Flow Chart ...
Страница 53: ...52 Returns No returns Notes ...