User manual
V850E2/MN4 Timer Array Unit Control
R01AN0922EJ0100 Rev.1.00 Page 44 of 54
Jan 13, 2012
• TAUJn channel mode user register (TAUJnCMURm)
This register specifies the type of valid edge detection used for the TAUJnTTINm input.
In this sample program, the TAUJ is set to single operation signal width measurement and measures the width of the
pulse input from TAUJ0TTIN0. When both edges are detected, the high level width is measured by regarding the start
trigger as the rising edge and the stop trigger as the falling edge.
Figure 4.39 TAUJnCMURm Register Format
Setting example
TAUJ0CMUR0 = 0x0003; /* detect high width*/