In compare modes, writing to a CnV register latches the value into a buffer. A CnV
register is updated with the value of its write buffer according to
Additional writes to the CnV write buffer are ignored until the register has been updated.
Address: Base a 10h (8d × i), where i=0d to 1d
Bit
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10
9
8
7
6
5
4
3
2
1
0
R
W
Reset
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
TPMx_CnV field descriptions
Field
Description
31–16
Reserved
This field is reserved.
This read-only field is reserved and always has the value 0.
VAL
Channel Value
Captured TPM counter value of the input modes or the match value for the output modes. When writing
this field, all bytes must be written at the same time.
27.3.6 Capture and Compare Status (TPMx_STATUS)
The STATUS register contains a copy of the status flag CHnF bit (in CnSC) for each
TPM channel, as well as the TOF bit (in SC), for software convenience.
Each CHnF bit in STATUS is a mirror of CHnF bit in CnSC. All CHnF bits can be
checked using only one read of STATUS. All CHnF bits can be cleared by writing all
ones to STATUS.
Hardware sets the individual channel flags when an event occurs on the channel. CHF is
cleared by writing a 1 to the CHF bit. Writing a 0 to CHF has no effect.
If another event occurs between the flag setting and the write operation, the write
operation has no effect; therefore, CHF remains set indicating another event has occurred.
In this case a CHF interrupt request is not lost due to the clearing sequence for a previous
CHF.
Address: Base a 50h offset
Bit
31
30
29
28
27
26
25
24
23
22
21
20
19
18
17
16
R
W
Reset
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
Memory Map and Register Definition
KL02 Sub-Family Reference Manual, Rev. 2.1, July 2013
418
Freescale Semiconductor, Inc.