- Aug 12, 2014
- 522
- 3
- 81
Hello,
Are drivers complete programs that run from start to finish like user applications?
Or, are drivers just libraries of data and functions?
I think that they are libraries and not complete programs, but I'm not sure.
If they are just libraries, then how does the processor know which functions and data to call out to?
As far as I know, the interrupt handler sets the voltage high on an interrupt line.
But how does the processor know where the interrupt came from and what the interrupt was for exactly?
Thanks.
Are drivers complete programs that run from start to finish like user applications?
Or, are drivers just libraries of data and functions?
I think that they are libraries and not complete programs, but I'm not sure.
If they are just libraries, then how does the processor know which functions and data to call out to?
As far as I know, the interrupt handler sets the voltage high on an interrupt line.
But how does the processor know where the interrupt came from and what the interrupt was for exactly?
Thanks.