參數(shù)資料
型號: 101-1226
廠商: Rabbit Semiconductor
文件頁數(shù): 110/168頁
文件大?。?/td> 0K
描述: RCM3900 DEV KIT UNIVERSAL
標準包裝: 1
系列: RabbitCore 3900
類型: MPU 模塊
適用于相關(guān)產(chǎn)品: RCM3900
所含物品: RabbitCore 模塊、開發(fā)板、交流適配器、纜線和 Dynamic C? 光盤
其它名稱: 316-1137
RabbitCore RCM3900 User’s Manual
46
5.2 Dynamic C Functions
5.2.1 Digital I/O
The RCM3900 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 auxiliary I/O bus
to the beginning of any programs using the auxiliary I/O bus.
The sample programs in the Dynamic C SAMPLES/RCM3900 folder provide further
examples.
5.2.2 SRAM Use
The RCM3900 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 be used instead if there is a need to store a variable in battery-
backed SRAM without affecting the performance of the application program. Data integ-
rity 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描述
AIUR-10-102K INDUCTOR POWER 1000UH 10% T/H
AIUR-06-470K INDUCTOR POWER 47UH 10% T/H
V300C28C75B2 CONVERTER MOD DC/DC 28V 75W
AT91SAM9X25-EK KIT EVAL FOR AT91SAM9G25
AT91SAM9G25-EK KIT EVAL FOR AT91SAM9G25
相關(guān)代理商/技術(shù)參數(shù)
參數(shù)描述
10-11-2263 功能描述:集管和線殼 KK 100 Housing Crimp Ramp 26 Ckt RoHS:否 產(chǎn)品種類:1.0MM Rectangular Connectors 產(chǎn)品類型:Headers - Pin Strip 系列:DF50 觸點類型:Pin (Male) 節(jié)距:1 mm 位置/觸點數(shù)量:16 排數(shù):1 安裝風格:SMD/SMT 安裝角:Right 端接類型:Solder 外殼材料:Liquid Crystal Polymer (LCP) 觸點材料:Brass 觸點電鍍:Gold 制造商:Hirose Connector
10-11-2264 制造商:MOLEX 制造商全稱:Molex Electronics Ltd. 功能描述:2.54mm (.100") Pitch KK?? Crimp Terminal Housing, High Pressure, 1 Circuits
10-11-2273 制造商:MOLEX 制造商全稱:Molex Electronics Ltd. 功能描述:2.54mm (.100") Pitch KK?? Crimp Terminal Housing, High Pressure, 1 Circuits
10-11-2274 功能描述:集管和線殼 KK 100 Housing Crimp Pol Ramp 27 Ckt RoHS:否 產(chǎn)品種類:1.0MM Rectangular Connectors 產(chǎn)品類型:Headers - Pin Strip 系列:DF50 觸點類型:Pin (Male) 節(jié)距:1 mm 位置/觸點數(shù)量:16 排數(shù):1 安裝風格:SMD/SMT 安裝角:Right 端接類型:Solder 外殼材料:Liquid Crystal Polymer (LCP) 觸點材料:Brass 觸點電鍍:Gold 制造商:Hirose Connector
10-11-2283 功能描述:集管和線殼 28P HI PRESSURE HSG RoHS:否 產(chǎn)品種類:1.0MM Rectangular Connectors 產(chǎn)品類型:Headers - Pin Strip 系列:DF50 觸點類型:Pin (Male) 節(jié)距:1 mm 位置/觸點數(shù)量:16 排數(shù):1 安裝風格:SMD/SMT 安裝角:Right 端接類型:Solder 外殼材料:Liquid Crystal Polymer (LCP) 觸點材料:Brass 觸點電鍍:Gold 制造商:Hirose Connector