Skip to main content
ConductedForce
Associate II
January 31, 2019
Solved

DeInit entire port, rather than a single pin

  • January 31, 2019
  • 3 replies
  • 1129 views

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.
Best answer by Uwe Bonnes

The RCC knows about GPIOxRST in AHB2.

3 replies

Uwe Bonnes
Uwe BonnesBest answer
Chief
January 31, 2019

The RCC knows about GPIOxRST in AHB2.

ConductedForce
Associate II
January 31, 2019

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