beautypg.com

Renesas RJJ10J1643-0101 User Manual

Page 57

background image

Rev.1.01 2007.02.16
RJJ10J1643-0101

55

(Operating states set)

Specify one from { RAPI_TIMER_ON, RAPI_TIMER_OFF }. The

default value is RAPI_TIMER_OFF.

(Pulse output state)

Specify one from { RAPI_PULSE_ON, RAPI_PULSE_OFF }. The

default value is RAPI_PULSE_OFF.

(Gate facility)

Specify one from { RAPI_GATE_L, RAPI_GATE_H }. If omitted,

“No gate facility” is set.

Specifiable definition values when timer B is used (RAPI_TIMER_B0 to

RAPI_TIMER_B2 specified)

(Count source)

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

RAPI_FC32 }. The default value is RAPI_F2.

(Operating states set)

Specify one from { RAPI_TIMER_ON, RAPI_TIMER_OFF }. The

default value is RAPI_TIMER_OFF.

(R8C)

RAPI_TIMER_X

Uses timer X.

RAPI_TIMER_Y Uses

timer

Y.

RAPI_TIMER_Z

Uses timer Z.

RAPI_TIMER_RA

Uses timer RA.

RAPI_TIMER_RB

Uses timer RB.

RAPI_F1 Selects

f

1

for the count source.

RAPI_F2 Selects

f

2

for the count source.

RAPI_F8 Selects

f

8

for the count source.

RAPI_F32 Selects

f

32

for the count source.

RAPI_FRING Selects

f

RING

for the count source.

RAPI_FOCO

Selects foco for the count source.

RAPI_FC32

Selects fC32 for the count source.

RAPI_TIMER_Y_

UNDERFLOW

Selects the underflow of timer Y for the count source.

RAPI_TIMER_RA_UN

DERFLOW

Selects the underflow of timer RA for the count source.

RAPI_TIMER_ON

Sets the timer to start operating in __CreateTimer.

RAPI_TIMER_OFF

Sets the timer to stop operating in __CreateTimer.

RAPI_WRITE_

RELOAD_ONLY

Selects operation mode in which writing to the primary register and

prescaler causes the set data to be written to only the reload

register.

RAPI_WRITE_

RELOAD_BOTH

Selects operation mode in which writing to the primary register and

prescaler causes the set data to be written to both the reload

register and the counter, respectively.

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.

Specifiable definition values when timer Y is used (RAPI_TIMER_Y specified)