NEC V850/SB1 User Manual page 241

32-bit single-chip microcontroller
Table of Contents

Advertisement

04H
After reset:
R/W
<7>
TMCn
TCEn
(n = 2 to 7, m = 2 to 5)
TCEn
0
Counting is disabled after the counter is cleared to 0 (prescaler disabled)
1
Start count operation
TMCn6
0
Clear & Start mode when TMn and CRn0 match
1
PWM (free-running) mode
TMCn4
0
Individual mode (fixed to 0 when n = 2, 4, 6)
1
Cascade connection mode (connection to lower timer)
LVSm
0
0
1
1
TMCm1
0
Disable inversion operation
1
Enable inversion operation
TOEm
0
Disable output (port mode)
1
Enable output
Cautions 1. When using as the timer output pin (TOm), set the port value to 0 (port mode output).
An ORed value of the timer output value is output.
2. Since TOm and TIm share the same pin, only one of the functions can be used.
Remarks 1.
In the PWM mode, the PWM output is set to the inactive level by TCEm = 0.
2.
If LVSm and LVRm are read after setting data, 0 is read.
CHAPTER 7
TIMER/COUNTER FUNCTION
Address:
TMC2
TMC3
TMC4
6
5
TMCn6
0
TMCn4
Individual mode or cascade connection mode selection
LVRm
0
Not change
1
Reset timer output flip-flop to 0
0
Set timer output flip-flop to 1
1
Setting prohibited
Other than PWM (free-running) mode
(TMCn6 = 0)
Control of timer F/F
User's Manual U13850EJ6V0UD
FFFFF246H
TMC5
FFFFF276H
FFFFF256H
TMC6
FFFFF286H
FFFFF266H
TMC7
FFFFF296H
4
<3>
<2>
LVSm
LVRm
TMn count operation control
TMn operating mode selection
Setting state of timer output flip-flop
PWM (free-running) mode
Selection of active level
Active high
Active low
Timer output control
1
<0>
TMCm1
TOEm
(TMCn6 = 1)
241

Advertisement

Table of Contents
loading

This manual is also suitable for:

V850/sb2

Table of Contents