Rev.1.01 2007.02.16
RJJ10J1643-0101
67
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_BOTH
Selects both rising and falling edges of count source as active
edges.
RAPI_TRGV_RISING
Selects the rising edge of TRGV pin input signal as active edge.
RAPI_ TRGV_FALLING
Selects the falling edge of TRGV pin input signal as active edge.
RAPI_ TRGV_BOTH
Selects both rising and falling edges of TRGV pin input signal as
active edges.
RAPI_TRGV_PROHIBI
TED
Selects that trigger input from TRGV pin is disabled.
• Specifiable definition values when timer B1 is used (RAPI_TIMER_B1 specified)
(Interrupt)
If overflow interrupt requests are enabled, specify RAPI_OVERFLOW. If
RAPI_OVERFLOW is not specified, “No overflow interrupt request” is set.
(Reload)
To select the auto reload facility, specify RAPI_AUTO_RELOAD. If no
interrupts are specified, “No interrupt request” is set.
(Count edge)
Specify one from { RAPI_RISING, RAPI_FALLING }. The default value is
RAPI_FALLING.
• Specifiable definition values when timer V is used (RAPI_TIMER_V specified)
(Interrupt)
If overflow interrupt requests are enabled, specify RAPI_OVERFLOW. If no
interrupts are specified, “No interrupt request” is set.
(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, RAPI_BOTH }. The
default value is RAPI_FALLING.
(TRGV pin
input)
Specify one from { RAPI_TRGV_RISING, RAPI_ TRGV_FALLING, RAPI_
TRGV_BOTH, RAPI_TRGV_PROHIBIT }. The default value is RAPI_T
RGV_PROHIBIT.
[data2]
(M16C)
(R8C)
Specify the interrupt priority level (0
–
7) to be set in the interrupt control register.
(H8/300H)
Specify the interrupt priority level (0–1) to be set in the interrupt control register. For
the CPUs that do not have an interrupt control register, specify 0.
[data3]
(M16C)
Specify the value to be set in the timer register in 16 bits.
(R8C)
When using timer X, specify the set value for the timer register; when using timer Y,
specify the set value for the primary register in 8 bits.
(H8/300H)
Specify the set value for the timer reload register in 8 bits. This setting is effective
only when timer B1 is used. If any timer other than B1 is used, specify 0.