Rev.1.01 2007.02.16
RJJ10J1643-0101
143
__EnableTimerRegister
Synopsis
<Control operation of timer register>
Boolean __EnableTimerRegister(unsigned long data)
data Setup data (content differs with MCU type)
Description
Controls operation of a specified timer by starting or stopping it.
[data]
For data, the following definition values can be set. To set multiple definition values at
the same time, use the symbol “|” to separate each specified value.
(M16C)
RAPI_TIMER_A0 Selects timer A channel 0.
RAPI_TIMER_A1 Selects timer A channel 1.
RAPI_TIMER_A2 Selects timer A channel 2.
RAPI_TIMER_A3 Selects timer A channel 3.
RAPI_TIMER_A4 Selects timer A channel 4.
RAPI_TIMER_B0 Selects timer B channel 0.
RAPI_TIMER_B1 Selects timer B channel 1.
RAPI_TIMER_B2 Selects timer B channel 2.
RAPI_TIMER_S Selects timer S.
RAPI_TIMER_ON Sets the selected timer to start operating.
RAPI_TIMER_OFF Sets the selected timer to stop operating.
(R8C)
RAPI_TIMER_C Selects timer C.
RAPI_TIMER_X Selects timer X.
RAPI_TIMER_Y Selects timer Y.
RAPI_TIMER_Z Selects timer Z.
RAPI_TIMER_RA Selects timer RA.
RAPI_TIMER_RB Selects timer RB.
RAPI_TIMER_RD0 Selects timer RD channel 0.
RAPI_TIMER_RD1 Selects timer RD channel 1.
RAPI_TIMER_RE Selects timer RE.
RAPI_TIMER_ON Sets the selected timer to start operating.
RAPI_TIMER_OFF Sets the selected timer to stop operating.
(H8/300H)
RAPI_TIMER_V Selects timer V.
RAPI_TIMER_W Selects timer W.
RAPI_TIMER_Z0 Selects timer Z channel 0.
RAPI_TIMER_Z1 Selects timer Z channel 1.
RAPI_TIMER_RC Selects timer RC.
RAPI_TIMER_RD0 Selects timer RD channel 0.
RAPI_TIMER_RD1 Selects timer RD channel 1.