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.

2.3.3 Port E <strong>Data</strong> Register (PORTE)<br />

2.3.4 Port E <strong>Data</strong> Direction Register (DDRE)<br />

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

Port Integration Module (S12VRPIMV2)<br />

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

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

R 0 0 0 0 0 0<br />

W<br />

Altern.<br />

Function<br />

1 Read: Anytime. The data source is depending on the data direction value.<br />

Write: Anytime<br />

PE1 PE0<br />

— — — — — — XTAL EXTAL<br />

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

Figure 2-1. Port E <strong>Data</strong> Register (PORTE)<br />

Table 2-3. PORTE Register Field Descriptions<br />

Field Description<br />

1<br />

PE<br />

0<br />

PE<br />

PorT data register port E — General-purpose input/output data, CPMU OSC XTAL signal<br />

If the CPMU OSC function is active this pin is used as XTAL signal and the pulldown device is<br />

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

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

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

synchronized pin input state is read.<br />

• The CPMU OSC function takes precedence over the general purpose I/O function if enabled.<br />

PorT data register port E — General-purpose input/output data, CPMU OSC EXTAL signal<br />

If the CPMU OSC function is active this pin is used as EXTAL signal and the pulldown device is<br />

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

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

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

synchronized pin input state is read.<br />

• The CPMU OSC function takes precedence over the general purpose I/O function if enabled.<br />

Address 0x0009 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 0 0 0 0<br />

W<br />

DDRE1 DDRE0<br />

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

Figure 2-2. Port E <strong>Data</strong> Direction Register (DDRE)<br />

<strong>Freescale</strong> <strong>Semiconductor</strong> 57

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

Saved successfully!

Ooh no, something went wrong!