You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
21 lines
557 B
21 lines
557 B
// SPDX-FileCopyrightText: 2020 Foundation Devices, Inc. <hello@foundationdevices.com>
|
|
// SPDX-License-Identifier: GPL-3.0-or-later
|
|
//
|
|
// SPDX-FileCopyrightText: 2018 Coinkite, Inc.
|
|
// SPDX-License-Identifier: GPL-3.0-only
|
|
//
|
|
// Backlight driver for LED
|
|
|
|
#ifndef STM32_BACKLIGHT_H
|
|
#define STM32_BACKLIGHT_H
|
|
|
|
#include "stm32h7xx_hal.h"
|
|
|
|
#include <stdbool.h>
|
|
|
|
extern void backlight_init(void);
|
|
extern void backlight_minimal_init(void);
|
|
extern void backlight_intensity(uint16_t intensity);
|
|
extern void backlight_adjust(bool turbo);
|
|
|
|
#endif //STM32_BACKLIGHT_H
|
|
|