sc9s08mz16 Freescale Semiconductor, Inc, sc9s08mz16 Datasheet - Page 149

no-image

sc9s08mz16

Manufacturer Part Number
sc9s08mz16
Description
Hcs08 Microcontrollers
Manufacturer
Freescale Semiconductor, Inc
Datasheet
9.1.1
The TPMV3 is the latest version of the Timer/PWM module that addresses errata found in previous
versions. The following section outlines the differences between TPMV3 and TPMV2 modules, and any
considerations that should be taken when porting code.
Freescale Semiconductor
Write to TPMxCnTH:L registers
Any write to TPMxCNTH or TPMxCNTL registers
Read of TPMxCNTH:L registers
In BDM mode, any read of TPMxCNTH:L registers
In BDM mode, a write to TPMxSC, TPMxCNTH or TPMxCNTL Clears this read coherency
Read of TPMxCnVH:L registers
In BDM mode, any read of TPMxCnVH:L registers
In BDM mode, a write to TPMxCnSC
Write to TPMxCnVH:L registers
In Input Capture mode, writes to TPMxCnVH:L registers
In Output Compare mode, when (CLKSB:CLKSA not = 0:0),
writes to TPMxCnVH:L registers
TPMV3 Differences from Previous Versions
Action
Table 9-1. TPMV2 and TPMV3 Porting Considerations
3
1
1
2
SC9S08MZ16 MCU Data Sheet, Rev. 1
3
Clears the TPM counter
(TPMxCNTH:L) and the
prescaler counter.
Returns the value of the TPM
counter that is frozen.
mechanism.
Returns the value of the
TPMxCnVH:L register.
Clears this read coherency
mechanism.
Not allowed.
Update the TPMxCnVH:L
registers with the value of
their write buffer at the next
change of the TPM counter
(end of the prescaler
counting) after the second
byte is written.
TPMV3
Chapter 9 Timer/PWM (S08TPMV3)
Clears the TPM counter
(TPMxCNTH:L) only.
If only one byte of the
TPMxCNTH:L registers was
read before the BDM mode
became active, returns the
latched value of TPMxCNTH:L
from the read buffer (instead of
the frozen TPM counter value).
Does not clear this read
coherency mechanism.
If only one byte of the
TPMxCnVH:L registers was
read before the BDM mode
became active, returns the
latched value of TPMxCNTH:L
from the read buffer (instead of
the value in the TPMxCnVH:L
registers).
Does not clear this read
coherency mechanism.
Allowed.
Always update these registers
when their second byte is
written.
TPMV2
149

Related parts for sc9s08mz16