CDP68HC68P1M96 Intersil, CDP68HC68P1M96 Datasheet - Page 6

no-image

CDP68HC68P1M96

Manufacturer Part Number
CDP68HC68P1M96
Description
Manufacturer
Intersil
Datasheet

Specifications of CDP68HC68P1M96

Operating Temperature (max)
85C
Operating Temperature Classification
Industrial
Mounting
Surface Mount
Pin Count
16
Lead Free Status / RoHS Status
Not Compliant
feature and function (mask or data) of the byte immediately
following the control byte, the data byte (See Addressing the
Single Port I/O). Each bit of the data register may be
individually programmed as an input or output. A logic low in
a data direction bit programs that pin as an input, a logic high
makes it an output. A read operation of data register pins
programmed as inputs reflects the current logic level present
at the buffered port pins. A read operation of those data
register pins programmed as outputs indicates the last value
written to that location. At power-up, all port pins are
configured as unterminated inputs. Two chip identify pins are
used to allow up to 4 I/O ports to share the same chip enable
signal. The first two bits shifted in are compared with the
hardwired levels at the chip identify pins to enable the
selected I/O for serial data transfer. Note that when chip
enable becomes true, the compare flag is latched for all
devices sharing the same chip enable.
Compare Function
The value of a port pin (D0 - D7), configured as an input, is
compared with the corresponding bit value (DR0 - DR7)
stored in the Data Register. Pins configured as outputs are
assumed to have the same value as the corresponding bit
stored in the Data Register. The compare function is
C03 DF1 C02 DF0
C07 C06 C05 1 0 X C01 C00
C07 C06 C05 1 1 1 C01 C00
C07 C06 C05 1 1 0 C01 C00
C07 C06 C05 1 1 X C01 C00
X = Don’t Care
0
1
1
X
0
1
CE
CONTROL
X = DON’T CARE
Z = HIGH IMPEDANCE
* = COMPARE FLAG
MOSI
MISO
Data following the control word will be written to the selected register.
Data following the control word is a mask. Those bits which are a 1 will cause that register flip-flop to be cleared to 0. Those
which are a 0 will cause that register flip-flop to be unchanged.
Data following the control word is a mask. Those bits which are a 1 will cause that register flip-flop to be set to 1; those which
are a 0 will cause that register flip-flop to be unchanged.
SCK
SCK
OR
X
Z
6
C07
Z
C06
Z
FIGURE 6. CONTROL BYTE
C05
C07
11110000
11110000
11110000
00000000
CDP68HC68P1
TABLE 3. EXAMPLE
DATA
C04
C06
TABLE 2.
C03
C05
OPERATION
programmed via C01 and C00 (CM1, CM0) of the Address
Byte. As shown in Table 1, the values for CM1 and CM0 will
sense one of four separate conditions.
The compare flag is set to one when the programmed
condition is satisfied. Otherwise, the flag is cleared to zero.
The compare flag is latched when the device is enabled (a
transition of CE from “High” to “Low”).
Data Format
During write operations, the data byte that follows the control
byte is normally the data word that is transferred to the data
or data direction register. Control bits 2 and 3 (DF0 and DF1)
change the interpretation of this data as shown in Table 2.
Note that one or more bits can be set or cleared in either
register without having to write to bits not requiring change.
CM1
C02
C04
0
0
1
1
REGISTER VALUE
PREVIOUS
10101010
10101010
10101010
10101010
C01
C03
CM0
0
1
0
1
C01
*
TABLE 1.
At least one non-match
All match
All are non-match
At least one match
REGISTER VALUE
INPUT
OUTPUT
CONDITION
11110000
11111010
00001010
10101010
NEW

Related parts for CDP68HC68P1M96