
Rev.1.00 May 22 2012
REJ09B0566
4
3BLibrary Reference
4.2.7 38BMulti Function Timer Pulse Unit
R_MTU_Control
Program example
/* PDL definitions */
#include “r_pdl_mtu.h”
/* PDL device-specific definitions */
#include “r_pdl_definitions.h”
void func(void)
{
/* Load the counter on channel MTU channel 0 */
R_MTU_Control(
0,
PDL_MTU_COUNTER,
0xFFDD,
0,
0,
0,
0
);
}
Comentários a estes Manuais