MC9S12E32CFU FREESCALE [Freescale Semiconductor, Inc], MC9S12E32CFU Datasheet - Page 535

no-image

MC9S12E32CFU

Manufacturer Part Number
MC9S12E32CFU
Description
HCS12 Microcontrollers
Manufacturer
FREESCALE [Freescale Semiconductor, Inc]
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
MC9S12E32CFUE
Manufacturer:
Freescale Semiconductor
Quantity:
10 000
18.3.2.16 Port K Data Direction Register (DDRK)
Read: Anytime
Write: Anytime
This register determines the primary direction for each port K pin configured as general-purpose I/O. This
register is not in the map in peripheral or expanded modes while the EMK control bit in MODE register is
set. Therefore, these accesses will be echoed externally.
Freescale Semiconductor
DDRK
Field
7:0
Reset
W
R
Data Direction Port K Bits
0 Associated pin is a high-impedance input
1 Associated pin is an output
Note: It is unwise to write PORTK and DDRK as a word access. If you are changing port K pins from inputs to
Note: To ensure that you read the correct value from the PORTK pins, always wait at least one cycle after writing
Bit 7
0
7
outputs, the data may have extra transitions during the write. It is best to initialize PORTK before enabling
as outputs.
to the DDRK register before reading from the PORTK register.
Figure 18-20. Port K Data Direction Register (DDRK)
6
0
6
Table 18-14. EBICTL Field Descriptions
MC9S12E128 Data Sheet, Rev. 1.07
5
0
5
4
0
4
Description
Chapter 18 Multiplexed External Bus Interface (MEBIV3)
3
3
0
2
2
0
1
0
1
Bit 0
0
0
535

Related parts for MC9S12E32CFU