29.01.2015 Views

STM32F101xx, STM32F102xx, STM32F103xx, STM32F105xx and ...

STM32F101xx, STM32F102xx, STM32F103xx, STM32F105xx and ...

STM32F101xx, STM32F102xx, STM32F103xx, STM32F105xx and ...

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.

General-purpose <strong>and</strong> alternate-function I/Os (GPIOs <strong>and</strong> AFIOs)<br />

RM0008<br />

Figure 17.<br />

Alternate function configuration<br />

To on-chip<br />

peripheral<br />

Alternate Function Input<br />

Write<br />

Read<br />

Bit set/reset registers<br />

Read/write<br />

From on-chip<br />

peripheral<br />

Output data register<br />

Input data register<br />

Alternate Function Output<br />

Input driver<br />

Output driver<br />

on<br />

TTL Schmitt<br />

trigger<br />

Output<br />

control<br />

V DD<br />

V SS<br />

P-MOS<br />

N-MOS<br />

push-pull or<br />

open-drain<br />

V DD or V DD_FT (1)<br />

VSS<br />

Protection<br />

diode<br />

Protection<br />

diode<br />

I/O pin<br />

ai14785<br />

1. V DD_FT is a potential specific to five-volt tolerant I/Os <strong>and</strong> different from V DD .<br />

8.1.10 Analog input configuration<br />

When the I/O Port is programmed as Analog Input Configuration:<br />

●<br />

The Output Buffer is disabled.<br />

● The Schmitt Trigger Input is de-activated providing zero consumption for every analog<br />

value of the I/O pin. The output of the Schmitt Trigger is forced to a constant value (0).<br />

● The weak pull-up <strong>and</strong> pull-down resistors are disabled.<br />

● Read access to the Input Data Register gets the value “0”.<br />

The Figure 18 on page 144 shows the High impedance-Analog Input Configuration of the<br />

I/O Port bit.<br />

Figure 18.<br />

High impedance-analog input configuration<br />

To on-chip<br />

peripheral<br />

Analog Input<br />

Read<br />

Write<br />

Bit set/reset registers<br />

Read/write<br />

Output data register<br />

Input data register<br />

Input driver<br />

0<br />

off<br />

TTL Schmitt<br />

trigger<br />

V DD or V DD_FT (1)<br />

V SS<br />

Protection<br />

diode<br />

Protection<br />

diode<br />

I/O pin<br />

From on-chip<br />

peripheral<br />

ai14786<br />

144/995 Doc ID 13902 Rev 9

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

Saved successfully!

Ooh no, something went wrong!