Rev.1.01 2007.02.16
RJJ10J1643-0101
109
(Counter
clear)
To specify GRA, GRB, GRC, or GRD input capture for the cause for which
the counter is cleared, select RAPI_COUNT_CLEAR_A,
RAPI_COUNT_CLEAR_B, RAPI_COUNT_CLEAR_C, or
RAPI_COUNT_CLEAR_D, respectively. If cleared at the same time a
synchronously operating counter on another channel is cleared, select
RAPI_COUNT_CLEAR_SYNC.
• 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 input capture A, input capture B, input capture C, or input
capture D interrupt requests are enabled, specify
RAPI_INPUT_CAPTURE_A, RAPI_INPUT_CAPTURE_B,
RAPI_INPUT_CAPTURE_C, or RAPI_INPUT_CAPTURE_D,
respectively. If no interrupts are specified, “No interrupt request” is set.
(Counter clear)
To specify GRA, GRB, GRC, or GRD input capture 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.
(Interrupt)
If overflow interrupt requests are enabled, specify RAPI_OVERFLOW. If
input capture A, input capture B, input capture C, or input capture D
interrupt requests are enabled, specify RAPI_INPUT_CAPURE_A,
RAPI_INPUT_CAPURE_B, RAPI_INPUT_CAPURE_C, or
RAPI_INPUT_CAPURE_D, respectively. When not specifying interrupts,
select “No interrupt requests.”
(Clock for digital
filter)
Specify one from [RAPI_TRD_FILTER_F1, RAPI_TRD_FILTER_F8,
RAPI_TRD_FILTER_F32, RAPI_TRD_FILTER_F]. The default is
RAPI_TRD_FILTER_F32.
• Specifiable definition values when timer RD is used (RAPI_TIMER_RD 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.