mc68hc908mr32 Freescale Semiconductor, Inc, mc68hc908mr32 Datasheet - Page 107

no-image

mc68hc908mr32

Manufacturer Part Number
mc68hc908mr32
Description
M68hc08 Microcontrollers
Manufacturer
Freescale Semiconductor, Inc
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
mc68hc908mr32CB
Manufacturer:
FREESCALE
Quantity:
1 831
Part Number:
mc68hc908mr32CB
Manufacturer:
MOT
Quantity:
59
Part Number:
mc68hc908mr32CFU
Manufacturer:
FREESCALE
Quantity:
3
Part Number:
mc68hc908mr32CFU
Manufacturer:
Freescale Semiconductor
Quantity:
10 000
Figure 10-10
When bit DDRCx is a logic 1, reading address $0002 reads the PTCx data latch. When bit DDRCx is a
logic 0, reading address $0002 reads the voltage level on the pin. The data latch can always be written,
regardless of the state of its data direction bit.
10.5 Port D
Port D is a 7-bit, input-only port that shares its pins with the pulse width modulator for motor control
module (PMC).
The port D data register (PTD) contains a data latch for each of the seven port pins.
PTD[6:0] — Port D Data Bits
Freescale Semiconductor
These read/write bits are software programmable. Reset has no effect on port D data.
1. X = don’t care
2. Hi-Z = high impedance
3. Writing affects data register, but does not affect input.
DDRC Bit
0
1
Address:
shows the port C I/O logic.
Reset:
Read:
Write:
PTC Bit
READ DDRC ($0006)
WRITE DDRC ($0006)
WRITE PTC ($0002)
READ PTC ($0002)
$0003
X
Bit 7
R
X
R
0
(1)
MC68HC908MR32 • MC68HC908MR16 Data Sheet, Rev. 6.1
= Reserved
Figure 10-11. Port D Data Register (PTD)
I/O Pin Mode
PTD6
Input, Hi-Z
R
6
Output
Table 10-3. Port C Pin Functions
RESET
Figure 10-10. Port C I/O Circuit
PTD5
(2)
R
5
Accesses to DDRC
Table 10-3
Unaffected by reset
PTD4
DDRCx
Read/Write
DDRC[6:0]
DDRC[6:0]
PTCx
R
4
summarizes the operation of the port C pins.
PTD3
R
3
PTD2
R
2
PTC[6:0]
Read
Pin
Accesses to PTC
PTD1
R
1
PTD0
Bit 0
PTC[6:0]
R
PTCx
PTC[6:0]
Write
(3)
Port D
107

Related parts for mc68hc908mr32