Renesas RJJ10J1643-0101 Network Card User Manual


 
Rev.1.01 2007.02.16
RJJ10J1643-0101
79
Reference
__EnablePulseWidthModulationMode
, __DestroyPulseWidthModulationMode
Remark
If an undefined value is specified in the first argument, operation of the API cannot
be guaranteed.
The specifiable timers differ with each CPU used.
For the H8/300H, make sure that comparison value A < comparison value B.
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 ){}
void func( void )
{
unsigned int p_tim[] = {0xAA, 0xBB, 0xCC};
/* Set up timer Z as pulse width modulation mode */
__CreatePulseWidthModulationMode( RAPI_TIMER_Z|RAPI_TIMER_ON|RAPI_F8,
5, p_tim, TimerIntFunc);
}