Rev.1.01 2007.02.16
RJJ10J1643-0101
76
RAPI_RISING Selects the rising edge of TA
iIN
pin input signal as active edge.
RAPI_FALLING Selects the falling edge of TA
iIN
pin input signal as active edge.
• Specifiable definition values when timer A is used (RAPI_TIMER_A0 to
RAPI_TIMER_A4 specified)
(Count source) Specify one from { RAPI_F1, RAPI_F2, RAPI_F32, RAPI_FC32 }.
The default value is RAPI_F2.
(Operating states set) Specify one from { RAPI_TIMER_ON, RAPI_TIMER_OFF }. The
default value is RAPI_TIMER_OFF.
(Count start condition) Specify one from { RAPI_TG_TAIS, RAPI_TG_TAIIN,
RAPI_EV_TIMER_AJ, RAPI_EV_TIMER_AK,
RAPI_EV_TIMER_B2 }. The default value is RAPI_TG_TAIIN.
(Pulse output facility) Specify one from { RAPI_PULSE_ON, RAPI_PULSE_OFF }. The
default value is RAPI_PULSE_OFF.
(Modulator) Specify one from { RAPI_PWM_16, RAPI_PWM_8 }. The default
value is RAPI_PWM_16.
(TA
iIN
pin input) Specify one from { RAPI_RISING, RAPI_FALLING }. The default
value is RAPI_FALLING. The active edge of TA
iIN
pin input can only
be set when RAPI_TG_TAIIN is selected.
(R8C)
RAPI_TIMER_Y Uses timer Y.
RAPI_TIMER_Z Uses timer Z.
RAPI_TIMER_RB Uses timer RB.
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_FRING Selects f
RING
for the count source.
RAPI_TIMER_Y_
UNDERFLOW
Selects underflow of timer Y for the count source.
RAPI_TIMER_RA_
UNDERFLOW
Selects underflow of timer RA for the count source.
RAPI_TIMER_ON Sets the timer to start operating in __CreatePulseWidthModulationMode.
RAPI_TIMER_OFF Sets the timer to stop operating in __CreatePulseWidthModulationMode.
RAPI_H_L_L Sets to output a high during the primary period, a low during the
secondary period, and a low when the timer is idle.
RAPI_L_H_H Sets to output a low during the primary period, a high during the
secondary period, and a high when the timer is idle.
• Specifiable definition values when timer Y is used (RAPI_TIMER_Y specified)
(Count source) Specify one from { RAPI_F1, RAPI_F8, RAPI_FRING }. 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.
(Output) Specify one from { RAPI_H_L_L, RAPI_L_H_H }. The default value is
RAPI_H_L_L.
• Specifiable definition values when timer Z is used (RAPI_TIMER_Z specified)