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.4.3.4 Port S<br />

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

Port Integration Module (S12VRPIMV2)<br />

This port is associated with the ECLK, SPI, SCI1, routed SCI0, routed PWM channels and ETRIG inputs.<br />

Port S pins can be used either for general-purpose I/O, or with the ECLK, SPI, SCI, and PWM subsystems.<br />

2.4.3.5 Port P<br />

Port P pins can be used for either general-purpose I/O, IRQ and XIRQ or with the PWM subsystem. All<br />

pins feature pin interrupt functionality.<br />

PP2 has an increased current capability to drive up to 20 mA to supply external devices for external Hall<br />

sensors. An over-current protection is available.<br />

PP1 and PP0 have an increased current capability to drive up to 10 mA.<br />

PP4 and PP5 support ETRIG functionality.<br />

PP5 can be used for either general-purpose input or as the level- or falling edge-sensitive IRQ interrupt<br />

input. IRQ will be enabled by setting the IRQCR[IRQEN] configuration bit (2.3.8/2-59) and clearing the<br />

I-bit in the CPU condition code register. It is inhibited at reset so this pin is initially configured as a simple<br />

input with a pullup.<br />

PP0 can be used for either general-purpose input or as the level-sensitive XIRQ interrupt input. XIRQ can<br />

be enabled by clearing the X-bit in the CPU condition code register. It is inhibited at reset so this pin is<br />

initially configured as a high-impedance input with a pullup.<br />

2.4.3.6 Port L<br />

Port L provides four high-voltage inputs (HVI) with the following features:<br />

• Input voltage proof up to VHVIx • Digital input function with pin interrupt and wakeup from stop capability<br />

• Analog input function with selectable divider ratio routable to ADC channel. Optional direct input<br />

bypassing voltage divider and impedance converter. Capable to wakeup from stop (pin interrupts<br />

in run mode not available). Open input detection.<br />

Figure 2-46 shows a block diagram of the HVI.<br />

<strong>Freescale</strong> <strong>Semiconductor</strong> 93

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

Saved successfully!

Ooh no, something went wrong!