NEC UPD703116 User Manual page 360

32-bit single-chip microcontrollers
Table of Contents

Advertisement

Figure 9-74. Capture Operation: Mode with 16-Bit Buffer
f
CLK
MUXTB0
MUXTB1
5
MUXCNT
TB1
ED1
Event
L
CAPTURE_P
CAPTURE_S
BUFFER
READ_ENABLE_P
Capture
CVPEm0 register
Undefined
CVSEm0 register
Undefined
Notes 1.
To operate TM2n in the mode with 16-bit buffer, perform capture at least twice at the start of operation
and read the CVPEm0 register. Also, read the CVPEm0 register after performing capture at least
once.
2.
Write operation to the CVPEn0 register is not performed at these signal inputs because the CVSEm0
register operates as a buffer.
3.
After this timing, write operation from the CVSEm0 register to the CVPEm0 register is enabled.
Remarks 1. f
: Base clock
CLK
2. BUFFER: Timing of write operation from CVSEm0 register to CVPEm0 register
CAPTURE_P: Capture trigger signal of main capture register
CAPTURE_S: Capture trigger signal of sub capture register
ED1: Capture event signal input from edge selector
MUXCNT: Count value to sub-channel m
MUXTB0, MUXTB1: Multiplex signal of TM20, TM21
READ_ENABLE_P: Read timing of CVPEm0 register
TB0: Count value of TM20; TB1: Count value of TM21
3. m = 1 to 4, x = 12, 34
y: When x = 12, y = 1, 2, and when x = 34, y = 3, 4
360
CHAPTER 9 TIMER/COUNTER FUNCTION
(When CMSEx0 Register's TByE1 Bit = 0, TByE0 Bit = 1, CCSEy Bit = 0,
LNKEy Bit = 0, BFEEy Bit = 1, EEVEy Bit = 1, and CSCE0 Register's
SEVEy Bit = 0)
1
6
2
7
3
8
TB1
TB0
TB1
TB0
TB0
TB1
Note 2
Shift
2
3
User's Manual U14492EJ5V0UD
4
9
5
10
6
11
TB0
TB1
TB0
TB1
TB0
TB1
2
4
Note 1
7
12
8
13
9
14
TB0
TB1
TB0
TB1
TB0
TB1
New event
Note 3
4
8
10
TB0

Advertisement

Table of Contents
loading

Table of Contents