diff options
-rw-r--r-- | uart.h | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -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 |