Hello, guys!
We are using nRF51822 SoC with nRF5 SDK v12.3.0 and s130 SoftDevice. One of our desires is to use Software Interrupt (SWI) driver.
However, when I try to initialize SWI library with:
/* Initialize the library. */ err_code = nrf_drv_swi_init(); APP_ERROR_CHECK(err_code)
I get the following error:
../../../../../../components/drivers_nrf/hal/nrf_egu.h:69:39: error: unknown type name 'NRF_EGU_Type'
By taking a closer look at NRF_EGU_Type, I'm realizing that this type is defined only in the following header files:
- ../../../../../../components/device/nrf52.h
- ../../../../../../components/device/nrf52840.h
There is no definition of NRF_EGU_Type in header files related to nRF51 SoCs.
What I am missing here and what would be the way of using SWI with nRF51 SoCs?
Thanks in advance for your time and efforts.
Sincerely,
Bojan.