beautypg.com

Renesas RJJ10J1643-0101 User Manual

Page 128

background image

Rev.1.01 2007.02.16
RJJ10J1643-0101

126

RAPI_COUNT_CLEAR_S

YNC

Clear counter in sync with the synchronized other timer counter

RAPI_TIMER_SYNC

Synchronizes timer on channels 0 and 1.

• Specifiable definition values when timer W is used (RAPI_TIMER_W specified)

(Count source) Specify one from { RAPI_TW_F1, RAPI_TW_F2, RAPI_TW_F4,

RAPI_TW_F8 }. The default value is RAPI_TW_F1.

(Operating

states set)

Specify one from { RAPI_TIMER_ON, RAPI_TIMER_OFF }. The default

value is RAPI_TIMER_OFF.

(Interrupt)

If overflow interrupt requests are enabled, specify RAPI_OVERFLOW.

Similarly, if compare match A, compare match B, compare match C, or

compare match D interrupt requests are enabled, specify

RAPI_COMPARE_ATCH_A, RAPI_COMPARE_ATCH_B,

RAPI_COMPARE_ATCH_C, or RAPI_COMPARE_ATCH_D, respectively. If

no interrupts are specified, “No interrupt request” is set.

(Counter clear) To specify GRA compare match for the cause of counter clear, specify

RAPI_COUNT_CLEAR_A.

• Specifiable definition values when timer Z is used (RAPI_TIMER_Z0 to

RAPI_TIMER_Z1 specified)

(Count source)

Specify one from { RAPI_TZ_F1, RAPI_TZ_F2, RAPI_TZ_F4,

RAPI_TZ_F8 }. The default value is RAPI_TZ_F1.

(Operating

states set)

Specify one from { RAPI_TIMER_ON, RAPI_TIMER_OFF }. The default

value is RAPI_TIMER_OFF.

(Interrupt)

If overflow interrupt requests are enabled, specify RAPI_OVERFLOW.

Similarly, if compare match A, compare match B, compare match C, or

compare match D interrupt requests are enabled, specify

RAPI_COMPARE_ATCH_A, RAPI_COMPARE_ATCH_B,

RAPI_COMPARE_ATCH_C, or RAPI_COMPARE_ATCH_D,

respectively. If no interrupts are specified, “No interrupt request” is set.

(Counter clear)

To specify GRA, GRB, GRC, or GRD compare match for the cause of

counter clear, specify RAPI_COUNT_CLEAR_A,

RAPI_COUNT_CLEAR_B, RAPI_COUNT_CLEAR_C, or

RAPI_COUNT_CLEAR_D, respectively.

(Synchronization) If the timer is synchronized on channels 0 and 1, specify

RAPI_TIMER_SYNC. If synchronization is not specified, “Channels 0 and

1 operate independently” is set.

• Specifiable definition values when timer RC is used (RAPI_TIMER_RC specified)

(Count

source)

Specify one from [RAPI_TRD_F1, RAPI_TRD_F2, RAPI_TRD_F4,

RAPI_TRD_F8, RAPI_TRD_F32, RAPI_TRD_F40M]. The default is

RAPI_TRD_F1.

(Operating

states set)

Specify one from [RAPI_TIMER_ON, RAPI_TIMER_OFF]. The default is

RAPI_TIMER_OFF.