mc9s08dn60 Freescale Semiconductor, Inc, mc9s08dn60 Datasheet - Page 330

no-image

mc9s08dn60

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

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
mc9s08dn60ACLC
Manufacturer:
Freescale Semiconductor
Quantity:
10 000
Part Number:
mc9s08dn60ACLF
Manufacturer:
FREESCALE
Quantity:
2 310
Part Number:
mc9s08dn60ACLF
Manufacturer:
Freescale Semiconductor
Quantity:
10 000
Part Number:
mc9s08dn60ACLF
Manufacturer:
FREESCALE
Quantity:
2 310
Part Number:
mc9s08dn60ACLH
Manufacturer:
FREESCALE
Quantity:
4 320
Appendix B Timer Pulse-Width Modulator (TPMV2)
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.
330
TPMxCLK
CPWMS
BUSCLK
TPMxMODH:TPMxMODL
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
MC9S08DN60 Series Data Sheet, Rev 2
Figure B-1. 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 mc9s08dn60