
Rev.1.00 May 22 2012
REJ09B0566
4
4.2.7 38BMulti Function Timer Pulse Unit
2) R_MTU_Destroy
Synopsis
Disable a timer channel.
Prototype bool R_MTU_Destroy(
uint8_t data
// Channel selection
);
Description
Shut down an MTU channel.
[data]
The Multi-function timer pulse unit channel n (where n = 0, 1, 2, 3 or 4).
Return value
True if the channel selection is valid; otherwise false.
Category
Multi-function timer pulse unit
Reference
R_MTU_Create
Remarks • The Multi-function timer pulse unit interrupts for given channel are disabled and is put into the stop state
to reduce power consumption.
Program example
#include “r_pdl_mtu.h”
void func(void)
{
/* Shutdown MTU channel 0 */
R_MTU_Destroy(
0
);
}
Komentáře k této Příručce