
Chapter 6 Parallel Input/Output Control
MC9S08EL32 Series and MC9S08SL16 Series Data Sheet, Rev. 3
90
Freescale Semiconductor
6.5.2.7
Port B Interrupt Pin Select Register (PTBPS)
6.5.2.8
Port B Interrupt Edge Select Register (PTBES)
76
54
321
0
R
000
0
PTBPS3
PTBPS2
PTBPS1
PTBPS0
W
Reset:
000
00
000
Figure 6-17. Port B Interrupt Pin Select Register (PTBPS)
Table 6-15. PTBPS Register Field Descriptions
Field
Description
3:0
PTBPS[3:0]
Port B Interrupt Pin Selects — Each of the PTBPSn bits enable the corresponding port B interrupt pin.
0 Pin not enabled as interrupt.
1 Pin enabled as interrupt.
76
54
321
0
R
000
0
PTBES3
PTBES2
PTBES1
PTBES0
W
Reset:
000
00
000
Figure 6-18. Port B Edge Select Register (PTBES)
Table 6-16. PTBES Register Field Descriptions
Field
Description
3:0
PTBES[3:0]
Port B Edge Selects — Each of the PTBESn bits serves a dual purpose by selecting the polarity of the active
interrupt edge as well as selecting a pull-up or pull-down device if enabled.
0 A pull-up device is connected to the associated pin interrupt and detects falling edge/low level for interrupt
generation.
1 A pull-down device is connected to the associated pin interrupt and detects rising edge/high level for interrupt
generation.