How to implements SPI slave event handler on zephyr #spi
Recently I am trying to use nrf52840 to implement SPI slave on zephyr
In Nordic's SPIS example, it will go to
I want to implement this interrupt function on zephyr
But at present zephyr SPIS I have not seen an example of event handler
And in \zephyr\drivers\spi\spi_nrfx_spi.c, I saw a function that does the same thing as the
How to add this event_handler in the main function in the sample?