It looks like a bug. But for some reason with the input buffer turned off, reading the input pin still works (nrf52840).
niedz., 10 sty 2021 o 19:17 Matias N. <mat...@imap.cc> napisaĆ(a): > Hi, > while debugging the issue I mentioned in the other thread, I found > something strange: when configuring a pin as input on nRF52, the input > buffer is not enabled (by clearing the relevant INPUT bit of the PIN_CFG > register): > https://github.com/apache/incubator-nuttx/blob/master/arch/arm/src/nrf52/nrf52_gpio.c#L94 > > Is this a bug? Or am I missing something? > > Best, > Matias