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.
MDMRtos< T > Class Template Reference
Use this template to override the lock and wait functions of the modem driver in a Rtos system. More...
#include <MDM.h>
Protected Member Functions | |
| virtual void | wait_ms (int ms) |
| we assume that the modem runs in a thread so we yield when waiting | |
| virtual void | lock (void) |
| lock a mutex when accessing the modem | |
| virtual void | unlock (void) |
| unlock the modem when done accessing it | |
Detailed Description
template<class T>
class MDMRtos< T >
Use this template to override the lock and wait functions of the modem driver in a Rtos system.
For example declare it the modem object as MDMRtos<MDMSerial> instead of MDMSerial.
Definition at line 852 of file MDM.h.
Member Function Documentation
| virtual void lock | ( | void | ) | [protected, virtual] |
| virtual void unlock | ( | void | ) | [protected, virtual] |
Generated on Thu Jul 14 2022 07:24:04 by
1.7.2