EPPL example libraries  0.1 alpha
 All Files Functions Variables Groups Pages
alcddrv_config_template.h
Go to the documentation of this file.
1 #ifndef ALCDDRV_CONFIG_H_INCLUDED
2 #define ALCDDRV_CONFIG_H_INCLUDED
3 /*
4  Copyright (c) 2014, Radoslaw Koppel
5  All rights reserved.
6 
7  Redistribution and use in source and binary forms, with or without
8  modification, are permitted provided that the following conditions are met:
9 
10  - Redistributions of source code must retain the above copyright
11  notice, this list of conditions and the following disclaimer.
12 
13  - Redistributions in binary form must reproduce the above copyright
14  notice, this list of conditions and the following disclaimer in the
15  documentation and/or other materials provided with the distribution.
16 
17  - Neither the name of the copyright holders nor the
18  names of its contributors may be used to endorse or promote products
19  derived from this software without specific prior written permission.
20 
21  THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
22  ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
23  WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
24  DISCLAIMED. IN NO EVENT SHALL COPYRIGHT HOLDER BE LIABLE FOR ANY
25  DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
26  (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
27  LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
28  ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
29  (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
30  SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
31 */
42 /*
43  * All values there are documented in alcddrv.h file.
44  * Loot for documentation there or read the generated manual.
45  */
46 #define ALCD_RS EPPL_NP
47 #define ALCD_RW EPPL_NP
48 #define ALCD_E EPPL_NP
49 #define ALCD_D0 EPPL_NP
50 #define ALCD_D1 EPPL_NP
51 #define ALCD_D2 EPPL_NP
52 #define ALCD_D3 EPPL_NP
53 #define ALCD_D4 EPPL_NP
54 #define ALCD_D5 EPPL_NP
55 #define ALCD_D6 EPPL_NP
56 #define ALCD_D7 EPPL_NP
57 
58 #define ALCD_SX 16
59 #ifndef ALCD_SY 2
60 
61 #define ALCD_DOutMode EPPL_mode_outPP
62 #define ALCD_DInMode EPPL_mode_inPU
63 #define ALCD_CtrlMode EPPL_mode_outPP
64 
65 #endif /* ALCDDRV_CONFIG_H_INCLUDED */