upd78f0730 Renesas Electronics Corporation., upd78f0730 Datasheet - Page 131

no-image

upd78f0730

Manufacturer Part Number
upd78f0730
Description
8-bit Single-chip Microcontroller
Manufacturer
Renesas Electronics Corporation.
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
upd78f0730MC(S)-CAB-AX/JM
Manufacturer:
NEC
Quantity:
538
Part Number:
upd78f0730MC(S)-CAB-AX/JM
Manufacturer:
RENESAS
Quantity:
1 000
Part Number:
upd78f0730MC(S)-CAB-AX/JM
Manufacturer:
RENESAS/瑞萨
Quantity:
20 000
Part Number:
upd78f0730MC-CAB-AX
Manufacturer:
RENESAS/瑞萨
Quantity:
20 000
6.4.3 External event counter operation
up with the valid edge of the TI000 pin) and bits 3 and 2 (TMC003 and TMC002) of 16-bit timer mode control register
00 (TMC00) are set to 11, the valid edge of an external event input is counted, and a match interrupt signal indicating
matching between TM00 and CR000 (INTTM000) is generated.
external event counter in the clear & start mode entered by the TI000 pin valid edge input (when TMC003 and
TMC002 = 10).
the following timing.
is not detected until it is detected two times in a row. Therefore, a noise with a short pulse width can be eliminated.
When bits 1 and 0 (PRM001 and PRM000) of the prescaler mode register 00 (PRM00) are set to 11 (for counting
To input the external event, the TI000 pin is used. Therefore, the timer/event counter cannot be used as an
The INTTM000 signal is generated with the following timing.
• Timing of generation of INTTM000 signal (second time or later)
However, the first match interrupt immediately after the timer/event counter has started operating is generated with
• Timing of generation of INTTM000 signal (first time only)
To detect the valid edge, the signal input to the TI000 pin is sampled during the clock cycle of f
Remarks 1. For the setting of I/O pins, see 6.3 (6) Port mode register 0 (PM0).
TI000 pin
= Number of times of detection of valid edge of external event × (Set value of CR000 + 1)
= Number of times of detection of valid edge of external event input × (Set value of CR000 + 2)
2. For how to enable the INTTM000 signal interrupt, see CHAPTER 13 INTERRUPT FUNCTIONS.
detection
Edge
f
PRS
Figure 6-19. Block Diagram of External Event Counter Operation
TMC003, TMC002
Operable bits
CHAPTER 6 16-BIT TIMER/EVENT COUNTER 00
Preliminary User’s Manual U19014EJ1V0UD
16-bit counter (TM00)
CR000 register
Clear
Match signal
controller
INTTM000 signal
Output
PRS
. The valid edge
TO00 pin
131

Related parts for upd78f0730