参数资料
型号: 101-1218
厂商: Rabbit Semiconductor
文件页数: 80/130页
文件大小: 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
相关代理商/技术参数
参数描述
10-11-2183 功能描述:集管和线壳 18P CRIMP RAMP HSNG RoHS:否 产品种类:1.0MM Rectangular Connectors 产品类型:Headers - Pin Strip 系列:DF50 触点类型:Pin (Male) 节距:1 mm 位置/触点数量:16 排数: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) 节距:1 mm 位置/触点数量:16 排数: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) 节距:1 mm 位置/触点数量:16 排数: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) 节距:1 mm 位置/触点数量:16 排数:1 安装风格:SMD/SMT 安装角:Right 端接类型:Solder 外壳材料:Liquid Crystal Polymer (LCP) 触点材料:Brass 触点电镀:Gold 制造商:Hirose Connector