How can I do software interrupt in nRF Connect SDK v2.9.0

Hello, 
I am using nRF Connect SDK version 2.9.0, and I want to know how to perform the software interrupt.

Where can I find the driver of the software interrupt to know its APIs and use them?

Parents Reply Children
  • I was using SDK16, and now I am trying to migrate from SDK16 to nRF Connect SDK v2.9.0. 
    I saw that nRF Connect SDK depends on Zephyr. 
    Now, to do the migration, I used Zephyr/irq.h to implement the software interrupt. But I am not sure if this is the best way or if there is another better way. Also, I found these application priorities in the SDK 16
    //lint -save -e113 -e452
    /**@brief The interrupt priorities available to the application while the SoftDevice is active. */
    typedef enum
    {
    #ifndef SOFTDEVICE_PRESENT
    APP_IRQ_PRIORITY_HIGHEST = _PRIO_SD_HIGH,
    #else
    APP_IRQ_PRIORITY_HIGHEST = _PRIO_APP_HIGH,
    #endif
    APP_IRQ_PRIORITY_HIGH = _PRIO_APP_HIGH,
    #ifndef SOFTDEVICE_PRESENT
    APP_IRQ_PRIORITY_MID = _PRIO_SD_LOW,
    #else
    APP_IRQ_PRIORITY_MID = _PRIO_APP_MID,
    #endif
    APP_IRQ_PRIORITY_LOW_MID = _PRIO_APP_LOW_MID,
    APP_IRQ_PRIORITY_LOW = _PRIO_APP_LOW,
    APP_IRQ_PRIORITY_LOWEST = _PRIO_APP_LOWEST,
    APP_IRQ_PRIORITY_THREAD = _PRIO_THREAD /**< "Interrupt level" when running in Thread Mode. */
    } app_irq_priority_t;

    But, I couldn`t find the application priorities like this in the nRF Connect SDK v2.9.0

Related