MC68HC908KX2CP Freescale Semiconductor, MC68HC908KX2CP Datasheet - Page 108
MC68HC908KX2CP
Manufacturer Part Number
MC68HC908KX2CP
Description
IC MCU 2K FLASH 8MHZ SCI 16-DIP
Manufacturer
Freescale Semiconductor
Series
HC08r
Datasheet
1.MC908KX2CDWE.pdf
(210 pages)
Specifications of MC68HC908KX2CP
Core Processor
HC08
Core Size
8-Bit
Speed
8MHz
Connectivity
SCI
Peripherals
LVD, POR, PWM
Number Of I /o
13
Program Memory Size
2KB (2K x 8)
Program Memory Type
FLASH
Ram Size
192 x 8
Voltage - Supply (vcc/vdd)
2.7 V ~ 5.5 V
Data Converters
A/D 4x8b
Oscillator Type
Internal
Operating Temperature
-40°C ~ 85°C
Package / Case
16-DIP (0.300", 7.62mm)
Lead Free Status / RoHS Status
Contains lead / RoHS non-compliant
Eeprom Size
-
- Current page: 108 of 210
- Download datasheet (2Mb)
Input/Output (I/O) Ports (PORTS)
PTAPUE4–PTAPUE0 — Port A Input Pullup Enable Bits
11.3 Port B
Port B is an 8-bit special-function port that shares four of its pins with the analog-to-digital converter
module (ADC), two with the serial communication interface module (SCI) and two with an optional
external clock source.
11.3.1 Port B Data Register
The port B data register (PTB) contains a data latch for each of the eight port B pins.
PTB7–PTB0 — Port B Data Bits
OSC2 and OSC1 — OSC2 and OSC1 Bits
RxD — SCI Receive Data Input Bit
108
These writable bits are software programmable to enable pullup devices on an input port bit.
These read/write bits are software-programmable. Data direction of each port B pin is under the control
of the corresponding bit in data direction register B. Reset has no effect on port B data.
Under software control, PTB7 and PTB6 can be configured as external clock inputs and outputs. PTB7
will become an output clock, OSC2, if selected in the configuration registers and enabled in the ICG
registers. PTB6 will become an external input clock source, OSC1, if selected in the configuration
registers and enabled in the ICG registers. See
Chapter 4 Configuration Register
The PTB1/RxD pin is the receive data input for the SCI module. When the enable SCI bit, ENSCI, is
clear, the SCI module is disabled, and the PTB1/RxD pin is available for general-purpose I/O. See
Chapter 12 Serial Communications Interface Module
1 = Corresponding port A pin configured to have internal pullup
0 = Corresponding port A pin has internal pullup disconnected
Address:
Function:
Alternate
Address:
Reset:
Read:
Write:
Reset:
Read:
Write:
MC68HC908KX8 • MC68HC908KX2 • MC68HC08KX8 Data Sheet, Rev. 2.1
Figure 11-5. Port A Input Pullup Enable Register (PTAPUE)
$000D
$0001
OSC2
Bit 7
PTB7
Bit 7
0
0
= Unimplemented
Figure 11-6. Port B Data Register (PTB)
OSC1
PTB6
6
0
0
6
(CONFIG).
PTB5
TxD
5
0
0
5
PTAPUE4
Unaffected by reset
PTB4
Chapter 7 Internal Clock Generator Module (ICG)
RxD
4
0
4
(SCI).
PTAPUE3
PTB3
AD3
3
0
3
PTAPUE2
PTB2
AD2
2
0
2
PTAPUE1
PTB1
AD1
1
1
0
Freescale Semiconductor
PTAPUE0
PTB0
Bit 0
AD0
Bit 0
0
and
Related parts for MC68HC908KX2CP
Image
Part Number
Description
Manufacturer
Datasheet
Request
R
Part Number:
Description:
Manufacturer:
Freescale Semiconductor, Inc
Datasheet:
Part Number:
Description:
Manufacturer:
Freescale Semiconductor, Inc
Datasheet:
Part Number:
Description:
Manufacturer:
Freescale Semiconductor, Inc
Datasheet:
Part Number:
Description:
Manufacturer:
Freescale Semiconductor, Inc
Datasheet:
Part Number:
Description:
Manufacturer:
Freescale Semiconductor, Inc
Datasheet:
Part Number:
Description:
Manufacturer:
Freescale Semiconductor, Inc
Datasheet:
Part Number:
Description:
Manufacturer:
Freescale Semiconductor, Inc
Datasheet:
Part Number:
Description:
Manufacturer:
Freescale Semiconductor, Inc
Datasheet:
Part Number:
Description:
Manufacturer:
Freescale Semiconductor, Inc
Datasheet:
Part Number:
Description:
Manufacturer:
Freescale Semiconductor, Inc
Datasheet:
Part Number:
Description:
Manufacturer:
Freescale Semiconductor, Inc
Datasheet:
Part Number:
Description:
Manufacturer:
Freescale Semiconductor, Inc
Datasheet:
Part Number:
Description:
Manufacturer:
Freescale Semiconductor, Inc
Datasheet:
Part Number:
Description:
Manufacturer:
Freescale Semiconductor, Inc
Datasheet:
Part Number:
Description:
Manufacturer:
Freescale Semiconductor, Inc
Datasheet: