mc9s08gt16a Freescale Semiconductor, Inc, mc9s08gt16a Datasheet - Page 89

no-image

mc9s08gt16a

Manufacturer Part Number
mc9s08gt16a
Description
Hcs08 Microcontrollers 8-bit Microcontroller Family
Manufacturer
Freescale Semiconductor, Inc
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
mc9s08gt16aCBE
Manufacturer:
SHARP
Quantity:
1 200
Part Number:
mc9s08gt16aCFBE
Manufacturer:
Freescale Semiconductor
Quantity:
10 000
Part Number:
mc9s08gt16aCFBE
Quantity:
480
Part Number:
mc9s08gt16aCFBER
Manufacturer:
Freescale Semiconductor
Quantity:
10 000
Part Number:
mc9s08gt16aCFBER
Manufacturer:
FREESCALE
Quantity:
8 000
Part Number:
mc9s08gt16aCFBER
Manufacturer:
NXP/恩智浦
Quantity:
20 000
Part Number:
mc9s08gt16aMFBE
Manufacturer:
XILINX
Quantity:
1 300
Part Number:
mc9s08gt16aMFBE
Manufacturer:
Freescale Semiconductor
Quantity:
10 000
6.5.2
Port B includes eight general-purpose I/O pins that share with the ATD function. Port B pins used as
general-purpose I/O pins are controlled by the port B data (PTBD), data direction (PTBDD), pullup enable
(PTBPE), and slew rate control (PTBSE) registers.
If the ATD takes control of a port B pin, the corresponding PTBDD, PTBSE, and PTBPE bits are ignored.
When a port B pin is being used as an ATD pin, reads of PTBD will return a 0 of the corresponding pin,
provided PTBDD is 0.
Freescale Semiconductor
PTBPE[7:0]
PTBD[7:0]
Reset
Reset
Field
Field
7:0
7:0
W
W
R
R
PTBPE7
PTBD7
Port B Registers (PTBD, PTBPE, PTBSE, and PTBDD)
Port B Data Register Bits — For port B pins that are inputs, reads return the logic level on the pin. For port B
pins that are configured as outputs, reads return the last value written to this register.
Writes are latched into all bits of this register. For port B pins that are configured as outputs, the logic level is
driven out the corresponding MCU pin.
Reset forces PTBD to all 0s, but these 0s are not driven out on the corresponding pins because reset also
configures all port pins as high-impedance inputs with pullups disabled.
Pullup Enable for Port B Bits — For port B pins that are inputs, these read/write control bits determine whether
internal pullup devices are enabled. For port B pins that are configured as outputs, these bits are ignored and
the internal pullup devices are disabled.
0 Internal pullup device disabled.
1 Internal pullup device enabled.
0
0
7
7
PTBPE6
PTBD6
0
0
6
6
Figure 6-13. Pullup Enable for Port B (PTBPE)
Figure 6-12. Port B Data Register (PTBD)
Table 6-6. PTBPE Field Descriptions
MC9S08GT16A/GT8A Data Sheet, Rev. 1
PTBPE5
Table 6-5. PTBD Field Descriptions
PTBD5
0
0
5
5
PTBPE4
PTBD4
0
0
4
4
Description
Description
PTBPE3
PTBD3
3
0
3
0
PTBPE2
PTBD2
0
0
2
2
PTBPE1
PTBD1
0
0
1
1
Parallel Input/Output
PTBPE0
PTBD0
0
0
0
0
89

Related parts for mc9s08gt16a