03.08.2013 Views

MC9S12VR-Family - Data Sheet - Freescale Semiconductor

MC9S12VR-Family - Data Sheet - Freescale Semiconductor

MC9S12VR-Family - Data Sheet - Freescale Semiconductor

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Port Integration Module (S12VRPIMV2)<br />

1<br />

PTS<br />

0<br />

PTS<br />

PorT data register port S — General-purpose input/output data, SCI1, routed SCI0 or LPDR[LPDR1]<br />

When not used with the alternative function, the associated pin can be used as general-purpose I/O. In<br />

general-purpose output mode the register bit value is driven to the pin.<br />

If the associated data direction bit is set to 1, a read returns the value of the port register bit, otherwise the<br />

synchronized pin input state is read.<br />

• The SCI1 function takes precedence over the routed SCI0 or LPDR[LPDR1] function and the general-purpose I/O<br />

function if enabled.<br />

• The routed SCI0 or LPDR[LPDR1] function takes precedence over the general-purpose I/O function if enabled.<br />

PorT data register port S — General-purpose input/output data, SCI1, routed SCI0<br />

When not used with the alternative function, the associated pin can be used as general-purpose I/O. In<br />

general-purpose output mode the register bit value is driven to the pin.<br />

If the associated data direction bit is set to 1, a read returns the value of the port register bit, otherwise the<br />

synchronized pin input state is read.<br />

• The SCI1 function takes precedence over the routed SCI0 function and the general-purpose I/O function if<br />

enabled.<br />

• The routed SCI0 function takes precedence over the general-purpose I/O function if enabled.<br />

2.3.18 Port S Input Register (PTIS)<br />

Address 0x0249 Access: User read only 1<br />

1 Read: Anytime<br />

Write:Never<br />

7 6 5 4 3 2 1 0<br />

R 0 0 PTIS5 PTIS4 PTIS3 PTIS2 PTIS1 PTIS0<br />

W<br />

Reset 0 0 0 0 0 0 0 0<br />

Figure 2-16. Port S Input Register (PTIS)<br />

Table 2-17. PTIS Register Field Descriptions<br />

Field Description<br />

5-0<br />

PTIS<br />

Table 2-16. PTS Register Field Descriptions (continued)<br />

Field Description<br />

PorT Input data register port S —<br />

A read always returns the synchronized input state of the associated pin. It can be used to detect overload or short<br />

circuit conditions on output pins.<br />

<strong>MC9S12VR</strong> <strong>Family</strong> Reference Manual, Rev. 2.8<br />

68 <strong>Freescale</strong> <strong>Semiconductor</strong>

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!