
Section number Title Page
Chapter 12
Port control and interrupts (PORT)
12.1 Introduction...................................................................................................................................................................151
12.2 Overview.......................................................................................................................................................................151
12.2.1 Features.......................................................................................................................................................... 151
12.2.2 Modes of operation........................................................................................................................................ 152
12.2.2.1 Run mode................................................................................................................................... 152
12.2.2.2 Wait mode..................................................................................................................................152
12.2.2.3 Stop mode.................................................................................................................................. 152
12.2.2.4 Debug mode............................................................................................................................... 152
12.3 External signal description............................................................................................................................................153
12.4 Detailed signal description............................................................................................................................................153
12.5 Memory map and register definition.............................................................................................................................153
12.5.1 Pin Control Register n (PORTx_PCRn).........................................................................................................160
12.5.2 Global Pin Control Low Register (PORTx_GPCLR)....................................................................................163
12.5.3 Global Pin Control High Register (PORTx_GPCHR)...................................................................................163
12.5.4 Interrupt Status Flag Register (PORTx_ISFR).............................................................................................. 164
12.5.5 Digital Filter Enable Register (PORTx_DFER).............................................................................................164
12.5.6 Digital Filter Clock Register (PORTx_DFCR)..............................................................................................165
12.5.7 Digital Filter Width Register (PORTx_DFWR)............................................................................................ 165
12.6 Functional description...................................................................................................................................................166
12.6.1 Pin control......................................................................................................................................................166
12.6.2 Global pin control.......................................................................................................................................... 167
12.6.3 External interrupts..........................................................................................................................................167
12.6.4 Digital filter....................................................................................................................................................168
Chapter 13
System Integration Module (SIM)
13.1 Introduction...................................................................................................................................................................171
13.1.1 Features.......................................................................................................................................................... 171
KV4x Reference Manual, Rev. 2, 02/2015
8Preliminary Freescale Semiconductor, Inc.