UPD78F9418A NEC, UPD78F9418A Datasheet - Page 169
UPD78F9418A
Manufacturer Part Number
UPD78F9418A
Description
(UPD7894xxA) 8-Bit Single Chip Microcontrollers
Manufacturer
NEC
Datasheet
1.UPD78F9418A.pdf
(319 pages)
Available stocks
Company
Part Number
Manufacturer
Quantity
Price
Company:
Part Number:
UPD78F9418A
Manufacturer:
NEC
Quantity:
1 831
Part Number:
UPD78F9418AGC
Manufacturer:
NEC
Quantity:
20 000
Company:
Part Number:
UPD78F9418AGC-8BT-A
Manufacturer:
RENESAS
Quantity:
800
Company:
Part Number:
UPD78F9418AGC-8BT-A
Manufacturer:
Renesas Electronics America
Quantity:
10 000
Part Number:
UPD78F9418AGK-9EU
Manufacturer:
NEC
Quantity:
20 000
Company:
Part Number:
UPD78F9418AGK-9EU-A
Manufacturer:
Renesas Electronics America
Quantity:
10 000
- Current page: 169 of 319
- Download datasheet (3Mb)
www.DataSheet4U.com
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:
• 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.
Table 12-1 lists the selection of INTCMP0 valid edges, and Figure 12-5 shows the timing chart of the comparator.
CMPRM0
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 U13952EJ3V0UD
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 UPD78F9418A
Image
Part Number
Description
Manufacturer
Datasheet
Request
R
Part Number:
Description:
16BIT MCU, 128K FLASH, 8K RAM, SMD
Manufacturer:
NEC
Datasheet:
Part Number:
Description:
8BIT UC, 32K FLASH, 1KB RAM, LCD
Manufacturer:
NEC
Datasheet:
Part Number:
Description:
8BIT MCU, 60K FLASH, 3KB RAM, CAN
Manufacturer:
NEC
Datasheet:
Part Number:
Description:
8BIT MCU, 128K FLASH, 7K RAM, LQFP
Manufacturer:
NEC
Datasheet:
Part Number:
Description:
8BIT MCU, 4K FLASH, 128B RAM, SMD
Manufacturer:
NEC
Datasheet:
Part Number:
Description:
16/8 bit single-chip microcomputer
Manufacturer:
NEC
Datasheet:
Part Number:
Description:
Dual audio power amp circuit
Manufacturer:
NEC
Datasheet:
Part Number:
Description:
Dual comparator
Manufacturer:
NEC
Datasheet:
Part Number:
Description:
MOS type composite field effect transistor
Manufacturer:
NEC
Datasheet: