參數(shù)資料
型號: 101-1218
廠商: Rabbit Semiconductor
文件頁數(shù): 80/130頁
文件大?。?/td> 0K
描述: KIT APPLCTN RABBITCORE RCM4010
標準包裝: 1
系列: RabbitCore®
主要目的: *
嵌入式: *
已用 IC / 零件: RCM4010
主要屬性: *
次要屬性: *
已供物品: 板,模塊,250GB 網絡驅動器,線纜,CD,電源
其它名稱: 316-1156
User’s Manual
47
5.2 Dynamic C Function Calls
5.2.1 Digital I/O
The RCM4000 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 example, 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/RCM4000 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 Rabbit’s Technical Note TN213, Rabbit
Serial Port Software.
5.2.3 SRAM Use
The RCM4000 module has a battery-backed data SRAM. Dynamic C provides the
protected
keyword to identify variables that are to be placed into the battery-backed
SRAM. Such a variable is protected against loss in case of a power failure or other system
reset because the compiler generates code that creates a backup copy of a protected variable
before the variable is modified. If the system resets while the protected variable is being
modified, the variable's value can be restored when the system restarts. This operation
requires battery-backed RAM and the main system clock. If you are using the 32 kHz
clock you must switch back to the main system clock to use protected variables because
the atomicity of the write cannot be ensured when the 32 kHz clock is being used.
相關PDF資料
PDF描述
0982660995 CBL 29POS 0.5MM JMPR TYPE A 5"
1812R-103J INDUCTOR UNSHIELDED 10UH SMD
0982660994 CBL 29POS 0.5MM JMPR TYPE D 5"
1812R-102J INDUCTOR UNSHIELDED 1.0UH SMD
CDMC6D28NP-1R0MC POWER INDUCTOR 1.0UH SHIELD SMD
相關代理商/技術參數(shù)
參數(shù)描述
10-11-2183 功能描述:集管和線殼 18P CRIMP RAMP HSNG RoHS:否 產品種類:1.0MM Rectangular Connectors 產品類型:Headers - Pin Strip 系列:DF50 觸點類型:Pin (Male) 節(jié)距:1 mm 位置/觸點數(shù)量:16 排數(shù):1 安裝風格:SMD/SMT 安裝角:Right 端接類型:Solder 外殼材料:Liquid Crystal Polymer (LCP) 觸點材料:Brass 觸點電鍍:Gold 制造商:Hirose Connector
10-11-2184 制造商:MOLEX 制造商全稱:Molex Electronics Ltd. 功能描述:2.54mm (.100") Pitch KK?? Crimp Terminal Housing, High Pressure, 1 Circuits
10-11-2193 功能描述:集管和線殼 KK 100 Housing Crimp Ramp 19 Ckt RoHS:否 產品種類:1.0MM Rectangular Connectors 產品類型:Headers - Pin Strip 系列:DF50 觸點類型:Pin (Male) 節(jié)距:1 mm 位置/觸點數(shù)量:16 排數(shù):1 安裝風格:SMD/SMT 安裝角:Right 端接類型:Solder 外殼材料:Liquid Crystal Polymer (LCP) 觸點材料:Brass 觸點電鍍:Gold 制造商:Hirose Connector
10-11-2194 功能描述:集管和線殼 KK 100 Housing Crimp Pol Ramp 19 Ckt RoHS:否 產品種類:1.0MM Rectangular Connectors 產品類型:Headers - Pin Strip 系列:DF50 觸點類型:Pin (Male) 節(jié)距:1 mm 位置/觸點數(shù)量:16 排數(shù):1 安裝風格:SMD/SMT 安裝角:Right 端接類型:Solder 外殼材料:Liquid Crystal Polymer (LCP) 觸點材料:Brass 觸點電鍍:Gold 制造商:Hirose Connector
10-11-2203 功能描述:集管和線殼 20 CKT CRIMP RAMP HOUSING RoHS:否 產品種類:1.0MM Rectangular Connectors 產品類型:Headers - Pin Strip 系列:DF50 觸點類型:Pin (Male) 節(jié)距:1 mm 位置/觸點數(shù)量:16 排數(shù):1 安裝風格:SMD/SMT 安裝角:Right 端接類型:Solder 外殼材料:Liquid Crystal Polymer (LCP) 觸點材料:Brass 觸點電鍍:Gold 制造商:Hirose Connector