Files
MuditaOS/module-bsp/board/linux/lpm/LinuxLPM.cpp
Lefucjusz 773f2c7eb1 [BH-2069] Update license URL in headers
Update outdated license file URL in
license headers across all project.
2024-09-18 11:53:01 +02:00

60 lines
1.1 KiB
C++

// Copyright (c) 2017-2024, Mudita Sp. z.o.o. All rights reserved.
// For licensing, see https://github.com/mudita/MuditaOS/blob/master/LICENSE.md
#include "LinuxLPM.h"
namespace bsp
{
std::int32_t LinuxLPM::PowerOff()
{
return 0;
}
std::int32_t LinuxLPM::Reboot([[maybe_unused]] RebootType reason)
{
return 0;
}
void LinuxLPM::SetCpuFrequency(CpuFrequencyMHz freq)
{
currentFrequency = freq;
}
std::uint32_t LinuxLPM::GetCpuFrequency() const noexcept
{
return 0;
}
void LinuxLPM::SwitchOscillatorSource(LowPowerMode::OscillatorSource source)
{}
void LinuxLPM::EnableDcdcPowerSaveMode()
{}
void LinuxLPM::DisableDcdcPowerSaveMode()
{}
void LinuxLPM::AllowEnteringWfiMode()
{}
void LinuxLPM::BlockEnteringWfiMode()
{}
std::uint32_t LinuxLPM::EnterWfiModeIfAllowed()
{
return 0;
}
std::uint32_t LinuxLPM::GetLastTimeSpentInWfi()
{
return 0;
}
void LinuxLPM::DisableSysTick()
{}
void LinuxLPM::EnableSysTick()
{}
} // namespace bsp