
KtpReadByteFromEEProm
Declaration
UINT8 KtpReadByteFromEEProm (/*in*/UINT16
addr, /*out*/ UINT8 *pData);
Description
Reads a byte from the EEProm location transferred in addr.
Arguments
UINT16 addr: address of memory location
UINT8 *pData: data from the EEProm
KtpLaunchTouchScreenCalibApp
Declaration
UINT8 KtpLaunchTouchScreenCalibApp (void);
Description
Starts the touch-screen calibration tool.
Arguments
-
KtpGetTemperature
Declaration
UINT8 KtpGetTemperature (void);
Description
Returns the current temperature of the KeTop.
Arguments
-
KtpDoBeep
Declaration
UINT8 KtpDoBeep (/*in*/ UINT8 beepTime10ms);
Description
Is active for beepTime10ms * 10 ms
Arguments
UINT8 beeptime10ms: duration of beeps in n* 10ms
KtpGetVariantData
Declaration
UINT8 KtpGetVariantData (/*out*/ TKtpVariant-
Data *data);
Description
Reads the device configuration from the EEProm.
Arguments
TKtpVariantData data: data structure for VariantData.
7.4.7
Functions for Subscribing Events
These functions are used to subscribe/unsubscribe callback functions for dif-
ferent events. Joystick, override potentiometer, handwheel and keypad can be
used as events.
KtpInstallWheelEventCallback
Declaration
UINT8 KtpInstallWheelEventCallback (/*in*/
TktpWheelEventCallback pWheelProc, int *cook-
ie);
Description
Subscribes a callback function for the WheelEvent and returns an index
(cookie) for the callback function.
Arguments
TKtpWheelEventCallback pWheelProc: callback function to be called when
the event occurs.
int cookie: The index for the callback function is required for removing the
callback function.
Software
© KEBA 2009
User's Manual V1.50
61