mc9s12c32mpb16 Freescale Semiconductor, Inc, mc9s12c32mpb16 Datasheet - Page 86

no-image

mc9s12c32mpb16

Manufacturer Part Number
mc9s12c32mpb16
Description
Hcs12 Microcontrollers
Manufacturer
Freescale Semiconductor, Inc
Datasheet
Chapter 2 Port Integration Module (PIM9C32) Block Description
2.3.2.2.3
Read: Anytime.
Write: Anytime.
86
Module Base + 0x000A
DDRS[3:0]
Reset
Field
3–0
W
R
Direction Register Port S — This register configures each port S pin as either input or output.
If the associated SCI transmit or receive channel is enabled this register has no effect on the pins. The pin is
forced to be an output if the SCI transmit channel is enabled, it is forced to be an input if the SCI receive channel
is enabled.
The DDRS bits revert to controlling the I/O direction of a pin when the associated channel is disabled.
0 Associated pin is configured as input.
1 Associated pin is configured as output.
Note: Due to internal synchronization circuits, it can take up to 2 bus cycles until the correct value is read on PTS
0
0
7
Port S Data Direction Register (DDRS)
or PTIS registers, when changing the DDRS register.
= Unimplemented or Reserved
0
0
6
Figure 2-12. Port S Data Direction Register (DDRS)
Table 2-11. DDRS Field Descriptions
MC9S12C-Family / MC9S12GC-Family
0
0
5
Rev 01.23
0
0
4
Description
DDRS3
0
3
DDRS2
0
2
DDRS1
Freescale Semiconductor
0
1
DDRS0
0
0

Related parts for mc9s12c32mpb16