mc9s08ac32 Freescale Semiconductor, Inc, mc9s08ac32 Datasheet - Page 277

no-image

mc9s08ac32

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

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
mc9s08ac32CFGE
Manufacturer:
FREESCALE
Quantity:
3 000
Part Number:
mc9s08ac32CFGE
Manufacturer:
Freescale Semiconductor
Quantity:
10 000
Part Number:
mc9s08ac32CFGE
Manufacturer:
FREESCALE
Quantity:
3 000
Part Number:
mc9s08ac32CFGE
Manufacturer:
FREESCALE/NXP
Quantity:
20 000
Part Number:
mc9s08ac32CFGER
Manufacturer:
Freescale Semiconductor
Quantity:
10 000
Part Number:
mc9s08ac32CFGER
Manufacturer:
FREESCALE/PBF
Quantity:
160
Part Number:
mc9s08ac32CFJE
Manufacturer:
FREESCALE
Quantity:
20 000
Part Number:
mc9s08ac32CFUE
Manufacturer:
FREESCALE
Quantity:
20 000
Part Number:
mc9s08ac32CPUE
Manufacturer:
FREESCALEQFP
Quantity:
20 000
15.8.2.1.2
When CPWMS=1, TOF gets set when the timer counter changes direction from up-counting to
down-counting at the end of the terminal count (the value in the modulo register). In this case the TOF
corresponds to the end of a PWM period.
15.8.2.2
The meaning of channel interrupts depends on the channel’s current mode (input-capture, output-compare,
edge-aligned PWM, or center-aligned PWM).
15.8.2.2.1
When a channel is configured as an input capture channel, the ELSnB:ELSnA control bits select no edge
(off), rising edges, falling edges or any edge as the edge which triggers an input capture event. When the
selected edge is detected, the interrupt flag is set. The flag is cleared by the two-step sequence described
in
15.8.2.2.2
When a channel is configured as an output compare channel, the interrupt flag is set each time the main
timer counter matches the 16-bit value in the channel value register. The flag is cleared by the two-step
sequence described
15.8.2.2.3
For channels configured for PWM operation there are two possibilities. When the channel is configured
for edge-aligned PWM, the channel flag gets set when the timer counter matches the channel value register
which marks the end of the active duty cycle period. When the channel is configured for center-aligned
PWM, the timer count matches the channel value register twice during each PWM cycle. In this CPWM
case, the channel flag is set at the start and at the end of the active duty cycle period which are the times
when the timer counter matches the channel value register. The flag is cleared by the two-step sequence
described
15.9
Freescale Semiconductor
Section 15.8.2, “Description of Interrupt Operation.”
1. Write to TPMxCnTH:L registers
2. Read of TPMxCNTH:L registers
(TPMxCNTH:TPMxCNTL)) [SE110-TPM case 7]
Any write to TPMxCNTH or TPMxCNTL registers in TPM v3 clears the TPM counter
(TPMxCNTH:L) and the prescaler counter. Instead, in the TPM v2 only the TPM counter is cleared
in this case.
(TPMxCNTH:TPMxCNTL))
— In TPM v3, any read of TPMxCNTH:L registers during BDM mode returns the value of the
The Differences from TPM v2 to TPM v3
Section 15.8.2, “Description of Interrupt Operation.”
TPM counter that is frozen. In TPM v2, if only one byte of the TPMxCNTH:L registers was
read before the BDM mode became active, then any read of TPMxCNTH:L registers during
Channel Event Interrupt Description
Center-Aligned PWM Case
Input Capture Events
Output Compare Events
PWM End-of-Duty-Cycle Events
Section 15.8.2, “Description of Interrupt Operation.”
MC9S08AC60 Series Data Sheet, Rev. 2
(Section 15.5.2, “TPM-Counter Registers
(Section 15.5.2, “TPM-Counter Registers
Chapter 15 Timer/PWM Module (S08TPMV3)
277

Related parts for mc9s08ac32