UPD78F9418AGK-9EU Renesas Electronics America, UPD78F9418AGK-9EU Datasheet - Page 171

no-image

UPD78F9418AGK-9EU

Manufacturer Part Number
UPD78F9418AGK-9EU
Description
Manufacturer
Renesas Electronics America
Datasheet

Specifications of UPD78F9418AGK-9EU

Lead Free Status / Rohs Status
Supplier Unconfirmed

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
UPD78F9418AGK-9EU
Manufacturer:
NEC
Quantity:
1 000
Part Number:
UPD78F9418AGK-9EU
Manufacturer:
NEC
Quantity:
20 000
Part Number:
UPD78F9418AGK-9EU-A
Manufacturer:
Renesas Electronics America
Quantity:
10 000
12.4 Operation of Comparator
comparator.
INTM1
The output of 8-bit timer 02 (TM02) can be controlled and directed to the CMPTOUT0/P23/TO2 pin via the
To run the comparator, set as follows:
Table 12-1 lists the selection of INTCMP0 valid edges, and Figure 12-5 shows the timing chart of the comparator.
CMPRM0
Set P23 to output mode (PM23 = 0).
Set comparator mode register 0 (CMPRM0) as shown in Figure 12-3.
Set external interrupt mode register 1 (INTM1) as shown in Figure 12-4 and select the valid edge of INTCMP0.
ES61
0
0
1
1
ES61
0/1
Figure 12-4. Settings of External Interrupt Mode Register 1 at INTCMP0 Occurrence
Figure 12-3. Settings of Comparator Mode Register 0 for Comparator Operation
0
ES60
0/1
ES60
0
0
1
0
1
0
Table 12-1. INTCMP0 Valid Edges
0
CHAPTER 12 COMPARATOR
Falling edge
Rising edge
Setting prohibited
Both rising and falling edges
0
User’s Manual U13952EJ3V1UD
0
1
CMPON0 SELCMP0
1
INTCMP0 Valid Edge Selection
1
1
ES31
0/1
OPDR0
0/1
ES30
0/1
CMPOUT0
Selects the valid edge
(see Table 12-1).
Outputs TM02.
Switches on the
comparator power.
169

Related parts for UPD78F9418AGK-9EU