1.1 --- a/debug.h Fri Oct 19 17:50:59 2018 +0200
1.2 +++ b/debug.h Fri Oct 19 18:05:07 2018 +0200
1.3 @@ -20,9 +20,21 @@
1.4 #ifndef __DEBUG_H__
1.5 #define __DEBUG_H__
1.6
1.7 +/* Value output functions using UART1. */
1.8 +
1.9 void bits(uint32_t reg);
1.10 void vbits(uint32_t val);
1.11 void vhex(uint32_t val);
1.12 +
1.13 +/* General input/output functions. */
1.14 +
1.15 +int uart_can_read(int uart);
1.16 +char uart_read_char(int uart);
1.17 +int uart_can_write(int uart);
1.18 +void uart_write_char(int uart, char c);
1.19 +
1.20 +/* Functions using UART1. */
1.21 +
1.22 void uart_write(char c);
1.23 void uart_write_string(const char *s);
1.24