Beware that this post is related to an SDK in maintenance mode
More Info: Consider nRF Connect SDK for new designs

handle nrf_libuarte_async_evt_t in thread mode

Hello, 

I'm using nRF5 SDK v17.1.0. 

I couldn't find anything about it. Could I ran in some problems if i choose to handle the nrf_libuarte_async_evt_t in thread mode and not anymore inside the isr?

I mean when isr happend copy/queue the event from the uart_event_handler (context and nrf_libuarte_async_evt_t) from isr to thread. Or is that with this libuarte not easily possible?.

May like the nRF5 SDK Scheduler Tutorial ?


Want to handle  uart_event_handler in thread of

nrf_libuarte_async_init(&libuarte, &nrf_libuarte_async_config, uart_event_handler, (void *)&libuarte)


Best regards

 

Related