mynewt-core icon indicating copy to clipboard operation
mynewt-core copied to clipboard

hw/mcu/dialog: Keep GPIO mux powered if non-GPIO pins enabled

Open andrzej-kaczmarek opened this issue 4 years ago • 1 comments

If any pin has non-GPIO function we should not allow PD_COM to be disabled since this will also reset GPIO mux settings and this can lead to unpredictable behavior.

However, if there are no pins configured or all of them are used as standard GPIO, we can just latch their state and disable PD_COM safely.

andrzej-kaczmarek avatar Oct 23 '20 15:10 andrzej-kaczmarek

Style check summary

No suggestions at this time!

apache-mynewt-bot avatar Oct 23 '20 15:10 apache-mynewt-bot