Skip to main content
ConductedForce
Associate II
Jan 31, 2019 9:45 PM UTC
Solved

DeInit entire port, rather than a single pin

Hi,

I'm using the STM32 F429ZI MCU, and I was wondering if an entire port can be deinitialized rather than one pin at a time. I know of the HAL_GPIO_DeInit() in the STM32 headers but it looks like it works one pin at a time. Is there a function to DeInit an entire port, like DeInit(GPIOx)?

This topic has been closed for replies.
Uwe Bonnes
Uwe BonnesBest answer
Chief
Jan 31, 2019 9:52 PM UTC

The RCC knows about GPIOxRST in AHB2.

3 replies

Uwe Bonnes
Uwe BonnesBest answer
Chief
Jan 31, 2019 9:52 PM UTC

The RCC knows about GPIOxRST in AHB2.

ConductedForce
Associate II
Jan 31, 2019 11:09 PM UTC

I'm using CubeMX, does it have a code piece for this?