![NXP Semiconductors MKL27Z128VFM4 Reference Manual Download Page 822](http://html1.mh-extra.com/html/nxp-semiconductors/mkl27z128vfm4/mkl27z128vfm4_reference-manual_1721847822.webp)
41.2 Introduction
The GPIO registers support 8-bit, 16-bit or 32-bit accesses.
The GPIO data direction and output data registers control the direction and output data of
each pin when the pin is configured for the GPIO function. The GPIO input data register
displays the logic value on each pin when the pin is configured for any digital function,
provided the corresponding Port Control and Interrupt module for that pin is enabled.
Efficient bit manipulation of the general-purpose outputs is supported through the
addition of set, clear, and toggle write-only registers for each port output data register.
41.2.1 Features
Features of the GPIO module include:
• Port Data Input register visible in all digital pin-multiplexing modes
• Port Data Output register with corresponding set/clear/toggle registers
• Port Data Direction register
NOTE
The GPIO module is clocked by system clock.
41.2.2 Modes of operation
The following table depicts different modes of operation and the behavior of the GPIO
module in these modes.
Table 41-1. Modes of operation
Modes of operation
Description
Run
The GPIO module operates normally.
Wait
The GPIO module operates normally.
Stop
The GPIO module is disabled.
Debug
The GPIO module operates normally.
Introduction
KL27 Sub-Family Reference Manual , Rev. 5, 01/2016
822
Freescale Semiconductor, Inc.