
R01UH0336EJ0102 Rev.1.02
Page 402 of 1538
Jul 17, 2014
V850E2/PG4-L
Section 13 Timer Array Unit B (TAUB)
13.3 Functional Description
The Timer Array Unit B performs various count or timer operations
and outputs a signal which depends on the result of the operation. It contains
one prescaler block for count clock generation and 16 channels, each
equipped with a 16 bit counter TAUBnCNTm and a 16-bit data register
TAUBnCDRm to hold the start or compare value of the counter.
It also contains several control and status registers.
Independent and
synchronous
operation
Every channel can operate in different operating modes, either independently
or in combination with other channels (synchronously); for example, in a
combination of one master and one or more slave channels, slave channels
depend on the master channel.
When a channel is operated independently, its operating mode and functions
are not affected by those of other channels. When a channel is operated
synchronously it is either a master or a slave. A master channel can have
multiple slaves, and the state of one channel affects that of the other channels.
For example, one channel can be used to control the count start timing or reset
timing of others.
The following describes the functional blocks.
Prescaler block
The prescaler block provides up to 4 clock signals (CK0 to CK3) that can be
used as count clocks for all channels.
Plescaler outputs CK0 to CK2 are derived from PCLK by a configurable
prescaler division factor of 2
0
to 2
15
.The fourth prescaler output CK3 can be
adjusted more precisely by an additional division factor that is not a power of 2.
Count clock
selection
For every channel, the count clock selector selects which of the following is
used as a clock source:
• One of the prescaler outputs CK0 to CK3 (selected by the clock selector)
• INTTAUBnIm from master channel
• Valid edge of TAUBnTTINm input signal
Controller
The controller controls the main operations of the counter:
• Operating mode (selected by TAUBnCMORm.TAUBnMD[4:0] bits)
• Counter start enable (TAUBnTS.TAUBnTSm) and counter stop
(TAUBnTT.TAUBnTTm)
When counter start is enabled, status flag TAUBnTE.TAUBnTEm is set.
• Count direction (can be controlled by master channel)
Содержание V850 Series
Страница 1556: ...V850E2 PG4 L R01UH0336EJ0102 Back Cover ...