參數(shù)資料
型號: 20-101-1105
廠商: Rabbit Semiconductor
文件頁數(shù): 57/112頁
文件大?。?/td> 0K
描述: MODULE RCM4100 RABBITCORE
標準包裝: 1
系列: RabbitCore®
模塊/板類型: MPU 核心模塊
適用于相關產品: RCM4100
其它名稱: 316-1121
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描述
20-101-1028 MODULE RABBITCORE RCM3750
046232104015800+ CONN FFC/FPC 4POS 1MM VERT SMD
20-101-0454 MODULE RABBITCORE RCM2200
20-101-0405 MODULE RABBITCORE RCM2010
20-101-1093 RCM4110 RABBITCORE
相關代理商/技術參數(shù)
參數(shù)描述
20-101-1110 功能描述:界面開發(fā)工具 Rio Protyping Board RoHS:否 制造商:Bourns 產品: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
20-101-1114 功能描述:開發(fā)板和工具包 - 其他處理器 RCM4010 Kit RoHS:否 制造商:Freescale Semiconductor 產品:Development Systems 工具用于評估:P3041 核心:e500mc 接口類型:I2C, SPI, USB 工作電源電壓:
20-101-1131 功能描述:模塊化系統(tǒng) - SOM RCM4200 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-1132 功能描述:模塊化系統(tǒng) - SOM RCM4210 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