Ersa Wearable Platform
Embedded smartwatch firmware and application framework
Loading...
Searching...
No Matches
esp32_platform_diagnostics.h
Go to the documentation of this file.
1#pragma once
2
3#if defined(ARDUINO)
5
6namespace ersa::hal {
7
9class Esp32PlatformDiagnostics final : public IPlatformDiagnostics {
10public:
11 uint32_t resetReasonCode() const override;
12 const char* resetReasonName(uint32_t code) const override;
13 size_t freeHeapBytes() const override;
14 size_t largestFreeHeapBlockBytes() const override;
15 uint32_t cpuFrequencyMHz() const override;
16};
17
18} // namespace ersa::hal
19#endif
const char * resetReasonName()
Definition debug_log.cpp:158
Definition battery.h:7