final 1
Fork of C027_Support by
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 661 of file MDM.h.
Member Function Documentation
virtual void lock | ( | void | ) | [protected, virtual] |
virtual void unlock | ( | void | ) | [protected, virtual] |
Generated on Sat Jul 16 2022 14:46:17 by 1.7.2