176
CHAPTER 11 8-BIT A/D CONVERTER (
µ
PD780024AS SUBSERIES)
Preliminary User’s Manual U16035EJ1V0UM
(2) Analog input channel specification register 0 (ADS0)
This register specifies the analog voltage input port for A/D conversion.
ADS0 is set by an 8-bit memory manipulation instruction.
RESET input sets ADS0 to 00H.
Figure 11-3. Format of Analog Input Channel Specification Register 0 (ADS0)
Address: FF81H After reset: 00H R/W
Symbol
7
6
5
4
3
2
1
0
ADS0
0
0
0
0
0
0
Note
ADS01
ADS00
ADS01
ADS00
Analog input channel specification
0
0
ANI0
0
1
ANI1
1
0
ANI2
1
1
ANI3
Note
Be sure to set bit 2 to 0.
(3) External interrupt rising edge enable register (EGP), external interrupt falling edge enable register (EGN)
These registers specify the valid edge for INTP0 to INTP3.
EGP and EGN are set by a 1-bit or 8-bit memory manipulation instruction.
RESET input sets EGP and EGN to 00H.
Figure 11-4. Format of External Interrupt Rising Edge Enable Register (EGP) and
External Interrupt Falling Edge Enable Register (EGN)
Address: FF48H After reset: 00H R/W
Symbol
7
6
5
4
3
2
1
0
EGP
0
0
0
0
EGP3
EGP2
EGP1
EGP0
Address: FF49H After reset: 00H R/W
Symbol
7
6
5
4
3
2
1
0
EGN
0
0
0
0
EGN3
EGN2
EGN1
EGN0
EGPn
EGNn
INTPn pin valid edge selection (n = 0 to 3)
0
0
Interrupt disabled
0
1
Falling edge
1
0
Rising edge
1
1
Both rising and falling edges