User`s manual
RX62N Group, RX621 Group 4. Library Reference
3) R_MTU2_Destroy
Synopsis
Disable a Multi-function Timer Pulse Unit.
Prototype
bool R_MTU2_Destroy(
uint8_t data
// Unit selection
);
Description
Shut down a timer pulse unit
[data]
The muti-function timer pulse unit n (where n = 0 or 1).
Unit 0 comprises channels 0 to 5.
Unit 1 comprises channels 6 to 11.
Return value
True if the unit selection is valid; otherwise false.
Category
Multi-function Timer Pulse Unit
Reference
None.
Remarks
•
The unit is put into the stop state to reduce power consumption.
Program example
#include "r_pdl_mtu2.h"
void func(void)
{
/* Shutdown MTU2 channels 0 to 5 */
R_MTU2_Destroy(
0
);
}
R20UT0084EE0112 Rev.1.12 Page 4-101
July. 16, 2014