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.

Chapter 2<br />

Port Integration Module (S12VRPIMV2)<br />

Revision History<br />

Rev. No.<br />

(Item No.)<br />

Date<br />

(Submitted By)<br />

2.1 Introduction<br />

2.1.1 Overview<br />

Sections<br />

Affected<br />

Substantial Change(s)<br />

V02.02 11 Apr 2011 • Added stop mode condition to PTTEL and PTPSL<br />

• Minor corrections after review<br />

V02.03 18 Apr 2011 • Minor corrections after review<br />

V02.04 24 May 2012 • Corrected PTAENL bit value in PTIL bit description<br />

The S12VR port integration module (PIM) establishes the interface between the peripheral modules and<br />

the I/O pins for all ports. It controls the electrical pin properties as well as the signal prioritization and<br />

multiplexing on shared pins.<br />

This section covers:<br />

• 2-pin port E associated with the external oscillator<br />

• 4-pin port T associated with 4 TIM channels and 2 PWM channels<br />

• 6-pin port S associated with 2 SCI and 1 SPI<br />

• 6-pin port P with pin interrupts and wakeup function; associated with<br />

— IRQ, XIRQ interrupt inputs<br />

— Six PWM channels with two of those capable of driving up to 10 mA<br />

— One output with over-current protection and interrupt capable of supplying up to 20 mA to<br />

external devices such as Hall sensors<br />

• 6-pin port AD with pin interrupts and wakeup function; associated with 6 ADC channels<br />

• 4-pin port L with pin interrupts and wakeup function; associated with 4 high-voltage inputs for<br />

digital or analog use with optional voltage divider bypass and open input detection<br />

Most I/O pins can be configured by register bits to select data direction and to enable and select pullup or<br />

pulldown devices.<br />

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

<strong>Freescale</strong> <strong>Semiconductor</strong> 47

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

Saved successfully!

Ooh no, something went wrong!