Qdatasheet_Logo
Integrated circuits, Transistor, Semiconductors Search and Datasheet PDF Download Site

TS68HC901 View Datasheet(PDF) - STMicroelectronics

Part Name
Description
MFG CO.
TS68HC901
ST-Microelectronics
STMicroelectronics ST-Microelectronics
'TS68HC901' PDF : 42 Pages View PDF
TS68HC901
Figure 11 :
AER
(03h)
7
GPIP7
GPIP6
ACTIVE EDGE REGISTER
GPIP5
GPIP4
GPIP3
GPIP2
GPIP1
0
GPIP0
1 = RISING
2 = FALLING
DDR
(05h)
GPIP7
GPIP6
DATA DIRECTION REGISTER
GPIP5
GPIP4
GPIP3
GPIP2
GPIP1
GPIP0
1 = OUTPUT
2 = INPUT
GPIP
(01h)
GPIP7
GENERAL PURPOSE I/O DATA REGISTER
GPIP6
GPIP5
GPIP4
GPIP3
GPIP2
GPIP1
GPIP0
Note
The transition detector is an exclusive-OR gate
whose inputs are the edge bit and the input buffer.
As a result, writing the EAR may cause an interrupt-
producing transition, depending upon the state of
the input. So, the AER should be configured before
enabling interrupts via the interrupt enable registers
(IERA and IERB). Also, changing the edge bit while
interrupts are enabled may cause an interrupt on the
corresponding channel.
DATA DIRECTION REGISTER
The data direction register (DDR) allows the pro-
grammer to define I0 through I7 as inputs or outputs
by writing the corresponding bit. When a bit of the
data direction register is written as a zero, the cor-
responding interrupt I/O pin will be a high-impe-
dance input. Writing a one to any bit of the data di-
rection register will cause the corresponding pin to
be configured as a push-pull output.
16/42
®
Share Link: GO URL

All Rights Reserved © qdatasheet.com  [ Privacy Policy ] [ Contact Us ]