Multitech xDot Utils
MultitechDot.h@4:db99b2a7d062, 2018-05-21 (annotated)
- Committer:
- Lucian Corduneanu
- Date:
- Mon May 21 18:08:09 2018 +0300
- Revision:
- 4:db99b2a7d062
- Parent:
- 3:7fa5603c10dc
- Child:
- 6:febbdd0d0e55
Refactor & update the multitech dot utils to the latest version
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
lucian@1.0.0.127.in-addr.arpa | 0:a5748bc6e3e1 | 1 | #ifndef MBED_MULTITECHDOT_H |
lucian@1.0.0.127.in-addr.arpa | 0:a5748bc6e3e1 | 2 | #define MBED_MULTITECHDOT_H |
lucian@1.0.0.127.in-addr.arpa | 0:a5748bc6e3e1 | 3 | |
Lucian Corduneanu |
4:db99b2a7d062 | 4 | #include "BaseDot.h" |
lucian@1.0.0.127.in-addr.arpa | 0:a5748bc6e3e1 | 5 | |
Lucian Corduneanu |
4:db99b2a7d062 | 6 | class MultitechDot : public BaseDot { |
lucian@1.0.0.127.in-addr.arpa | 0:a5748bc6e3e1 | 7 | public: |
lucian@1.0.0.127.in-addr.arpa | 1:73cea350269e | 8 | |
lucian@192-168-0-103.rdsnet.ro | 2:8d1c64670642 | 9 | static MultitechDot *get_instance(struct dot_config *config); |
lucian@192-168-0-103.rdsnet.ro | 2:8d1c64670642 | 10 | |
lucian@192-168-0-103.rdsnet.ro | 2:8d1c64670642 | 11 | void config(struct dot_config *config); |
lucian@192-168-0-103.rdsnet.ro | 2:8d1c64670642 | 12 | |
lucian@192-168-0-103.rdsnet.ro | 2:8d1c64670642 | 13 | struct dot_config *get_config(); |
lucian@1.0.0.127.in-addr.arpa | 0:a5748bc6e3e1 | 14 | |
lucian@192-168-0-103.rdsnet.ro | 2:8d1c64670642 | 15 | void update_manual_config(struct dot_config *config); |
lucian@1.0.0.127.in-addr.arpa | 0:a5748bc6e3e1 | 16 | |
lucian@1.0.0.127.in-addr.arpa | 0:a5748bc6e3e1 | 17 | void sleep_wake_rtc_or_interrupt(uint32_t delay_s, bool deepsleep); |
lucian@1.0.0.127.in-addr.arpa | 0:a5748bc6e3e1 | 18 | |
lucian@1.0.0.127.in-addr.arpa | 1:73cea350269e | 19 | void sleep_reset_hsi(); |
lucian@1.0.0.127.in-addr.arpa | 1:73cea350269e | 20 | |
lucian@192-168-0-103.rdsnet.ro | 2:8d1c64670642 | 21 | protected: |
lucian@192-168-0-103.rdsnet.ro | 2:8d1c64670642 | 22 | struct dot_config *_config; |
lucian@1.0.0.127.in-addr.arpa | 0:a5748bc6e3e1 | 23 | }; |
lucian@1.0.0.127.in-addr.arpa | 0:a5748bc6e3e1 | 24 | |
lucian@1.0.0.127.in-addr.arpa | 0:a5748bc6e3e1 | 25 | |
lucian@192-168-0-108.rdsnet.ro | 3:7fa5603c10dc | 26 | #endif |