beautypg.com

Renesas SH7641 User Manual

Page 561

background image

Section 17 Compare Match Timer (CMT)

Rev. 4.00 Sep. 14, 2005 Page 511 of 982

REJ09B0023-0400

17.2.2

Compare Match Timer Control/Status Register (CMCSR)

CMCSR is a 16-bit register that indicates compare match generation, enables interrupts or DMA
transfer requests, and selects the counter input clock.

CMCSR is initialized to H'0000 by a power on reset, but is not initialized in standby mode.

Bit Bit

Name

Initial
value R/W

Description

15 to 8

 All

0

R

Reserved

These bits are always read as 0. The write value should
always be 0.

7 CMF 0 R/(W)* Compare Match Flag

Indicates whether or not the values of CMCNT and
CMCOR match.

0: CMCNT and CMCOR values do not match

[Clearing condition]

When 0 is written to CMF after reading CMF = 1

1: CMCNT and CMCOR values match

6

 0

R

Reserved

This bit is always read as 0. The write value should
always be 0.

5

4

CMR1

CMR0

0

0

R/W

R/W

Compare Match Request

These bits enable or disable DMA transfer request or
interrupt request generation when a compare match
occurs.

00: DMA transfer request/interrupt request disabled

01: DMA transfer request enabled

10: Interrupt request enabled

11: Reserved (Setting prohibited)

3, 2

 All

0

R

Reserved

These bits are always read as 0. The write value should
always be 0.

This manual is related to the following products: