MC9S08QD2CSC Freescale, MC9S08QD2CSC Datasheet - Page 13
![](/photos/31/37/313719/mc9s08qd2csc_sml.jpg)
MC9S08QD2CSC
Manufacturer Part Number
MC9S08QD2CSC
Description
Manufacturer
Freescale
Datasheet
1.MC9S08QD2CSC.pdf
(198 pages)
Specifications of MC9S08QD2CSC
Cpu Family
HCS08
Device Core Size
8b
Frequency (max)
8MHz
Total Internal Ram Size
128Byte
# I/os (max)
4
Number Of Timers - General Purpose
3
Operating Supply Voltage (typ)
3.3/5V
Operating Supply Voltage (max)
5.5V
Operating Supply Voltage (min)
2.7V
On-chip Adc
4-chx10-bit
Instruction Set Architecture
CISC
Operating Temp Range
-40C to 85C
Operating Temperature Classification
Industrial
Mounting
Surface Mount
Pin Count
8
Package Type
SOIC N
Program Memory Type
Flash
Program Memory Size
2KB
Lead Free Status / RoHS Status
Compliant
Available stocks
Company
Part Number
Manufacturer
Quantity
Price
Part Number:
MC9S08QD2CSC
Manufacturer:
FREESCALE
Quantity:
20 000
Company:
Part Number:
MC9S08QD2CSCR
Manufacturer:
FREESCALE
Quantity:
310
9.5
10.1 Introduction ...................................................................................................................................135
10.2 External Signal Description ..........................................................................................................138
10.3 Register Definition ........................................................................................................................138
10.4 Functional Description ..................................................................................................................140
11.1 Introduction ...................................................................................................................................143
11.2 External Signal Description ..........................................................................................................147
11.3 Register Definition ........................................................................................................................147
11.4 Functional Description ..................................................................................................................153
11.5 TPM Interrupts ..............................................................................................................................157
Freescale Semiconductor
Module Initialization ....................................................................................................................132
9.5.1 ICS Module Initialization Sequence ...............................................................................132
10.1.1 Features ...........................................................................................................................137
10.1.2 Modes of Operation ........................................................................................................137
10.1.3 Block Diagram ................................................................................................................137
10.3.1 KBI Status and Control Register (KBISC) .....................................................................138
10.3.2 KBI Pin Enable Register (KBIPE) ..................................................................................139
10.3.3 KBI Edge Select Register (KBIES) ................................................................................139
10.4.1 Edge Only Sensitivity .....................................................................................................140
10.4.2 Edge and Level Sensitivity .............................................................................................140
10.4.3 KBI Pullup/Pulldown Resistors ......................................................................................141
10.4.4 KBI Initialization ............................................................................................................141
11.1.1 TPM2 Configuration Information ...................................................................................143
11.1.2 TCLK1 and TCLK2 Configuration Information ............................................................143
11.1.3 Features ...........................................................................................................................145
11.1.4 Block Diagram ................................................................................................................145
11.2.1 External TPM Clock Sources .........................................................................................147
11.2.2 TPMxCHn — TPMx Channel n I/O Pins .......................................................................147
11.3.1 Timer Status and Control Register (TPMxSC) ...............................................................148
11.3.2 Timer Counter Registers (TPMxCNTH:TPMxCNTL) ...................................................149
11.3.3 Timer Counter Modulo Registers (TPMxMODH:TPMxMODL) ..................................150
11.3.4 Timer Channel n Status and Control Register (TPMxCnSC) .........................................151
11.3.5 Timer Channel Value Registers (TPMxCnVH:TPMxCnVL) .........................................152
11.4.1 Counter ............................................................................................................................153
11.4.2 Channel Mode Selection .................................................................................................154
11.4.3 Center-Aligned PWM Mode ...........................................................................................156
11.5.1 Clearing Timer Interrupt Flags .......................................................................................157
11.5.2 Timer Overflow Interrupt Description ............................................................................157
11.5.3 Channel Event Interrupt Description ..............................................................................158
11.5.4 PWM End-of-Duty-Cycle Events ...................................................................................158
Timer/Pulse-Width Modulator (S08TPMV2)
Keyboard Interrupt (S08KBIV2)
MC9S08QD4 Series MCU Data Sheet, Rev. 6
Chapter 10
Chapter 11
13