参数资料
型号: 20-101-1215
厂商: Rabbit Semiconductor
文件页数: 80/130页
文件大小: 0K
描述: MCU RCM4050 RABBITCORE
标准包装: 1
系列: RabbitCore®
模块/板类型: MPU 核心模块
适用于相关产品: RCM4050
产品目录页面: 619 (CN2011-ZH PDF)
其它名称: 316-1145
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描述
20-101-1246 CORE MODULE RCM5400W
20-101-1260 BL5S220 SBC (RCM5400-BASED)
20-101-1319 MINCORE MODULE RCM6710
20-668-0024 IC CPU RABBIT4000 128-LQFP
5AGXMB3G6F31C6NES IC ARRIA V FPGA 362K 896FBGA
相关代理商/技术参数
参数描述
20-101-1217 功能描述:模块化系统 - SOM RCM3229 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-1220 功能描述:单板计算机 BL4S200 (RCM4310-based) RoHS:否 制造商:Ampro By ADLINK 外观尺寸:EPIC 处理器类型:Intel Atom D510 频率:1.66 GHz 存储容量:2 GB (max) 存储类型:DDR2, L2 Cache 接口类型:Ethernet, PS/2, SATA, Serial, USB 工作电源电压:5 V, 12 V 功耗:13 W 最大工作温度:+ 70 C 尺寸:165.1 mm x 114.3 mm
20-101-1221 功能描述:射频模块 RCM4400W Japan Telec Certfied RoHS:否 制造商:Linx Technologies 产品:Transceiver Modules 频带:902 MHz to 928 MHz 输出功率:- 15.5 dBm to + 12.5 dBm 接口类型:UART 工作电源电压:- 0.3 VDC to + 5.5 VDC 传输供电电流:38.1 mA 接收供电电流:22.7 mA 天线连接器类型:U.FL 最大工作温度:+ 85 C 尺寸:1.15 mm x 0.63 mm x 0.131 mm
20-101-1235 功能描述:模块化系统 - SOM RCM5700 Minicore 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-1236 功能描述:界面开发工具 INTERFACE BOARD RCM56/57XX RoHS:否 制造商:Bourns 产品:Evaluation Boards 类型:RS-485 工具用于评估:ADM3485E 接口类型:RS-485 工作电源电压:3.3 V