Rev.1.01 2007.02.16
RJJ10J1643-0101
99
__EnablePulseWidthMeasurementMode
Synopsis
<Control operation of pulse width measurement mode>
Boolean __EnablePulseWidthMeasurementMode(unsigned long data)
data Setup data (content differs with MCU type)
Description
Controls operation of the timer that is set to specified pulse width measurement mode.
[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_B0 Selects timer B channel 0.
RAPI_TIMER_B1 Selects timer B channel 1.
RAPI_TIMER_B2 Selects timer B channel 2.
RAPI_TIMER_ON Sets the timer that is set to pulse width measurement mode to start
operating.
RAPI_TIMER_OFF Sets the timer that is set to pulse width measurement mode to stop
operating.
(R8C)
RAPI_TIMER_X Selects timer X.
RAPI_TIMER_RA Selects timer RA.
RAPI_TIMER_ON Sets the timer that is set to pulse width measurement mode to start
operating.
RAPI_TIMER_OFF Sets the timer that is set to pulse width measurement mode to stop
operating.
(H8/300H)
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_RD
0
Selects timer RD channel 0.
RAPI_TIMER_RD
1
Selects timer RD channel 1.
RAPI_TIMER_RD
2
Selects timer RD channel 2.
RAPI_TIMER_RD
3
Selects timer RD channel 3.
RAPI_TIMER_ON Sets the timer that is set to pulse width measurement mode to start
operating.
RAPI_TIMER_OFF Sets the timer that is set to pulse width measurement mode to stop
operating.