CTL_STATUS_t platform_set_digital_pin_speed(int pin,
                                            int kHz);

platform_set_digital_pin_speed sets the pin speed for digital I/O.

If a device cannot support the pin speed, platform_set_digital_pin_speed returns a configuration error.

The pin speeds supported by various platforms are:

Processor Speeds (MHz)
STM32L1 0.4, 2, 10, 40
STM32F1 2, 25, 50
STM32F4 2, 25, 50, 100
LM3S Not configurable
LPC1700 Not configurable
KL05Z Not configurable
KL25Z Not configurable
See Also

platform_set_multi_digital_pin_speed, platform_digital_pin_speed