2-61
3802 GROUP USER’S MANUAL
APPLICATION
2.5 A-D converter
Fig. 2.5.4 Structure of Interrupt request register 2
Fig. 2.5.5 Structure of Interrupt control register 2
Interrupt request register 2
b7 b6 b5 b4 b3 b2 b1 b0
B
Function
At reset
RW
0
1
2
3
0
Interrupt request reigster 2 (IREQ2) [Address : 3D16]
Name
CNTR0 interrupt request bit
CNTR1 interrupt request
bit
Serial I/O2 interrupt request
bit
0 : No interrupt request
1 : Interrupt request
0 : No interrupt request
1 : Interrupt request
0 : No interrupt request
1 : Interrupt request
0 : No interrupt request
1 : Interrupt request
INT2 interrupt request bit
T
5
6
7
0
0 : No interrupt request
1 : Interrupt request
Nothing is allocated for this bit. This is a write disabled bit.
When this bit is read out, the value is “0.”
AD conversion interrupt
request bit
INT4 interrupt request bit
0 : No interrupt request
1 : Interrupt request
T
T “0” is set by software, but not “1.”
4
0
0 : No interrupt request
1 : Interrupt request
INT3 interrupt request bit
T
0
!
Interrupt control register 2
b7 b6 b5 b4 b3 b2 b1 b0
B
Function
At reset
RW
0
1
2
3
0
Interrupt control reigster 2 (ICON2) [Address : 3F16]
Name
CNTR0 interrupt enable bit
CNTR1 interrupt enable bit
Serial I/O2 interrupt enable
bit
0 : Interrupt disabled
1 : Interrupt enabled
0 : Interrupt disabled
1 : Interrupt enabled
0 : Interrupt disabled
1 : Interrupt enabled
0 : Interrupt disabled
1 : Interrupt enabled
INT2 interrupt enable bit
5
6
7
0
0 : Interrupt disabled
1 : Interrupt enabled
Fix this bit to “0.”
AD conversion interrupt
enable bit
INT4 interrupt enable bit
0 : Interrupt disabled
1 : Interrupt enabled
4
0
0 : Interrupt disabled
1 : Interrupt enabled
INT3 interrupt enable bit
0