Rev.1.01 2007.02.16
RJJ10J1643-0101
66
RAPI_WRITE_
RELOAD_ BOTH
Selects operation mode in which writing to the primary register and
prescaler causes the set data to be written to both the reload
register and the counter, respectively.
RAPI_RISING
Selects the rising edge of count source as active edge.
RAPI_FALLING
Selects the falling edge of count source as active edge.
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.
RAPI_PULSE_ON
Selects that pulses are output from TRA0 pin.
RAPI_PULSE_OFF
Selects that no pulses are output from TRA0 pin.
• Specifiable definition values when timer X is used (RAPI_TIMER_X specified)
(Operating
states set)
Specify one from { RAPI_TIMER_ON, RAPI_TIMER_OFF }. The default
value is RAPI_TIMER_OFF.
(Count edge)
Specify one from { RAPI_RISING, RAPI_FALLING }. The default value is
RAPI_FALLING.
• Specifiable definition values when timer Y is used (RAPI_TIMER_Y specified)
(Operating
states set)
Specify one from { RAPI_TIMER_ON, RAPI_TIMER_OFF }. The default
value is RAPI_TIMER_OFF.
(Write control)
Specify one from { RAPI_WRITE_RELOAD_ONLY,
RAPI_WRITE_RELOAD_BOTH }.
The default value is RAPI_WRITE_RELOAD_BOTH.
(INT2/CNTR1
input)
Specify one from { RAPI_RISING, RAPI_FALLING }. The default value is
RAPI_FALLING.
• Specifiable definition values when timer RA is used (RAPI_TIMER_RA specified)
(Operating
states set)
Specify one from { RAPI_TIMER_ON, RAPI_TIMER_OFF }. The default
value is RAPI_TIMER_OFF.
(Count edge)
Specify one from { RAPI_RISING, RAPI_FALLING }. The default value is
RAPI_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.
(Pulse output
function)
Specify one from { RAPI_PULSE_ON, RAPI_PULSE_OFF }. The default
value is RAPI_PULSE_OFF.
(H8/300H)
RAPI_TIMER_B1
Uses timer B1.
RAPI_TIMER_V
Uses timer V.
RAPI_TIMER_ON
Sets the timer to start operating in __CreateEventCounter.
RAPI_TIMER_OFF
Sets the timer to stop operating in __CreateEventCounter.
RAPI_OVERFLOW
Enables overflow interrupt.
RAPI_AUTO_RELOAD
Uses auto reload facility.