8.5 8-bit Timer Pulse Output
8.5.1
Operation
Operation of Timer Pulse Output
In the timer pulse output function, a pulse signal with a given frequency can be output from TMnIO pin. Timers
can output the signal with twice the cycle which is set in TMnOC. Refer to Table:8.1.1 for the pulse output pin.
Count Timing of Timer Pulse Output
Count
clock
TMnEN
bit
Compare
register
Binary
00
counter
Interrupt
request
(A)
TMnIO output
(A) The signal with twice the cycle which is set in TMnOC is output from TMnIO pin.
(B) When the value of TMnBC matches the setting value of TMnOC, TMnBC is cleared to "0x00"and TMnIO
output (timer output) is inverted.
01
N-1
N
00
(B)
Figure:8.5.1 Count Timing of Timer Pulse Output
N
01
N-1
N
00
01
N-1
N
00
8-bit Timer Pulse Output
Chapter 8
8-bit Timer
VIII - 23