We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fd8ac31 commit 356c8fdCopy full SHA for 356c8fd
targets/TARGET_NUVOTON/TARGET_M2354/serial_api.c
@@ -508,6 +508,11 @@ int serial_writable(serial_t *obj)
508
return ! UART_IS_TX_FULL(((UART_T *) NU_MODBASE(obj->serial.uart)));
509
}
510
511
+int serial_tx_empty(serial_t *obj)
512
+{
513
+ return UART_IS_TX_EMPTY(((UART_T *) NU_MODBASE(obj->serial.uart)));
514
+}
515
+
516
void serial_pinout_tx(PinName tx)
517
{
518
pinmap_pinout(tx, PinMap_UART_TX);
0 commit comments