~aleteoryx/muditaos

ref: 981f9583aecb53fc50d75b0eaa689d1b1b1839fc muditaos/module-bsp/board/linux/lpm/LinuxLPM.h -rw-r--r-- 464 bytes
981f9583 — mkamonMdt [EGD-4828] Add GUI tests for DOM flow 5 years ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
//
// Created by mati on 09.09.2019.
//

#ifndef PUREPHONE_LINUXLPM_H
#define PUREPHONE_LINUXLPM_H

#include "bsp/lpm/bsp_lpm.hpp"

namespace bsp
{

    class LinuxLPM : public LowPowerMode
    {
      public:
        int32_t Switch(const Mode mode) override final;
        int32_t PowerOff() override final;
        int32_t Reboot() override final;
        void SetCpuFrequency(CpuFrequency freq) final;
    };

} // namespace bsp

#endif // PUREPHONE_LINUXLPM_H