User`s manual

RX62N Group, RX621 Group 4. Library Reference
Program example
/* RPDL definitions */
#include "r_pdl_cmt.h"
/* RPDL device-specific definitions */
#include "r_pdl_definitions.h"
void func(void)
{
/* Change channel 2 to 1ms period */
R_CMT_Control(
2,
PDL_CMT_STOP | PDL_CMT_PERIOD | PDL_CMT_START,
1E-3
);
}
R20UT0084EE0112 Rev.1.12 Page 4-153
July. 16, 2014