2.49.47 GPIO_PinMUXConfig Function

C

void GPIO_PinMUXConfig(GPIO_PIN pin, GPIO_FUNCTION function)

Summary

Configures the signal function on the given pin

Description

This API lets the application select the signal function on the given pin

Precondition

None

Parameters

ParamDescription
pinOne of the values from the enum GPIO_PIN
functionOne of the values from the enum GPIO_FUNCTION

Returns

None

Example

GPIO_PinMUXConfig(GPIO_PIN_GPIO012, GPIO_FUNCTION_GPIO);

Remarks

None