Renesas M16C/64C User Manual page 306

Table of Contents

Advertisement

M16C/64C Group
Count source
n
Count
operations
0000h
TAiS bit in the
TABSR register
TAiIN input
TAiOUT output
POFSi = 0
POFSi = 1
IR bit in the
TAiIC register
i = 0 to 4
POFSi : Bit in the TAPOFS register
The above timing diagram assumes the following:
- The MR0 bit in the TAiMR register
- 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
Figure 17.5
Operation Example in Timer Mode
R01UH0092EJ0110 Rev.1.10
Jul 31, 2012
Count stopped
by TAiIN gate function
Count started
Underflow
and reload
Low-level output
Output inverted at underflow
at count stop
High-level output
at count stop
Becomes 0 by accepting an interrupt request, or by a program.
= 1 (pulse output)
= 0004h
Count stopped
by TAiS bit
n + 1
Low-level output
when the TAiS
bit is 0.
High-level output
when the TAiS
bit is 0.
17. Timer A
Output inverted
at underflow
Page 273 of 807

Advertisement

Table of Contents
loading

This manual is also suitable for:

M16c/60 seriesM16c series

Table of Contents