參數(shù)資料
型號: 101-0303
廠商: Rabbit Semiconductor
文件頁數(shù): 96/126頁
文件大小: 0K
描述: SMARTSCREEN OP7100 DISPLAY
標(biāo)準(zhǔn)包裝: 1
系列: SBC
模塊/板類型: 單板計(jì)算機(jī)模塊,帶顯示器
適用于相關(guān)產(chǎn)品: 單板計(jì)算機(jī)
OP7100
Software
71
int kpDefStChgFn( char *curState, char *changed )
This is the default state change function for the default get key function
kpDefGetKey
. This function is called back by kpScanState when
there is a change in the keypad state. If the current key is not read by
kpDefGetKey
, the new key pressed will not be registered.
PARAMETERS: curState points to an array that reflects the current
state of the keypad (bitmapped, 1 indicates key is not currently
pressed).
changed
points to an array that reflects the CHANGE of keypad state
from the previous scan. (bitmapped, 1 indicates there was a change).
RETURN VALUE: -1 if no key is pressed. Otherwise kpScanState
returns the normalized key number. The normalized key number is
8*row+col+edge*256
. edge is 1 if the key is released, and 0 if the
key is pressed.
int kpDefGetKey()
This is the default get key function. It returns the key previously
pressed (i.e., from the one-keypress buffer). The key pressed is actually
interpreted by kpDefStChgFn, which is called back by kpScanState.
kpDefInit
should be used to initialize the module.
RETURN VALUE: -1 if no key is pressed. Otherwise, kpDefGetKey
returns the normalized key number. The normalized key number is
8*row+col+edge*256
. edge is 1 if the key is released, and 0 if the
key is pressed.
void kpDefInit()
Initializes the library to use the default state change function to inter-
pret key presses when kpScanState is called. Use kpDefGetKey to
get the code of the last key pressed.
相關(guān)PDF資料
PDF描述
101-0383 MODULE RABBITCORE RCM2020
101-0435 MODULE RABBITCORE RCM2110
101-0453 MODULE RABBITCORE RCM2300
101-0494 MODULE RABBITCORE RCM2250
101-0518 MODULE RABBITCORE RCM3110
相關(guān)代理商/技術(shù)參數(shù)
參數(shù)描述
10103042SP 制造商:Pentair Technical Products / Hoffman 功能描述:HTR COMP 240V 25W W ADH TIES
1010-3-05-00-00-00-01-0 功能描述:電路板硬件 - PCB PRESS FIT WRAPOST RECPT 3 WRAPS RoHS:否 制造商:Harwin 類型:Shield Clip 長度:9.4 mm 螺紋大小: 外徑: 材料:Beryllium Copper 電鍍:Tin
1010-3-05-01-00-00-01-0 功能描述:電路板硬件 - PCB 200u SN/PB OVER NI 3 WRAPS RoHS:否 制造商:Harwin 類型:Shield Clip 長度:9.4 mm 螺紋大小: 外徑: 材料:Beryllium Copper 電鍍:Tin
1010-3-05-15-00-00-01-0 功能描述:電路板硬件 - PCB 10u AU OVER NI 3 WRAPS RoHS:否 制造商:Harwin 類型:Shield Clip 長度:9.4 mm 螺紋大小: 外徑: 材料:Beryllium Copper 電鍍:Tin
1010-3-05-21-00-00-01-0 功能描述:電路板硬件 - PCB 20u AU OVER NI 3 WRAPS RoHS:否 制造商:Harwin 類型:Shield Clip 長度:9.4 mm 螺紋大小: 外徑: 材料:Beryllium Copper 電鍍:Tin