User`s manual
RX62N Group, RX621 Group 4. Library Reference
Program example
/* RPDL definitions */
#include "r_pdl_tmr.h"
/* RPDL device-specific definitions */
#include "r_pdl_definitions.h"
void func(void)
{
/* Load the unit 1 counter and constants */
R_TMR_ControlUnit(
1,
PDL_TMR_COUNTER | PDL_TMR_TIME_CONSTANT_A | \
PDL_TMR_TIME_CONSTANT_B,
0xAAFF,
0x100,
0x5600
);
}
R20UT0084EE0112 Rev.1.12 Page 4-141
July. 16, 2014