Analog Configuration; Using The Hse Or Lse Oscillator Pins As Gpios; Using The Gpio Pins In The Backup Supply Domain; Figure 17. High Impedance-Analog Configuration - STMicroelectronics STM32F05 series Reference Manual

Advanced arm-based 32-bit mcus
Table of Contents

Advertisement

General-purpose I/Os (GPIO)
8.3.12

Analog configuration

When the I/O port is programmed as analog configuration:
The output buffer is disabled
The Schmitt trigger input is deactivated, providing zero consumption for every analog
value of the I/O pin. The output of the Schmitt trigger is forced to a constant value (0).
The weak pull-up and pull-down resistors are disabled
Read access to the input data register gets the value "0"
Note:
In the analog configuration, the I/O pins cannot be 5 Volt tolerant.
Figure 17

Figure 17. High impedance-analog configuration

To on-chip
peripheral
Read
Write
Read/write
From on-chip
peripheral
8.3.13

Using the HSE or LSE oscillator pins as GPIOs

When the HSE or LSE oscillator is switched OFF (default state after reset), the related
oscillator pins can be used as normal GPIOs.
When the HSE or LSE oscillator is switched ON (by setting the HSEON or LSEON bit in the
RCC_CSR register) the oscillator takes control of its associated pins and the GPIO
configuration of these pins has no effect.
When the oscillator is configured in a user external clock mode, only the OSC_IN or
OSC32_IN pin is reserved for clock input and the OSC_OUT or OSC32_OUT pin can still be
used as normal GPIO.
8.3.14

Using the GPIO pins in the backup supply domain

The PC13/PC14/PC15 GPIO functionality is lost when the core supply domain is powered
off (when the device enters Standby mode). In this case, if their GPIO configuration is not
bypassed by the RTC configuration, these pins are set in an analog input mode.
For details about I/O control by the RTC, refer to
page
536.
126/742
shows the high-impedance, analog-input configuration of the I/O port bit.
Analog
Analog
Doc ID 018940 Rev 1
off
0
TTL Schmitt
trigger
Input driver
Section 24.3: RTC functional description on
RM0091
V
DD
protection
diode
I/O pin
protection
diode
V
SS
ai15943

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the STM32F05 series and is the answer not in the manual?

Questions and answers

Table of Contents