English
Language : 

Z8F1680SH020SG Datasheet, PDF (83/412 Pages) Zilog, Inc. – High-Performance 8-Bit Microcontrollers
Z8 Encore! XP® F1680 Series
Product Specification
58
7.10. GPIO Interrupts
Many of the GPIO port pins can be used as interrupt sources. Some port pins can be con-
figured to generate an interrupt request on either the rising edge or falling edge of the pin-
input signal. Other port-pin interrupt sources generate an interrupt when any edge occurs
(both rising and falling). For more details about interrupts using the GPIO pins, see the
Interrupt Controller chapter on page 68.
7.11. GPIO Control Register Definitions
Four registers for each port provide access to GPIO control, input data and output data.
Table 20 lists these port registers. Use Port A–E Address and Control registers together to
provide access to subregisters for port configuration and control.
Table 20. GPIO Port Registers and Subregisters
Port Register Mnemonic
PxADDR
PxCTL
PxIN
PxOUT
Port Subregister Mnemonic
PxDD
PxAF
PxOC
PxHDE
PxSMRE
PxPUE
PxAFS1
PxAFS2
Port Register Name
Port A–E Address Register (Selects subregisters)
Port A–E Control Register (Provides access to subregisters)
Port A–E Input Data Register
Port A–E Output Data Register
Port Register Name
Data Direction
Alternate Function
Output Control (Open-Drain)
High Drive Enable
Stop Mode Recovery Source Enable
Pull-up Enable
Alternate Function Set 1
Alternate Function Set 2
PS025015-1212
PRELIMINARY
General-Purpose Input/Output