-
Notifications
You must be signed in to change notification settings - Fork 0
/
mzapo_parlcd.h
41 lines (26 loc) · 1.07 KB
/
mzapo_parlcd.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
/*******************************************************************
Simple program to check LCD functionality on MicroZed
based MZ_APO board designed by Petr Porazil at PiKRON
mzapo_parlcd.h - parallel connected LCD low level access
(C) Copyright 2017 by Pavel Pisa
e-mail: pisa@cmp.felk.cvut.cz
homepage: http://cmp.felk.cvut.cz/~pisa
company: http://www.pikron.com/
license: any combination of GPL, LGPL, MPL or BSD licenses
*******************************************************************/
#ifndef MZAPO_PARLCD_H
#define MZAPO_PARLCD_H
#include <stdint.h>
#ifdef __cplusplus
extern "C" {
#endif
void parlcd_write_cr(unsigned char *parlcd_mem_base, uint16_t data);
void parlcd_write_cmd(unsigned char *parlcd_mem_base, uint16_t cmd);
void parlcd_write_data(unsigned char *parlcd_mem_base, uint16_t data);
void parlcd_write_data2x(unsigned char *parlcd_mem_base, uint32_t data);
void parlcd_delay(int msec);
void parlcd_hx8357_init(unsigned char *parlcd_mem_base);
#ifdef __cplusplus
} /* extern "C"*/
#endif
#endif /*MZAPO_PARLCD_H*/