tmp1940cyaf TOSHIBA Semiconductor CORPORATION, tmp1940cyaf Datasheet - Page 198

no-image

tmp1940cyaf

Manufacturer Part Number
tmp1940cyaf
Description
32-bit Tx System Risc Tx19 Family
Manufacturer
TOSHIBA Semiconductor CORPORATION
Datasheet
12.4.3
16-Bit Programmable Pulse Generation (PPG) Mode
pulse can be high-going and low-going, as determined by the initial setting of the timer flip-flop
(TB0FF0).
values in each timer register (TB0RG0 and TB0RG1). The square-wave output is driven to the
TB0OUT pin. In this mode, the following relationship must be satisfied:
writing a new value into the register buffer. Upon a match between the TB0RG1 and the UC0, the
TB0RG0 latches a new value from the register buffer. The TB0RG0 can be loaded with a new value
upon every match, thus making it easy to generate a square wave with virtually any duty cycle.
The 16-bit PPG mode can be used to generate a square wave with any frequency and duty cycle. The
A square wave is generated by toggling the timer flip-flop every time the up-counter UC0 reaches the
(TB0RG0 value) < (TB0RG1 value)
If the double-buffering function is enabled, the TB0RG0 value can be changed dynamically by
TB0RG0 Match
(INTTB00 Interrupt)
TB0RG1 Match
(INTTB01 Interrupt)
TB0OUT Pin
TB0RG0 Match
TB0RG0
(Compare Value)
TB0RG1 Match
Register Buffer
Figure 12.16 Register Buffer Operation
Figure 12.15 PPG Output Waveform
Up-Counter
TMP1940CYAF-156
Q
1
Q
1
Q
2
Shift into TB0RG1
Up-Counter
Write to TB0RG0
Q
TMP1940CYAF
2
Q
2
Q
3

Related parts for tmp1940cyaf