upd70f3017ay Renesas Electronics Corporation., upd70f3017ay Datasheet - Page 176

no-image

upd70f3017ay

Manufacturer Part Number
upd70f3017ay
Description
V850/sa1tm 32-/16-bit Single-chip Microcontroller
Manufacturer
Renesas Electronics Corporation.
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
upd70f3017ayGC-8EU-A
Manufacturer:
MICROCHIP
Quantity:
1 001
7.2.4 Operation as external event counter
external source by using 16-bit timer register n (TMn).
and an interrupt request signal (INTTMn0) is generated.
or both the rising and falling edges can be specified.
until the valid level is detected two times. Therefore, noise with a short pulse width can be eliminated.
176
TMCn
CRCn
TMn can be used as an external event counter that counts the number of clock pulses input to the TIn0 pin from an
Each time the valid edge specified by prescaler mode register n (PRMn) has been input, TMn is incremented.
When the count value of TMn matches the value of 16-bit capture/compare register n0 (CRn0), TMn is cleared to 0,
The edge is specified by bits 4 and 5 (ESn00 and ESn01) of prescaler mode register n (PRMn). The rising, falling,
The valid edge is detected by sampling at a count clock cycle of f
Remark
Remark
0
0
n = 0, 1
0/1: When these bits are reset to 0 or set to 1, other functions can be used along with the external
Figure 7-16. Control Register Settings in External Event Counter Mode
event counter function. For details, refer to 7.1.4 (1) 16-bit timer mode control registers 0, 1
(TMC0, TMC1) and 7.1.4 (2) Capture/compare control registers 0, 1 (CRC0, CRC1).
0
0
(a) 16-bit timer mode control registers 0, 1 (TMC0, TMC1)
(b) Capture/compare control registers 0, 1 (CRC0, CRC1)
0
0
CHAPTER 7 TIMER/COUNTER FUNCTION
User’s Manual U12768EJ4V1UD
0
0
TMCn3
1
0
TMCn2
CRCn2
0/1
1
XX
/2, and a capture operation is not performed
TMCn1
CRCn1
0/1
0/1
CRCn0
OVFn
0
0
Clears and starts on
match between TMn
and CRn0.
CRn0 used as compare
register

Related parts for upd70f3017ay