參數(shù)資料
型號(hào): 101-1055
廠商: Rabbit Semiconductor
文件頁數(shù): 111/164頁
文件大?。?/td> 0K
描述: MODULE RABBIT CORE RCM3375
標(biāo)準(zhǔn)包裝: 1
系列: RabbitCore®
模塊/板類型: MPU 核心模塊
適用于相關(guān)產(chǎn)品: RCM3375
44
RabbitCore RCM3365/RCM3375
5.2 Dynamic C Functions
5.2.1 Digital I/O
The RCM3365/RCM3375 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/RCM3360 folder provide further
examples.
5.2.2 SRAM Use
The RCM3365/RCM3375 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 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.
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描述
046232104103800 CONN FFC/FPC 4POS 1MM R/A SMD
046232106015800 CONN FFC/FPC 6POS 1MM VERT SMD
19FMN-BMT-A-TF CONN FMN HSNG 19POS SNGL NOR SMD
101-0412 INTERFACE PROG 12KEY DISP OP6700
14FMN-BMT-A-TF CONN FMN HSNG 14POS SNGL NOR SMD
相關(guān)代理商/技術(shù)參數(shù)
參數(shù)描述
10110565 制造商:Pentair Technical Products / Hoffman 功能描述:FILING DESK TABLE RAL7035 制造商:PENTAIR TECNICAL PRODCUTS 功能描述:FILING DESK TABLE RAL7035
101-106 功能描述:CONN SOCKET IDC 10POS W/KEY GOLD RoHS:是 類別:連接器,互連式 >> 矩形 - 自由懸掛,面板安裝 系列:101 3D 型號(hào):640430-4.pdf 標(biāo)準(zhǔn)包裝:500 系列:MTA-156 連接器類型:插座 觸點(diǎn)類型::母形插口 位置數(shù):4 間距:0.156"(3.96mm) 行數(shù):1 行間距:- 安裝類型:自由懸掛 緊固型:鎖銷滑道 電纜端接:IDC 導(dǎo)線類型:離散式或帶狀纜線 線規(guī):26 AWG 特點(diǎn):閉端 觸點(diǎn)表面涂層:錫 - 鉛 觸點(diǎn)涂層厚度:80µin(2.03µm) 顏色:藍(lán) 包裝:散裝 配套產(chǎn)品:3-647497-4-ND - CONN PLUG 4POS IDC 22AWG .1563-647481-4-ND - CONN PLUG 4POS IDC 18AWG .1563-647476-4-ND - CONN PLUG 4POS IDC 18AWG .1563-644814-4-ND - CONN PLUG 4POS IDC 22AWG .1563-644812-4-ND - CONN PLUG 4POS IDC 18AWG .1563-644809-4-ND - CONN PLUG 4POS IDC 22AWG .1563-644807-4-ND - CONN PLUG 4POS IDC 18AWG .1563-643995-4-ND - CONN PLUG 4POS IDC 22AWG .1563-641526-4-ND - CONN PLUG 4POS IDC 26AWG .1563-641525-4-ND - CONN PLUG 4POS IDC 24AWG .156更多... 相關(guān)產(chǎn)品:A19762-ND - CONN DUST COVER 4POS CLOSEDA19742-ND - CONN STRAIN RELIEF COVER 4POSA1999-ND - HEAD ASSEM TOOL FOR MTA-156 RECP 其它名稱:640430-4-NDA23965
10-1106.1369 制造商:EAO International 功能描述:LAMP INCANDESCENT SLIDE 6V 制造商:EAO International 功能描述:LAMP, INCANDESCENT, SLIDE, 6V 制造商:EAO International 功能描述:LAMP, INCANDESCENT, SLIDE, 6V; Supply Voltage:6V; Lamp Base Type:Telephone Slide; Bulb Size:T-5 1/2; MSCP:0.48; Average Bulb Life:5000h; Current Rating:200mA; Forward Voltage:6V; Lead Style:Telephone Slide, T-5.5; Lens Style:Tubular ;RoHS Compliant: Yes 制造商:EAO International 功能描述:T-5.5 Slide Incandescent Lamp
1011060000 制造商:Weidmuller 功能描述:WSI 6 PA OR -EA - Bulk 制造商:Weidmuller 功能描述:TERMINAL WSI 6 ORANGE
101106100SP 制造商:Pentair Technical Products / Hoffman 功能描述:KIT CNTRL PNL NARROW MCLEAN