
ML671000 User’s Manual
Chapter 7
Timers
7-11
7.2.8.
Flexible Timer I/O Level Registers (TMnIOV, n=0 to 1)
These 8-bit read/write registers contain control specifications (IOLV) for the flexible timer (Timer 0
or 1) compare out, pulse width modulation, and capture modes.
In the compare out and pulse width modulation modes, this field specifies the strategy for updating
the TMOUT bit in the corresponding timer output register (TMnOUT, n=0 to 1) and thus the timer
output pin (TMOUT[n], n=0 to 1) output level.
In the capture mode, this field specifies the capture trigger from the timer input pin (TMIN[n], n=0
to 1) input signals.
In the auto reload timer mode, these fields are ignored, and reads return indeterminate values.
After a system reset, the contents are 0x00.
76
543
210
--
---
-
IOLV
Dashes indicate nonexistent bits. Reading one returns “0” in that position.
Figure 7-9
Flexible Timer I/O Level Registers (TMnIOV, n=0 to 1)
! Bit Descriptions
IOLV:
I/O level strategy
[1 0]
Bit numbers in register
Compare out mode
0 0 :
A match sets the TMOUT bit to “0.”
0 1 :
A match sets the TMOUT bit to “1.”
1 0 :
A match inverts the TMOUT bit contents.
1 1 :
Not allowed. (Operation is not guaranteed)
This field specifies the strategy for updating the TMOUT bit in the corresponding timer
output register (TMnOUT, n=0 to 1) and thus the timer output pin (TMOUT[n], n=0 to
1) output level when there is a match between the timer counter (TMnC, n=0 to 1)
contents and those in the timer general-purpose register (TMnGR, n=0 to 1).
[1 0]
Bit numbers in register
Pulse width modulation mode
0 0 :
The TMOUT bit goes to “0” if timer counter is equal to or less than
timer general-purpose register and to “1” otherwise.
0 1 :
The TMOUT bit goes to “1” if timer counter is equal to or less than
timer general-purpose register and to “0” otherwise.
1 0 :
1 1 :
Not allowed. (Operation is not guaranteed)
This field specifies the strategy for updating the TMOUT bit in the corresponding timer
output register (TMnOUT, n=0 to 1) and thus the timer output pin (TMOUT[n], n=0 to
1) output level based on the result of comparing the timer counter (TMnC, n=0 to 1)
contents and those in the timer general-purpose register (TMnGR, n=0 to 1).