OpenRTX/platform/drivers/backlight/backlight.h

42 wiersze
1.9 KiB
C

/***************************************************************************
* Copyright (C) 2021 by Federico Amedeo Izzo IU2NUO, *
* Niccolò Izzo IU2KIN *
* Frederik Saraci IU2NRO *
* Silvano Seva IU2KWO *
* *
* This program is free software; you can redistribute it and/or modify *
* it under the terms of the GNU General Public License as published by *
* the Free Software Foundation; either version 3 of the License, or *
* (at your option) any later version. *
* *
* This program is distributed in the hope that it will be useful, *
* but WITHOUT ANY WARRANTY; without even the implied warranty of *
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
* GNU General Public License for more details. *
* *
* You should have received a copy of the GNU General Public License *
* along with this program; if not, see <http://www.gnu.org/licenses/> *
***************************************************************************/
#ifndef BACKLIGHT_H
#define BACKLIGHT_H
/**
* Low-level driver for backlight dimming control.
* This header file only provides the API for driver initialisation and shutdown,
* while effective setting of backlight level is provided by target-specific
* sources by implementating platform_setBacklightLevel().
*/
/**
* Initialise backlight driver.
*/
void backlight_init();
/**
* Terminate backlight driver.
*/
void backlight_terminate();
#endif /* BACKLIGHT_H */