Freescale Semiconductor Demonstration Board for Freescale MC9S12XHY256 Microcontroller DEMO9S12XHY256 DEMO9S12XHY256 Manuale Utente

Codici prodotto
DEMO9S12XHY256
Pagina di 924
Port Integration Module (S12XHYPIMV1)
MC9S12XHY-Family Reference Manual, Rev. 1.04
104
Freescale Semiconductor
2.3.28
Port S Wired-Or Mode Register (WOMS)
2.3.29
Port S Routing Register (PTSRR)
This register configures the re-routing of IIC and SPI on alternative ports.
 Address 0x024E
Access: User read/write
1
1
Read: Anytime.
Write: Anytime.
7
6
5
4
3
2
1
0
R
WOMS7
WOMS6
WOMS5
WOMS4
WOMS3
WOMS2
WOMS1
WOMS0
W
Reset
0
0
0
0
0
0
0
0
Figure 2-26. Port S Wired-Or Mode Register (WOMS)
Table 2-22. WOMS Register Field Descriptions
Field
Description
7-0
WOMS
Port S wired-or mode—Enable wired-or functionality
This register configures the output pins as wired-or. If enabled the output is driven active low only (open-drain). A
logic level of “1” is not driven.This allows a multipoint connection of several serial modules. These bits have no
influence on pins used as inputs.
1 Output buffers operate as open-drain outputs.
0 Output buffers operate as push-pull outputs.
 Address 0x024F
Access: User read/write
1
1
Read: Anytime.
Write: Anytime.
7
6
5
4
3
2
1
0
R
0
0
PTSRR5
PTSRR4
0
0
PTSRR1
PTSRR0
W
Reset
0
0
0
0
0
0
0
0
Figure 2-27. Port S Routing Register (PTSRR)
Table 2-23. Module Routing Summary
Module
PTSRR
Related Pins
5
4
1
0
SCL
SDA