Renesas RJJ10J1643-0101 Network Card User Manual


 
Rev.1.01 2007.02.16
RJJ10J1643-0101
111
[2]: Specify the set value for time measurement control register 2.
[3]: Specify the set value for time measurement control register 3.
[4]: Specify the set value for time measurement control register 4.
[5]: Specify the set value for time measurement control register 5.
[6]: Specify the set value for time measurement control register 6.
[7]: Specify the set value for time measurement control register 7.
For each element of the array, the following definition values can be set. To set
multiple definition values at the same time, use the symbol “|” to separate each
specified value.
RAPI_IC_RISING Selects the rising edge of measurement pulse as active edge.
RAPI_IC_FALLING Selects the falling edge of measurement pulse as active edge.
RAPI_IC_BOTH Selects both rising and falling edges of measurement pulse as
active edge.
RAPI_FILTER_F1_F2 Uses the digital filter facility that has a sampling frequency f
1
or f
2
.
RAPI_FILTER_FBT1 Uses the digital filter facility that has a sampling frequency f
BT1
.
RAPI_GATE Uses a gate facility.
RAPI_GATE_CLEAR Clears the gate facility upon a match of base timer and G1POk
register.
RAPI_PRESCALER Uses a prescaler facility.
• Specifiable definition values for time measurement registers 07
(Measurement
pulse)
Specify one from { RAPI_IC_RISING, RAPI_IC_FALLING,
RAPI_IC_BOTH }. If no measurement pulses are specified, the time
measurement register is set to “No time measurement performed.”
(Filter) Specify one from { RAPI_FILTER_F1, RAPI_FILTER_FBT1 }. If no filters are
specified, “No digital filter” is set.
• Specifiable definition values for time measurement registers 67
(Gate) To use the gate facility, specify RAPI_GATE. If RAPI_GATE is not specified,
“No facility unused” is set. Make sure RAPI_GATE_CLEAR is specified at
the same time RAPI_GATE is specified.
(Prescaler) To use the prescaler facility, specify RAPI_PRESCALER. If
RAPI_PRESCALER is not specified, “No prescaler facility” is set.
(R8C)
When using timer RD (RAPI_TIMER_RD0 to RAPI_TIMER_RD1 specified), set one of the
following values. Otherwise, specify 0.
Specify a pointer to the array in which each active edge setting is stored.
[0]: Specify the active edge of TRDIOAi (i=0,1) pin.
[1]: Specify the active edge of TRDIOBi (i=0,1) pin.
[2]: Specify the active edge of TRDIOCi (i=0,1) pin.
[3]: Specify the active edge of TRDIODi (i=0,1) pin.
For each element of the array, one of [RAPI_TRD_RISING, RAPI_TRD_FALLING,
RAPI_TRD_BOTH] can be set as the active edge of measured pulses.
Furthermore, if the digital filter function is enabled, select RAPI_FILTER_ON.
To set the f0C0128 signal for the TRDI0A0 pin on channel 0, specify RAPI_F0C0128. For the
elements corresponding to unused channels, set 0.