Multitech xDot Utils

MultitechDot.h

Committer:
Lucian Corduneanu
Date:
2018-05-21
Revision:
4:db99b2a7d062
Parent:
3:7fa5603c10dc
Child:
6:febbdd0d0e55

File content as of revision 4:db99b2a7d062:

#ifndef MBED_MULTITECHDOT_H
#define MBED_MULTITECHDOT_H

#include "BaseDot.h"

class MultitechDot : public BaseDot {
public:

    static MultitechDot *get_instance(struct dot_config *config);

    void config(struct dot_config *config);

    struct dot_config *get_config();

    void update_manual_config(struct dot_config *config);

    void sleep_wake_rtc_or_interrupt(uint32_t delay_s, bool deepsleep);

    void sleep_reset_hsi();

protected:
    struct dot_config *_config;
};


#endif