User`s manual
RX62N Group, RX621 Group 4. Library Reference
2) R_IWDT_Control
Synopsis
Control the Independent Watchdog operation.
Prototype
bool R_IWDT_Control(
uint8_t data
// Control selection
);
Description
Modify the operation of the Independent Watchdog timer.
[data]
Control the timer.
•
Counter start / refresh
PDL_IWDT_REFRESH
Start or refresh the counter by re-loading the timeout value.
Return value
True if the parameter is valid; otherwise false.
Category
Independent Watchdog Timer
Reference
R_IWDT_Set
Remarks
•
R_IWDT_Set must be first be used to configure the timer.
Program example
/* RPDL definitions */
#include "r_pdl_iwdt.h"
/* RPDL device-specific definitions */
#include "r_pdl_definitions.h"
void func(void)
{
/* Refresh the IWDT */
R_IWDT_Control(
PDL_IWDT_REFRESH
);
}
R20UT0084EE0112 Rev.1.12 Page 4-167
July. 16, 2014