Rev.1.01 2007.02.16
RJJ10J1643-0101
138
[data2]
The content of a pointer to the buffer in which the register value is stored must be specified
as described below. The value is set in each register in order of buffer pointer elements.
(M16C)
• When using timer A (RAPI_TIMER_A0 to RAPI_TIMER_A4 specified)
[0]: Specify the set value for the timer Ai mode register (i = 0–4).
[1]: Specify the set value for the timer Ai register (i = 0–4).
[2]: Specify the set value for the up/down flag register.
[3]: Specify the set value for the one-shot start flag register.
[4]: Specify the set value for the trigger select register.
[5]: Specify the set value for the time-clock prescaler reset register.
[6]: Specify the set value for the count start flag register.
• When using timer B (RAPI_TIMER_B0 to RAPI_TIMER_B2)
[0]: Specify the set value for the timer Bi mode register (i = 0–2).
[1]: Specify the set value for the timer Bi register (i = 0–2).
[3]: Specify the set value for the time-clock prescaler reset register.
[4]: Specify the set value for the count start flag register.
• When using timer S (RAPI_TIMER_S specified)
[0]: Specify the set value for the base timer register.
[1]: Specify the set value for the base timer reset register.
[2]: Specify the set value for base timer control register 0.
[3]: Specify the set value for base timer control register 1.
[4]: Specify the set value for the count source divide-by-n register.
[5]: Specify the set value for time measurement control register 0.
[6]: Specify the set value for time measurement control register 1.
[7]: Specify the set value for time measurement control register 2.
[8]: Specify the set value for time measurement control register 3.
[9]: Specify the set value for time measurement control register 4.
[10]: Specify the set value for time measurement control register 5.
[11]: Specify the set value for time measurement control register 6.
[12]: Specify the set value for time measurement control register 7.
[13]: Specify the set value for time measurement prescaler register 6.
[14]: Specify the set value for time measurement prescaler register 7.
[15]: Specify the set value for waveform generation control register 0.
[16]: Specify the set value for waveform generation control register 1.
[17]: Specify the set value for waveform generation control register 2.
[18]: Specify the set value for waveform generation control register 3.
[19]: Specify the set value for waveform generation control register 4.
[20]: Specify the set value for waveform generation control register 5.
[21]: Specify the set value for waveform generation control register 6.
[22]: Specify the set value for waveform generation control register 7.
[23]: Specify the set value for waveform generation register 0.
[24]: Specify the set value for waveform generation register 1.
[25]: Specify the set value for waveform generation register 2.
[26]: Specify the set value for waveform generation register 3.