Philips LPC213 Series User Manual page 73

Table of Contents

Advertisement

7.1 Features
7.2 Applications
The purpose of the Pin Connect Block is to configure the microcontroller pins to the
desired functions.
7.3 Description
The pin connect block allows selected pins of the microcontroller to have more than one
function. Configuration registers control the multiplexers to allow connection between the
pin and the on chip peripherals.
Peripherals should be connected to the appropriate pins prior to being activated, and prior
to any related interrupt(s) being enabled. Activity of any enabled peripheral function that is
not mapped to a related pin should be considered 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 A/D
converter. Regardless of the function that is selected for the port pin that also hosts the
A/D input, this A/D input can be read at any time and variations of the voltage level on this
pin will be reflected in the A/D readings. However, valid analog reading(s) can be obtained
if and only if the function of an analog input is selected. Only in this case proper interface
circuit is active in between the physical pin and the A/D module. In all other cases, a part
of digital logic necessary for the digital function to be performed will be active, and will
disrupt proper behavior of the A/D.
7.4 Register description
The Pin Control Module contains 2 registers as shown in
Table 57:
Name
PINSEL0
PINSEL1
PINSEL2
[1]
User manual
UM10120
Chapter 7: Pin Connect Block
Rev. 01 — 24 June 2005
Allows individual pin configuration.
Pin connect block register map
Description
Pin function select
register 0.
Pin function select
register 1.
Pin function select
register 2.
Reset value relects the data stored in used bits only. It does not include reserved bits content.
Rev. 01 — 24 June 2005
Table 57
Access
Reset value
Read/Write
0x0000 0000
Read/Write
0x0000 0000
Read/Write
See
Table 60
© Koninklijke Philips Electronics N.V. 2005. All rights reserved.
User manual
below.
[1]
Address
0xE002 C000
0xE002 C004
0xE002 C014
73

Advertisement

Table of Contents
loading

This manual is also suitable for:

Lpc2131Lpc2132Lpc2134Lpc2136Lpc2138

Table of Contents