diff options
| author | Alejandro Soto <alejandro@34project.org> | 2022-12-13 23:21:32 -0600 |
|---|---|---|
| committer | Alejandro Soto <alejandro@34project.org> | 2022-12-16 16:29:10 -0600 |
| commit | 8c06c97c81339f68e06ff465aac2d8b1f2da4e27 (patch) | |
| tree | 05e71f5508f4f00cb0abd6b0ec0d35d441313de8 /tb/interval_timer.cpp | |
| parent | f3c153f342ed969b1abfbe79d1017b651f21a649 (diff) | |
Implement interrupt emulation
Diffstat (limited to 'tb/interval_timer.cpp')
| -rw-r--r-- | tb/interval_timer.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/tb/interval_timer.cpp b/tb/interval_timer.cpp index f790030..88c24f7 100644 --- a/tb/interval_timer.cpp +++ b/tb/interval_timer.cpp @@ -96,4 +96,9 @@ namespace taller::avalon return true; } + + bool interval_timer::irq() noexcept + { + return control_ito && status_to; + } } |
