Toshiba TLCS-900/L1 Series Manual page 99

Original cmos 16-bit microcontroller
Hide thumbs Also See for TLCS-900/L1 Series:
Table of Contents

Advertisement

The comparator match signal is output from TMRA0 each time the up counter UC0
matches TA0REG, where the up counter UC0 is not be cleared.
In the case of the TMRA1 comparator, the match detect signal is output on each
comparator pulse on which the values in the up counter UC1 and TA1REG match.
When the match detect signal is output simultaneously from both the comparators
TMRA0 and TMRA1, the up counters UC0 and UC1 are cleared to 0 and the interrupt
INTTA1 is generated. Also, if inversion is enabled, the value of the timer flip-flop
TA1FF is inverted.
Example: When TA1REG = 04H and TA0REG = 80H
Value of up counter
(UC1, UC0)
TMRA0 comparator match
detect signal
TMRA0 comparator match
detect signal
INTTA0
INTTA1
TA1OUT
Figure 3.8.16 Timer Output by 16-Bit Timer Mode
(3) 8-bit PPG (Programmable pulse generation) output mode
Square wave pulses can be generated at any frequency and duty ratio by TMRA0.
The output pulses may be active-low or active-high. In this mode TMRA1 cannot be
used.
TMRA0 outputs pulses on the TA1OUT pin (which can also be used as P71).
When <TA1FFC1:0>="10"
When <TA1FFC1:0>="01"
Example when <TA1FFC1:0>="01"
TA0REG and UC0 match
(Interrupt INTTA0)
TA1REG and UC0 match
(Interruput INTTA1)
TA1OUT
Figure 3.8.17 8-Bit PPG Output Waveforms
0080H
0180H
0280H
0380H
t
t
H
L
t
t
t
L
H
t
TA0REG
TA1REG
91C829-97
TMP91C829
0080H
0480H
Inversion
2006-03-15

Advertisement

Table of Contents
loading

This manual is also suitable for:

Tmp91c829

Table of Contents