There is support for configuring NRF pins as GPIO.
Viz:
NRF_NVMC->CONFIG = (NVMC_CONFIG_WEN_Wen << NVMC_CONFIG_WEN_Pos); // enables
NRF_UICR->NFCPINS = 0; // 1 NFC pins = NFC 0 = NFC pins as GPIO
However it would be nice to support for setting NRF52840 GPIO voltage.
Similar to:
NRF_UICR->REGOUT0 = UICR_REGOUT0_VOUT_3V3; // arduino-nRF5 gives error as it doesn't recognize REGOUT0.
There is support for configuring NRF pins as GPIO. Viz:
NRF_NVMC->CONFIG = (NVMC_CONFIG_WEN_Wen << NVMC_CONFIG_WEN_Pos); // enables NRF_UICR->NFCPINS = 0; // 1 NFC pins = NFC 0 = NFC pins as GPIO However it would be nice to support for setting NRF52840 GPIO voltage. Similar to: NRF_UICR->REGOUT0 = UICR_REGOUT0_VOUT_3V3; // arduino-nRF5 gives error as it doesn't recognize REGOUT0.