R01UH0136EJ0210 Rev.2.10
Page 272 of 800
Jul 31, 2012
M16C/64A Group
17. Timer A
Figure 17.5
Operation Example in Timer Mode
High-level output
when the TAiS
bit is 0.
Output inverted
at underflow
Low-level output
when the TAiS
bit is 0.
n
Becomes 0 by accepting an interrupt request, or by a program.
i = 0 to 4
POFSi : Bit in the TAPOFS register
The above timing diagram assumes the following:
- The MR0 bit in the TAiMR register
= 1 (pulse output)
- Bits MR2 to MR1 in the TAiMR register = 10b (counts while a low-level signal is applied to the TAiIN pin)
- The TAi register (n) value
= 0004h
TAiS bit in the
TABSR register
Count
operations
0000h
TAiIN input
TAiOUT output
Low-level output
at count stop
IR bit in the
TAiIC register
n + 1
Count source
Output inverted at underflow
Count stopped
by TAiS bit
Count started
Count stopped
by TAiIN gate function
POFSi = 0
POFSi = 1
High-level output
at count stop
Underflow
and reload
Содержание M16C/60 Series
Страница 853: ...M16C 64A Group R01UH0136EJ0210...