MC68HC908RF2MFA Freescale Semiconductor, MC68HC908RF2MFA Datasheet - Page 109

no-image

MC68HC908RF2MFA

Manufacturer Part Number
MC68HC908RF2MFA
Description
IC MCU 2K FLASH 4MHZ 32-LQFP
Manufacturer
Freescale Semiconductor
Series
HC08r
Datasheet

Specifications of MC68HC908RF2MFA

Core Processor
HC08
Core Size
8-Bit
Speed
4MHz
Peripherals
LVD, POR, PWM, RF Mod
Number Of I /o
12
Program Memory Size
2KB (2K x 8)
Program Memory Type
FLASH
Ram Size
128 x 8
Voltage - Supply (vcc/vdd)
1.8 V ~ 3.6 V
Oscillator Type
Internal
Operating Temperature
-40°C ~ 125°C
Package / Case
32-LQFP
Lead Free Status / RoHS Status
Contains lead / RoHS non-compliant
Eeprom Size
-
Data Converters
-
Connectivity
-

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
MC68HC908RF2MFA
Manufacturer:
Freescale Semiconductor
Quantity:
10 000
9.2.2 Data Direction Register A
MC68HC908RF2 — Rev. 4.0
MOTOROLA
NOTE:
Data direction register A (DDRA) determines whether each port A pin is an input or
an output. Writing a 1 to a DDRA bit enables the output buffer for the corresponding
port A pin; a 0 disables the output buffer.
DDRA[7:0] — Data Direction Register A Bits
Avoid glitches on port A pins by writing to the port A data register before changing
data direction register A bits from 0 to 1.
Figure 9-4
When bit DDRAx is a 1, reading address $0000 reads the PTAx data latch. When
bit DDRAx is a 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.
Table 9-1
Address:
These read/write bits control port A data direction. Reset clears DDRA[7:0],
configuring all port A pins as inputs.
Reset:
Read:
Write:
1 = Corresponding port A pin configured as output
0 = Corresponding port A pin configured as input
Freescale Semiconductor, Inc.
For More Information On This Product,
READ DDRA ($0004)
WRITE DDRA ($0004)
WRITE PTA ($0000)
READ PTA ($0000)
summarizes the operation of the port A pins.
shows the port A I/O logic.
DDRA7
$0004
Bit 7
0
Figure 9-3. Data Direction Register A (DDRA)
Go to: www.freescale.com
Input/Output (I/O) Ports
DDRA6
6
0
RESET
Figure 9-4. Port A I/O Circuit
DDRA5
5
0
DDRAx
DDRA4
PTAx
4
0
DDRA3
3
0
DDRA2
2
0
Input/Output (I/O) Ports
KBIE
DDRA1
1
0
X
PTAx
V
DD
Data Sheet
INTERNAL
PULLUP
DEVICE
DDRA0
Bit 0
Port A
0
109

Related parts for MC68HC908RF2MFA