4.7 Interrupt

4.7.1 Outline

MSM80C154S/MSM83C154S is equipped with six interrupts.

1.INT0 External interrupt 0

2.TM0 Timer interrupt 0

3.INT1 External interrupt 1

4.TM1 Timer interrupt 1

5.SI/O Serial port interrupt

6.TM2 Timer interrupt 2

These six interrupts are controlled by interrupt enable register (IE) and interrupt priority register (IP). When the relevant interrupt conditions are met, the respective interrupt address is called and the interrupt routine is commenced.

The interrupt addresses are listed in Table 4-18, and the interrupt control equivalent circuit is shown in Figure 4-44.

Table 4-18 lnterrupt addresses

 

Interrupt source

Interruput address

 

 

 

1

External interruput 0

3[0003hH]

 

 

 

2

Timer interruput 0

11[000BhH]

 

 

 

3

External interruput 1

19[0013hH]

 

 

 

4

Timer interruput 1

27[001BhH]

 

 

 

5

Serial port interruput

35[0023hH]

 

 

 

6

Timer interruput 2

43[002BhH]

 

 

 

Page 136
Image 136
Sonic Alert msm80154s, msm83c154s, msm85c154hvs user manual Interrupt, lnterrupt addresses