User manual
V850E2/MN4 Timer Array Unit Control
R01AN0922EJ0100 Rev.1.00 Page 5 of 54
Jan 13, 2012
4. Sample Application
This section explains how to set up the TAUA and the TAUJ.
4.1 Flow Charts
The flow charts of this sample program are shown below.
4.1.1 Main Processing
The main processing sets up the ports and the timer array units. The timers are started, the TAUA is made to generate
the PWM pulse, and then, the TAUJ is made to measure the pulse width.
Figure 4.1 Main Processing