参数资料
型号: 151-0153
厂商: Rabbit Semiconductor
文件页数: 74/162页
文件大小: 0K
描述: ASSEMBLY - RABBITFLEX CABLES
标准包装: 1
系列: RabbitFLEX™
附件类型: 缆线组件
适用于相关产品: BL300F
connector/pin assignments. The .xml file is more important. It is used when you want to reorder a particu-
lar design. A board design cannot be ordered without its .xml file. Although your design file may still be
available through your RabbitFLEX account, it is your responsibility to maintain a copy of the design
.xml file .
6.3 RabbitFLEX BL300F Software Concepts
There are several concepts that must be understood to program the RabbitFLEX BL300F. This section will
describe these concepts.
6.3.1 Board Initialization
To use much of your RabbitFLEX BL300F I/O functionality, you must first call the brdInit() func-
tion. This must be called before you call any other RabbitFLEX functions.
6.3.2 Software Pin Names
Because the RabbitFLEX BL300F has many configurable I/O pins, we need some mechanism for referring
to these pins within the software. To accomplish this, each of the pins can be given a software name at
design time (within the RabbitFLEX Configurator). All software names will begin with “flex_”. This soft-
ware name is actually the name of a C data structure that represents all information that the system needs
to know about that particular I/O pin. Note that each pin will be given a software name whether you pro-
vide one or not—your design summary file will display your software names.
Many RabbitFLEX functions accept a Flex_IOPin* as the first parameter. For example, look at the
prototype declaration for the flexDigIn() function:
int flexDigOut(Flex_IOPin *pin, int state);
So, if you have a digital output with a software name of “flex_led1”, then this will correspond to a
Flex_IOPin data structure named “flex_led1”. To change the state of this digital output, you might do
the following:
flexDigOut(&flex_led1, 1);
Note that you must precede the software name with an ‘&’ character—this passes a pointer to the data
structure to the flexDigOut() function. More explanation of software names and how to use them is
given in the software walk-through section later in this chapter.
The LCD, keypad, and speaker also have software names, but they are predefined and not changeable by
the user. These devices, if they exist on your RabbitFLEX BL300F design, must be referenced as follows:
LCD
Keypad
Speaker
Device
Software Name
flex_lcd
flex_keypad
flex_speaker
So, to get a keypress from your keypad, you would do the following:
ch = flexKeyGet(&flex_keypad);
68
Applications Programming
相关PDF资料
PDF描述
1515738-1 INSERT ASSEMBLY 1 CHANNEL
1515739-1 INSERT ASSEMBLY, 2 X 1310
1515740-1 INSERT ASSEMBLY 4 CHANNEL
1515747-1 INSERT ASSEMBLY 4 CHANNEL
1515867-1 PROTECTIVE CAP,PLUG CONN.
相关代理商/技术参数
参数描述
151-01530 功能描述:RATCHET P CLAMP SIZE A SOFT INSE 制造商:hellermanntyton 系列:- 零件状态:新产品 配件类型:插件 配套使用产品/相关产品:Ratchet P 夹,6.2mm-13.7mm 捆扎直径 材料:热塑性塑胶(TPE) 特性:- 标准包装:100
151-01531 功能描述:RATCHET P CLAMP SIZE B SOFT INSE 制造商:hellermanntyton 系列:- 零件状态:新产品 配件类型:插件 配套使用产品/相关产品:Ratchet P 夹,13.2mm-19.5mm 捆扎直径 材料:热塑性塑胶(TPE) 特性:- 标准包装:100
151-01532 功能描述:RATCHET P CLAMP SIZE C SOFT INSE 制造商:hellermanntyton 系列:- 零件状态:新产品 配件类型:插件 配套使用产品/相关产品:Ratchet P 夹,19.2mm-36mm 捆扎直径 材料:热塑性塑胶(TPE) 特性:- 标准包装:100
151-01533 功能描述:RATCHET P CLAMP SIZE D SOFT INSE 制造商:hellermanntyton 系列:- 零件状态:新产品 配件类型:插件 配套使用产品/相关产品:Ratchet P 夹,35.1mm-51mm 捆扎直径 材料:热塑性塑胶(TPE) 特性:- 标准包装:100
151-01554 功能描述:WIDE STRAP ADHESIVE MOUNT BLK 制造商:hellermanntyton 系列:* 零件状态:在售 标准包装:3,000