MC9S08GB32 Motorola, MC9S08GB32 Datasheet - Page 86

no-image

MC9S08GB32

Manufacturer Part Number
MC9S08GB32
Description
Microcontrollers
Manufacturer
Motorola
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
MC9S08GB32ACFUE
Manufacturer:
FREESCALE
Quantity:
319
Part Number:
MC9S08GB32ACFUE
Manufacturer:
Freescale Semiconductor
Quantity:
10 000
Company:
Part Number:
MC9S08GB32ACFUE
Quantity:
1 230
Part Number:
MC9S08GB32CFU
Manufacturer:
QFP
Quantity:
513
Part Number:
MC9S08GB32CFU
Manufacturer:
Freescale Semiconductor
Quantity:
10 000
Part Number:
MC9S08GB32CFUE
Manufacturer:
QFP
Quantity:
672
Part Number:
MC9S08GB32CFUE
Manufacturer:
Freescale Semiconductor
Quantity:
10 000
Part Number:
MC9S08GB32CFUE
Manufacturer:
MOTOROLA/摩托罗拉
Quantity:
20 000
Part Number:
MC9S08GB32CFUER
Manufacturer:
Freescale Semiconductor
Quantity:
10 000
Chapter 6 Parallel Input/Output
PTASEn — Slew Rate Control Enable for Port A Bit n (n = 0–7)
PTADDn — Data Direction for Port A Bit n (n = 0–7)
6.6.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.
86
For port A pins that are outputs, these read/write control bits determine whether the slew rate
controlled outputs are enabled. For port A pins that are configured as inputs, these bits are ignored.
These read/write bits control the direction of port A pins and what is read for PTAD reads.
PTBD
PTBPE
PTBSE
PTBDD
1 = Slew rate control enabled.
0 = Slew rate control disabled.
1 = Output driver enabled for port A bit n and PTAD reads return the contents of PTADn.
0 = Input (output driver disabled) and reads return the pin value.
Port B Registers (PTBD, PTBPE, PTBSE, and PTBDD)
Reset:
Reset:
Reset:
Reset:
Read:
Write:
Read:
Write:
Read:
Write:
Read:
Write:
PTBPE7
PTBSE7
PTBDD7
PTBD7
Bit 7
0
0
0
0
PTBPE6
PTBSE6
PTBDD6
MC9S08GB/GT Data Sheet, Rev. 2.3
PTBD6
Figure 6-10. Port B Registers
6
0
0
0
0
PTBDD5
PTBPE5
PTBSE5
PTBD5
5
0
0
0
0
PTBDD4
PTBPE4
PTBSE4
PTBD4
4
0
0
0
0
PTBDD3
PTBPE3
PTBSE3
PTBD3
3
0
0
0
0
PTBDD2
PTBPE2
PTBSE2
PTBD2
2
0
0
0
0
PTBDD1
PTBPE1
PTBSE1
PTBD1
Freescale Semiconductor
1
0
0
0
0
PTBDD0
PTBPE0
PTBSE0
PTBD0
Bit 0
0
0
0
0

Related parts for MC9S08GB32