Rev.1.01 2007.02.16
RJJ10J1643-0101
129
(Output mode) Specify one from { RAPI_SINGLE, RAPI_SR, RAPI_PHASE_DELAYED }.
The default value is RAPI_SINGLE.
(Initial output
value)
Specify one from { RAPI_OUT_INIT_0, RAPI_OUT_INIT_1 }. The default
value is RAPI_OUT_INIT_0.
(Output
inversion)
To invert the output, specify RAPI_OUTPUT_REVERSED. If output
inversion is not specified, “Output not inverted” is set.
(Reload)
Specify one from { RAPI_RELOAD_WITH_RESET,
RAPI_RELOAD_WITH_WRITE }.
The default value is RAPI_RELOAD_WITH_WRITE.
(R8C)
• When timer C is used (RAPI_TIMER_C specified)
Specify a pointer to the array in which the comparison value is stored.
[0]: Specify comparison value 0 in 16 bits.
[1]: Specify comparison value 1 in 16 bits.
• When timer RD is used (RAPI_TIMER_RD0 to RAPI_TIMER_RD4 specified)
Specify a pointer to the array in which the comparison value is stored.
[0]: Specify the output operation of TRDIOAi (i=0,1).
[1]: Specify the output operation of TRDIOBi (i=0,1).
[2]: Specify the output operation of TRDIOCi (i=0,1).
[3]: Specify the output operation of TRDIODi (i=0,1).
[4]: Specify the comparison value of general register A in 16 bits.
[5]: Specify the comparison value of general register B in 16 bits.
[6]: Specify the comparison value of general register C in 16 bits.
[7]: Specify the comparison value of general register D in 16 bits.
To specify output operation for each output compare of array elements, the following definition
values can be used. To specify multiple definition values at the same time, use the symbol “|”
to separate each specified value. For elements of output operation corresponding to unused
channels, set 0.
RAPI_OUT_0
Selects 0 output for the output waveform.
RAPI_OUT_1
Selects 1 output for the output waveform.
RAPI_OUT_TOGGLE
Selects toggle output for the output waveform.
RAPI_OUT_INIT_0
Selects 0 output for the initial output.
RAPI_OUT_INIT_1
Selects 1 output for the initial output.
• When timer RE is used (RAPI_TIMER_RE specified)
Specify a pointer to the array in which the comparison value is stored.
Specify comparison value of timer RE compare data register in 8 bits.
(H8/300H)
Specify a pointer to the array in which the comparison value is stored.
[0]: Specify the output operation of FTIOA pin.
[1]: Specify the output operation of FTIOB pin.
[2]: Specify the output operation of FTIOC pin.
[3]: Specify the output operation of FTIOD pin.
[4]: Specify the comparison value of general register A in 16 bits.
[5]: Specify the comparison value of general register B in 16 bits.