Hi,
I am currently trying to read the GPIO latch register in my Zephyr NRF SDK 1.9.1 C++ project with the following line:
uint32_t gpio_trigger = NRF_GPIO->LATCH;
This is resulting in the following compile error:
error: 'NRF_GPIO' was not declared in this scope; did you mean 'NRF_GPIOTE'?
I have already included
#include <hal/nrf_gpio.h>in main.cpp and my prj.conf contains
CONFIG_GPIO=y. The device I am using is NRF5340 on a custom PCB.
Just wondering if there is anything I am missing that might be causing this issue?
Kind regards,
Sam.