User`s manual
PK220026 s Subsystems
Inputs 1114, in addition to the protected digital input function, have the
capabilities listed in Table 3-2.
Inputs 11 and 12 can be used to generate hardware interrupts on the
PK2200 CPU. Input 11 is connected to /INT0 and input 12 is connected
to /INT2. With Dynamic C, you can easily implement service routines for
these interrupts. Table 3-2 lists the alternate functions for digital inputs
11 through 14.
Refer to the Dynamic C Technical Reference Users Manual
for more information on writing interrupt service routines.
Inputs 13 and 14 are connected to the CPUs DMA channels. These
inputs may be used for counting high-speed digital signals. For high-
speed counting (above 5 kHz), remove capacitor network CN2.
Figure 3-4. CN2 Capacitor Networks
Removing CN2 from the PK2240 disables the filtering on
channels IN5, IN6, IN7, IN8, IN13, IN14, IN15, and IN16
The high-speed counters and can perform a variety of functions including
time stamping, pulse width measurement and duty cycle measurement.
Table 3-2. Digital Input 11-14 Alternate Functions
Input Z180 Signal Function
11 /INT0 Interrupt for user programs
12 /INT2 Interrupt for user programs
13 CKA0/DREQ0 DMA channel 0, used for counting
14 /DREQ1 DMA channel 1, used for counting
Mux Mux
EPROM
RAM
Z180
U19
U20
JP5
J3
CN2CN1
Remove CN2 for
high-speed counting
$
!