参数资料
型号: 101-0688
厂商: Rabbit Semiconductor
文件页数: 138/206页
文件大小: 0K
描述: CARD D/A EXPANSION RN1300
标准包装: 10
系列: RabbitNet™
附件类型: RabbitNet D/A 卡
适用于相关产品: RN1300
第1页第2页第3页第4页第5页第6页第7页第8页第9页第10页第11页第12页第13页第14页第15页第16页第17页第18页第19页第20页第21页第22页第23页第24页第25页第26页第27页第28页第29页第30页第31页第32页第33页第34页第35页第36页第37页第38页第39页第40页第41页第42页第43页第44页第45页第46页第47页第48页第49页第50页第51页第52页第53页第54页第55页第56页第57页第58页第59页第60页第61页第62页第63页第64页第65页第66页第67页第68页第69页第70页第71页第72页第73页第74页第75页第76页第77页第78页第79页第80页第81页第82页第83页第84页第85页第86页第87页第88页第89页第90页第91页第92页第93页第94页第95页第96页第97页第98页第99页第100页第101页第102页第103页第104页第105页第106页第107页第108页第109页第110页第111页第112页第113页第114页第115页第116页第117页第118页第119页第120页第121页第122页第123页第124页第125页第126页第127页第128页第129页第130页第131页第132页第133页第134页第135页第136页第137页当前第138页第139页第140页第141页第142页第143页第144页第145页第146页第147页第148页第149页第150页第151页第152页第153页第154页第155页第156页第157页第158页第159页第160页第161页第162页第163页第164页第165页第166页第167页第168页第169页第170页第171页第172页第173页第174页第175页第176页第177页第178页第179页第180页第181页第182页第183页第184页第185页第186页第187页第188页第189页第190页第191页第192页第193页第194页第195页第196页第197页第198页第199页第200页第201页第202页第203页第204页第205页第206页
6.6.3.3 Keypad
The functions used to control the keypad are contained in the RNET_KEYIF.LIB library
located in the Dynamic C RABBITNET library directory. This library supports keypads
with up to 64 keys.
int rn_keyInit(int handle, unsigned int iobits,
int buzzerperiod);
Initializes keypad and buzzer control for when a key is pressed. Call this function prior to any keypad
operations. Calling this function more than once will reinitialize key-processing queues.
To ensure keypad driver compatibility, the keypad must be installed so that a strobe line or data line
starts on J6 pin 1.
PARAMETERS
handle is an address index to device information. Use rn_device() or rn_find() to estab-
lish the handle.
iobits is a 16-bit number that consists of 1’s for outputs and 0’s for inputs. Each bit represents one of
the 16 lines available for a keypad interface. For example, a value of 0x1F00 (= 0001111100000000)
assigns strobe lines to 13, 12, 11, 10, and 9 on header J6 of the Keypad/Display interface to serve as the
output strobe lines. The other bit lines are either inputs or are unused.
buzzerperiod indicates how long the buzzer remains activated whenever a key is pressed.
0 = buzzer does not sound when a key is pressed
1–255 ms = enable the buzzer for the specified period for each keypress detected (a value of 10 pro-
duces a short click)
RETURN VALUE
-1 means that device information indicates the Keypad/Display interface is not connected to the master.
void rn_keyConfig(int handle, char cRaw,
char cPress, char cRelease, char cCntHold,
char cSpdLo, char cCntLo, char cSpdHi);
Assigns each key with key press and release codes, and hold and repeat ticks for auto repeat and
debouncing.
To ensure keypad driver compatibility, the keypad must be installed so that a strobe line or data line
starts on J6 pin 1.
PARAMETERS
handle is an address index to device information. Use rn_device() or rn_find() to estab-
lish the handle.
cRaw is a raw key code index, 0–63 for 1–64 keys. Because keypad configurations will differ, assign the
raw code indexes according to your keypad configuration. For example:
2 × 6 keypad matrix with raw key code index assignments [in brackets]
[ 13 ] [ 12 ] [ 11 ] [ 10 ] [ 9 ] [ 8 ]
[ 5] [ 4] [ 3] [ 2][ 1][ 0]
132
RabbitNet Peripheral Cards
相关PDF资料
PDF描述
101-0954 KIT DEV RABBIT RCM3360/3370 INTL
101-1050-BE-00025 ADPT USB 2 A FEMALE-2 5PIN .25M
10112627-101LF MINI-SAS HD 1X2 EXT PCB
10112628-101LF MINI-SAS HD 1X4 EXT PCB
10136-3000PC CONN MINI-D 36POS SOLDER PLUG
相关代理商/技术参数
参数描述
101-0689 功能描述:开发板和工具包 - 其他处理器 Serial-to-Ethernet RoHS:否 制造商:Freescale Semiconductor 产品:Development Systems 工具用于评估:P3041 核心:e500mc 接口类型:I2C, SPI, USB 工作电源电压:
101-0690 功能描述:KIT SERIAL-ETHERNET APPLICATION RoHS:否 类别:编程器,开发系统 >> 评估演示板和套件 系列:RabbitCore 3000 产品培训模块:Obsolescence Mitigation Program 标准包装:1 系列:- 主要目的:电源管理,电池充电器 嵌入式:否 已用 IC / 零件:MAX8903A 主要属性:1 芯锂离子电池 次要属性:状态 LED 已供物品:板
101-0691 功能描述:模块化系统 - SOM RCM3300 RABBITCORE RoHS:否 制造商:Digi International 外观尺寸:ConnectCore 9P 处理器类型:ARM926EJ-S 频率:150 MHz 存储容量:8 MB, 16 MB 存储类型:NOR Flash, SDRAM 接口类型:I2C, SPI, UART 工作电源电压:3.3 V 最大工作温度:+ 85 C 尺寸:1.97 in x 1.97 in x 6.1 in
101-0697 功能描述:单板计算机 BL2102 Bottom Mnt RoHS:否 制造商:Ampro By ADLINK 外观尺寸:EPIC 处理器类型:Intel Atom D510 频率:1.66 GHz 存储容量:2 GB (max) 存储类型:DDR2, L2 Cache 接口类型:Ethernet, PS/2, SATA, Serial, USB 工作电源电压:5 V, 12 V 功耗:13 W 最大工作温度:+ 70 C 尺寸:165.1 mm x 114.3 mm
101-0698 功能描述:模块化系统 - SOM RCM3310 RABBITCORE RoHS:否 制造商:Digi International 外观尺寸:ConnectCore 9P 处理器类型:ARM926EJ-S 频率:150 MHz 存储容量:8 MB, 16 MB 存储类型:NOR Flash, SDRAM 接口类型:I2C, SPI, UART 工作电源电压:3.3 V 最大工作温度:+ 85 C 尺寸:1.97 in x 1.97 in x 6.1 in