I haven't fully understand what are blocking and nonblocking code for embedded systems.
A common example of a blocking code is the delay function. It is said that delay codes block CPU. I don't understand how the delay code blocks the CPU as it executes the instruction to get specific delay. This means that cpu is not blocking it executing the instructions for delay. So why is it said that the codes block CPU in software delay?
I would like someone to clear my misunderstandings
A common example of a blocking code is the delay function. It is said that delay codes block CPU. I don't understand how the delay code blocks the CPU as it executes the instruction to get specific delay. This means that cpu is not blocking it executing the instructions for delay. So why is it said that the codes block CPU in software delay?
I would like someone to clear my misunderstandings