mc9s12vr48 Freescale Semiconductor, Inc, mc9s12vr48 Datasheet - Page 90

no-image

mc9s12vr48

Manufacturer Part Number
mc9s12vr48
Description
S12 Microcontrollers
Manufacturer
Freescale Semiconductor, Inc
Datasheet
Port Integration Module (S12VRPIMV2)
2.4
2.4.1
Each pin except BKGD and port L pins can act as general-purpose I/O. In addition each pin can act as an
output or input of a peripheral module.
2.4.2
Table 2-48
input and routing registers can be written at any time, however a specific configuration might not become
active.
For example selecting a pullup device: This device does not become active while the port is used as a
push-pull output.
2.4.2.1
This register holds the value driven out to the pin if the pin is used as a general-purpose I/O.
Writing to this register has only an effect on the pin if the pin is used as general-purpose output. When
reading this address, the synchronized state of the pin is returned if the associated data direction register
bit is set to “0”.
If the data direction register bits are set to logic level “1”, the contents of the data register is returned. This
is independent of any other configuration
2.4.2.2
This register is read-only and always returns the synchronized state of the pin
2.4.2.3
This register defines whether the pin is used as an general-purpose input or an output.
If a peripheral module controls the pin the contents of the data direction register is ignored
90
1
2
Port
Each cell represents one register with individual configuration bits
Input buffer control only
AD
E
T
S
P
L
Functional Description
Data
yes
yes
yes
yes
yes
lists the configuration registers which are available on each port. These registers except the pin
-
General
Registers
Data register (PTx)
Input register (PTIx)
Data direction register (DDRx)
Input
yes
yes
yes
yes
yes
-
Direction
Data
yes
yes
yes
yes
yes
yes
Table 2-48. Register availability per port
MC9S12VR Family Reference Manual,
2
Preliminary - Subject to Change Without Notice
Reduced
Drive
yes
-
-
-
-
-
(Figure
Enable
Pull
2-45).
yes
yes
yes
yes
yes
-
Polarity
Select
yes
yes
yes
yes
yes
-
Rev. 2.2
Or Mode
Wired-
yes
-
-
-
-
-
1
Interrupt
Enable
(Figure
yes
yes
yes
-
-
-
Freescale Semiconductor
2-45).
Interrupt
Flag
yes
yes
yes
-
-
-
(Figure
Routing
2-45).
yes
yes
-
-
-
-

Related parts for mc9s12vr48