![](http://datasheet.mmic.net.cn/330000/MB90F562_datasheet_16437954/MB90F562_491.png)
MB90560 series
CHAPTER 17 ADDRESS MATCH DETECTION FUNCTION
467
I
Register Details
G
Program address detect register 0/1: PADR0/PADR1:
The value written to each register is compared with a target address. If the value matches the
address, and the corresponding interrupt enable bit of the PACSR register is “1”, the
corresponding interrupt bit is set to “1” to request the CPU to generate an INT9 instruction. If the
corresponding interrupt enable bit is “0”, no operation is performed.
The following lists the correspondence between the program address detection register and
PACSR:
G
Program address detect control or status register: PACSR
This register controls the operation of the address detection function and indicates its status.
[bit 7 to bit 4]: Reserved bits
Reserved bits. Be sure to write 0 to these bits.
[bit 3]: Address Detect Register 1 Enable (AD1E)
ADR1 operation enable bit. When this bit is “1”, the value set in the PADR1 register is compared
with the address. If the two values are equal, an INT9 instruction is generated and the AD1D bit
is set to “1”.
[bit 2]: Address Detect Register1’s is Detected (AD1D)
ADR1 address match detection bit. This bit is set to “1” to indicate that the value set in the
PADR1 register matches the address. It is cleared to “0” by writing “0” to it. It is left unchanged
by writing “1” to it.
[bit 1]: Address Detect Register 0 Enable (AD0E)
ADR0 operation enable bit. When this bit is “1”, the value set in the PADR0 register is compared
to the address. If they match, an INT9 instruction is generated, and the AD0D bit is set to “1”.
Address detection register
Interrupt enable bit
Interrupt bit
PADR0
AD0E
AD0D
PADR1
AD1E
AD1D
PADR0 address :1FF2
H
/1FF1
H
/1FF0
H
PADR1 address :1FF5
H
/1FF4
H
/1FF3
H
Byte
Byte
Byte
Access Initial value
R/W Indefinite
R/W Indefinite
0 0 0 0 0 0 0
R/W
PACSR address:00009E
H
7
6
5
4
3
2
1
0
R/W
R/W
R/W
-
-
-
-
Initial value
Reserved
Reserved Reserved
Reserved
AD1E AD1D AD0E AD0D
Bit No.