參數(shù)資料
型號(hào): 101-0552
廠商: Rabbit Semiconductor
文件頁數(shù): 79/138頁
文件大?。?/td> 0K
描述: KIT DEV RABBITCORE/RCM3200
標(biāo)準(zhǔn)包裝: 1
系列: RabbitCore 3000
類型: MPU 模塊
適用于相關(guān)產(chǎn)品: RCM3200
所含物品: RabbitCore 模塊、開發(fā)板、交流適配器、纜線和 Dynamic C? 光盤
產(chǎn)品目錄頁面: 620 (CN2011-ZH PDF)
其它名稱: 316-1023
User’s Manual
39
5.2 Dynamic C Function Calls
5.2.1 Digital I/O
The RCM3200 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 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/RCM3200 directory provide further
examples.
5.2.2 SRAM Use
The RCM3200 has 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.
相關(guān)PDF資料
PDF描述
VI-JTM-EZ CONVERTER MOD DC/DC 10V 25W
VI-JTJ-EZ CONVERTER MOD DC/DC 36V 25W
REC3-4805DRWZ/H4/C CONV DC/DC 3W 18-72VIN +/-05VOUT
REC3-4805DRWZ/H4/A CONV DC/DC 3W 18-72VIN +/-05VOUT
REC3-243.3DRWZ/H6/C CONV DC/DC 3W 9-36VIN +/-3.3VOUT
相關(guān)代理商/技術(shù)參數(shù)
參數(shù)描述
10-105520-08P 制造商:Amphenol Aerospace 功能描述:PLUG
10-105520-08S 制造商:Amphenol Aerospace 功能描述:PLUG
10-105520-24P 制造商:Amphenol Aerospace 功能描述:PLUG
10-105520-24S 制造商:Amphenol Aerospace 功能描述:PLUG
101-0553 功能描述:KIT DEV RABBIT RCM3200 INTL RoHS:否 類別:編程器,開發(fā)系統(tǒng) >> 通用嵌入式開發(fā)板和套件(MCU、DSP、FPGA、CPLD等) 系列:RabbitCore 3000 標(biāo)準(zhǔn)包裝:1 系列:PICDEM™ 類型:MCU 適用于相關(guān)產(chǎn)品:PIC10F206,PIC16F690,PIC16F819 所含物品:板,線纜,元件,CD,PICkit 編程器 產(chǎn)品目錄頁面:659 (CN2011-ZH PDF)