beautypg.com

Renesas M16C/62P Group User Manual

Page 72

background image

Rev.1.00 2007.11.1
REC10B0002-0100

70

Reference

__SetTimerRegister

,

__EnableTimerRegister

,

__ClearTimerRegister

Remark

If an undefined value is specified in the first argument, operation of the API cannot

be guaranteed.

Program example

#include " rapi_timer_m16c_62p.h"

void func( void )
{
unsigned int data[7];

/* Get the value of timer A3 registers */
__GetTimerRegister( RAPI_TIMER_A3, data );
}