NEC V850ES/KE1+ User Manual page 299

32-bit single-chip microcontrollers
Table of Contents

Advertisement

After reset: 00H
<7>
TMC5n
TCE5n
(n = 0, 1)
TCE5n
0
1
TMC5n6
0
1
TMC514
0
1
LVS5n
0
0
1
1
TMC5n1
0
1
TOE5n
0
1
Note Bit 4 of the TMC50 register is fixed to 0.
Cautions 1. Because the TO51 and TI51 pins are alternate functions of the same pin, only one can
be used at one time.
2. The LVS5n and LVR5n bit settings are valid in modes other than the PWM mode.
3. Do not set <1> to <4> below at the same time. Set as follows.
<1> Set the TMC5n1, TMC5n6, and TMC514
<2> Set the TOE5n bit for timer output enable:
<3> Set the LVS5n and LVR5n bits (Caution 2):
<4> Set the TCE5n bit
Remarks 1. In the PWM mode, the PWM output is set to the inactive level by the TCE5n bit = 0.
2. When the LVS5n and LVR5n bits are read, 0 is read.
3. The values of the TMC5n6, LVS5n, LVR5n, TMC5n1, and TOE5n bits are reflected to the
TO5n output regardless of the TCE5n bit value.
CHAPTER 8 8-BIT TIMER/EVENT COUNTER 5
R/W
Address: TMC50 FFFFF5C6H, TMC51 FFFFF5C7H
6
5
4
Note
TMC5n6
0
TMC514
Control of count operation of 8-bit timer/event counter 5n
Counting is disabled after the counter is cleared to 0 (counter disabled)
Start count operation
Selection of operation mode of 8-bit timer/event counter 5n
Mode in which clear & start occurs on match between TM5n register and CR5n register
PWM (free-running timer) mode
Selection of individual mode or cascade connection mode for 8-bit timer/event counter 51
Individual mode
Cascade connection mode (connected with 8-bit timer/event counter 50)
LVR5n
Setting of status of timer output F/F
0
Unchanged
1
Reset timer output F/F to 0
0
Set timer output F/F to 1
1
Setting prohibited
Other than PWM (free-running timer)
mode (TMC5n6 bit = 0)
Controls timer F/F
Disable inversion operation
Enable inversion operation
Timer output control
Disable output (TO5n pin is low level)
Enable output
User's Manual U16896EJ2V0UD
3
2
1
LVS5n
LVR5n
TMC5n1
PWM (free-running timer) mode
(TMC5n6 bit = 1)
Selects active level
High active
Low active
Note
bits: Setting of operation mode
Timer output enable
Setting of timer output F/F
<0>
TOE5n
299

Advertisement

Table of Contents
loading

This manual is also suitable for:

?pd70f3302?pd703302?pd70f3302y?pd703302y

Table of Contents