Jeroen3 wrote:There are some configs that modify the behavior of chSysLock and the interrupt epilogues. This is the lower level of chibios, you need to be familiar with ARM, your compiler and chibios to know all the details. Unfortunately.
As a user I want to know:
* Does something architecture dependent. Usually does something to disable interrupts, or "most interrupts".
* Read the implementation documtentation *HERE*.
* Is used for critical zones.
As a user, having asked on the forum and having been told:
Which is 1 if I'm looking correctly. So any interrupts more important than 1 will still run. Usually only the exceptions, but the nvic is configurable.
I'm starting to be afraid: My code is timing pulses from the DHT: 30 or 70 microseconds for a 0 or a 1. A 40 microsecond interrupt will change a "perfect 1" into a "perfect 0". So ANY interrupt is a problem.
I need to know: "regular interrupts from devices will be blocked, only exceptions will still run".
I'm LIKELY to miss systick interrupts, by my calculations the data-transmission phase of the sensor takes about 3ms, depending on the data. (25.5 degrees takes .25ms longer than 25.6 degrees.) I might miss serial communcations too. I don't know how the lower level is implemented. DMA buffer or not. If not, I'll lose UART interrupts and bytes. I'll have to deal with that.