diff options
Diffstat (limited to 'os/hal/include/uart.h')
-rw-r--r-- | os/hal/include/uart.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/os/hal/include/uart.h b/os/hal/include/uart.h index c0ee4c9ef..444975d15 100644 --- a/os/hal/include/uart.h +++ b/os/hal/include/uart.h @@ -106,9 +106,12 @@ extern "C" { void uartStop(UARTDriver *uartp);
void uartStartSend(UARTDriver *uartp, size_t n, const void *txbuf);
void uartStartSendI(UARTDriver *uartp, size_t n, const void *txbuf);
- void uartStopSend(UARTDriver *uartp);
+ size_t uartStopSend(UARTDriver *uartp);
+ size_t uartStopSendI(UARTDriver *uartp);
void uartStartReceive(UARTDriver *uartp, size_t n, void *rxbuf);
- void uartStopReceive(UARTDriver *uartp);
+ void uartStartReceiveI(UARTDriver *uartp, size_t n, void *rxbuf);
+ size_t uartStopReceive(UARTDriver *uartp);
+ size_t uartStopReceiveI(UARTDriver *uartp);
#ifdef __cplusplus
}
#endif
|