228
Table 9-14
Internal Clock Switching and TCG Operation (cont)
Clock Levels Before and
After Modifying Bits CKS1
No.
and CKS0
TCG Operation
4
Goes from high level to high level
Note:
*
The switchover is seen as a falling edge, and TCG is incremented.
2.
Notes on port mode register modification
The following points should be noted when a port mode register is modified to switch the input
capture function or the input capture input noise canceler function.
•
Switching input capture input pin function
Note that when the pin function is switched by modifying TMIG in port mode register 1 (PMR1),
which performs input capture input pin control, an edge will be regarded as having been input at
the pin even though no valid edge has actually been input. Input capture input signal input edges,
and the conditions for their occurrence, are summarized in table 9-15.
TCG
N
N+1
N+2
Clock before
switching
Clock before
switching
Count
clock
Write to CKS1 and CKS0