26
"C" Programming Guide For Optimus S/R
Wedge_WakeUp
when the keyboard wedge cable is connected
RS232_WakeUp
when the RS-232 cable is connected
Charging_WakeUp
when the terminal is being charged
ChargeDone_WakeUp
when the battery charging is done
For example,
WakeUp_Event_Mask = RS232_WakeUp|Charging_WakeUp;
/* wake up by RS-232 connection or battery charging events */
For the Optimus S, it is possible to wake up the terminal by one of the following
pre-defined events:
PwrKey_WakeUp
when the POWER key is pressed
Alarm_WakeUp
when the alarm time is up
extern char
ProgVersion[16];
This character array can be used to store the version information of the user program.
Such version information can be checked from the submenu: System Menu > Version.
Note that your C program needs to declare this variable to overwrite the system default
setting. For example,
char ProgVersion[16] = "Power AP 1.00";
Summary of Contents for Optimus R
Page 1: ...Printed on 20 March 2006 C Programming Guide Version 3 04 02 Optimus S Optimus R...
Page 6: ......
Page 8: ...2 C Programming Guide For Optimus S R...
Page 12: ...6 C Programming Guide For Optimus S R The flow is illustrated as shown below...
Page 23: ...Chapter 2 Development Environment 17 Different types signed unsigned Different types same size...
Page 24: ...18 C Programming Guide For Optimus S R...
Page 220: ...214 C Programming Guide For Optimus S R See Also FlashSize free_memory...