MC68HC908KX2CP Freescale Semiconductor, MC68HC908KX2CP Datasheet - Page 164

no-image

MC68HC908KX2CP

Manufacturer Part Number
MC68HC908KX2CP
Description
IC MCU 2K FLASH 8MHZ SCI 16-DIP
Manufacturer
Freescale Semiconductor
Series
HC08r
Datasheet

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
-
Timer Interface Module (TIM)
TRST — TIM Reset Bit
PS2–PS0 — Prescaler Select Bits
15.8.2 TIM Counter Registers
The two read-only TIM counter registers (TCNTH and TCNTL) contain the high and low bytes of the value
in the TIM counter. Reading the high byte (TCNTH) latches the contents of the low byte (TCNTL) into a
buffer. Subsequent reads of TCNTH do not affect the latched TCNTL value until TCNTL is read. Reset
clears the TIM counter registers. Setting the TIM reset bit (TRST) also clears the TIM counter registers.
164
Setting this write-only bit resets the TIM counter and the TIM prescaler. Setting TRST has no effect on
any other registers. Counting resumes from $0000. TRST is cleared automatically after the TIM
counter is reset and always reads as 0. Reset clears the TRST bit.
These read/write bits select one of the seven prescaler outputs as the input to the TIM counter as
Table 15-2
1 = Prescaler and TIM counter cleared
0 = No effect
Register name and address:
Register name and address:
shows. Reset clears the PS2–PS0 bits.
Setting the TSTOP and TRST bits simultaneously stops the TIM counter at
a value of $0000.
Reset:
Reset:
Read:
Read:
Write:
Write:
MC68HC908KX8 • MC68HC908KX2 • MC68HC08KX8 Data Sheet, Rev. 2.1
Figure 15-6. TIM Counter Registers (TCNTH and TCNTL)
Bit 15
Bit 7
Bit 7
Bit 7
0
0
PS2–PS0
000
001
010
011
100
101
110
111
= Unimplemented
TCNTH — $0021
TCNTL — $0022
14
6
0
6
6
0
Table 15-2. Prescaler Selection
13
5
0
5
5
0
NOTE
Internal bus clock ÷ 16
Internal bus clock ÷ 32
Internal bus clock ÷ 64
Internal bus clock ÷ 4
Internal bus clock ÷ 2
Internal bus clock ÷ 8
12
Internal bus clock ÷1
4
0
4
4
0
TIM Clock Source
Not available
11
3
0
3
3
0
10
2
0
2
2
0
1
9
0
1
1
0
Freescale Semiconductor
Bit 0
Bit 8
Bit 0
Bit 0
0
0

Related parts for MC68HC908KX2CP