mc9s08sh8mwjr Freescale Semiconductor, Inc, mc9s08sh8mwjr Datasheet - Page 88

no-image

mc9s08sh8mwjr

Manufacturer Part Number
mc9s08sh8mwjr
Description
S08sh 5-volt 8-bit Microcontrollers With Sci, Spi, I2c, Adc And Analog Comparators
Manufacturer
Freescale Semiconductor, Inc
Datasheet
Chapter 6 Parallel Input/Output Control
6.6.2.5
6.6.2.6
88
PTBDS[7:0]
PTBMOD
Reset:
Reset:
PTBACK
PTBIE
PTBIF
Field
Field
7:0
3
2
1
0
W
W
R
R
PTBDS7
Output Drive Strength Selection for Port B Bits — Each of these control bits selects between low and high
output drive for the associated PTB pin. For port B pins that are configured as inputs, these bits have no effect.
0 Low output drive strength selected for port B bit n.
1 High output drive strength selected for port B bit n.
Port B Interrupt Flag — PTBIF indicates when a Port B interrupt is detected. Writes have no effect on PTBIF.
0 No Port B interrupt detected.
1 Port B interrupt detected.
Port B Interrupt Acknowledge — Writing a 1 to PTBACK is part of the flag clearing mechanism. PTBACK
always reads as 0.
Port B Interrupt Enable — PTBIE determines whether a port B interrupt is enabled.
0 Port B interrupt request not enabled.
1 Port B interrupt request enabled.
Port B Detection Mode — PTBMOD (along with the PTBES bits) controls the detection mode of the port B
interrupt pins.
0 Port B pins detect edges only.
1 Port B pins detect both edges and levels.
Port B Drive Strength Selection Register (PTBDS)
0
Port B Interrupt Status and Control Register (PTBSC)
0
0
7
7
Figure 6-16. Port B Interrupt Status and Control Register (PTBSC)
Figure 6-15. Drive Strength Selection for Port B Register (PTBDS)
PTBDS6
0
0
0
6
6
Table 6-14. PTBDS Register Field Descriptions
Table 6-15. PTBSC Register Field Descriptions
PTBDS5
MC9S08SH32 Series Data Sheet, Rev. 2
0
0
0
5
5
PRELIMINARY
PTBDS4
0
0
0
4
4
Description
Description
PTBDS3
PTBIF
3
0
3
0
PTBDS2
PTBACK
0
0
0
2
2
PTBDS1
Freescale Semiconductor
PTBIE
0
0
1
1
PTBMOD
PTBDS0
0
0
0
0

Related parts for mc9s08sh8mwjr