Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependents: STM32L452_Nucleo_ticker
Fork of mbed-dev by
Diff: drivers/UARTSerial.h
- Revision:
- 170:19eb464bc2be
- Parent:
- 168:9672193075cf
- Child:
- 175:af195413fb11
--- a/drivers/UARTSerial.h Wed Jul 19 17:31:21 2017 +0100
+++ b/drivers/UARTSerial.h Thu Aug 03 13:13:39 2017 +0100
@@ -152,6 +152,12 @@
*/
void set_data_carrier_detect(PinName dcd_pin, bool active_high = false);
+ /** Set the baud rate
+ *
+ * @param baud The baud rate
+ */
+ void set_baud(int baud);
+
private:
/** SerialBase lock override */
