User`s manual

RX62N Group, RX621 Group 4. Library Reference
Program example
/* RPDL definitions */
#include "r_pdl_mtu2.h"
/* RPDL device-specific definitions */
#include "r_pdl_definitions.h"
uint8_t Flags;
uint16_t General_A;
uint16_t General_D;
void func(void)
{
/* Read the status flags and registers of channel 3 */
R_MTU2_ReadChannel(
3,
&Flags,
PDL_NO_PTR,
&General_A,
PDL_NO_PTR,
PDL_NO_PTR,
&General_D,
PDL_NO_PTR,
PDL_NO_PTR
);
}
R20UT0084EE0112 Rev.1.12 Page 4-112
July. 16, 2014