Chapter 3 Terminal Specific Function Library
79
3.7.3 FN Key
These are applicable to the Optimus R only.
GetFuncToggle
Optimus R
Purpose
To get information of the FN key state.
Syntax
int GetFuncToggle (void);
Example
state = GetFuncToggle();
Description
This routine gets the current state of the FN (function) key.
Return
The return value can be 0 ~ 3.
See Also
SetFuncToggle
SetFuncToggle
Optimus R
Purpose
To set the state of the FN (function) key.
Syntax
void SetFuncToggle (int state);
int state: /* FN key state */
Example
SetFuncToggle (0) /* set the FN key unlocked */
Description
This routine sets the current state of the FN key. It is set to be "unlocked" by
default.
The value of the parameter
state
can be one of the following:
0
Unlocked (default)
1
Locked
Return
None
See Also
GetFuncToggle
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...