UM10413
All information provided in this document is subject to legal disclaimers.
© NXP B.V. 2011. All rights reserved.
User manual
Rev. 1 — 16 December 2011
62 of 268
NXP Semiconductors
UM10413
MPT612 User manual
12. Pin connect block
12.1 Features
The pin connect block allows individual pin configuration.
12.2 Applications
The purpose of the pin connect block is to configure the MPT612 pins to the desired
functions.
12.3 Description
The pin connect block allows selected pins of the MPT612 to have more than one
function. Configuration registers control the multiplexers to allow connection between the
pin and the on-chip peripherals.
Connect peripherals to the appropriate pins before activation, and before any related
interrupt(s) being enabled. Consider activity of any enabled peripheral function that is not
mapped to a related pin as undefined.
Selection of a single function on a port pin completely excludes all other functions
otherwise available on the same pin.
The only partial exception from the above rule of exclusion is the case of inputs to the
ADC. Regardless of the function that is currently selected for the port pin hosting the ADC
input, this ADC input can be read at any time and variations of the voltage level on this pin
is reflected in the ADC readings. However, valid analog reading(s) can be obtained only if
the function of an analog input is selected. Only in this case the proper interface circuit is
active between the physical pin and the ADC module. In all other cases, a part of digital
logic necessary for the digital function to be performed is active and disrupts proper
behavior of the ADC.
12.4 Register
description
The pin control module contains 2 registers as shown in
[1]
Reset value reflects the data stored in used bits only. It does not include the content of reserved bits.
12.4.1 Pin function Select register 0 (PINSEL0 - 0xE002 C000)
Register PINSEL0 controls the functions of the pins as per the settings listed in
. The direction control bit in register IO0DIR is effective only when the GPIO
function is selected for a pin. For other functions, direction is controlled automatically.
Table 60.
Pin connect block register map
Name
Description
Access
Reset value
Address
PINSEL0
pin function select
register 0
read/write
0x0000 0000
0xE002 C000
PINSEL1
pin function select
register 1
read/write
0x0000 0000
0xE002 C004