beautypg.com

Renesas RJJ10J1643-0101 User Manual

Page 97

background image

Rev.1.01 2007.02.16
RJJ10J1643-0101

95

RAPI_FOCO Selects

fOCO

for the count source.

RAPI_TIMER_ON

Sets the timer to start operating in __CreatePulsePeriodMeasurementMode.

RAPI_TIMER_OFF

Sets the timer to stop operating in __CreatePulsePeriodMeasurementMode.

RAPI_RISING_

RISING

Selects measurement of an interval from the rise to the next rise of a

measurement pulse.

RAPI_FALLING_

FALLING

Selects measurement of an interval from the fall to the next fall of a

measurement pulse.

RAPI_FILTER_F1

Use sampling frequency f1 for digital filter function

RAPI_FILTER_F8

Use sampling frequency f8 for digital filter function

RAPI_FILTER_F32

Use sampling frequency f32 for digital filter function

RAPI_TIOSEL_P1

_7

Sets count source input pin to P1_7.

RAPI_TIOSEL_P1

_5

Sets count source input pin to P1_5.

• Specifiable definition values when timer X is used (RAPI_TIMER_X specified)

(Count source) Specify one from { RAPI_F1, RAPI_F2, RAPI_F8, RAPI_F32 }. 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.

(Measurement

pulse)

Specify one from { RAPI_FALLING_RISING, RAPI_RISING_FALLING }.

The default value is RAPI_FALLING_RISING.

• Specifiable definition values when timer RA is used (RAPI_TIMER_RA specified)

(Count

source) Specify one from { RAPI_F1, RAPI_F2, RAPI_F8, RAPI_F32,

RAPI_FOCO }. 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.

(Measure

pulse)

Specify one from { RAPI_RISING_RISING, RAPI_FALLING_FALLING }.

The default value is RAPI_FALLING_FALLING.

(Filter)

Specify one from { RAPI_FILTER_F1, RAPI_FILTER_F8,

RAPI_FILTER_F32}. The default value is no filter.

(Input pin)

Specify one from { RAPI_TIOSEL_P1_7, RAPI_TIOSEL_P1_5 }. The

default value is RAPI_TIOSEL_P1_7.

(H8/300H)

RAPI_TIMER_W

Uses timer W.

RAPI_TIMER_Z0

Uses timer Z channel 0.

RAPI_TIMER_Z1

Uses timer Z channel 1.

RAPI_TIMER_RC

Uses timer RC.

RAPI_TIMER_RD0

Uses timer RD0 channel 0.

RAPI_TIMER_RD1

Uses timer RD0 channel 1.

RAPI_TIMER_RD2

Uses timer RD0 channel 2.

RAPI_TIMER_RD3

Uses timer RD0 channel 3.

RAPI_TW_F1

Timer W counts with internal clock φ.

RAPI_TW_F2

Timer W counts with internal clock φ/2.

RAPI_TW_F4

Timer W counts with internal clock φ/4.