mc9s12xd256 Freescale Semiconductor, Inc, mc9s12xd256 Datasheet - Page 943

no-image

mc9s12xd256

Manufacturer Part Number
mc9s12xd256
Description
Hcs12x Microcontrollers
Manufacturer
Freescale Semiconductor, Inc
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
mc9s12xd256CAA
Manufacturer:
FREESCALE
Quantity:
3 564
Part Number:
mc9s12xd256CAA
Manufacturer:
Freescale Semiconductor
Quantity:
10 000
Part Number:
mc9s12xd256CAA
Manufacturer:
FREESCALE
Quantity:
3 564
Part Number:
mc9s12xd256CAG
Manufacturer:
FREESCALE
Quantity:
1 540
Part Number:
mc9s12xd256CAG
Manufacturer:
Freescale Semiconductor
Quantity:
10 000
Reset
Reset
PWM
23.0.5.38 Port P Data Register (PTP)
Read: Anytime.
Write: Anytime.
Port P pins 7–0 are associated with the PWM as well as the SPI1 and SPI2. These pins can be used
as general purpose I/O when not used with any of the peripherals.
If the data direction bits of the associated I/O pins are set to logic level “1”, a read returns the value
of the port register, otherwise the buffered pin input state is read.
The PWM function takes precedence over the general purpose I/O and the SPI2 or SPI1 function
if the associated PWM channel is enabled. While channels 6-0 are output only if the respective
channel is enabled, channel 7 can be PWM output or input if the shutdown feature is enabled. Refer
to PWM section for details.
The SPI2 function takes precedence over the general purpose I/O function if enabled. Refer to SPI
section for details. The SPI1 function takes precedence over the general purpose I/O function if
enabled. Refer to SPI section for details.
23.0.5.39 Port P Input Register (PTIP)
1. These registers are reset to zero. Two bus clock cycles after reset release the register values are updated with the
Read: Anytime.
Write: Never, writes to this register have no effect.
This register always reads back the buffered state of the associated pins. This can also be used to
detect overload or short circuit conditions on output pins.
SPI
W
W
associated pin values.
R
R
1
PWM7
PTIP7
SCK2
PTP7
7
0
7
= Unimplemented or Reserved
PWM6
PTIP6
PTP6
SS2
0
6
6
Figure 23-41. Port P Input Register (PTIP)
Figure 23-40. Port P Data Register (PTP)
MOSI2
PWM5
PTIP5
PTP5
5
0
5
MISO2
PWM4
PTIP4
PTP4
0
4
4
PWM3
PTIP3
PTP3
SS1
3
0
3
PWM2
PTIP2
SCK1
PTP2
0
2
2
MOSI1
PWM1
PTIP1
PTP1
1
0
1
MISO1
PWM0
PTIP0
PTP0
0
0
0

Related parts for mc9s12xd256