Rev.1.01 2007.02.16
RJJ10J1643-0101
65
RAPI_UDF_REGISTER
Selects the UDF register for the cause of up/down switching.
RAPI_TAIOUT
Selects the input signal at TA
iOUT
pin for the cause of up/down
switching.
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.
• Specifiable definition values when timer A is used (RAPI_TIMER_A0 to RAPI_TIMER_A4
specified)
(Count
source) Specify one from { RAPI_EV_EXTERNAL, RAPI_EV_TIMER_AJ,
RAPI_EV_TIMER_AK, RAPI_EV_TIMER_B2 }. The default value is
RAPI_EV_EXTERNAL.
(Operating
states set)
Specify one from { RAPI_TIMER_ON, RAPI_TIMER_OFF }. The default
value is RAPI_TIMER_OFF.
(Pulse output
facility)
Specify one from { RAPI_PULSE_ON, RAPI_PULSE_OFF }. The default
value is RAPI_PULSE_OFF.
(Gate facility)
Specify one from { RAPI_GATE_L, RAPI_GATE_H }. If omitted, “No gate
facility” is set.
(Count type)
Specify one from { RAPI_AUTO_RELOAD, RAPI_FREE_RUN }. The
default value is RAPI_AUTO_RELOAD.
(Count
direction)
Specify one from { RAPI_UP_COUNT, RAPI_DOWN_COUNT }. The
default value is RAPI_DOWN_COUNT. The count direction can only be set
when the UDF register is used.
(Count direction
switching)
Specify one from { RAPI_UDF_REGISTER, RAPI_TAIOUT }. The default
value is RAPI_UDF_REGISTER.
(Count edge)
Specify one from { RAPI_RISING, RAPI_FALLING }. The default value is
RAPI_FALLING.
• Specifiable definition values when timer B is used (RAPI_TIMER_B0 to RAPI_TIMER_B2
specified)
(Count source)
Specify one from { RAPI_EV_EXTERNAL, RAPI_EV_TIMER_BJ }. The
default value is RAPI_EV_EXTERNAL.
(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.
(R8C)
RAPI_TIMER_X
Uses timer X.
RAPI_TIMER_Y Uses
timer
Y.
RAPI_TIMER_RA
Uses timer RA.
RAPI_TIMER_ON
Sets the timer to start operating in __CreateEventCounter.
RAPI_TIMER_OFF
Sets the timer to stop operating in __CreateEventCounter.
RAPI_WRITE_
RELOAD_ ONLY
Selects operation mode in which writing to the primary register and
prescaler causes the set data to be written to only the reload
register.