Hi everyone.
I have to completely deactivate some input GPIOs in my device without any residual current left to avoid damaging the sensor plugged on this pins. I was wondering if using nrf_drv_gpiote_in_uninit was enough ?
Best Regards.
Hi everyone.
I have to completely deactivate some input GPIOs in my device without any residual current left to avoid damaging the sensor plugged on this pins. I was wondering if using nrf_drv_gpiote_in_uninit was enough ?
Best Regards.
Yes, calling nrf_drv_gpiote_in_uninit should be enough. It sets the GPIO to its default state which is input, with the input buffer disconnected. In this state the pin should not source any amount of current that will damage the device its connected to.
Best regards
Bjørn
Thanks for your quick reply !
Happy to help