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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
|
/*******************************************************************************
MPLAB Harmony System Configuration Header
File Name:
system_config.h
Summary:
Build-time configuration header for the system defined by this MPLAB Harmony
project.
Description:
An MPLAB Project may have multiple configurations. This file defines the
build-time options for a single configuration.
Remarks:
This configuration header must not define any prototypes or data
definitions (or include any files that do). It only provides macro
definitions for build-time configuration options that are not instantiated
until used by another MPLAB Harmony module or application.
Created with MPLAB Harmony Version 1.06
*******************************************************************************/
// DOM-IGNORE-BEGIN
/*******************************************************************************
Copyright (c) 2013-2015 released Microchip Technology Inc. All rights reserved.
Microchip licenses to you the right to use, modify, copy and distribute
Software only when embedded on a Microchip microcontroller or digital signal
controller that is integrated into your product or third party product
(pursuant to the sublicense terms in the accompanying license agreement).
You should refer to the license agreement accompanying this Software for
additional information regarding your rights and obligations.
SOFTWARE AND DOCUMENTATION ARE PROVIDED AS IS WITHOUT WARRANTY OF ANY KIND,
EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION, ANY WARRANTY OF
MERCHANTABILITY, TITLE, NON-INFRINGEMENT AND FITNESS FOR A PARTICULAR PURPOSE.
IN NO EVENT SHALL MICROCHIP OR ITS LICENSORS BE LIABLE OR OBLIGATED UNDER
CONTRACT, NEGLIGENCE, STRICT LIABILITY, CONTRIBUTION, BREACH OF WARRANTY, OR
OTHER LEGAL EQUITABLE THEORY ANY DIRECT OR INDIRECT DAMAGES OR EXPENSES
INCLUDING BUT NOT LIMITED TO ANY INCIDENTAL, SPECIAL, INDIRECT, PUNITIVE OR
CONSEQUENTIAL DAMAGES, LOST PROFITS OR LOST DATA, COST OF PROCUREMENT OF
SUBSTITUTE GOODS, TECHNOLOGY, SERVICES, OR ANY CLAIMS BY THIRD PARTIES
(INCLUDING BUT NOT LIMITED TO ANY DEFENSE THEREOF), OR OTHER SIMILAR COSTS.
*******************************************************************************/
// DOM-IGNORE-END
#ifndef _SYSTEM_CONFIG_H
#define _SYSTEM_CONFIG_H
/* This is a temporary workaround for an issue with the peripheral library "Exists"
functions that causes superfluous warnings. It "nulls" out the definition of
The PLIB function attribute that causes the warning. Once that issue has been
resolved, this definition should be removed. */
#define _PLIB_UNSUPPORTED
// *****************************************************************************
// *****************************************************************************
// Section: Included Files
// *****************************************************************************
// *****************************************************************************
/* This section Includes other configuration headers necessary to completely
define this configuration.
*/
// *****************************************************************************
// *****************************************************************************
// Section: System Service Configuration
// *****************************************************************************
// *****************************************************************************
// *****************************************************************************
/* Common System Service Configuration Options
*/
#define SYS_VERSION_STR "1.06"
#define SYS_VERSION 10600
// *****************************************************************************
/* Clock System Service Configuration Options
*/
#define SYS_CLK_FREQ 80000000ul
#define SYS_CLK_BUS_PERIPHERAL_1 40000000ul
#define SYS_CLK_BUS_PERIPHERAL_3 40000000ul
#define SYS_CLK_BUS_PERIPHERAL_4 40000000ul
#define SYS_CLK_BUS_PERIPHERAL_7 80000000ul
#define SYS_CLK_CONFIG_PRIMARY_XTAL 24000000ul
#define SYS_CLK_CONFIG_SECONDARY_XTAL 32768ul
/*** Ports System Service Configuration ***/
#define SYS_PORT_B_ANSEL 0x0
#define SYS_PORT_B_TRIS 0x0
#define SYS_PORT_B_LAT 0x0
#define SYS_PORT_B_ODC 0x0
#define SYS_PORT_B_CNPU 0x0
#define SYS_PORT_B_CNPD 0x0
#define SYS_PORT_B_CNEN 0x0
#define SYS_PORT_C_ANSEL 0x0
#define SYS_PORT_C_TRIS 0xf000
#define SYS_PORT_C_LAT 0x0
#define SYS_PORT_C_ODC 0x0
#define SYS_PORT_C_CNPU 0x0
#define SYS_PORT_C_CNPD 0x0
#define SYS_PORT_C_CNEN 0x0
#define SYS_PORT_D_ANSEL 0x0
#define SYS_PORT_D_TRIS 0xe3f
#define SYS_PORT_D_LAT 0x0
#define SYS_PORT_D_ODC 0x0
#define SYS_PORT_D_CNPU 0xe3f
#define SYS_PORT_D_CNPD 0x0
#define SYS_PORT_D_CNEN 0x0
#define SYS_PORT_E_ANSEL 0x0
#define SYS_PORT_E_TRIS 0xff
#define SYS_PORT_E_LAT 0x0
#define SYS_PORT_E_ODC 0x0
#define SYS_PORT_E_CNPU 0xff
#define SYS_PORT_E_CNPD 0x0
#define SYS_PORT_E_CNEN 0x0
#define SYS_PORT_F_ANSEL 0x0
#define SYS_PORT_F_TRIS 0x3b
#define SYS_PORT_F_LAT 0x0
#define SYS_PORT_F_ODC 0x0
#define SYS_PORT_F_CNPU 0x3b
#define SYS_PORT_F_CNPD 0x0
#define SYS_PORT_F_CNEN 0x0
#define SYS_PORT_G_ANSEL 0x0
#define SYS_PORT_G_TRIS 0x1c0
#define SYS_PORT_G_LAT 0x0
#define SYS_PORT_G_ODC 0x0
#define SYS_PORT_G_CNPU 0x0
#define SYS_PORT_G_CNPD 0x0
#define SYS_PORT_G_CNEN 0x0
// *****************************************************************************
// *****************************************************************************
// Section: Driver Configuration
// *****************************************************************************
// *****************************************************************************
// *****************************************************************************
// *****************************************************************************
// Section: Middleware & Other Library Configuration
// *****************************************************************************
// *****************************************************************************
#endif // _SYSTEM_CONFIG_H
/*******************************************************************************
End of File
*/
|