// Copyright (c) 2017-2020, Mudita Sp. z.o.o. All rights reserved. // For licensing, see https://github.com/mudita/MuditaOS/LICENSE.md #pragma once #include #include "bsp/common.hpp" #include namespace bsp::eink_frontlight { enum class Action { turnOn, turnOff, setBrightness, }; using BrightnessPercentage = float; void init(); void deinit(); void setBrightness(BrightnessPercentage brightness); void turnOn(); void turnOff(); void setGammaFactor(float gamma); void updateClockFrequency(CpuFrequencyHz newFrequency); } // namespace bsp::eink_frontlight