MC908AZ32ACFU Freescale Semiconductor, MC908AZ32ACFU Datasheet - Page 251

no-image

MC908AZ32ACFU

Manufacturer Part Number
MC908AZ32ACFU
Description
IC MCU 32K FLASH 8.4MHZ 64-QFP
Manufacturer
Freescale Semiconductor
Series
HC08r
Datasheet

Specifications of MC908AZ32ACFU

Core Processor
HC08
Core Size
8-Bit
Speed
8MHz
Connectivity
CAN, SCI, SPI
Peripherals
LVD, POR, PWM
Number Of I /o
40
Program Memory Size
32KB (32K x 8)
Program Memory Type
FLASH
Eeprom Size
512 x 8
Ram Size
1K x 8
Voltage - Supply (vcc/vdd)
4.5 V ~ 5.5 V
Data Converters
A/D 15x8b
Oscillator Type
Internal
Operating Temperature
-40°C ~ 85°C
Package / Case
64-QFP
Lead Free Status / RoHS Status
Contains lead / RoHS non-compliant

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
MC908AZ32ACFU
Manufacturer:
FREESCALE
Quantity:
3
Part Number:
MC908AZ32ACFU
Manufacturer:
Freescale Semiconductor
Quantity:
10 000
Part Number:
MC908AZ32ACFU
Manufacturer:
MOTOROLA/摩托罗拉
Quantity:
20 000
Part Number:
MC908AZ32ACFUE
Manufacturer:
Freescale Semiconductor
Quantity:
10 000
Part Number:
MC908AZ32ACFUE
Manufacturer:
FREESCALE
Quantity:
20 000
Part Number:
MC908AZ32ACFUER
Manufacturer:
Freescale Semiconductor
Quantity:
10 000
23.5.2 Data Direction Register D
Data direction register D determines whether each port D pin is an input or an output. Writing a logic 1 to
a DDRD bit enables the output buffer for the corresponding port D pin; a logic 0 disables the output buffer.
DDRD[7:0] — Data Direction Register D Bits
Figure 23-13
When bit DDRDx is a logic 1, reading address $0003 reads the PTDx data latch. When bit DDRDx is a
logic 0, reading address $0003 reads the voltage level on the pin. The data latch can always be written,
regardless of the state of its data direction bit.
Freescale Semiconductor
These read/write bits control port D data direction. Reset clears DDRD[7:0], configuring all port D pins
as inputs.
1 = Corresponding port D pin configured as output
0 = Corresponding port D pin configured as input
shows the port D I/O logic.
Address:
X = don’t care
Hi-Z = high impedance
1. Writing affects data register, but does not affect input.
Avoid glitches on port D pins by writing to the port D data register before
changing data direction register D bits from 0 to 1.
DDRD
Reset:
Read:
Bit
Write:
0
1
READ DDRD ($0007)
WRITE DDRD ($0007)
WRITE PTD ($0003)
READ PTD ($0003)
DDRD7
$0007
PTD
Bit 7
Bit
X
X
0
Figure 23-12. Data Direction Register D (DDRD)
DDRD6
Input, Hi-Z
I/O Pin
Output
Mode
6
0
Table 23-4. Port D Pin Functions
RESET
Figure 23-13. Port D I/O Circuit
MC68HC908AZ32A Data Sheet, Rev. 2
DDRD5
5
0
Accesses to
Table 23-4
Read/Write
DDRD[7:0]
DDRD[7:0]
DDRD
NOTE
DDRD4
DDRDx
PTDx
4
0
summarizes the operation of the port D pins.
DDRD3
3
0
PTD[7:0]
Read
Pin
DDRD2
Accesses to PTD
2
0
DDRD1
PTD[7:0]
1
0
PTD[7:0]
Write
DDRD0
(1)
Bit 0
PTDx
0
Port D
251

Related parts for MC908AZ32ACFU