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

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Port Integration Module (S12VRPIMV2)<br />

2.3.42 Port AD Pull Enable Register (PER1AD)<br />

Address 0x0279 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 />

PER1AD5 PER1AD4 PER1AD3 PER1AD2 PER1AD1 PER1AD0<br />

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

Figure 2-41. Port AD Pullup Enable Register (PER1AD)<br />

Table 2-43. PER1AD Register Field Descriptions<br />

Field Description<br />

5-0<br />

PER1AD<br />

Pull device Enable Register 1 port AD — Enable pull device on input 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 />

no effect. The polarity is selected by the related polarity select register bit.<br />

1 Pull device enabled<br />

0 Pull device disabled<br />

2.3.43 Port AD Polarity Select Register (PPS1AD)<br />

Address 0x027B 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 />

PPS1AD5 PPS1AD4 PPS1AD3 PPS1AD2 PPS1AD1 PPS1AD0<br />

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

Figure 2-42. Port AD Polarity Select Register (PPS1AD)<br />

Table 2-44. PPS1AD Register Field Descriptions<br />

Field Description<br />

5-0<br />

PPS1AD<br />

Pull device Polarity Select register 1 port AD — Configure pull device polarity and pin interrupt edge polarity on<br />

input pin<br />

This bit selects a pullup or a pulldown device if enabled on the associated port input pin.<br />

This bit also selects the polarity of the active pin interrupt edge.<br />

1 A pulldown device is selected; rising edge selected<br />

0 A pullup device is selected; falling edge selected<br />

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

88 <strong>Freescale</strong> <strong>Semiconductor</strong>

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

Saved successfully!

Ooh no, something went wrong!