Hi,
I am working with a nrf51822 and I have seen that the way to wake up from System Off mode is by a GPIO interrupt. I wanted to know if it is needed to configure previously the GPIO pin to wake it up from System Off mode.
Hi,
I am working with a nrf51822 and I have seen that the way to wake up from System Off mode is by a GPIO interrupt. I wanted to know if it is needed to configure previously the GPIO pin to wake it up from System Off mode.
You can configure the pin like this to wake up from sleep:
nrf_gpio_cfg_sense_input(PIN NUMBER, NRF_GPIO_PIN_PULLUP, NRF_GPIO_PIN_SENSE_LOW);
You can configure the pin like this to wake up from sleep:
nrf_gpio_cfg_sense_input(PIN NUMBER, NRF_GPIO_PIN_PULLUP, NRF_GPIO_PIN_SENSE_LOW);