General purpose I/O ports (GPIO) RM0016
110/449 Doc ID 14587 Rev 8
An alternate function output can be push-pull or pseudo-open drain depending on the
peripheral and Control register 1 (Px_CR1) and slope can be controlled depending on the
Control register 2 (Px_CR2) values.
Examples:
SPI output pins must be set-up as push-pull, fast slope for optimal operation.
11.8.2 Slope control
The maximum frequency that can be applied to an I/O can be controlled by software using
the CR2 bit. Low frequency operation with improved EMC behavior is selected at reset.
Higher frequency (up to 10 MHz) can be selected if needed. This feature can be applied in
either open drain or push-pull output mode on I/O ports of output type O3 or O4. Refer to the
pin description tables in the datasheets for the specific output type information for each pin.