Renesas RJJ10J1643-0101 Network Card User Manual


 
Rev.1.01 2007.02.16
RJJ10J1643-0101
131
[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)
• When timer C is used (RAPI_TIMER_C specified)
Specify a pointer to the array in which the callback function is stored.
[0]: Specify a pointer to the callback function for timer C interrupt.
If this pointer is not specified, 0 is set.
[1]: Specify a pointer to the callback function for compare match interrupt 0.
If this pointer is not specified, 0 is set.
[2]: Specify a pointer to the callback function for compare match interrupt 1.
If this pointer is not specified, 0 is set.
• When timer RD is used (RAPI_TIMER_RD0 to RAPI_TIMER_RD4 specified)
Specify a pointer to the array in which the callback function is stored.
If this pointer is not specified, RAPI_NULL is set.
• When timer RE is used (RAPI_TIMER_RE specified)
Specify a pointer to the array in which the callback function is stored.
If this pointer is not specified, RAPI_NULL is set.
(H8/300H)
Specify a pointer to the variable 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 (output compare mode)
Reference
__EnableOutputCompare, __DestroyOutputCompare
Remark
If an undefined value is specified in the first argument, operation of the API cannot
be guaranteed.
If when using the H8/300H an undefined value is specified in the second argument,
program operation cannot be guaranteed.
If when using the M16C an undefined value is specified for any waveform
generation control register in the third argument, operation of the API cannot be
guaranteed.
If when using the H8/300H an undefined value is specified for the output operation
of any channel in the third argument, operation of the API cannot be guaranteed.
If when using the M16C or the H8/300H an undefined value is specified in the
fourth argument, operation of the API cannot be guaranteed.
The specifiable timers differ with each CPU used.
Program example