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

2.3.34 Port L Analog Access Register (PTAL)<br />

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

R<br />

W<br />

1 Read: Anytime<br />

Write: Anytime<br />

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

PTTEL PTPSL PTABYPL PTADIRL PTAENL<br />

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

82 <strong>Freescale</strong> <strong>Semiconductor</strong><br />

0<br />

PTAL1 PTAL0<br />

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

Figure 2-33. Port L Analog Access Register (PTAL)<br />

Table 2-34. PTAL Register Field Descriptions<br />

Field Description<br />

7<br />

PTTEL<br />

6<br />

PTPSL<br />

5<br />

PTABYPL<br />

4<br />

PTADIRL<br />

PorT Test Enable port L —<br />

This bit forces the input buffer of the selected HVI pin (PTAL[1:0]) to be active while using the analog function to<br />

support open input detection in run mode. Refer to Section 2.5.4, “Open Input Detection on HVI Pins”). In stop mode<br />

this bit has no effect.<br />

Note: In direct input connection (PTAL[PTADIRL]=1) the digital input buffer is not enabled.<br />

1 Input buffer enabled when used with analog function and not in direct mode (PTAL[PTADIRL]=0)<br />

0 Input buffer disabled when used with analog function<br />

PorT Pull Select port L —<br />

This bit selects a pull device on the selected HVI pin (PTAL[1:0]) in analog mode for open input detection. By default<br />

a pulldown device is active as part of the input voltage divider. If set to 1 and PTTEL=1 and not in stop mode a pullup<br />

to a level close to V DDX takes effect and overrides the weak pulldown device. Refer to Section 2.5.4, “Open Input<br />

Detection on HVI Pins”).<br />

1 Pullup enabled<br />

0 Pulldown enabled<br />

PorT ADC connection BYPass port L —<br />

This bit bypasses and powers down the impedance converter stage in the signal path from the analog input pin to<br />

the ADC channel input. This bit takes effect only if using direct input connection to the ADC channel (PTADIRL=1).<br />

1 Bypass impedance converter in ADC channel signal path<br />

0 Use impedance converter in ADC channel signal path<br />

PorT ADC DIRect connection port L —<br />

This bit connects the selected analog input signal (PTAL[1:0]) directly to the ADC channel bypassing the voltage<br />

divider. This bit takes effect only in analog mode (PTAENL=1).<br />

1 Input pin directly connected to ADC channel<br />

0 Input voltage divider active on analog input to ADC channel

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

Saved successfully!

Ooh no, something went wrong!