
Rev.1.00 May 22 2012
REJ09B0566
4BUsage Examples
5.5 25BMulti-Function Timer Pulse Unit
&General_D
);
/* Modify channel 0 */
R_MTU_Control(
0,
PDL_MTU_COUNTER,
0xFFDD,
0,
0,
0,
0
);
/* Shutdown channels 0 to 5 */
R_MTU_Destroy(
0
);
}
Figure 5-5 Example of MTU2
use
The counter is reset when it reaches 399. The 0 value is a valid state so the output toggle frequency is 50 MHz ÷ 400.
FFFFh
399
199
0
Counter
value
TIOCB0
TIOCA0
Figure 5-6 Example of MTU
operation
Comentarios a estos manuales