mirror of
https://github.com/janishutz/eth-summaries.git
synced 2026-03-14 17:00:05 +01:00
[SPCA] Update code imports
This commit is contained in:
@@ -26,7 +26,7 @@ The specific way this interaction works is device-specific.
|
||||
|
||||
\content{Example} A very simple device driver in \texttt{C} may look like this:
|
||||
|
||||
\inputcodewithfilename{c}{code-examples/03_hw/}{00_driver.c}
|
||||
\inputcodewithfilename{c}{}{code-examples/03_hw/00_driver.c}
|
||||
|
||||
Of course, a proper driver would also include error handling, initialization and wouldn't spin to wait. To avoid waiting, interrupts are usually used.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user