HD6417641 RENESAS [Renesas Technology Corp], HD6417641 Datasheet - Page 563

no-image

HD6417641

Manufacturer Part Number
HD6417641
Description
Manufacturer
RENESAS [Renesas Technology Corp]
Datasheet
17.3
17.3.1
When an internal clock is selected with the CKS1 and CKS0 bits in CMCSR and the STR bit in
CMSTR is set to 1, CMCNT starts incrementing using the selected clock. When the values in
CMCNT and CMCOR match, CMCNT is cleared to H'0000 and the CMF flag in CMCSR is set to
1. CMCNT then starts counting up again from H'0000.
Figure 17.2 shows the operation of the compare match counter.
17.3.2
One of four internal clocks (Pφ/4, Pφ/8, Pφ/16, and Pφ/64) obtained by dividing the Pφ clock can
be selected with bits CKS1 and CKS0 in CMCSR. Figure 17.3 shows the timing.
Peripheral operating
clock (Pφ)
Internal clock
Count clock
CMCNT
Operation
Interval Count Operation
CMCNT Count Timing
CMCOR
H'0000
CMCNT value
Clock
N
Figure 17.2 Counter Operation
Figure 17.3 Count Timing
N
Counter cleared by compare
match with CMCOR
Rev. 4.00 Sep. 14, 2005 Page 513 of 982
Section 17 Compare Match Timer (CMT)
Clock
N + 1
Time
REJ09B0023-0400
N + 1

Related parts for HD6417641