mc9s08qg4 Freescale Semiconductor, Inc, mc9s08qg4 Datasheet - Page 232

no-image

mc9s08qg4

Manufacturer Part Number
mc9s08qg4
Description
Hcs08 Microcontrollers Microcontroller Family
Manufacturer
Freescale Semiconductor, Inc
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
mc9s08qg4CDNE
Manufacturer:
VISHAY
Quantity:
6 000
Part Number:
mc9s08qg4CDTE
Manufacturer:
FREESCALE
Quantity:
5 000
Part Number:
mc9s08qg4CDTE
Manufacturer:
FREESCALE
Quantity:
5 000
Part Number:
mc9s08qg4CDTE
Manufacturer:
NXP
Quantity:
120
Part Number:
mc9s08qg4CDTE
Manufacturer:
NXP
Quantity:
1 896
Part Number:
mc9s08qg4CDTE
Manufacturer:
FREESCALE
Quantity:
20 000
Company:
Part Number:
mc9s08qg4CDTE
Quantity:
178
Part Number:
mc9s08qg4CDTER
Manufacturer:
INFINEON/英飞凌
Quantity:
20 000
Part Number:
mc9s08qg4CDTER
0
Part Number:
mc9s08qg4CPAE
Manufacturer:
MITSUBISHI
Quantity:
100
Part Number:
mc9s08qg4CPBE
Manufacturer:
AVX
Quantity:
60 000
Chapter 16 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,
TPMMODH:TPMMODL, 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 TPMCNT counter resets the counter
regardless of the data value written.
232
TPMxCLK
CPWMS
BUSCLK
TPMMODH:TPMMODL
XCLK
MAIN 16-BIT COUNTER
16-BIT COMPARATOR
16-BIT COMPARATOR
16-BIT COMPARATOR
16-BIT COMPARATOR
TPMC0VH:TPMC0VL
TPMC1VH:TPMC1VL
TPMCnVH:TPMCnVL
16-BIT LATCH
16-BIT LATCH
16-BIT LATCH
CHANNEL 0
CHANNEL 1
CHANNEL n
SYNC
MC9S08QG8 and MC9S08QG4 Data Sheet, Rev. 4
Figure 16-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
TPMCH0
TPMCH1
TPMCHn

Related parts for mc9s08qg4