Question
Atomic SPI?
I am getting two bytes making 15 bit adc result via SPI bus. Is there a way to make SPI operation atomic, what aboiut DMA. And what about code in general, how does one disable interrupts or make thing atomic.
Please note, there is no rush, the CPU is currently not busy,and nothing bad happens if one reading is wrong. This is nice to know feature.
