Question
Active Low Output GPIO Initialization on STM32F051
Posted on October 19, 2015 at 10:38
Hi,
I would like to make sure that an active low signal is inactive when I call GPIO_Init(). My first idea is to set the ODR register via BRR/BSRR, i.e. with the GPIO_WriteBit() call before I call GPIO_Init(). Will that work or do I have to set the ODR register directly. Beyond that, what is the proper way of dealing with the active low situation. I hope you can help, Kilian