beautypg.com

Renesas RJJ10J1643-0101 User Manual

Page 72

background image

Rev.1.01 2007.02.16
RJJ10J1643-0101

70

Functionality

Timer (event counter mode)

Reference

__CreateEventCounter

,

__DestroyEventCounter

,

__GetEventCounter

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.

Program example

#include "rapi_timer_r8c.h"

void func( void )
{
/* Disable timer Y as event counter mode */
__EnableEventCounter( RAPI_TIMER_Y|RAPI_TIMER_OFF );
}