Renesas RJJ10J1643-0101 Network Card User Manual


 
Rev.1.01 2007.02.16
RJJ10J1643-0101
113
RAPI_CHANNEL1 Selects channel 1.
RAPI_CHANNEL2 Selects channel 2.
RAPI_CHANNEL3 Selects channel 3.
RAPI_CHANNEL4 Selects channel 4.
RAPI_CHANNEL5 Selects channel 5.
RAPI_CHANNEL6 Selects channel 6.
RAPI_CHANNEL7 Selects channel 7.
(R8C) (H8/300H)
Specify 0.
[data5]
(M16C)
Specify a pointer to the array in which the callback function is stored.
[0]: Specify a pointer to the callback function for IC/OC base timer interrupt. If this
pointer is not specified, 0 is set.
[1]: Specify a pointer to the callback function for IC/OC interrupt 0. If this pointer is
not specified, 0 is set.
[2]: Specify a pointer to the callback function for IC/OC interrupt 1. If this pointer is
not specified, 0 is set.
(R8C) (H8/300H)
Specify a pointer to the array in which the callback function is stored. If this pointer
is not specified, RAPI_NULL is set.
Return value
If the timer specification is incorrect, RAPI_FALSE is returned; otherwise, RAPI_TRUE
is returned.
Functionality
Timer (input capture mode)
Reference
__EnableInputCapture, __DestroyInputCapture, __GetInputCapture
Remark
If an undefined value is specified in the first, third and fourth arguments, operation
of the API cannot be guaranteed.
The specifiable timers differ with each CPU used.
When use CPU which has no digital filter function, cannot specify digital filter
setting.
When used for the H8/300H, this API specify when freeing it from module stanby
state.
Program example
#include "rapi_timer_r8c_13.h"
void TimerIntFunc( void ){}