Loading...
Searching...
No Matches
gc9a01_internal.h
Go to the documentation of this file.
1/*
2 * SPDX-FileCopyrightText: 2026 Technische Universität Hamburg
3 * SPDX-License-Identifier: LGPL-2.1-only
4 */
5
6#pragma once
7
17
18#include "lcd_internal.h"
19
20#ifdef __cplusplus
21extern "C" {
22#endif
23
30#define GC9A01_REG_ID (0x04)
31#define GC9A01_REG_POWER7 (0xA7)
32#define GC9A01_REG_POWER1 (0xC1)
33#define GC9A01_REG_POWER2 (0xC3)
34#define GC9A01_REG_POWER3 (0xC4)
35#define GC9A01_REG_POWER4 (0xC9)
36#define GC9A01_REG_FRAMERATE (0xE8)
37#define GC9A01_REG_INREGEN1 (0xFE)
38#define GC9A01_REG_INREGEN2 (0xEF)
39#define GC9A01_REG_GAMMA1 (0xF0)
40#define GC9A01_REG_GAMMA2 (0xF1)
41#define GC9A01_REG_GAMMA3 (0xF2)
42#define GC9A01_REG_GAMMA4 (0xF3)
44
50#define GC9A01_16_BIT_FORMAT (0x55)
52#define GC9A01_VRH_DEFAULT (0x28)
54#define GC9A01_FRAMERATE_4DOT_INVERSION (0x34)
56
57#ifdef __cplusplus
58}
59#endif
60
Device driver implementation for the lcd display controller.