and
參數(shù)資料
型號: 20-101-0732
廠商: Rabbit Semiconductor
文件頁數(shù): 76/126頁
文件大?。?/td> 0K
描述: INTERFACE SMART SCREEN OP7100
標(biāo)準包裝: 1
系列: SBC
模塊/板類型: 單板計算機模塊
適用于相關(guān)產(chǎn)品: OP7100
其它名稱: 20-101-732
20-101-732-ND
OP7100
Software
53
Digital I/O
No specific drivers have been written for the OP7100 digital I/O. The
inport
and outport functions in the Dynamic C BIOS.LIB library can
be used to read the inputs and write the outputs. The eight digital inputs
(DIN0–DIN7) are bitmapped bits 0 through 7 of the input at 0x4140. Each
digital output (OUT0–OUT7) is controlled by bit 0 at 0x4140 through
0x4147.
For example, OUT2 can be turned on using the following statement.
outport( 0x4142,1 );
Likewise, OUT7 can be turned off using the following statement.
outport( 0x4147,0 );
The inport function reads all eight inputs simultaneously, so the bitwise
AND operator (&) is useful in checking the status of a particular input. For
example, the statement
if( inport(0x4140) & 0x04 )
can be used to check whether DIN2 (whose bit mask is 0x04) is on.
Likewise
if( inport(0x4140) & 0x80 )
can be used to check the status of input DIN7.
The Dynamic C function IBIT can be used to determine the state of one
input bit. For example, to check DIN2 (which is bit 2 of the inputs), use the
statement
if( IBIT(0x4140,2) )
instead of the more complex statement below.
if( inport(0x4140) & 0x04 )
While IBIT works well for the digital inputs, its output equiv-
alents, ISET and IRES, will not work with the digital output
bits because the output register of the OP7100 is write-only.
ISET
and IRES will only operate on output registers whose
current state can be read by the processor.
Refer to the Dynamic C Function Reference manual for more
information on the use of these functions.
相關(guān)PDF資料
PDF描述
395-030-527-804 CARD EDGE 30POS DL .100X.200 BLK
395-030-527-802 CARD EDGE 30POS DL .100X.200 BLK
395-030-527-801 CARD EDGE 30POS DL .100X.200 BLK
395-030-527-204 CARD EDGE 30POS DL .100X.200 BLK
395-030-527-202 CARD EDGE 30POS DL .100X.200 BLK
相關(guān)代理商/技術(shù)參數(shù)
參數(shù)描述
20-101-0737 制造商:Digi International 功能描述:SMARTBLOCK OEM W/RTC - MOQ: 50 - Bulk 制造商:Digi International Inc 功能描述:SMARTBLOCK OEM W/RTC MOQ: 50 制造商:Rabbit Semiconductor 功能描述:Smartblock OEM w/RTC
20-101-0738 功能描述:單板計算機 SR9150 Eth 512K SRAM RoHS:否 制造商:Ampro By ADLINK 外觀尺寸:EPIC 處理器類型:Intel Atom D510 頻率:1.66 GHz 存儲容量:2 GB (max) 存儲類型:DDR2, L2 Cache 接口類型:Ethernet, PS/2, SATA, Serial, USB 工作電源電壓:5 V, 12 V 功耗:13 W 最大工作溫度:+ 70 C 尺寸:165.1 mm x 114.3 mm
20-101-0739 制造商:Digi International 功能描述:BL1700 16IN/16OUT 512K SRAM 256K FLASH - MOQ: 25 - Boxed Product (Development Kits) 制造商:Digi International Inc 功能描述:ETH CTLR BL1700 16I/O 256K FLASH 制造商:Rabbit Semiconductor 功能描述:BL1700 512K SRAM 16 In/Out 256K Flash
20-101-0743 制造商:Digi International Inc 功能描述:SMARTBLOCK OEM W/RTC (ROHS) 制造商:Digi International 功能描述:SMARTBLOCK OEM W/RTC - MOQ: 50 - Bulk 制造商:Digi International Inc 功能描述:SMARTBLOCK OEM W/RTC MOQ: 50 制造商:Rabbit Semiconductor 功能描述:Smartblock OEM w/RTC
20-101-0749 功能描述:單板計算機 16 I/O 128K SRAM RoHS:否 制造商:Ampro By ADLINK 外觀尺寸:EPIC 處理器類型:Intel Atom D510 頻率:1.66 GHz 存儲容量:2 GB (max) 存儲類型:DDR2, L2 Cache 接口類型:Ethernet, PS/2, SATA, Serial, USB 工作電源電壓:5 V, 12 V 功耗:13 W 最大工作溫度:+ 70 C 尺寸:165.1 mm x 114.3 mm