参数资料
型号: 20-151-0178
厂商: Rabbit Semiconductor
文件页数: 74/162页
文件大小: 0K
描述: CABLE CONVERTER RS-232 TO USB
标准包装: 1
附件类型: USB 至 RS232 适配器
适用于相关产品: 基于 Rabbit 的板
产品目录页面: 619 (CN2011-ZH PDF)
其它名称: 20-151-0178-ND
316-1181
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描述
MAX11200EVKIT+ KIT EVALUATION FOR MAX11200
HCC06DRTF-S13 CONN EDGECARD 12POS .100 EXTEND
HK1608R47J-T INDUCTOR HI FREQ 470NH 5% 0603
PCM16XD0 PROCESSOR MODULE FOR MPLAB-ICE
SDR1006-681KL INDUCTOR POWER 680UH 0.28A SMD
相关代理商/技术参数
参数描述
20-151-0183 功能描述:处理器配件 UNIVL PWRSUPLY 12VDC 1A/W MOLEX MICROFIT3 RoHS:否 制造商:Olimex Ltd. 产品:Cable 用于:
2015103-1 制造商:TE CONNECTIVITY 功能描述:RF C/A, RT ANG QMA/DIN 1.0/2.3 CONN
2015-104 制造商:The Bergquist Company 功能描述:THERMAL PAD TO-3P PK5 制造商:The Bergquist Company 功能描述:THERMAL PAD, TO-3P, PK5 制造商:The Bergquist Company 功能描述:THERMAL PAD, TO-3P, PK5; Insulator Body Material:Silicone Elastomer; Thermal Conductivity:3.5W/m.K; Breakdown Voltage Vbr:4kV; Thickness:0.508mm; Volume Resistivity:100000Mohm-m; SVHC:No SVHC (19-Dec-2012); Electrical Property Ins /
2015-104 制造商:The Bergquist Company 功能描述:THERMAL PAD TO-3P 制造商:The Bergquist Company 功能描述:THERMAL PAD, TO-3P
201511 制造商:Phoenix Contact 功能描述:Misc Products