1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
RIOT/drivers/st77xx/include/st7796_internal.h

52 lines
1.0 KiB
C

/*
* Copyright (C) 2018 Koen Zandberg
* 2023 Gunar Schorcht
*
* This file is subject to the terms and conditions of the GNU Lesser
* General Public License v2.1. See the file LICENSE in the top level
* directory for more details.
*/
/**
* @ingroup drivers_st77xx
* @{
*
* @file
* @brief Specific internal definitions for the ST7789 controller variant
*
* @author Koen Zandberg <koen@bergzand.net>
* @author Gunar Schorcht <gunar@schorcht.net>
*
* @}
*/
#ifndef ST7796_INTERNAL_H
#define ST7796_INTERNAL_H
#ifdef __cplusplus
extern "C" {
#endif
#include "st77xx_internal.h"
/**
* @name LCD ST7796 commands
*
* LCD commands extension available for ST7796 LCD controllers
* @{
*/
#define LCD_CMD_VCMPCTL 0xc5 /**< VCOM Control */
#define LCD_CMD_VCM 0xc6 /**< VCOM Offset */
/** @} */
/**
* @brief ST7796 controller specific initialization part
*/
int st7796_init(lcd_t *dev, const lcd_params_t *params);
#ifdef __cplusplus
}
#endif
#endif /* ST7796_INTERNAL_H */