NO:
W90P710 Programming Guide
VERSION:
2.0
PAGE:
167
The above information is the exclusive intellectual property of Winbond Electronics and shall not be disclosed, distributed or reproduced without permission
from Winbond.
Table No.: 2005-W90P710-11-A
13.4 Functional Descriptions
13.4.1 Interrupt
channel
configuration
Each interrupt channel has an independent source control register to set its type and priority. The
interrupt type of all W90P710 internal peripherals is positive-level triggered. This shouldn’t be
changed during normal operation. For the channel 2, 3, 4 and 5, the device driver must set the
pertinent interrupt type according to the external devices. The priority level of each interrupt channel is
completely decided by the interrupted device. After power-on or reset, all the channels are assigned
to priority level 0 7 by AIC. Figure 13-2 shows the content of source control register.
Figure 13-2 Source Control Register
3
1
3
0
2
9
2
8
2
7
2
6
2
5
2
4
2
3
2
2
2
1
2
0
1
9
1
8
1
7
1
6
1
5
1
4
1
3
1
2
1
1
1
0
9
8 7
6 5
4
3
2
1
0
Reserved
Type
Reserve
d
Priority
Type [7:6]
Interrupt Type
Low Level Sensitive
High-Level Sensitive
Negitive-Edge
Triggered
Positive-Edge
Triggered
0
0
0
1
1
0
1
1
13.4.2
Interrupt Masking
The W90P710 AIC provides a set of registers to mask individual interrupt channel. The
Mask
Enable Command Register (AIC_MECR)
is used to enable interrupt. Write 1 to a bit of MECR will