Hi,
I am writing an application on top of NRF51, using a S130 Softdevice. I wonder about the concurrenceness (?) of the code I write, and especially if I need to use critical sections, mutexes (muticies?) or similar to protect critical sections in the application.
The application functions are called:
- when BLE events occur, using a handler supplied to softdevice_ble_evt_handler_set(),
- application timers, created by app_timer_create(),
- button presses using a handler supplied to bsp_init().
Also, the application is using the scheduler, started by APP_SCHED_INIT()
My question is: Can any of my functions be interrupted by any of my functions?
If so, I need to protect critical sections myself. If not, Nordic has taken care of that for me, which would be splendid!
Also, is this documented somewhere?
regards, Elm