Panasonic MN101C77C Cell Phone User Manual


 
Chapter 6 8-bit Timers
VI - 30
Synchronous Output
6-7 8-bit Timer Synchronous Output
6-7-1 Operation
When the binary counter of the timer reaches the set value of the compare register, the latched data is
output from port 6 at the next count clock.
Synchronous Output Operation by 8-bit timer (Timer 1, Timer 5)
The port 6 latched data is output from the output pin at the interrupt request generation by the match of the
binary counter and the compare register.
Only port 6 can perform synchronous output operation, and individual pins can be set. 8-bit timers that have
synchronous output operation are timer 1 and timer 5.
Count Timing of Synchronous Output (Timer 1, Timer 5)
The port 6 latched data is output from the output pin in synchronization with the interrupt request
generation by the match of binary counter and compare register.
Table 6-7-1 Synchronous Output Port (Timer 1, Timer 5)
Figure 6-7-1 Count Timing of Synchronous Output (Timer 1, Timer5)
Ti mer 1 Ti mer 5
Synchronous
output port Port 6 Port 6
N
00 01 N-1
N
Count
clock
TMnEN
flag
Compare
register 1
Binary
counter
Interrupt
request flag
00 01 N-1
Y
00 01 N-1
N
NN-1
Port 6
synchronous
output data
X
ZY
Port 6 output
latch data
X
ZY
X
Y