t
Fork of mbed-dev by
Diff: drivers/UARTSerial.h
- Revision:
- 171:19eb464bc2be
- Parent:
- 169:9672193075cf
- Child:
- 176: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 */