Figure 10-8: Tmrn Counter Read Register (Trncnt); Figure 10-9: Tmrn Sub-Counter Read Register (Trnsbc) - NEC V850E/PH2 User Manual

32-bit single-chip microcontroller
Table of Contents

Advertisement

(7)
TMRn counter read register (TRnCNT)
The TRnCNT register is a timer read register that can read the values of the 16-bit counter.
This register can only be read in 16-bit units.
RESET input or setting TRnCE = 0 clears this register to 0000H.
During the interval from when CE = 1 until count up, the value of the TRnCNT register is FFFFH.
After reset:
0000H
15
14
TRnCNT
Note: In the high-accuracy T-PWM mode, bit 0 is read as "0".
Remark:
n = 0, 1
(8)
TMRn sub-counter read register (TRnSBC)
The TRnSBC register can read the value of the 16-bit counter.
This register can only be read in 16-bit units.
RESET input or setting TRnCE = 0 clears this register to 0000H.
Remarks: 1. In the high-accuracy T-PWM mode, this register can be used only in the PWM mode
with dead time.
2. n = 0, 1

Figure 10-9: TMRn Sub-Counter Read Register (TRnSBC)

After reset:
0000H
15
14
TRnSBC
Note: In the high-accuracy T-PWM mode, bit 0 is read as 0.
322
Chapter 10 16-bit Inverter Timer/Counter R

Figure 10-8: TMRn Counter Read Register (TRnCNT)

R
13
12
11
10
R
13
12
11
10
User's Manual U16580EE3V1UD00
Address:
TR0CNT FFFFF5A4H,
TR1CNT FFFFF5E4H
9
8
7
6
Address:
TR0SBC FFFFF5A6H,
TR1SBC FFFFF5E6H
9
8
7
6
5
4
3
2
1
5
4
3
2
1
0
Note
0
Note

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Mupd70f3187

Table of Contents