XE8802 Sensing Machine Data Acquisition MCU
with ZoomingADC™ and LCD driver
pos. RegCmpdStat
7
CmpdStat[3]
6
CmpdStat[2]
5
CmpdStat[1]
4
CmpdStat[0]
3
CmpdOut[3]
2
CmpdOut[2]
1
CmpdOut[1]
0
CmpdOut[0]
rw
reset
function
rc 0 nresetglobal 1: if the channel 3 generated an interrupt since
last read of this register
rc 0 nresetglobal 1: if the channel 2 generated an interrupt since
last read of this register
rc 0 nresetglobal 1: if the channel 1 generated an interrupt since
last read of this register
rc 0 nresetglobal 1: if the channel 0 generated an interrupt since
last read of this register
r 0 nresetglobal Channel 3 comparator output
r 0 nresetglobal Channel 2 comparator output
r 0 nresetglobal Channel 1 comparator output
r 0 nresetglobal Channel 0 comparator output
Table 22-3: RegCmpdStat
pos. RegCmpdCtrl rw
reset
function
7
IrqOnRisingCh[2] rw 0 nresetglobal 1: an interrupt is generated on the rising edge of
channels 2 and 3.
0: an interrupt is generated on the falling edge of
channels 2 and 3.
6
IrqOnRisingCh[1] rw 0 nresetglobal 1: an interrupt is generated on the rising edge of
channel 1.
0: an interrupt is generated on the falling edge of
channel 1.
5
IrqOnRisingCh[0] rw 0 nresetglobal 1: an interrupt is generated on the rising edge of
channel 0.
0: an interrupt is generated on the falling edge of
channel 0.
4
EnIrqCh[3]
rw 0 nresetglobal 1 enables interrupt on channel 3
3
EnIrqCh[2]
rw 0 nresetglobal 1 enables interrupt on channel 2
2
EnIrqCh[1]
rw 0 nresetglobal 1 enables interrupt on channel 1
1
EnIrqCh[0]
rw 0 nresetglobal 1 enables interrupt on channel 0
0
Enable
rw 0 nresetglobal Enables the comparator
Table 22-4: RegCmpdCtrl
22.4 Interrupt map
interrupt source
cmpd_irq
default mapping in the interrupt manager
RegIrqHigh[2]
Table 22-5: Interrupt map
© Semtech 2006
22-4
www.semtech.com