mcf51ac256a Freescale Semiconductor, Inc, mcf51ac256a Datasheet - Page 125

no-image

mcf51ac256a

Manufacturer Part Number
mcf51ac256a
Description
Mcf51ac Flexis
Manufacturer
Freescale Semiconductor, Inc
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
mcf51ac256aCFGE
Manufacturer:
FREESCALE
Quantity:
2 400
Part Number:
mcf51ac256aCFGE
Manufacturer:
FREESCALE
Quantity:
2 400
Part Number:
mcf51ac256aCFUE
Manufacturer:
Freescale Semiconductor
Quantity:
10 000
Part Number:
mcf51ac256aCLKE
Manufacturer:
FREESCALE
Quantity:
1 500
Part Number:
mcf51ac256aCLKE
Manufacturer:
Freescale Semiconductor
Quantity:
10 000
Part Number:
mcf51ac256aCPUE
Manufacturer:
MURATA
Quantity:
1 000
6.5.8
Port G is a 7-bit input/output port and also shares its pins with the FTM2, SPI2, VBUS, and ADC
peripherals. On reset the pins will default to the input state and under the I/O control. Enabling any of the
shared peripherals will take priority control over the pins. See
priorities.
Port H is controlled by the registers listed below.
6.5.8.1
Freescale Semiconductor
Reset:
PTGDSn
PTHDn
Field
Field
6–0
6–0
W
R
PTH0 shares its pin with FTM2CH2 and AD1P20.
PTH1 shares its pin with FTM2CH3, PSTCLK0, and AD1P21.
PTH2 shares its pin with FTM2CH4, PSTCLK1, and AD1P22.
PTH3 shares its pin with FTM2CH5, BKPT, and AD1P23.
PTH4 shares its pin with SPSCK2.
PTH5 shares its pin with MOSI2.
PTH6 shares its pin with MISO2.
Port H Registers
Output Drive Strength Selection for Port G Bits — Each of these control bits selects between low and high
output drive for the associated PTG pin. For port G pins that are configured as inputs, these bits have no effect.
0 Low output drive strength selected for port G bit n.
1 High output drive strength selected for port G bit n.
Port H Data Register Bits — For port H pins that are inputs, reads return the logic level on the pin. For port H
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 H pins that are configured as outputs, the logic level is
driven out the corresponding MCU pin.
Reset forces PTHD 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.
Port H Data Register (PTHD)
0
0
7
MCF51AC256 ColdFire Integrated Microcontroller Reference Manual, Rev. 5
PTHD6
0
6
Table 6-35. PTGDS Register Field Descriptions
Table 6-36. PTHD Register Field Descriptions
Figure 6-37. Port H Data Register (PTHD)
PTHD5
0
5
PTHD4
0
4
Description
Description
PTHD3
Table 2-1
3
0
PTHD2
for details on pin function
0
2
Parallel Input/Output Control
PTHD1
0
1
PTHD0
0
0
6-21

Related parts for mcf51ac256a