/******************************************************************************* 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 */