Features; Applications; Description; Register Description - Philips LPC2101 User Manual

Table of Contents

Advertisement

7.1 Features

The Pin connect block allows individual pin configuration.

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 currently selected for the port pin hosting 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 the proper
interface circuit is active 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 59:
[1]
User manual
UM10161
Chapter 7: Pin connect block
Rev. 01 — 12 January 2006
Pin connect block register map
Name
Description
PINSEL0
Pin function select
register 0.
PINSEL1
Pin function select
register 1.
Reset value reflects the data stored in used bits only. It does not include reserved bits content.
Rev. 01 — 12 January 2006
Table 59
Access
Reset value
Read/Write
0x0000 0000
Read/Write
0x0000 0000
© Koninklijke Philips Electronics N.V. 2006. All rights reserved.
User manual
below.
[1]
Address
0xE002 C000
0xE002 C004
66

Advertisement

Table of Contents
loading

This manual is also suitable for:

Lpc2103Lpc2102

Table of Contents