mc9s08qg8 Freescale Semiconductor, Inc, mc9s08qg8 Datasheet - Page 78

no-image

mc9s08qg8

Manufacturer Part Number
mc9s08qg8
Description
Hcs08 Microcontrollers
Manufacturer
Freescale Semiconductor, Inc
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
mc9s08qg84CDNE
Manufacturer:
Freescale Semiconductor
Quantity:
135
Part Number:
mc9s08qg84CDTE
Manufacturer:
Freescale Semiconductor
Quantity:
135
Part Number:
mc9s08qg8CDT
Manufacturer:
FREESCALE
Quantity:
20 000
Part Number:
mc9s08qg8CDTE
Manufacturer:
ABB
Quantity:
101
Part Number:
mc9s08qg8CDTE
Manufacturer:
Freescale Semiconductor
Quantity:
41 991
Part Number:
mc9s08qg8CDTE
Manufacturer:
FREESCALE
Quantity:
500
Part Number:
mc9s08qg8CDTE
Manufacturer:
FREESCALE
Quantity:
500
Part Number:
mc9s08qg8CDTE
Manufacturer:
FREESCALE
Quantity:
20 000
Part Number:
mc9s08qg8CDTER
0
Part Number:
mc9s08qg8CFFE
Manufacturer:
FREESCALE
Quantity:
20 000
Part Number:
mc9s08qg8CFFE
Quantity:
16
Part Number:
mc9s08qg8CFKE
Manufacturer:
FREESCALE
Quantity:
31 848
Part Number:
mc9s08qg8CFKE
Manufacturer:
FREESCALE
Quantity:
31 848
Part Number:
mc9s08qg8CPBE
Manufacturer:
CYPRESS
Quantity:
310
Part Number:
mc9s08qg8CPBE
0
1
2
Chapter 6 Parallel Input/Output Control
6.4.1.2
6.4.2
The pins associated with port A are controlled by the registers in this section. These registers control the
pin pullup, slew rate, and drive strength of the port A pins independent of the parallel I/O register.
78
PTADD[5:0]
PTAD[5:0]
Reset:
PTADD5 has no effect on the input-only PTA5 pin.
PTADD4 has no effect on the output-only PTA4 pin.
Field
Field
5:0
5:0
W
R
Port A Control Registers
Port A Data Register Bits — For port A pins that are inputs, reads return the logic level on the pin. For port A
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 A pins that are configured as outputs, the logic level is
driven out the corresponding MCU pin.
Reset forces PTAD to all 0s, but these 0s are not driven out the corresponding pins because reset also configures
all port pins as high-impedance inputs with pullups disabled.
Data Direction for Port A Bits — These read/write bits control the direction of port A pins and what is read for
PTAD reads.
0 Input (output driver disabled) and reads return the pin value.
1 Output driver enabled for port A bit n and PTAD reads return the contents of PTADn.
Port A Data Direction (PTADD)
0
7
0
0
0
6
Figure 6-3. Port A Data Direction Register (PTADD)
MC9S08QG8 and MC9S08QG4 Data Sheet, Rev. 1.01
Table 6-2. PTADD Register Field Descriptions
Table 6-1. PTAD Register Field Descriptions
PTADD5
0
5
1
PTADD4
0
4
Description
Description
2
PTADD3
3
0
PTADD2
0
2
PTADD1
Freescale Semiconductor
0
1
PTADD0
0
0

Related parts for mc9s08qg8