| Electronic Components Datasheet Search |
|
Z80 Datasheet(PDF) 222 Page - Zilog, Inc. |
|
|
|||||||||||||||||||||||||||||
Z80 Datasheet(HTML) 222 Page - Zilog, Inc. |
|
222 / 330 page ![]() <%27 2GTKRJGTCNU 7UGT /CPWCN UM008101-0601 Parallel Input/Output Control Interface A typical control mode application is illustrated in Figure 16. In this example, an industrial process is to be monitored. The occurrence of any abnormal operating condition is to be reported to a Z80 CPU-based control system. The process control and status word has the following format: The PIO may be used as follows. First, Port A is set for Mode 3 operation by writing the following control word to Port A. Whenever Mode 3 is selected, the next control word sent to the port must be an I/O select word. In this example, port data lines A5, A3, and A0 are selected as inputs, and the following control word is written: Next, the appropriate interrupt vector must be loaded (refer to the Z80 CPU User’s Manual for details): An interrupt control word is next sent to the port: The mask word following the interrupt mode word is: D7 D6 D5 D4 D3 D0 Halt Processing D2 D1 Special Test Turn On Power Power Failure Alarm Temp. Alarm Turn On Heaters Pressurize System Pressure Alarm 11 X X D7 D6 D5 D4 D3 D0 D2 D1 11 11 00 1 0 D7 D6 D5 D4 D3 D0 D2 D1 10 0 1 V5 V4 D7 D6 D5 D4 D3 D0 D2 D1 V3 V2 V1 0 V1 V6 Interrupt Control 11 D7 D6 D5 D4 D3 D0 D2 D1 01 11 10 Enable Interrupts OR Logic Active High Mask Follows |
|
Link URL |
| Does ALLDATASHEET help your business so far? [ DONATE ] |
About Alldatasheet | Advertisement | Contact us | Privacy Policy | Link to Datasheet | Link Exchange | Manufacturer List All Rights Reserved©Alldatasheet.com |
| Russian : Alldatasheetru.com | Korean : Alldatasheet.co.kr | Spanish : Alldatasheet.es | French : Alldatasheet.fr | Italian : Alldatasheetit.com Portuguese : Alldatasheetpt.com | Polish : Alldatasheet.pl | Vietnamese : Alldatasheet.vn Indian : Alldatasheet.in | Mexican : Alldatasheet.com.mx | British : Alldatasheet.co.uk | New Zealand : Alldatasheet.co.nz |
|
Family Site : ic2ic.com |
icmetro.com |