Download Print this page

Toshiba TLCS-900/H1 Series Manual page 145

Original cmos 32-bit microcontroller
Hide thumbs Also See for TLCS-900/H1 Series:

Advertisement

(4) 8-bit PWM output mode
This mode is only valid for TMRA0. In this mode, a PWM pulse with the maximum
resolution of 8 bits can be output.
When TMRA0 is used the PWM pulse is output on the TA1OUT pin (which is also
used as PC1). TMRA1 can also be used as an 8-bit timer.
The timer output is inverted when the up counter (UC0) matches the value set in the
timer register TA0REG or when 2
TA01MOD<PWM01:00>). The up counter UC0 is cleared when 2
occurs. The following conditions must be satisfied before this PWM mode can be used.
Value set in TA0REG < value set for 2
Value set in TA0REG ≠ 0
TA0REG and
UC0 match
overflow
(INTTA0 interrupt)
TA1OUT
Figure 3.7.17 shows a block diagram representing this mode.
φT1
φT4
Selector
φT16
TA01MOD<TA0CLK1:0>
Selector
TA0REG-WR
TA01RUN<TA0RDE>
Figure 3.7.17 Block Diagram of 8-Bit PWM Mode
n
n
2
Figure 3.7.16 8-Bit PWM Waveforms
8-bit up counter
(UC0)
Comparator
TA0REG
Shift trigger
Register buffer
Internal data bus
92CH21-143
counter overflow occurs (n = 6, 7 or 8 as specified by
counter overflow
n
t
PWM
(PWM cycle)
TA01RUN<TA0RUN>
Clear
TA01MOD
n
2
overflow
<PWM01:00>
control
Overflow
TMP92CH21
counter overflow
n
TA1OUT
TA1FFCR
TA1FF
<TA1FFIE>
Inversion
INTTA0
2009-06-19

Advertisement

loading

This manual is also suitable for:

Tmp92ch21fgJtmp92ch21