参数资料
型号: 101-1156
厂商: Rabbit Semiconductor
文件页数: 86/134页
文件大小: 0K
描述: KIT DEVELOPMENT INT'L RCM4200
标准包装: 1
系列: RabbitCore 4000
类型: MPU 模块
适用于相关产品: RCM4200
所含物品: RabbitCore 模块、开发板、交流适配器、缆线和 Dynamic C? 光盘
User’s Manual
49
5.2 Dynamic C Function Calls
5.2.1 Digital I/O
The RCM4200 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/RCM4200 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 User Block
Certain function calls involve reading and storing calibration constants from/to the simulated
EEPROM in flash memory located at the top 2K of the reserved user block memory area
(3800–39FF). This leaves the address range 0–37FF in the user block available for your
application.
These address ranges may change in the future in response to the volatility in the flash
memory market, in particular sector size. The sample program USERBLOCK_INFO.C in
the Dynamic C SAMPLES\USERBLOCK folder can be used to determine the version of the
ID block, the size of the ID and user blocks, whether or not the ID/user blocks are mir-
rored, the total amount of flash memory used by the ID and user blocks, and the area of the
user block available for your application.
The USERBLOCK_CLEAR.C sample program shows you how to clear and write the con-
tents of the user block that you are using in your application (the calibration constants in
the reserved area and the ID block are protected).
相关PDF资料
PDF描述
101-0533 KIT DEV RABBIT3000/RCM3100
101-1158 KIT DEVELOPMENT INT'L RCM4100
101-0530 KIT TOOL FOR LP3500 INTL
0210390926 CABLE JUMPER 1MM .102M 23POS
ECM18DTBS CONN EDGECARD 36POS R/A .156 SLD
相关代理商/技术参数
参数描述
101-115-6110-EV 功能描述:编码器 1mA PUSH 220gf 12 PULSE 24 DETENTS RoHS:否 制造商:Avago Technologies 产品:Optical Encoders 类型:Absolute 每转脉冲: 制动器数量: 通道数量:2 安装风格:Through Hole 端接类型:Solder Pin 输出: 轴类型: 带开关: 电源电压:5 V 工作温度范围:- 40 C to + 115 C
101-115-6191-EV 功能描述:编码器 1mA PUSH 220gf 12 PULSE 24 DETENTS RoHS:否 制造商:Avago Technologies 产品:Optical Encoders 类型:Absolute 每转脉冲: 制动器数量: 通道数量:2 安装风格:Through Hole 端接类型:Solder Pin 输出: 轴类型: 带开关: 电源电压:5 V 工作温度范围:- 40 C to + 115 C
101-1157 功能描述:开发板和工具包 - 其他处理器 RCM4100 Analog Dev Kit (US) RoHS:否 制造商:Freescale Semiconductor 产品:Development Systems 工具用于评估:P3041 核心:e500mc 接口类型:I2C, SPI, USB 工作电源电压:
101-1158 功能描述:开发板和工具包 - 其他处理器 RCM4100 Analog Dev Kit (Intl) RoHS:否 制造商:Freescale Semiconductor 产品:Development Systems 工具用于评估:P3041 核心:e500mc 接口类型:I2C, SPI, USB 工作电源电压:
101-1159 功能描述:射频开发工具 WIRELESS CONTROL APP KIT RoHS:否 制造商:Taiyo Yuden 产品:Wireless Modules 类型:Wireless Audio 工具用于评估:WYSAAVDX7 频率: 工作电源电压:3.4 V to 5.5 V