upd70f3402 Renesas Electronics Corporation., upd70f3402 Datasheet - Page 294

no-image

upd70f3402

Manufacturer Part Number
upd70f3402
Description
32-/16-bit Single-chip Microcontroller With Can Interface
Manufacturer
Renesas Electronics Corporation.
Datasheet
(2)
Remarks: 1. D00, D01, D02, D03: Values captured to TPnCCR0 register (0000H to FFFFH)
294
match interrupt
match interrupt
Figure 7-29: Basic Operation Timing in Free-Running Mode (TPnCCS1 = 1, TPnCCS0 = 1)
INTTPnCC0
INTTPnCC1
When TPnCCS1 = 1 and TPnCCS0 = 1 settings (capture function description)
When TPnCE = 1, the 16-bit counter counts from 0000H to FFFFH and free-running count-up
operation continues until TPnCE = 0 is set. During this time, values are captured by capture trigger
operation and are written to the TPnCCR0 and TPnCCR1 registers.
Regarding capture close to the overflow (FFFFH), judgment is made using the overflow flag
(TPnOVF). However, if overflow occurs twice (two or more free-running cycles), the capture trigger
interval cannot be judged with the TPnOVF flag. In this case, the system should be revised.
INTTPnOV
TPnCCR0
TPnCCR1
counter
TOPn0
TOPn1
FFFFH
TIPn0
TIPn1
16-bit
2. TIPn0: Set to rising edge detection (TPnIS1, TPnIS0 = 01)
3. n = 0 to 3
D10, D11, D12: Values captured to TPnCCR1 register (0000H to FFFFH)
TIPn1: Set to falling edge detection (TPnIS3, TPnIS2 = 10)
TPnCE = 1
L
L
0000H
(TPnOE0 = 1, TPnOE1 = 1, TPnOL0 = 0, TPnOL1 = 0)
0000H
D
Chapter 7 16-Bit Timer/Event Counter P
00
User’s Manual U16702EE3V2UD00
D
10
D
00
D
01
D
10
D
D
02
01
D
02
D
03
D
11
D
D
11
12
D
03
D
12

Related parts for upd70f3402