aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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