HD6417320 RENESAS [Renesas Technology Corp], HD6417320 Datasheet - Page 617

no-image

HD6417320

Manufacturer Part Number
HD6417320
Description
Renesas 32-Bit RISC Microcomputer SuperHTM RISC engine Family / SH7700 Series
Manufacturer
RENESAS [Renesas Technology Corp]
Datasheet
• Free-Running Operation
16.3.2
In this module, the size of the counter is selectable as either 16 or 32 bits. This is selected by the
CMS bit in CMCSR.
When the 16-bit size is selected, use a 32-bit value which has H'0000 as its upper half to set
CMCOR.
To detect an overflow interrupt, the value must be set to H'0000FFFF.
Free-running operation is selected by setting the CMM bit in CMCSR to 1. When the value in
CMCNT matches the value in CMCOR, CMCNT is cleared to H'00000000 and the CMF bit in
CMCSR is set to 1. CMCNT resumes counting-up after it has been cleared.
To detect an overflow interrupt, set CMCOR to H'FFFFFFFF. When the values in CMCNT
and CMCOR match, CMCNT is cleared to H'00000000 and bits CMF and OVF in CMCSR
are set to 1.
H'00000000
CMCOR
Value in
CMCNT
Counter Size
Figure 16.3 Counter Operation (Free-Running Operation)
CMF=1
OVF=1 (When an overflow is detected)
Rev. 3.00 Jan. 18, 2008 Page 555 of 1458
Section 16 Compare Match Timer (CMT)
REJ09B0033-0300
Time

Related parts for HD6417320