1.1.4.8 void GPIO_PinGroupOutputConfig(GPIO_PIN pin, GPIO_ALT_OUT altOutputEn) Function

C

void GPIO_PinGroupOutputConfig(GPIO_PIN pin, GPIO_ALT_OUT altOutputEn)

Summary

Either enables or disables control of the GPIO pin using the Group output register

Description

Every GPIO has two mechanisms to set a GPIO data output - either using the grouped GPIO output register or using the single GPIO output data bit located in the Pin Control register. This API lets application enable either of the two mechanisms based on the GPIO_ALT_OUT enum value.

Precondition

None.

Parameters

Param Description
pin One of the GPIO pins from the enum GPIO_PIN
altOutputEn One of the values from the enum GPIO_ALT_OUT

Returns

None

Example

GPIO_PinGroupOutputConfig(GPIO_PIN_GPIO012, GPIO_ALT_OUT_DIS);

Remarks

None