参数资料
型号: 101-1102
厂商: Rabbit Semiconductor
文件页数: 57/112页
文件大小: 0K
描述: KIT DEV RABBIT RCM4100 INTL
标准包装: 1
系列: RabbitCore 4000
类型: MPU 模块
适用于相关产品: RCM4100
所含物品: RabbitCore 模块,开发板,缆线和 Dynamic C? CD-Rom
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描述
RCC17DRXN CONN EDGECARD 34POS DIP .100 SLD
EVAL-AD5425EBZ BOARD EVALUATION FOR AD5425
VI-B5K-EY CONVERTER MOD DC/DC 40V 50W
V375C2E50BL3 CONVERTER MOD DC/DC 2V 50W
VI-B4R-EY CONVERTER MOD DC/DC 7.5V 50W
相关代理商/技术参数
参数描述
101-1104 功能描述:处理器配件 USB xd READER RoHS:否 制造商:Olimex Ltd. 产品:Cable 用于:
101110-7 制造商:n/a 功能描述:Power SCR
101-1108 功能描述:可编程逻辑 IC 开发工具 Rabbit Embedded PLC APP KIT US RoHS:否 制造商:Altera Corporation 产品:Development Kits 类型:FPGA 工具用于评估:5CEFA7F3 接口类型: 工作电源电压:
101-1109 功能描述:KIT EMBEDDED PLC APPLICATION RoHS:否 类别:编程器,开发系统 >> 通用嵌入式开发板和套件(MCU、DSP、FPGA、CPLD等) 系列:Coyote™ 产品培训模块:Blackfin® Processor Core Architecture Overview Blackfin® Device Drivers Blackfin® Optimizations for Performance and Power Consumption Blackfin® System Services 特色产品:Blackfin? BF50x Series Processors 标准包装:1 系列:Blackfin® 类型:DSP 适用于相关产品:ADSP-BF548 所含物品:板,软件,4x4 键盘,光学拨轮,QVGA 触摸屏 LCD 和 40G 硬盘 配用:ADZS-BFBLUET-EZEXT-ND - EZ-EXTENDER DAUGHTERBOARDADZS-BFLLCD-EZEXT-ND - BOARD EXT LANDSCAP LCD INTERFACE 相关产品:ADSP-BF542BBCZ-4A-ND - IC DSP 16BIT 400MHZ 400CSBGAADSP-BF544MBBCZ-5M-ND - IC DSP 16BIT 533MHZ MDDR 400CBGAADSP-BF542MBBCZ-5M-ND - IC DSP 16BIT 533MHZ MDDR 400CBGAADSP-BF542KBCZ-6A-ND - IC DSP 16BIT 600MHZ 400CSBGAADSP-BF547MBBCZ-5M-ND - IC DSP 16BIT 533MHZ MDDR 400CBGAADSP-BF548BBCZ-5A-ND - IC DSP 16BIT 533MHZ 400CSBGAADSP-BF547BBCZ-5A-ND - IC DSP 16BIT 533MHZ 400CSBGAADSP-BF544BBCZ-5A-ND - IC DSP 16BIT 533MHZ 400CSBGAADSP-BF542BBCZ-5A-ND - IC DSP 16BIT 533MHZ 400CSBGA
10-1110B 制造商:Datak Corporation 功能描述: