mc68hc908gp32 Freescale Semiconductor, Inc, mc68hc908gp32 Datasheet - Page 119

no-image

mc68hc908gp32

Manufacturer Part Number
mc68hc908gp32
Description
M68hc08 Microcontrollers Microcontroller
Manufacturer
Freescale Semiconductor, Inc
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
mc68hc908gp32CF8
Manufacturer:
MOT
Quantity:
600
Part Number:
mc68hc908gp32CF8
Manufacturer:
MOT
Quantity:
1 000
Part Number:
mc68hc908gp32CFB
Manufacturer:
ON
Quantity:
11
Part Number:
mc68hc908gp32CFB
Manufacturer:
Freescale Semiconductor
Quantity:
10 000
Part Number:
mc68hc908gp32CFB
Manufacturer:
MOTOROLA/摩托罗拉
Quantity:
20 000
Part Number:
mc68hc908gp32CFBE
Manufacturer:
GAIA
Quantity:
5
Part Number:
mc68hc908gp32CFBR2
Manufacturer:
FREESCALE
Quantity:
69
Part Number:
mc68hc908gp32CP
Manufacturer:
ROCKWELL
Quantity:
201
Part Number:
mc68hc908gp32CP
Manufacturer:
MOTOROLA/摩托罗拉
Quantity:
20 000
Figure 12-4
When bit DDRAx is a logic 1, reading address $0000 reads the PTAx data latch. When bit DDRAx is a
logic 0, reading address $0000 reads the voltage level on the pin. The data latch can always be written,
regardless of the state of its data direction bit.
12.2.3 Port A Input Pullup Enable Register
The port A input pullup enable register (PTAPUE) contains a software configurable pullup device for each
of the eight port A pins. Each bit is individually configurable and requires that the data direction register,
DDRA, bit be configured as an input. Each pullup is automatically and dynamically disabled when a port
bit’s DDRA is configured for output mode.
Freescale Semiconductor
PTAPUE Bit
NOTES:
1. X = Don’t care
2. Hi-Z = High impedance
3. Writing affects data register, but does not affect input.
4. I/O pin pulled up to V
X
1
0
shows the port A I/O logic.
Address:
Reset:
Read:
Write:
DDRA Bit
Figure 12-5. Port A Input Pullup Enable Register (PTAPUE)
0
0
1
READ DDRA ($0004)
WRITE DDRA ($0004)
WRITE PTA ($0000)
READ PTA ($0000)
PTAPUE7
PTAPUEx
$000D
Bit 7
DD
0
by internal pullup device
PTA Bit
PTAPUE6
X
X
X
(1)
6
0
Table 12-2. Port A Pin Functions
RESET
MC68HC908GP32 Data Sheet, Rev. 10
Figure 12-4. Port A I/O Circuit
V
PTAPUE5
I/O Pin Mode
DD
Input, Hi-Z
Input, V
INTERNAL
PULLUP
DEVICE
5
0
Output
Table 12-2
DD
PTAPUE4
DDRAx
(4)
(2)
PTAx
4
0
Accesses to DDRA
DDRA7–DDRA0
DDRA7–DDRA0
DDRA7–DDRA0
PTAPUE3
summarizes the operation of the port A pins.
Read/Write
3
0
PTAPUE2
2
0
PTA7–PTA0
PTAPUE1
Read
1
0
Pin
Pin
Accesses to PTA
PTAPUE0
Bit 0
PTAx
0
PTA7–PTA0
PTA7–PTA0
PTA7–PTA0
Write
Port A
(3)
(3)
119

Related parts for mc68hc908gp32