參數(shù)資料
型號: 20-101-1094
廠商: Rabbit Semiconductor
文件頁數(shù): 80/130頁
文件大小: 0K
描述: MCU RCM4000 RABBITCORE
標(biāo)準(zhǔn)包裝: 1
系列: RabbitCore®
模塊/板類型: MPU 核心模塊
適用于相關(guān)產(chǎn)品: RCM4000
產(chǎn)品目錄頁面: 619 (CN2011-ZH PDF)
其它名稱: 316-1139
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.
相關(guān)PDF資料
PDF描述
345-030-540-802 CONN CARDEDGE 30POS .100 X .200
305-030-500-202 CONN CARDEDGE 30POS .156 X .140
243-002-542-101 MINI CARD EDGE 0.2" - 2PIN 1ROW
20-101-1217 MODULE RABBITCORE RCM3229
20-101-0494 MODULE RABBITCORE RCM2250
相關(guān)代理商/技術(shù)參數(shù)
參數(shù)描述
20-101-1095 功能描述:模塊化系統(tǒng) - SOM BL2600 XD HOT SWAP 10/100 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-1104 功能描述:處理器配件 USB xd reader RoHS:否 制造商:Olimex Ltd. 產(chǎn)品:Cable 用于:
20-101-1105 功能描述:模塊化系統(tǒng) - SOM RCM4100 RabbitCore Module 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-1110 功能描述:界面開發(fā)工具 Rio Protyping Board RoHS:否 制造商:Bourns 產(chǎn)品:Evaluation Boards 類型:RS-485 工具用于評估:ADM3485E 接口類型:RS-485 工作電源電壓:3.3 V
20-101-1112 功能描述:模塊化系統(tǒng) - SOM RCM4010 Core Module 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