XE8802 Sensing Machine Data Acquisition MCU
with ZoomingADC™ and LCD driver
4.3.6
Port D2 (h0034-h0037)
Name
Address
7
6
5
4
3
2
1
0
RegPD2Out
PD2Out[7:0]
h0034
rw,00000000,pconf
RegPD2In
PD2In[7:0]
h0035
r
RegPD2Dir
PD2Dir[7:0]
h0036
rw,00000000,pconf
RegPD2Pullup
PD2SnapToRail[3:0]
PD2Pullup[3:0]
h0037
rw,0000,pconf
rw,1111,pconf
Table 4-4-8. Port D2 registers
4.3.7
Flash programming (h0038-003B)
These four registers are used during flash programming only. Refer to the flash programming algorithm
documentation for more details.
4.3.8
Event handler (h003C-h003F)
Name
Address
RegEvn
h003C
RegEvnEn
h003D
RegEvnPriority
h003E
RegEvnEvn
h003F
7
CntIrqA
rc1,0,glob
r0
6
CntIrqC
rc1,0,glob
r0
5
128Hz
rc1,0,glob
r0
Table 4-4-9. Event handler registers
4
3
PAEvn[1] CntIrqB
rc1,0,glob rc1,0,glob
EvnEn[7:0]
rw,00000000,glob
EvnPriority[7:0]
r,11111111,glob
r0
r0
2
CntIrqD
rc1,0,glob
r0
1
1Hz
rc1,0,glob
EvnHigh
r,0,glob
0
PAEvn[0]
rc1,0,glob
EvnLow
r,0,glob
The origin of the different events is summarised in the table below.
Event
CntIrqA
CntIrqB
CntIrqC
CntIrqD
128Hz
1Hz
PAEvn[1:0]
Event source
Counter/Timer A (counter block)
Counter/Timer B (counter block)
Counter/Timer C (counter block)
Counter/Timer D (counter block)
Low prescaler (clock block)
Low prescaler (clock block)
Port A
Table 4-4-10. Event source description
© Semtech 2006
www.semtech.com
4-6