Icwt
AO 07 06 05 D4 OS 2 i
0 [az | a6 | As 1 |oTm Abi [swat] 1 ]
1 = ICW4 NEEDED
LJ = NO ICW4 NEEDED
1= SINGLE
0 = CASCADE MODE
CALLADDRESS INTERVAL
ITERVAL OF 4
INTERVAL OF 8
1 = LEVEL TRIGGERED MODE
0 = EDGE TRIGGERED MODE
AT-A6 OF INTERRUPT
VECTOR ADDRESS
(MICS-80/85 MODE ONLY)
tow2
Or D605 Di_0s_o2_ ot oo
AS ie A138 7JAI2 TANI [aeRO
1 AMO | AD | AB A15-A8 OF INTERRUPT
| as A A, Al Ai VECTOR ADDRESS
I fed is lita (MCS80/85 MODE)
Tr-Ts OF INTERRUPT
VECTOR ADDRESS
CWS (MASTER DEVICE) (6086/8088 MODE)
DS 04 _D3__D2_—Dt_—O
INPUT HAS A SLAVE
INPUT DOES NOT HAVE
ASLAVEInitialization Command Words (Cont.)
{OWS (SLAVE DEVICE)
ADOT 06 5 Of 03 tO
en
iene
t]o]o]o]o] 0] 2] or] SUVE pt
2]3]4]5
{0/1 }0| 1] 0/1 “
ut CASCADE
000 isnt) \ “wove
tal O;o}ta
YES
ows —_—_—_ (us)
MDT 06 05 DF OO Oe DT DD
1{o]o osu su | ws [aor su]
‘= 8086/8088 MODE
(0= MCS-80/85 MODE
4 =AUTOEO!
‘0 =NORMALEO!
0 | X | NONBUFFERED MODE
[0 | BUFFERED MODEISLAVE
+ [1 | eurFeRen woemasTER tos
NOTE 1: SLAVE DIS ‘= SPECIAL FULLY NESTER
EQUAL OTHE MODE
CORRESPONDING (= NOTSPECIALFULLY rome
MASTER IR INPUT NESTED MODE Picea
REQUESTSN
Cpl Te Tete pe Tete)
Wowace
= MASK RESET
oTr}alemjol ojala
IR LEVEL TO BE ACTED UPON
| opt 213[4[siel?
rept oj rfo}rjojt
LT ofsftfojols|s
[ LSolofojoj+i+| sit
0] 0] 1] NON-SPECIFIC EOI COMMAND } sor were
0[ 1] 4 seeciFic EOI CONMAND
1{ol4 ROTATE NO NON-SPECIFIC EO! COMMAND
1) 0/0 [ROTATE IN AUTOMATIC EOI MODE (SET) AUTOMATIC ROTATION
o}ojo [ROTATE IN AUTOMATIC EO! MODE (CLEAR)
71711 | * ROTATE ON SPECIFIC EO! COMMAND
SPECIFIC ROTATION
+ [1 [0] *serPRIoRiTy COMMAND
[o [1 [| noorerarion
*LO-L2ARE USEDPoll Mode- In this mode, the INT output of PIC is inhibited and the device is used as a
prioritized poller. Performing an 1/O read instruction from the PIC (either port address) returns the
status word shown in fig. The rightmost three bits of the poll word indicate the active interrupt
request with the highest priority. The leftmost bit indicates whether there is an interrupt and must be
checked to determine whether the right three bit contains valid information.
1 xX xX xX xX W2 | Wl | Wo
V T J
dd
| signifies on active input Binary code of highest priority level requesting service.
OWS
ooo oO oe OO OD
[2 esmf sm] Te m/s EAD REGSTER COMMAND
Lb 1 L u :
{0 [ 8 4 :
READIRREG ON | READ ISREG ON
| NOACTIN | ygxrROPUSE | NEMTROPUSE
=
L__¥ T=POLLCOWMAND 0=NOPOLLCOMMAND
|
SPECIAL MASK ODE
1 o |
Lf oo | 0 4
RESET SET
NOACTION SPECIAL MASK. SPECIALMASK