參數(shù)資料
型號: 101-0678
廠商: Rabbit Semiconductor
文件頁數(shù): 91/136頁
文件大?。?/td> 0K
描述: KIT DEV RABBITCORE/RCM3600
標準包裝: 1
系列: RabbitCore 3000
類型: MPU 模塊
適用于相關(guān)產(chǎn)品: RCM3600
所含物品: RabbitCore 模塊、開發(fā)板、交流適配器、纜線和 Dynamic C? 光盤
其它名稱: 316-1037
52
RabbitCore RCM3600
5.2.3 Digital I/O
The RCM3600 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 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\RCM3600 folder provide further examples.
This function is used to poll the real-time clock until the specified timeout occurs. The RCM3600 will
operate in a low-power mode with a clock speed of 2.048 kHz until the timeout occurs. Once the timeout
has ended, the RCM3600 will resume operating at 22.1 MHz. The analog device oscillator will be dis-
abled until the timeout occurs and will then be enabled as well.
PARAMETERS
timeout
is the length of the timeout in seconds
RETURN VALUE
None.
This function is used to poll a digital input for a certain value or until the specified timeout occurs. The
RCM3600 will operate in a low-power mode with a clock speed of 2.048 kHz until the correct bit is
received or the timeout occurs. Once this happens, the RCM3600 will resume operating at 22.1 MHz.
The analog device oscillator will be disabled until the timeout occurs and will then be enabled as well.
PARAMETERS
dataport
is the input port data register corresponding to the channel to poll (e.g., PADR)
portbit
is the input port bit to poll
value
is the input value (0 or 1) to receive
timeout
is the length of the timeout in seconds if an input value is not received on the specified chan-
nel; enter 0 for no timeout
RETURN VALUE
None.
void timedAlert(unsigned long timeout);
void digInAlert(int dataport, int portbit,
int value, unsigned long timeout);
相關(guān)PDF資料
PDF描述
EVAL-AD5443-DBRDZ BOARD EVAL CARD CLINUX/STAMP
ADR291GRUZ-REEL7 IC VREF SERIES PREC 2.5V 8-TSSOP
REF195GRUZ IC VREF SERIES PREC 5V 8-TSSOP
V24C5E125B2 CONVERTER MOD DC/DC 5V 125W
AP2152AMPG-13 IC PWR SW USB 2CH 0.5A 8-MSOP
相關(guān)代理商/技術(shù)參數(shù)
參數(shù)描述
101-0679 功能描述:開發(fā)板和工具包 - 其他處理器 RCM3600 DEVKIT Univr RoHS:否 制造商:Freescale Semiconductor 產(chǎn)品:Development Systems 工具用于評估:P3041 核心:e500mc 接口類型:I2C, SPI, USB 工作電源電壓:
101068 制造商:Weidmuller 功能描述:Conn Modular Terminal Blocks 1 POS Screw ST 25A
101-0680 功能描述:開發(fā)板和工具包 - 其他處理器 RCM3700 DEV KIT RoHS:否 制造商:Freescale Semiconductor 產(chǎn)品:Development Systems 工具用于評估:P3041 核心:e500mc 接口類型:I2C, SPI, USB 工作電源電壓:
101068-000 功能描述:觸點探頭 SEMI-COND PROBE QUOTE REQUIRED RoHS:否 制造商:IDI 類型:Probes 尖端類型:Spherical Radius 長度:8.26 mm 電流額定值:10 A 彈力:2.3 oz 行程:1.52 mm 系列:101050
1010680000 功能描述:TERM BLOCK DIN 10X3 BSBR WM BU RoHS:是 類別:連接器,互連式 >> 接線板 - 專用 系列:W 標準包裝:100 系列:Z 類型:End Terminal 安裝類型:直接安裝 位置數(shù):2 級別數(shù)目:1 端子 - 寬度:5.1mm 端接類型:Spring Cage 電流 - IEC:24A 電壓 - IEC:800V 電流 - UL:20A 電壓 - UL:600V 線規(guī)或范圍 - AWG:12-26 AWG 線規(guī)或范圍 - mm²:0.5-4mm² 特點:- 體座顏色:橙 長度:1.319"(33.50mm) 高度(最大):0.945"(24.00mm) 材料 - 絕緣體:熱塑塑膠,Wemid 材料可燃性額定值:UL94 V-0 剝線長度:10mm 工作溫度:-50°C ~ 120°C 其它名稱:ZDUB2522ANDBOG