User`s guide

LZ87010 Advance User’s Guide Interrupts
1/15/03 12-11
12.3.5 IP1 and IPH1 (Interrupt Priority) Registers
The IP1 and IPH1 (Interrupt Priority) registers set the priority of the extended interrupts.
Priority level is a two-bit number, with priority 0b00 being the lowest priority and 0b11 the
highest. The least-significant bits of the individual interrupt priorities are in the IP and IP1
registers, while the most-significant bits are in the IPH and IPH1 registers.
Table 12-13. IP1 and IPH1 Register
BIT 7 6 5 4 3 2 1 0
FIELD PI13 PI12 PI11 PI10 PI9 PI8 PI7 PI6
RESET 0 0 0 0 0 000
RW RW RW RW RW RW RW RW RW
ADDR
IP1: 0xF8
IPH1: 0xF9
Table 12-14. IP1, IPH1 Register Bits
BIT NAME DESCRIPTION
7 PI13 Priority of Interrupt 13 (INT[7:2])
6 PI12 Priority of Interrupt 12 (DAC 1)
5 PI11 Priority of Interrupt 11 (DAC 0)
4 PI10 Priority of Interrupt 10 (ADC)
3 PI9 Priority of Interrupt 9 (UART 1)
2PI8
Priority of Interrupt 8 (I
2
C)
1 PI7 Priority of Interrupt 7 (Timer 2 and Timer 3)
0 PI6 Priority of Interrupt 6 (Timer 4 and Timer 5)