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.
Fork of mbed-dev by
Diff: drivers/SerialBase.h
- Revision:
- 174:b96e65c34a4d
- Parent:
- 168:9672193075cf
- Child:
- 175:af195413fb11
--- a/drivers/SerialBase.h Fri Sep 15 14:59:18 2017 +0100 +++ b/drivers/SerialBase.h Mon Oct 02 15:33:19 2017 +0100 @@ -167,6 +167,8 @@ /** Begin asynchronous write using 8bit buffer. The completition invokes registered TX event callback * + * This function locks the deep sleep until any event has occured + * * @param buffer The buffer where received data will be stored * @param length The buffer length in bytes * @param callback The event callback function @@ -176,6 +178,8 @@ /** Begin asynchronous write using 16bit buffer. The completition invokes registered TX event callback * + * This function locks the deep sleep until any event has occured + * * @param buffer The buffer where received data will be stored * @param length The buffer length in bytes * @param callback The event callback function @@ -189,6 +193,8 @@ /** Begin asynchronous reading using 8bit buffer. The completition invokes registred RX event callback. * + * This function locks the deep sleep until any event has occured + * * @param buffer The buffer where received data will be stored * @param length The buffer length in bytes * @param callback The event callback function @@ -199,6 +205,8 @@ /** Begin asynchronous reading using 16bit buffer. The completition invokes registred RX event callback. * + * This function locks the deep sleep until any event has occured + * * @param buffer The buffer where received data will be stored * @param length The buffer length in bytes * @param callback The event callback function @@ -241,10 +249,10 @@ #if DEVICE_SERIAL_ASYNCH CThunk<SerialBase> _thunk_irq; + DMAUsage _tx_usage; + DMAUsage _rx_usage; event_callback_t _tx_callback; event_callback_t _rx_callback; - DMAUsage _tx_usage; - DMAUsage _rx_usage; #endif serial_t _serial;