Forked.
Fork of mbed-dev by
Diff: drivers/UARTSerial.h
- Revision:
- 170:19eb464bc2be
- Parent:
- 168:9672193075cf
--- 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 */