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 />

DDRS<br />

0<br />

DDRS<br />

<strong>Data</strong> Direction Register port S —<br />

This bit determines whether the associated pin is an input or output.<br />

Depending on the configuration of the enabled SCI the I/O state will be forced to be input or output. The enabled<br />

routed LINPHY forces the I/O state to be an output (LPDR[LPDR1]). In these cases the data direction bit will not<br />

change.<br />

1 Associated pin is configured as output<br />

0 Associated pin is configured as input<br />

<strong>Data</strong> Direction Register port S —<br />

This bit determines whether the associated pin is an input or output.<br />

Depending on the configuration of the enabled SCI the I/O state will be forced to be input or output. In this case the<br />

data direction bit will not change.<br />

1 Associated pin is configured as output<br />

0 Associated pin is configured as input<br />

2.3.20 Port S Pull Device Enable Register (PERS)<br />

Address 0x024C Access: User read/write 1<br />

1 Read: Anytime<br />

Write: Anytime<br />

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

R 0 0<br />

W<br />

PERS5 PERS4 PERS3 PERS2 PERS1 PERS0<br />

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

Figure 2-18. Port S Pull Device Enable Register (PERS)<br />

Table 2-19. PERS Register Field Descriptions<br />

Field Description<br />

5-0<br />

PERS<br />

Pull device Enable Register port S — Enable pull device on input pin or wired-or output pin<br />

This bit controls whether a pull device on the associated port input pin is active. If a pin is used as output this bit has<br />

only effect if used in wired-or mode. The polarity is selected by the related polarity select register bit.<br />

1 Pull device enabled<br />

0 Pull device disabled<br />

Table 2-18. DDRS Register Field Descriptions (continued)<br />

Field Description<br />

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

70 <strong>Freescale</strong> <strong>Semiconductor</strong>

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

Saved successfully!

Ooh no, something went wrong!