Skip to content

programming nRF52840 GPIO voltage #362

Open
@manifestman

Description

@manifestman

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.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions