参数资料
型号: 101-1069
厂商: Rabbit Semiconductor
文件页数: 102/160页
文件大小: 0K
描述: KIT DEVELOPMENT RCM3305 US
标准包装: 1
系列: RabbitCore 3000
类型: MPU 模块
适用于相关产品: RCM3305
所含物品: RabbitCore 模块、开发板、交流适配器、缆线和 Dynamic C? 光盘
其它名称: 316-1129
40
RabbitCore RCM3305/RCM3315
5.2 Dynamic C Functions
5.2.1 Digital I/O
The RCM3305/RCM3315 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 func-
tions 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 external I/O bus on the Rabbit 3000 chip, add the line
#define PORTA_AUX_IO
// required to enable external I/O bus
to the beginning of any programs using the external I/O bus.
The sample programs in the Dynamic C SAMPLES/RCM3300 folder provide further
examples.
5.2.2 SRAM Use
The RCM3305/RCM3315 have a battery-backed data SRAM and a program-execution
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 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.
The sample code below shows how a protected variable is defined and how its value can
be restored.
protected nf_device nandFlash;
int main() {
...
_sysIsSoftReset();
// restore any protected variables
The bbram keyword may also be used instead if there is a need to store a variable in bat-
tery-backed SRAM without affecting the performance of the application program. Data
integrity is not assured when a reset or power failure occurs during the update process.
Additional information on bbram and protected variables is available in the Dynamic C
User’s Manual.
相关PDF资料
PDF描述
V300C28C75BL3 CONVERTER MOD DC/DC 28V 75W
RYM08DRMT-S288 CONN EDGECARD 16POS .156 EXTEND
V300C28C75B3 CONVERTER MOD DC/DC 28V 75W
AIUR-06-181K INDUCTOR POWER 180UH 10% T/H
101-1226 RCM3900 DEV KIT UNIVERSAL
相关代理商/技术参数
参数描述
1011-07 功能描述:保险丝夹 MAGNUM TERM + SCREW RoHS:否 制造商:Schurter 产品:Fuse Clips 类型:Fuse Clip 用于:ASO 10.3 x 38 mm
101-1070 功能描述:KIT DEV RABBIT RCM3305 INTL RoHS:否 类别:编程器,开发系统 >> 通用嵌入式开发板和套件(MCU、DSP、FPGA、CPLD等) 系列:RabbitCore 3000 标准包装:1 系列:PICDEM™ 类型:MCU 适用于相关产品:PIC10F206,PIC16F690,PIC16F819 所含物品:板,线缆,元件,CD,PICkit 编程器 产品目录页面:659 (CN2011-ZH PDF)
1011072129 制造商:OMRON AUTOMATION AND SAFETY 功能描述:MICRON ADAPTOR PLATE
10-110-721-29 制造商:OMRON AUTOMATION AND SAFETY 功能描述:MICRON ADAPTOR PLATE 制造商:Omron Electronic Components LLC 功能描述:Micron Adaptor Plate 制造商:OMRON INDUSTRIAL AUTOMATION 功能描述:MICRON ADAPTOR PLATE
101-107-283 制造商:NSW 功能描述: