MC9S08SG32 FREESCALE [Freescale Semiconductor, Inc], MC9S08SG32 Datasheet - Page 96

no-image

MC9S08SG32

Manufacturer Part Number
MC9S08SG32
Description
Microcontrollers
Manufacturer
FREESCALE [Freescale Semiconductor, Inc]
Datasheet
Chapter 6 Parallel Input/Output Control
6.6.2.7
6.6.2.8
90
PTBPS[3:0]
PTBES[3:0]
Reset:
Reset:
Field
Field
3:0
3:0
W
W
R
R
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.
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
Port B Interrupt Pin Select Register (PTBPS)
0
0
Port B Interrupt Edge Select Register (PTBES)
0
0
7
7
generation.
Figure 6-17. Port B Interrupt Pin Select Register (PTBPS)
0
0
0
0
6
6
Figure 6-18. Port B Edge Select Register (PTBES)
Table 6-16. PTBPS Register Field Descriptions
Table 6-17. PTBES Register Field Descriptions
0
0
0
0
5
5
MC9S08SG32 Data Sheet, Rev. 8
0
0
0
0
4
4
Description
Description
PTBPS3
PTBES3
3
0
3
0
PTBPS2
PTBES2
0
0
2
2
PTBPS1
PTBES1
Freescale Semiconductor
0
0
1
1
PTBPS0
PTBES0
0
0
0
0

Related parts for MC9S08SG32