aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWojtek Kosior <kwojtus@protonmail.com>2020-01-03 16:47:35 +0100
committerWojtek Kosior <kwojtus@protonmail.com>2020-01-03 16:47:35 +0100
commit42ad29d6475cc63797be5042b90e8b09fc8d93b9 (patch)
treeca4ceb464162952ac0fd7387df5e7476087d290d
parent06991bb6572c1eb814ee35256b3c2bd06519acd2 (diff)
downloadrpi-MMU-example-42ad29d6475cc63797be5042b90e8b09fc8d93b9.tar.gz
rpi-MMU-example-42ad29d6475cc63797be5042b90e8b09fc8d93b9.zip
add TODO comment
-rw-r--r--uart.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/uart.h b/uart.h
index eba292a..892ba0e 100644
--- a/uart.h
+++ b/uart.h
@@ -41,6 +41,9 @@ char getchar(void);
_Bool putchar_non_blocking(char c);
int getchar_non_blocking(void);
+// TODO experiment to see if this gives us raw uart irq or the uart
+// irq bit or'd with it's enable bit (not crucial for now, sice in our
+// code this function only gets called when this irq is enabled)
static inline _Bool uart_irq_pending(void)
{
return