参数资料
型号: 20-101-1154
厂商: Rabbit Semiconductor
文件页数: 57/112页
文件大小: 0K
描述: MODULE RCM4120 RABBITCORE
标准包装: 1
系列: RabbitCore®
模块/板类型: MPU 核心模块
适用于相关产品: RCM4120
其它名称: 316-1122
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.
相关PDF资料
PDF描述
20-101-1197 MODULE RABBITCORE RCM3910 ROHS
20-101-1215 MCU RCM4050 RABBITCORE
20-101-1246 CORE MODULE RCM5400W
20-101-1260 BL5S220 SBC (RCM5400-BASED)
20-101-1319 MINCORE MODULE RCM6710
相关代理商/技术参数
参数描述
20-101-1170 功能描述:Zigbee/802.15.4模块 RCM4510W CORE MODULE RoHS:否 制造商:Digi International 频带:902 MHz to 928 MHz 视线范围: 数据速率: 灵敏度: 工作电源电压:2.4 V to 3.6 V 传输供电电流:215 mA 接收供电电流:26 mA 输出功率:250 mW 天线连接器类型:Wire 最大工作温度:+ 85 C 尺寸:32.94 mm x 22 mm x 2.03 mm
20-101-1179 功能描述:模块化系统 - SOM RCM3209 RABBITCORE RoHS:否 制造商:Digi International 外观尺寸:ConnectCore 9P 处理器类型:ARM926EJ-S 频率:150 MHz 存储容量:8 MB, 16 MB 存储类型:NOR Flash, SDRAM 接口类型:I2C, SPI, UART 工作电源电压:3.3 V 最大工作温度:+ 85 C 尺寸:1.97 in x 1.97 in x 6.1 in
20-101-1183 功能描述:程序设计器配件 USB PROGRAM CABLE RoHS:否 制造商:Lattice 产品:ispDOWNLOAD Cables 用于:In-system Programming
20-101-1184 功能描述:模块化系统 - SOM IC CPU RABBIT 2000 (2 pack) RoHS:否 制造商:Digi International 外观尺寸:ConnectCore 9P 处理器类型:ARM926EJ-S 频率:150 MHz 存储容量:8 MB, 16 MB 存储类型:NOR Flash, SDRAM 接口类型:I2C, SPI, UART 工作电源电压:3.3 V 最大工作温度:+ 85 C 尺寸:1.97 in x 1.97 in x 6.1 in
20-101-1185 功能描述:微处理器 - MPU IC CPU RABBIT 3000A (2 pack) RoHS:否 制造商:Atmel 处理器系列:SAMA5D31 核心:ARM Cortex A5 数据总线宽度:32 bit 最大时钟频率:536 MHz 程序存储器大小:32 KB 数据 RAM 大小:128 KB 接口类型:CAN, Ethernet, LIN, SPI,TWI, UART, USB 工作电源电压:1.8 V to 3.3 V 最大工作温度:+ 85 C 安装风格:SMD/SMT 封装 / 箱体:FBGA-324