I have a general question that I haven't been able to clearly locate in documentation. How does the processor handle "traffic" jams from within the different app timers?
I'm using an app timer to generate a sampling circuit that runs at 1 hz(RTC1 with nrf standard app timer library structure). I also have a BLE stack running with three custom services. I have an RGB led on the device that I would like ot have blink different colors based on various device states. Right now, I'm planning on having the LED essentially toggle on and off on a timer to create a blink. The sampling circuit should always run continuously. I haven't precisely figured out the timing for the sampling algorithm, but it reads 1 adc channel, a few I2C peripherals, and saves a data buffer, so its fairly light weight. In working on setting flags in the ISR triggered by the app timer, which should help prevent traffic jams.
So my question is, is there anything else I should be doing when setting up these LED states that will save me debugging time later? Does the MCU automatically prioritize these events based on FIFO since they all have the same priority, unless overridden? Should I set the sampling ISR at a higher priority to ensure it takes precedence over LEDS?