English
Language : 

MC9S08SH32 Datasheet, PDF (89/328 Pages) Freescale Semiconductor, Inc – Microcontrollers
6.6.2.7
Port B Interrupt Pin Select Register (PTBPS)
Chapter 6 Parallel Input/Output Control
7
R
0
W
Reset:
0
6
5
4
3
2
1
0
0
0
PTBPS3
PTBPS2
PTBPS1
0
0
0
0
0
0
Figure 6-17. Port B Interrupt Pin Select Register (PTBPS)
Table 6-16. PTBPS Register Field Descriptions
0
PTBPS0
0
Field
Description
3:0
Port B Interrupt Pin Selects — Each of the PTBPSn bits enable the corresponding port B interrupt pin.
PTBPS[3:0] 0 Pin not enabled as interrupt.
1 Pin enabled as interrupt.
6.6.2.8 Port B Interrupt Edge Select Register (PTBES)
7
R
0
W
Reset:
0
6
5
4
3
2
0
0
0
PTBES3
PTBES2
0
0
0
0
0
Figure 6-18. Port B Edge Select Register (PTBES)
Table 6-17. PTBES Register Field Descriptions
1
PTBES1
0
0
PTBES0
0
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 and detects falling edge/low level for interrupt generation.
1 A pull-down device is connected to the associated pin and detects rising edge/high level for interrupt
generation.
MC9S08SH32 Series Data Sheet, Rev. 2
Freescale Semiconductor
89
PRELIMINARY