Chapter 7 16-bit Timer

(C)Even if the preset register is rewritten as the TM7EN flag is "1", the binary counter is not changed.

(D)If the binary counter reaches the value of the compare register 1, the set value of the preset register is loaded to the compare register at the next count clock. And the interrupt request flag is set at the next count clock, and the binary counter is cleared to x'0000' to restart counting up.

(E)If the TM7EN flag is"0", the binary counter is stopped.

When the binary counter reaches the value of the compare register, the interrupt request flag is set and the binary counter is cleared, at the next count clock. So, set the compare register as; (the set value of the compare register) = (count till the interrupt request - 1)

When the timer 7 compare register 2 match interrupt is generated and the TM7OC1 compare match is selected as a binary counter clear source, the set value of the compare register 2 should be smaller than the set value of the compare register 1.

If the interrupt is enabled, the timer interrupt request flag should be cleared before timer operation is started.

At TM7OC=x'0000', x'0001', the timer n interrupt request generation has the same wave- form.

VII - 12 16-bit Timer Count

Page 272
Image 272
Panasonic MN101C77C, F77G user manual VII 12 16-bit Timer Count