CHAPTER 7 TIMER/COUNTER FUNCTION
Preliminary User’s Manual U15905EJ1V0UD
249
TCEn
Counting is disabled after the counter is cleared to 0 (counter disabled)
Start count operation
TCEn
0
1
Control of count operation of 8-bit timer/event counter n
TMCn
(n = 2 to 5, m = 3, 5)
TMCn6
0
TMCm4
Note
LVSn
LVRn
TMCn1
TOEn
Mode in which clear & start occurs on match between TMn register and CRn register
PWM (free-running) mode
TMCn6
0
1
Selection of operation mode of 8-bit timer/event counter n
Individual mode
Cascade connection mode (connected with TM2 or TM4)
TMCm4
0
1
Selection of individual mode or cascade connection mode
Unchanged
Reset timer output F/F to 0
Set timer output F/F to 1
Setting prohibited
LVSn
0
0
1
1
Setting of status of timer output F/F
LVRn
0
1
0
1
After reset: 00H R/W Address: TMC3 FFFFF646H TMC3 FFFFF647H
Disable inversion operation
Enable inversion operation
High active
Low active
TMCn1
0
1
Other than PWM (free-running)
mode (TMCn6 = 0)
Controls timer F/F
PWM (free-running) mode
(TMCn6 = 1)
Selects active level
Disable output (TOn pin is low level)
Enable output
TOEn
0
1
Timer output control
<7>
6
5
4
3
2
1
0
TMC4 FFFFF656H TMC5 FFFFF657H
Note
Bit 4 of the TMC2 and TMC4 registers is fixed to 0.
Cautions 1. The LVSn and LVRn bit settings are valid in modes other than the PWM mode.
2. Do not rewrite the TMCn1 bit and TOEn bit at the same time.
3. When switching to the PWM mode, do not rewrite the TMCn6 bit and the LVSn and LVRn
bits at the same time.
4. Before rewriting the TMCn6 bit or TMCm4 bit, stop the timer operation.
Remarks 1.
In the PWM mode, the PWM output is set to the inactive level by TCEn = 0.
2.
When the LVSn and LVRn bits are read, 0 is read.
3.
The values of the TMCn6, LVSn, LVRn, TMCn1, and TOEn bits are reflected to the TOn output
regardless of the TCEn value.
Содержание V850ES/SA2 UPD703201
Страница 2: ...Preliminary User s Manual U15905EJ1V0UD 2 MEMO ...
Страница 284: ... 4 6 7 6 7 8 9 9 6 Note 1 Note 2 0 0 9 9 6 1 1 0 1 9 0 0 0 6 7 0 0 0 0 0 0 0 1 1 1 0 0 0 0 3 1 6 7 6 7 ...
Страница 285: ... 6 7 ...
Страница 516: ...Preliminary User s Manual U15905EJ1V0UD 516 MEMO ...