Rev.1.01 2007.02.16
RJJ10J1643-0101
84
RAPI_TIMER_RA
Uses timer RA.
RAPI_F1 Selects
f
1
for the count source.
RAPI_F2 Selects
f
2
for the count source.
RAPI_F8 Selects
f
8
for the count source.
RAPI_F32 Selects
f
32
for the count source.
RAPI_FC32 Selects
f
C32
for the count source.
RAPI_FOCO Selects
fOCO
for the count source.
RAPI_TIMER_ON
Sets the timer to start operating in __CreatePulsePeriodMeasurementMode.
RAPI_TIMER_OFF
Sets the timer to stop operating in __CreatePulsePeriodMeasurementMode.
RAPI_RISING_
RISING
Selects measurement of an interval from the rise to the next rise of a
measurement pulse.
RAPI_FALLING_
FALLING
Selects measurement of an interval from the fall to the next fall of a
measurement pulse.
RAPI_FILTER_F1
Use sampling frequency f1 for digital filter function
RAPI_FILTER_F8
Use sampling frequency f8 for digital filter function
RAPI_FILTER_F32
Use sampling frequency f32 for digital filter function
RAPI_TIOSEL_P1_7
Sets count source input pin to P1_7.
RAPI_TIOSEL_P1_5
Sets count source input pin to P1_5.
• Specifiable definition values when timer X is used (RAPI_TIMER_X specified)
(Count source)
Specify one from { RAPI_F1, RAPI_F2, RAPI_F8, RAPI_F32 }. The
default value is RAPI_F1.
(Operating states
set)
Specify one from { RAPI_TIMER_ON, RAPI_TIMER_OFF }. The default
value is RAPI_TIMER_OFF.
(Measurement
pulse)
Specify one from { RAPI_RISING_RISING, RAPI_FALLING_FALLING }.
The default value is RAPI_FALLING_FALLING.
• Specifiable definition values when timer RA is used (RAPI_TIMER_RA specified)
(Count
source)
Specify one from { RAPI_F1, RAPI_F2, RAPI_F8, RAPI_F32,
RAPI_FOCO }. The default value is RAPI_F1.
(Operating states
set)
Specify one from { RAPI_TIMER_ON, RAPI_TIMER_OFF }. The default
value is RAPI_TIMER_OFF.
(Measure pulse)
Specify one from { RAPI_RISING_RISING, RAPI_FALLING_FALLING }.
The default value is RAPI_FALLING_FALLING.
(Filter)
Specify one from { RAPI_FILTER_F1, RAPI_FILTER_F8,
RAPI_FILTER_F32}. The default value is no filter.
(Input pin)
Specify one from { RAPI_TIOSEL_P1_7, RAPI_TIOSEL_P1_5 }. The
default value is RAPI_TIOSEL_P1_7.
(H8/300H)
RAPI_TIMER_W
Uses timer W.
RAPI_TIMER_Z0
Uses timer Z channel 0.
RAPI_TIMER_Z1
Uses timer Z channel 1.
RAPI_TIMER_RC
Uses timer RC.
RAPI_TIMER_RD0
Uses timer RD0 channel 0.
RAPI_TIMER_RD1
Uses timer RD0 channel 1.
RAPI_TIMER_RD2
Uses timer RD0 channel 2.