mirror of
https://github.com/mudita/MuditaOS.git
synced 2026-04-19 14:40:57 -04:00
61 lines
1.1 KiB
C++
61 lines
1.1 KiB
C++
// Copyright (c) 2017-2021, Mudita Sp. z.o.o. All rights reserved.
|
|
// For licensing, see https://github.com/mudita/MuditaOS/LICENSE.md
|
|
|
|
//
|
|
// Created by mati on 09.09.2019.
|
|
//
|
|
|
|
#include "LinuxLPM.h"
|
|
|
|
namespace bsp
|
|
{
|
|
|
|
int32_t LinuxLPM::PowerOff()
|
|
{
|
|
return 0;
|
|
}
|
|
|
|
int32_t LinuxLPM::Reboot(RebootType)
|
|
{
|
|
return 0;
|
|
}
|
|
|
|
void LinuxLPM::SetCpuFrequency(bsp::CpuFrequencyHz freq)
|
|
{
|
|
currentFrequency = freq;
|
|
}
|
|
|
|
void LinuxLPM::SetHighestCoreVoltage()
|
|
{}
|
|
|
|
uint32_t LinuxLPM::GetCpuFrequency() const noexcept
|
|
{
|
|
return 0;
|
|
}
|
|
|
|
void LinuxLPM::SwitchOscillatorSource(bsp::LowPowerMode::OscillatorSource source)
|
|
{}
|
|
|
|
void LinuxLPM::SetBootSuccess()
|
|
{}
|
|
|
|
void LinuxLPM::EnableDcdcPowerSaveMode()
|
|
{}
|
|
|
|
void LinuxLPM::DisableDcdcPowerSaveMode()
|
|
{}
|
|
|
|
void LinuxLPM::DisconnectInternalLoadResistor()
|
|
{}
|
|
|
|
void LinuxLPM::ConnectInternalLoadResistor()
|
|
{}
|
|
|
|
void LinuxLPM::SwitchToRegularModeLDO()
|
|
{}
|
|
|
|
void LinuxLPM::SwitchToLowPowerModeLDO()
|
|
{}
|
|
|
|
} // namespace bsp
|