Datasheet

Section 11 8-Bit Timer (TMR)
Rev. 3.00 Sep. 28, 2009 Page 233 of 710
REJ09B0384-0300
No.
Timing of Switchover
by Means of CKS1
and CKS0 Bits TCNT Clock Operation
2 Clock switching from low
to high level
2
Clock before
switchover
Clock after
switchover
TCNT
clock
TCNT
CKS bit rewrite
N
N + 1 N + 2
3 Clock switching from high
to low level
3
Clock before
switchover
Clock after
switchover
TCNT
clock
TCNT
CKS bit rewrite
N
N + 1 N + 2
*
4
4 Clock switching from high
to high level
Clock before
switchover
Clock after
switchover
TCNT
clock
TCNT
CKS bit rewrite
N
N + 1 N + 2
Notes: 1. Includes switching from low to stop, and from stop to low.
2. Includes switching from stop to high.
3. Includes switching from high to stop.
4. Generated on the assumption that the switchover is a falling edge; TCNT is
incremented.