aboutsummaryrefslogtreecommitdiffstats
path: root/firmware/microblaze/lib/hal_uart.h
diff options
context:
space:
mode:
authorNick Foster <nick@nerdnetworks.org>2010-08-11 14:20:50 -0700
committerNick Foster <nick@nerdnetworks.org>2010-08-11 14:20:50 -0700
commitdfafbd5f2dbf0758df33d10922eec3c1a37dd32b (patch)
tree52b41ba41c66da558e4279f873ccfce3fb821354 /firmware/microblaze/lib/hal_uart.h
parent1c237e7c8aba280e79b381bcdece68e828d24a04 (diff)
downloaduhd-dfafbd5f2dbf0758df33d10922eec3c1a37dd32b.tar.gz
uhd-dfafbd5f2dbf0758df33d10922eec3c1a37dd32b.tar.bz2
uhd-dfafbd5f2dbf0758df33d10922eec3c1a37dd32b.zip
Branch to make use of quad UART on USRP2P.
Diffstat (limited to 'firmware/microblaze/lib/hal_uart.h')
-rw-r--r--firmware/microblaze/lib/hal_uart.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/firmware/microblaze/lib/hal_uart.h b/firmware/microblaze/lib/hal_uart.h
index dfd73c323..218bd7cb4 100644
--- a/firmware/microblaze/lib/hal_uart.h
+++ b/firmware/microblaze/lib/hal_uart.h
@@ -28,7 +28,7 @@
/*
* \brief Set uart mode
*/
-void hal_uart_set_mode(int flags);
+void hal_uart_set_mode(int uart, int flags);
/*!
* \brief one-time call to init
@@ -62,17 +62,17 @@ void hal_uart_get_config(hal_uart_config_t *c);
/*!
* \brief Enqueue \p ch for output over serial port
*/
-void hal_uart_putc(int ch);
+void hal_uart_putc(uart_regs_t *u, int ch);
/*!
* \brief Enqueue \p ch for output over serial port, silent fail if queue is full
*/
-void hal_uart_putc_nowait(int ch);
+void hal_uart_putc_nowait(uart_regs_t *u, int ch);
/*
* \brief Blocking read of next char from serial port
*/
-int hal_uart_getc(void);
+int hal_uart_getc(uart_regs_t *u);
#endif /* INCLUDED_HAL_UART_H */