NEC V850ES/F 3-L Series User Manual page 316

32-bit single-chip microcontroller
Table of Contents

Advertisement

Chapter 10
(2)
Address: TAA0CTL1 FFFFF591H, TAA1CTL1 FFFFF5A1H,
Symbol
TAAnCTL1
316
TAAnCTL1 - TAA timer control register 1
TAAn control register 1 is an 8-bit register that controls the operation of
timer AA.
This register can be read and written in 8-bit or 1-bit units.
RESET input clears this register to 00H.
TAA2CTL1 FFFFF5B1H, TAA3CTL1 FFFFF5C1H,
TAA4CTL1 FFFFF5D1H
7
6
5
TAAn
TAAn
TAAn
SYE
EST
EEE
TAAnSYE
0
Independent operation mode (asynchronous operation mode)
Synchroneous operation mode (specification of slave operation)
In this mode, timer AA can operate in synchronization with a master
timer.
If TAAnSYE = 1, TAAnCTL0.TAAnCE cannot be set to "1".
For the synchroneous operation mode, refer to "Timer AA
Synchroneous Operation" on page 377.
1
Caution:
TAAnEST
0
No operation
In one-shot pulse mode: One-shot pulse software trigger
1
In external trigger pulse output mode: Pulse output software trigger
The TAAnEST bit functions as a software trigger in the one-shot pulse mode or
external trigger pulse output mode (this bit is invalid in any other mode). By setting
TAAnEST to 1 when TAAnCE = 1, a software trigger is issued. Therefore, be sure to
set TAAnEST to 1 after setting TAAnCE = 1. The TIAAn0 pin is used for an external
trigger.
The read value of the TAAnEST bit is always 0.
TAAnEEE
Use the internal clock (clock selected with TAAnCKS2 to TAAnCKS0
0
bits of TAAnCTL0 register)
1
Use external clock (input edge of TIAAn0)
The valid edge is specified with TAAnEES1 and TAAnEES0 bits when
TAAnEEE bit = 1 (external clock TIAAn0).
User's Manual U18743EE1V2UM00
4
3
2
TAAn
0
0
MD2
Synchroneous operation mode enable control
Be sure to clear the TAAnSYE to 0, if TAAn is used as the
master timer
Respectively, set the TAAnSYE = 1, if TAAn is used as
slave timer.
Software trigger control
Count clock selection
16-Bit Timer/Event Counter AA
1
0
TAAn
TAAn
MD1
MD0
After
R/W
reset
R/W 00H

Advertisement

Table of Contents
loading

Table of Contents