mc9s08qd4 Freescale Semiconductor, Inc, mc9s08qd4 Datasheet - Page 148

no-image

mc9s08qd4

Manufacturer Part Number
mc9s08qd4
Description
Hcs08 Microcontrollers
Manufacturer
Freescale Semiconductor, Inc
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
mc9s08qd4CPC
Manufacturer:
FREESCALE
Quantity:
201
Part Number:
mc9s08qd4CPC
Manufacturer:
FREESCALE
Quantity:
20 000
Part Number:
mc9s08qd4CSC
Manufacturer:
NXP/恩智浦
Quantity:
20 000
Part Number:
mc9s08qd4CSC
0
Company:
Part Number:
mc9s08qd4CSC
Quantity:
70
Part Number:
mc9s08qd4MSC
Manufacturer:
Freescale Semiconductor
Quantity:
150 510
Part Number:
mc9s08qd4MSC
Manufacturer:
ON
Quantity:
50 000
Part Number:
mc9s08qd4MSC
Manufacturer:
FREESCALE
Quantity:
500
Part Number:
mc9s08qd4MSC
Manufacturer:
FREESCALE
Quantity:
500
Part Number:
mc9s08qd4VSC
Manufacturer:
FREESCALE-PBF
Quantity:
33
Timer/Pulse-Width Modulator (S08TPMV2)
The central component of the TPM is the 16-bit counter that can operate as a free-running counter, a
modulo counter, or an up-/down-counter when the TPM is configured for center-aligned PWM. The TPM
counter (when operating in normal up-counting mode) provides the timing reference for the input capture,
output compare, and edge-aligned PWM functions. The timer counter modulo registers,
TPMxMODH:TPMxMODL, control the modulo value of the counter. (The values 0x0000 or 0xFFFF
effectively make the counter free running.) Software can read the counter value at any time without
affecting the counting sequence. Any write to either byte of the TPMxCNT counter resets the counter
regardless of the data value written.
148
TPMxCLK
CPWMS
BUSCLK
TPMxMODH:TPMxMO
XCLK
MAIN 16-BIT COUNTER
TPMxC0VH:TPMxC0VL
TPMxC1VH:TPMxC1VL
TPMxCnVH:TPMxCnVL
16-BIT COMPARATOR
16-BIT COMPARATOR
16-BIT COMPARATOR
16-BIT COMPARATOR
16-BIT LATCH
16-BIT LATCH
16-BIT LATCH
CHANNEL 0
CHANNEL 1
CHANNEL n
SYNC
MC9S08QD4 Series MCU Data Sheet, Rev. 3
Figure 11-2. TPM Block Diagram
COUNTER RESET
OFF, BUS, XCLK, EXT
ELS1B
ELSnB
MS0B
ELS0B
MSnB
CLKSB
MS1B
CLOCK SOURCE
SELECT
ELS0A
ELS1A
MS0A
ELSnA
MSnA
CLKSA
MS1A
CH0F
CHnF
CH1F
CH0IE
CH1IE
CHnIE
PS2
1, 2, 4, 8, 16, 32, 64, or 128
PRESCALE AND SELECT
TOIE
TOF
DIVIDE BY
PS1
LOGIC
LOGIC
LOGIC
PORT
PORT
PORT
INTERRUPT
INTERRUPT
INTERRUPT
INTERRUPT
LOGIC
LOGIC
LOGIC
LOGIC
PS0
Freescale Semiconductor
TPMxCH0
TPMxCH1
TPMxCHn

Related parts for mc9s08qd4