NEC UPD703116 User Manual page 345

32-bit single-chip microcontrollers
Table of Contents

Advertisement

Bit position
Bit name
11, 3
LNKEn
10, 2
CCSEn
9, 8, 1, 0
TB1En, TB0En
Remark
n = 1, 2
CHAPTER 9 TIMER/COUNTER FUNCTION
Selects capture event signal input from edge selection and specifies transfer
operation in compare register mode.
0: Select ED1 signal input in capture register mode.
In the compare register mode, the data of the CVSEn0 register is transferred to
the CVPEn0 register upon occurrence of TM2x compare match (TM2x = timer/
counter selected with bits TB1En, TB0En).
1: Select ED2 signal input in capture register mode.
In the compare register mode, the data of the CVSEn0 register is transferred to
the CVPEn0 register when the TM2x count value becomes "0" (TM2x = timer/
counter selected with bits TB1En, TB0En).
Selects capture/compare register operation mode.
0: Capture register mode
1: Compare register mode
Sets sub-channel n timer/counter.
TB1En
TB0En
0
0
Don't use sub-channel n.
0
1
Set TM20 to sub-channel n.
1
0
Set TM21 to sub-channel n.
1
1
32-bit mode
Note In the 32-bit mode, influence of the BFEEn bit is ignored. Also, the CVSEn0
register cannot be used as a buffer in this mode.
Caution
When the TB1En, TB0En bits are set to "11", set the CASE1 bit of
the TCRE0 register to "1".
User's Manual U14492EJ5V0UD
Function
Sub-channel n timer/counter
Note
(select both TM20 and TM21.)
(2/2)
345

Advertisement

Table of Contents
loading

Table of Contents