1.1.4.21 void GPIO_PinMUXConfig(GPIO_PIN pin, GPIO_FUNCTION function) 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

Param Description
pin One of the values from the enum GPIO_PIN
function One of the values from the enum GPIO_FUNCTION

Returns

None

Example

GPIO_PinMUXConfig(GPIO_PIN_GPIO012, GPIO_FUNCTION_GPIO);

Remarks

None