Toggle navigation
Documentation
The friendly Operating System for the Internet of Things
Loading...
Searching...
No Matches
pcd8544_internal.h
Go to the documentation of this file.
1
/*
2
* Copyright (C) 2015 Freie Universität Berlin
3
*
4
* This file is subject to the terms and conditions of the GNU Lesser
5
* General Public License v2.1. See the file LICENSE in the top level
6
* directory for more details.
7
*/
8
20
#ifndef PCD8544_INTERNAL_H
21
#define PCD8544_INTERNAL_H
22
23
#ifdef __cplusplus
24
extern
"C"
{
25
#endif
26
30
#define RESET_DELAY (5000)
/* keep reset low for 5ms */
31
36
#define MODE_CMD (0)
37
#define MODE_DTA (1)
44
#define CONTRAST_MAX (127U)
45
#define TEMP_MAX (3U)
46
#define BIAS_MAX (7U)
53
#define CMD_DISABLE (0x24)
54
#define CMD_ENABLE_H (0x20)
55
#define CMD_ENABLE_V (0x22)
56
#define CMD_EXTENDED (0x21)
58
#define CMD_MODE_BLANK (0x08)
59
#define CMD_MODE_NORMAL (0x0c)
60
#define CMD_MODE_ALLON (0x09)
61
#define CMD_MODE_INVERSE (0x0d)
63
#define CMD_SET_Y (0x40)
64
#define CMD_SET_X (0x80)
66
#define CMD_EXT_TEMP (0x04)
67
#define CMD_EXT_BIAS (0x10)
68
#define CMD_EXT_CONTRAST (0x80)
71
#ifdef __cplusplus
72
}
73
#endif
74
75
#endif
/* PCD8544_INTERNAL_H */
Generated on Sat Nov 16 2024 11:51:10 by
1.9.8