Panasonic MN101C77C, F77G user manual Count Timing of Synchronous TMnIO Input Timers 0, 1, 4

Models: F77G MN101C77C

1 544
Download 544 pages 59.61 Kb
Page 234
Image 234

Chapter 6 8-bit Timers

„Count Timing of Synchronous TMnIO Input (Timers 0, 1, 4 and 5)

If the synchronous TMnIO input is selected, the synchronizing circuit output signal is input to the timer n count clock. The synchronizing circuit output signal is changed at the falling edge of the system clock after TMnIO input signal is changed.

TMnIO input

System clock (fs)

Synchronizing circuit output (Count clock)

TMnEN flag

Compare

M

 

 

N

 

 

register

 

 

 

 

 

 

 

 

 

 

Binary

00

01

02

N-1

N

00

counter

 

 

 

 

 

 

Interrupt request flag

Figure 6-4-2 Count Timing of Synchronous TMnIO Input (Timers 0, 1, 4 and 5)

When the synchronous TMnIO input is selected as the count clock source, the timer n counter counts up in synchronization with system clock, therefore the correct value is always read.

But, if the synchronous TMnIO is selected as the count clock source, CPU mode cannot return from STOP/HALT mode.

VI - 20 8-bit Event Count

Page 234
Image 234
Panasonic MN101C77C, F77G user manual Count Timing of Synchronous TMnIO Input Timers 0, 1, 4