typedef enum { PIN_FEATURE_SLOW_SLEW_RATE, PIN_FEATURE_FAST_SLEW_RATE, PIN_FEATURE_DISABLE_GLITCH_FILTER, PIN_FEATURE_ENABLE_GLITCH_FILTER } PLATFORM_PIN_FEATURE_t;
PLATFORM_PIN_FEATURE_t describes the features that a pin may support using platform_set_digital_pin_feature.
Not all features are implemented on all platforms, and not all combinations of features are possible on all platforms. Individual platforms may well reject a request to configure a pin for a particular feature if the Platform Library can determine that the request cannot be satisfied.