Download Print this page

Renesas M16C/50 Series User Manual page 288

Advertisement

M16C/5L Group, M16C/56 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 15.5
Operation Example in Timer Mode
R01UH0127EJ0110 Rev.1.10
Sep 01, 2011
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.
15. Timer A
Output inverted
at underflow
Page 251 of 803

Advertisement

loading