參數(shù)資料
型號: 101-1158
廠商: Rabbit Semiconductor
文件頁數(shù): 57/112頁
文件大?。?/td> 0K
描述: KIT DEVELOPMENT INT'L RCM4100
標(biāo)準(zhǔn)包裝: 1
系列: RabbitCore 4000
類型: MPU 模塊
適用于相關(guān)產(chǎn)品: RCM4100
所含物品: RabbitCore 模塊、開發(fā)板、交流適配器、纜線和 Dynamic C? 光盤
User’s Manual
45
5.2 Dynamic C Function Calls
5.2.1 Digital I/O
The RCM4100 series of modules was designed to interface with other systems, and so
there are no drivers written specifically for the I/O. The general Dynamic C read and write
functions allow you to customize the parallel I/O to meet your specific needs. For exam-
ple, use
WrPortI(PEDDR, &PEDDRShadow, 0x00);
to set all the Port E bits as inputs, or use
WrPortI(PEDDR, &PEDDRShadow, 0xFF);
to set all the Port E bits as outputs.
When using the auxiliary I/O bus on the Rabbit 4000 chip, add the line
#define PORTA_AUX_IO
// required to enable auxiliary I/O bus
to the beginning of any programs using the auxiliary I/O bus.
The sample programs in the Dynamic C SAMPLES/RCM4100 folder provide further
examples.
5.2.2 Serial Communication Drivers
Library files included with Dynamic C provide a full range of serial communications sup-
port. The RS232.LIB library provides a set of circular-buffer-based serial functions. The
PACKET.LIB
library provides packet-based serial functions where packets can be delimited
by the 9th bit, by transmission gaps, or with user-defined special characters. Both libraries
provide blocking functions, which do not return until they are finished transmitting or
receiving, and nonblocking functions, which must be called repeatedly until they are fin-
ished, allowing other functions to be performed between calls. For more information, see
the Dynamic C Function Reference Manual and Technical Note TN213, Rabbit Serial
Port Software.
5.2.3 SRAM Use
The RCM4100 series of modules has a battery-backed data SRAM and a program-execu-
tion SRAM. Dynamic C provides the protected keyword to identify variables that are to
be placed into the battery-backed SRAM. The compiler generates code that maintains two
copies of each protected variable in the battery-backed SRAM. The compiler also generates
a flag to indicate which copy of the protected variable is valid at the current time. This flag
is also stored in the battery-backed SRAM. When a protected variable is updated, the
“inactive” copy is modified, and is made “active” only when the update is 100% complete.
This assures the integrity of the data in case a reset or a power failure occurs during the
update process. At power-on the application program uses the active copy of the variable
pointed to by its associated flag.
相關(guān)PDF資料
PDF描述
101-0530 KIT TOOL FOR LP3500 INTL
0210390926 CABLE JUMPER 1MM .102M 23POS
ECM18DTBS CONN EDGECARD 36POS R/A .156 SLD
LFXP10C-L-EV BOARD EVAL LATTICEXP10C STD
ECM18DTAS CONN EDGECARD 36POS R/A .156 SLD
相關(guān)代理商/技術(shù)參數(shù)
參數(shù)描述
101-1159 功能描述:射頻開發(fā)工具 WIRELESS CONTROL APP KIT RoHS:否 制造商:Taiyo Yuden 產(chǎn)品:Wireless Modules 類型:Wireless Audio 工具用于評估:WYSAAVDX7 頻率: 工作電源電壓:3.4 V to 5.5 V
10-1116.1229 制造商:EAO International 功能描述:LAMP T5.5 36V 37MA
1011160000 功能描述:TERM BLK W/LED 300 10A PA OR RoHS:是 類別:連接器,互連式 >> 接線座 - Din 軌道,通道 系列:W 標(biāo)準(zhǔn)包裝:10 系列:W 類型:饋通式 斷開類型:- 位置數(shù):4 級別數(shù)目:2 端子 - 寬度:5.1mm 端接類型:螺釘 電流 - IEC:24A 電壓 - IEC:400V 電流 - UL:20A 電壓 - UL:300V 線規(guī)或范圍 - AWG:12-30 AWG 線規(guī)或范圍 - mm²:0.5-4mm² 特點(diǎn):包括端接塊標(biāo)記 顏色:淺褐 保險(xiǎn)絲類型:- 材料 - 絕緣體:熱塑塑膠,Wemid 材料可燃性額定值:UL94 V-0 剝線長度:10mm 其它名稱:WDK2.5/10
10111616001L 制造商:FCI 功能描述:HIGH POWER CARD EDGE VERTICAL TYPE CONNE
10111616-001LF 功能描述:標(biāo)準(zhǔn)卡緣連接器 52P22S HPCE VERT REC RoHS:否 制造商:FCI 系列: 產(chǎn)品類型: 位置/觸點(diǎn)數(shù)量: 安裝角: 電路板厚度: 安裝風(fēng)格: 節(jié)距: 外殼材料: 觸點(diǎn)材料: 觸點(diǎn)電鍍: