beautypg.com

Renesas RJJ10J1643-0101 User Manual

Page 92

background image

Rev.1.01 2007.02.16
RJJ10J1643-0101

90

__DestroyPulsePeriodMeasurementMode

Synopsis

Boolean __DestroyPulsePeriodMeasurementMode(unsigned long data)

data

Setup data (content differs with MCU type)

Description

Discards settings of the timer that is set to specified pulse period measurement mode.

[data]

For data, the following definition values can be set.

(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.

(R8C)

RAPI_TIMER_X

Selects timer X.

RAPI_TIMER_RA

Selects timer RA.

(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.

Return value

If the timer specification is incorrect, RAPI_FALSE is returned; otherwise, RAPI_TRUE
is returned.

Functionality

Timer (pulse period measurement mode)

Reference

__CreatePulsePeriodMeasurementMode

,

__EnablePulsePeriodMeasurementMode

,

__GetPulsePeriodMeasurementMode

Remark

If an undefined value is specified in the argument, operation of the API cannot be
guaranteed.

The specifiable timers differ with each CPU used.