20-101-0303 Rabbit Semiconductor, 20-101-0303 Datasheet - Page 53

SMARTSCREEN OP7100 W/TOUCHSCREEN

20-101-0303

Manufacturer Part Number
20-101-0303
Description
SMARTSCREEN OP7100 W/TOUCHSCREEN
Manufacturer
Rabbit Semiconductor
Datasheet

Specifications of 20-101-0303

Display Type
STN - Super-Twisted Nematic
Viewing Area
121.00mm L x 91.00mm W
Backlight
CCFL - White
Dot Pitch
0.36mm x 0.36mm
Dot Pixels
320 x 240 (QVGA)
Interface
Serial
Product
Prototyping Accessories
Processor Type
Z180
Sram
128 KB
Flash
512 KB
Number Of I/os
16
Backup Battery
3 V Lithium Coin Type
Operating Voltage
10 V to 30 V
Power Consumption
4.5 W
Interface Type
Ethernet
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Display Mode
-
Dot Size
-
Lead Free Status / Rohs Status
Lead free / RoHS Compliant
Other names
20-101-0303
20-101-303
20-101-303
316-1175
OP7100
Digital I/O
No specific drivers have been written for the OP7100 digital I/O. The
inport
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.
Likewise, OUT7 can be turned off using the following statement.
The
AND operator (
example, the statement
can be used to check whether DIN2 (whose bit mask is 0x04) is on.
Likewise
can be used to check the status of input DIN7.
The Dynamic C function
input bit. For example, to check DIN2 (which is bit 2 of the inputs), use the
statement
instead of the more complex statement below.
inport
outport( 0x4142,1 );
outport( 0x4147,0 );
if( inport(0x4140) & 0x04 )
if( inport(0x4140) & 0x80 )
if( IBIT(0x4140,2) )
if( inport(0x4140) & 0x04 )
and
While
alents,
bits because the output register of the OP7100 is write-only.
ISET
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.
outport
function reads all eight inputs simultaneously, so the bitwise
&
) is useful in checking the status of a particular input. For
and
IBIT
ISET
IRES
functions in the Dynamic C
works well for the digital inputs, its output equiv-
and
IBIT
will only operate on output registers whose
IRES
can be used to determine the state of one
, will not work with the digital output
BIOS.LIB
Software
library can
53

Related parts for 20-101-0303