mbed library sources. Supersedes mbed-src.
Dependents: Nucleo_Hello_Encoder BLE_iBeaconScan AM1805_DEMO DISCO-F429ZI_ExportTemplate1 ... more
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 */