cancel
Showing results for 
Search instead for 
Did you mean: 

DeInit entire port, rather than a single pin

ConductedForce
Associate II

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)?

1 ACCEPTED SOLUTION

Accepted Solutions
Uwe Bonnes
Principal III

The RCC knows about GPIOxRST in AHB2.

View solution in original post

3 REPLIES 3
Uwe Bonnes
Principal III

The RCC knows about GPIOxRST in AHB2.

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

Found GPIO registers in stm32 chip header, thanks for pointing in the right direction. Closer to what we wanted.