aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRossTheRoss <msattr@gmail.com>2020-04-08 11:17:47 -0500
committerRossTheRoss <msattr@gmail.com>2020-04-08 11:17:47 -0500
commitf7dddf06297f415413760f3bedf00f7297e60cf7 (patch)
tree2a3008d3efcf7b140593b120ca925e1757e1d83c
parente (diff)
downloadee2361-f7dddf06297f415413760f3bedf00f7297e60cf7.tar
ee2361-f7dddf06297f415413760f3bedf00f7297e60cf7.tar.gz
ee2361-f7dddf06297f415413760f3bedf00f7297e60cf7.tar.bz2
ee2361-f7dddf06297f415413760f3bedf00f7297e60cf7.tar.lz
ee2361-f7dddf06297f415413760f3bedf00f7297e60cf7.tar.xz
ee2361-f7dddf06297f415413760f3bedf00f7297e60cf7.tar.zst
ee2361-f7dddf06297f415413760f3bedf00f7297e60cf7.zip
Forget to add a bunch of things
oops
Diffstat (limited to '')
-rw-r--r--Disc02.X/disc02asm.s40
-rw-r--r--HW3.X/nbproject/Makefile-default.mk161
-rw-r--r--HW3.X/nbproject/Makefile-variables.mk13
-rw-r--r--HW3.X/strap012_hw3prob1.c57
-rw-r--r--HW3.X/strap012_hw3prob2.c93
-rw-r--r--HW3.X/strap012_hw3prob3.c77
-rw-r--r--Lab 03 Report.txt4
-rw-r--r--Lab 2.X/dist/default/debug/memoryfile.xml18
-rw-r--r--Lab 2.X/nbproject/configurations.xml190
-rw-r--r--Lab 2.X/nbproject/private/configurations.xml25
-rw-r--r--Lab 3.zipbin0 -> 55715 bytes
-rw-r--r--Lab1.X/Makefile (renamed from HW3.X/Makefile)0
-rw-r--r--Lab1.X/nbproject/Makefile-default.mk (renamed from Lab 1.X/nbproject/Makefile-default.mk)0
-rw-r--r--Lab1.X/nbproject/Makefile-genesis.properties (renamed from Lab 1.X/nbproject/Makefile-genesis.properties)20
-rw-r--r--Lab1.X/nbproject/Makefile-impl.mk (renamed from Lab 1.X/nbproject/Makefile-impl.mk)0
-rw-r--r--Lab1.X/nbproject/Makefile-local-default.mk (renamed from Lab 1.X/nbproject/Makefile-local-default.mk)0
-rw-r--r--Lab1.X/nbproject/Makefile-variables.mk (renamed from Lab 1.X/nbproject/Makefile-variables.mk)0
-rw-r--r--Lab1.X/nbproject/Package-default.bash (renamed from Lab 1.X/nbproject/Package-default.bash)0
-rw-r--r--Lab1.X/nbproject/configurations.xml (renamed from Lab 1.X/nbproject/configurations.xml)378
-rw-r--r--Lab1.X/nbproject/private/configurations.xml (renamed from Lab 1.X/nbproject/private/configurations.xml)50
-rw-r--r--Lab1.X/nbproject/private/private.xml (renamed from Lab 1.X/nbproject/private/private.xml)12
-rw-r--r--Lab1.X/nbproject/project.xml (renamed from Lab 1.X/nbproject/project.xml)54
-rw-r--r--Lab2A.X/Lab2A.s (renamed from Lab 2.X/Lab2A.s)246
-rw-r--r--Lab2A.X/Makefile (renamed from Lab 1.X/Makefile)0
-rw-r--r--Lab2A.X/debug/default/defmplabxtrace.log (renamed from Lab 2.X/debug/default/defmplabxtrace.log)0
-rw-r--r--Lab2A.X/debug/default/defmplabxtrace.log.inx (renamed from Lab 2.X/debug/default/defmplabxtrace.log.inx)bin25 -> 25 bytes
-rw-r--r--Lab2A.X/dist/default/debug/memoryfile.xml (renamed from HW3.X/dist/default/debug/memoryfile.xml)36
-rw-r--r--Lab2A.X/nbproject/Makefile-default.mk (renamed from Lab 2.X/nbproject/Makefile-default.mk)0
-rw-r--r--Lab2A.X/nbproject/Makefile-genesis.properties (renamed from Lab 2.X/nbproject/Makefile-genesis.properties)0
-rw-r--r--Lab2A.X/nbproject/Makefile-impl.mk (renamed from Lab 2.X/nbproject/Makefile-impl.mk)0
-rw-r--r--Lab2A.X/nbproject/Makefile-local-default.mk (renamed from Lab 2.X/nbproject/Makefile-local-default.mk)0
-rw-r--r--Lab2A.X/nbproject/Makefile-variables.mk (renamed from Lab 2.X/nbproject/Makefile-variables.mk)0
-rw-r--r--Lab2A.X/nbproject/Package-default.bash (renamed from Lab 2.X/nbproject/Package-default.bash)0
-rw-r--r--Lab2A.X/nbproject/configurations.xml190
-rw-r--r--Lab2A.X/nbproject/private/configurations.xml (renamed from HW3.X/nbproject/private/configurations.xml)50
-rw-r--r--Lab2A.X/nbproject/private/private.xml (renamed from Lab 2.X/nbproject/private/private.xml)14
-rw-r--r--Lab2A.X/nbproject/project.xml (renamed from Lab 2.X/nbproject/project.xml)56
-rw-r--r--Lab2B.X/Makefile (renamed from Lab 2.X/Makefile)0
-rw-r--r--Lab2B.X/dist/default/debug/memoryfile.xml (renamed from HW3.X/dist/default/production/memoryfile.xml)36
-rw-r--r--Lab2B.X/dist/default/production/memoryfile.xml18
-rw-r--r--Lab2B.X/lab2b_asm.s (renamed from Lab_2B.X/lab2b_asm.s)78
-rw-r--r--Lab2B.X/lab2b_c.c153
-rw-r--r--Lab2B.X/lab2b_header.h15
-rw-r--r--Lab2B.X/nbproject/Makefile-default.mk (renamed from Lab_2B.X/nbproject/Makefile-default.mk)24
-rw-r--r--Lab2B.X/nbproject/Makefile-genesis.properties10
-rw-r--r--Lab2B.X/nbproject/Makefile-impl.mk (renamed from Lab_2B.X/nbproject/Makefile-impl.mk)2
-rw-r--r--Lab2B.X/nbproject/Makefile-local-default.mk (renamed from Lab_2B.X/nbproject/Makefile-local-default.mk)25
-rw-r--r--Lab2B.X/nbproject/Makefile-variables.mk (renamed from Lab_2B.X/nbproject/Makefile-variables.mk)4
-rw-r--r--Lab2B.X/nbproject/Package-default.bash (renamed from Lab_2B.X/nbproject/Package-default.bash)4
-rw-r--r--Lab2B.X/nbproject/configurations.xml198
-rw-r--r--Lab2B.X/nbproject/private/configurations.xml25
-rw-r--r--Lab2B.X/nbproject/private/private.xml (renamed from HW3.X/nbproject/private/private.xml)16
-rw-r--r--Lab2B.X/nbproject/project.xml32
-rw-r--r--Lab3.X/display.c99
-rw-r--r--Lab3.X/display.h2
-rw-r--r--Lab3.X/dist/default/production/memoryfile.xml4
-rw-r--r--Lab3.X/lab3_main.c (renamed from Lab3.X/lab3_main_MAYA_C.c)157
-rw-r--r--Lab3.X/lab3_main_c.BAK (renamed from Lab3.X/lab3_main_c.c)118
-rw-r--r--Lab3.X/nbproject/Makefile-default.mk8
-rw-r--r--Lab3.X/nbproject/Makefile-genesis.properties14
-rw-r--r--Lab3.X/nbproject/Makefile-local-default.mk26
-rw-r--r--Lab3.X/nbproject/configurations.xml10
-rw-r--r--Lab3.X/nbproject/private/configurations.xml4
-rw-r--r--Lab3.X/nbproject/private/private.xml8
-rw-r--r--Lab3.X/nbproject/project.xml2
-rw-r--r--Lab3.X/numpad.c45
-rw-r--r--Lab3.X/numpad.h1
-rw-r--r--Lab4.X/Lab4 Report.pdfbin0 -> 64013 bytes
-rw-r--r--Lab4.X/Makefile (renamed from Lab_2B.X/Makefile)0
-rw-r--r--Lab4.X/MyConfig.mc33859
-rw-r--r--Lab4.X/dist/default/debug/memoryfile.xml18
-rw-r--r--Lab4.X/dist/default/production/memoryfile.xml18
-rw-r--r--Lab4.X/lab4_button.c68
-rw-r--r--Lab4.X/lab4_button.h18
-rw-r--r--Lab4.X/lab4_main.c (renamed from Disc02.X/disc02C.c)107
-rw-r--r--Lab4.X/lab4_servo.c23
-rw-r--r--Lab4.X/lab4_servo.h17
-rw-r--r--Lab4.X/nbproject/Makefile-default.mk189
-rw-r--r--Lab4.X/nbproject/Makefile-genesis.properties (renamed from HW3.X/nbproject/Makefile-genesis.properties)20
-rw-r--r--Lab4.X/nbproject/Makefile-impl.mk (renamed from HW3.X/nbproject/Makefile-impl.mk)2
-rw-r--r--Lab4.X/nbproject/Makefile-local-default.mk (renamed from HW3.X/nbproject/Makefile-local-default.mk)0
-rw-r--r--Lab4.X/nbproject/Makefile-variables.mk13
-rw-r--r--Lab4.X/nbproject/Package-default.bash (renamed from HW3.X/nbproject/Package-default.bash)12
-rw-r--r--Lab4.X/nbproject/configurations.xml656
-rw-r--r--Lab4.X/nbproject/private/configurations.xml25
-rw-r--r--Lab4.X/nbproject/private/private.xml7
-rw-r--r--Lab4.X/nbproject/project.xml (renamed from HW3.X/nbproject/project.xml)56
-rw-r--r--Lab4.X/strap012_lab4.zipbin0 -> 66083 bytes
-rw-r--r--Lab4.X/strap012_lab4_I_Guess.zipbin0 -> 2955 bytes
-rw-r--r--Lab5.X/Makefile113
-rw-r--r--Lab5.X/dist/default/debug/memoryfile.xml18
-rw-r--r--Lab5.X/dist/default/production/memoryfile.xml18
-rw-r--r--Lab5.X/lab5_lcd.c98
-rw-r--r--Lab5.X/lab5_lcd.h17
-rw-r--r--Lab5.X/lab5_main.c37
-rw-r--r--Lab5.X/nbproject/Makefile-default.mk175
-rw-r--r--Lab5.X/nbproject/Makefile-genesis.properties10
-rw-r--r--Lab5.X/nbproject/Makefile-impl.mk69
-rw-r--r--Lab5.X/nbproject/Makefile-local-default.mk38
-rw-r--r--Lab5.X/nbproject/Makefile-variables.mk13
-rw-r--r--Lab5.X/nbproject/Package-default.bash73
-rw-r--r--Lab5.X/nbproject/configurations.xml (renamed from HW3.X/nbproject/configurations.xml)1310
-rw-r--r--Lab5.X/nbproject/private/configurations.xml25
-rw-r--r--Lab5.X/nbproject/private/private.xml11
-rw-r--r--Lab5.X/nbproject/project.xml27
105 files changed, 7815 insertions, 2267 deletions
diff --git a/Disc02.X/disc02asm.s b/Disc02.X/disc02asm.s
deleted file mode 100644
index c718500..0000000
--- a/Disc02.X/disc02asm.s
+++ /dev/null
@@ -1,40 +0,0 @@
- .equ __P24FJ64GA002,1 ;required "boiler-plate" (BP)
- .include "p24Fxxxx.inc" ;BP
-
-#include "xc.inc" ;BP
- ; DO NOT include config statements. We define them in the C file
- ;the next two lines set up the actual chip for operation - required
- ;config __CONFIG2, POSCMOD_NONE & I2C1SEL_PRI & IOL1WAY_OFF & OSCIOFNC_ON & FCKSM_CSECME & FNOSC_FRCPLL & SOSCSEL_LPSOSC & WUTSEL_FST & IESO_OFF
- ;config __CONFIG1, FWDTEN_OFF & COE_OFF & BKBUG_OFF & GWRP_OFF & GCP_OFF & JTAGEN_OFF
-
- .bss ;put the following labels in RAM
-_counter: .space 2 ;declare a 16-bit variable
-; you SHOULD NOT define stack, becasue this file is compiled
-; alongside a C file that contains main(). The C compiler
-; will create stack space for us.
-;stack:
-; .space 32 ;this will be our stack area, from var_16_bit to here
- .text ;BP (put the following data in ROM(program memory))
- .global _myAsmFunc
- .global _myGlobalVar
- .global _counter
-
-_myAsmFunc:
- push w0
-
- inc _myGlobalVar
- inc _counter
-
- bra checkLoopEndCond
-loopBody:
- btg LATB, #2 ; btg stands for bit-toggle.
- nop
- dec WREG0
-checkLoopEndCond:
- cp0 w0
- bra nz, loopBody
-
- pop w0
- return
- .end
-
diff --git a/HW3.X/nbproject/Makefile-default.mk b/HW3.X/nbproject/Makefile-default.mk
deleted file mode 100644
index 6187043..0000000
--- a/HW3.X/nbproject/Makefile-default.mk
+++ /dev/null
@@ -1,161 +0,0 @@
-#
-# Generated Makefile - do not edit!
-#
-# Edit the Makefile in the project folder instead (../Makefile). Each target
-# has a -pre and a -post target defined where you can add customized code.
-#
-# This makefile implements configuration specific macros and targets.
-
-
-# Include project Makefile
-ifeq "${IGNORE_LOCAL}" "TRUE"
-# do not include local makefile. User is passing all local related variables already
-else
-include Makefile
-# Include makefile containing local settings
-ifeq "$(wildcard nbproject/Makefile-local-default.mk)" "nbproject/Makefile-local-default.mk"
-include nbproject/Makefile-local-default.mk
-endif
-endif
-
-# Environment
-MKDIR=gnumkdir -p
-RM=rm -f
-MV=mv
-CP=cp
-
-# Macros
-CND_CONF=default
-ifeq ($(TYPE_IMAGE), DEBUG_RUN)
-IMAGE_TYPE=debug
-OUTPUT_SUFFIX=elf
-DEBUGGABLE_SUFFIX=elf
-FINAL_IMAGE=dist/${CND_CONF}/${IMAGE_TYPE}/HW3.X.${IMAGE_TYPE}.${OUTPUT_SUFFIX}
-else
-IMAGE_TYPE=production
-OUTPUT_SUFFIX=hex
-DEBUGGABLE_SUFFIX=elf
-FINAL_IMAGE=dist/${CND_CONF}/${IMAGE_TYPE}/HW3.X.${IMAGE_TYPE}.${OUTPUT_SUFFIX}
-endif
-
-ifeq ($(COMPARE_BUILD), true)
-COMPARISON_BUILD=-mafrlcsj
-else
-COMPARISON_BUILD=
-endif
-
-ifdef SUB_IMAGE_ADDRESS
-SUB_IMAGE_ADDRESS_COMMAND=--image-address $(SUB_IMAGE_ADDRESS)
-else
-SUB_IMAGE_ADDRESS_COMMAND=
-endif
-
-# Object Directory
-OBJECTDIR=build/${CND_CONF}/${IMAGE_TYPE}
-
-# Distribution Directory
-DISTDIR=dist/${CND_CONF}/${IMAGE_TYPE}
-
-# Source Files Quoted if spaced
-SOURCEFILES_QUOTED_IF_SPACED=strap012_hw3prob2.c
-
-# Object Files Quoted if spaced
-OBJECTFILES_QUOTED_IF_SPACED=${OBJECTDIR}/strap012_hw3prob2.o
-POSSIBLE_DEPFILES=${OBJECTDIR}/strap012_hw3prob2.o.d
-
-# Object Files
-OBJECTFILES=${OBJECTDIR}/strap012_hw3prob2.o
-
-# Source Files
-SOURCEFILES=strap012_hw3prob2.c
-
-
-
-CFLAGS=
-ASFLAGS=
-LDLIBSOPTIONS=
-
-############# Tool locations ##########################################
-# If you copy a project from one host to another, the path where the #
-# compiler is installed may be different. #
-# If you open this project with MPLAB X in the new host, this #
-# makefile will be regenerated and the paths will be corrected. #
-#######################################################################
-# fixDeps replaces a bunch of sed/cat/printf statements that slow down the build
-FIXDEPS=fixDeps
-
-.build-conf: ${BUILD_SUBPROJECTS}
-ifneq ($(INFORMATION_MESSAGE), )
- @echo $(INFORMATION_MESSAGE)
-endif
- ${MAKE} -f nbproject/Makefile-default.mk dist/${CND_CONF}/${IMAGE_TYPE}/HW3.X.${IMAGE_TYPE}.${OUTPUT_SUFFIX}
-
-MP_PROCESSOR_OPTION=24FJ64GA002
-MP_LINKER_FILE_OPTION=,--script=p24FJ64GA002.gld
-# ------------------------------------------------------------------------------------
-# Rules for buildStep: compile
-ifeq ($(TYPE_IMAGE), DEBUG_RUN)
-${OBJECTDIR}/strap012_hw3prob2.o: strap012_hw3prob2.c nbproject/Makefile-${CND_CONF}.mk
- @${MKDIR} "${OBJECTDIR}"
- @${RM} ${OBJECTDIR}/strap012_hw3prob2.o.d
- @${RM} ${OBJECTDIR}/strap012_hw3prob2.o
- ${MP_CC} $(MP_EXTRA_CC_PRE) strap012_hw3prob2.c -o ${OBJECTDIR}/strap012_hw3prob2.o -c -mcpu=$(MP_PROCESSOR_OPTION) -MMD -MF "${OBJECTDIR}/strap012_hw3prob2.o.d" -g -D__DEBUG -D__MPLAB_DEBUGGER_SIMULATOR=1 -omf=elf -DXPRJ_default=$(CND_CONF) -legacy-libc $(COMPARISON_BUILD) -O0 -msmart-io=1 -Wall -msfr-warn=off -mdfp=${DFP_DIR}/xc16
- @${FIXDEPS} "${OBJECTDIR}/strap012_hw3prob2.o.d" $(SILENT) -rsi ${MP_CC_DIR}../
-
-else
-${OBJECTDIR}/strap012_hw3prob2.o: strap012_hw3prob2.c nbproject/Makefile-${CND_CONF}.mk
- @${MKDIR} "${OBJECTDIR}"
- @${RM} ${OBJECTDIR}/strap012_hw3prob2.o.d
- @${RM} ${OBJECTDIR}/strap012_hw3prob2.o
- ${MP_CC} $(MP_EXTRA_CC_PRE) strap012_hw3prob2.c -o ${OBJECTDIR}/strap012_hw3prob2.o -c -mcpu=$(MP_PROCESSOR_OPTION) -MMD -MF "${OBJECTDIR}/strap012_hw3prob2.o.d" -g -omf=elf -DXPRJ_default=$(CND_CONF) -legacy-libc $(COMPARISON_BUILD) -O0 -msmart-io=1 -Wall -msfr-warn=off -mdfp=${DFP_DIR}/xc16
- @${FIXDEPS} "${OBJECTDIR}/strap012_hw3prob2.o.d" $(SILENT) -rsi ${MP_CC_DIR}../
-
-endif
-
-# ------------------------------------------------------------------------------------
-# Rules for buildStep: assemble
-ifeq ($(TYPE_IMAGE), DEBUG_RUN)
-else
-endif
-
-# ------------------------------------------------------------------------------------
-# Rules for buildStep: assemblePreproc
-ifeq ($(TYPE_IMAGE), DEBUG_RUN)
-else
-endif
-
-# ------------------------------------------------------------------------------------
-# Rules for buildStep: link
-ifeq ($(TYPE_IMAGE), DEBUG_RUN)
-dist/${CND_CONF}/${IMAGE_TYPE}/HW3.X.${IMAGE_TYPE}.${OUTPUT_SUFFIX}: ${OBJECTFILES} nbproject/Makefile-${CND_CONF}.mk
- @${MKDIR} dist/${CND_CONF}/${IMAGE_TYPE}
- ${MP_CC} $(MP_EXTRA_LD_PRE) -o dist/${CND_CONF}/${IMAGE_TYPE}/HW3.X.${IMAGE_TYPE}.${OUTPUT_SUFFIX} ${OBJECTFILES_QUOTED_IF_SPACED} -mcpu=$(MP_PROCESSOR_OPTION) -D__DEBUG=__DEBUG -D__MPLAB_DEBUGGER_SIMULATOR=1 -omf=elf -DXPRJ_default=$(CND_CONF) -legacy-libc $(COMPARISON_BUILD) -Wl,,,--defsym=__MPLAB_BUILD=1,--defsym=__MPLAB_DEBUG=1,--defsym=__DEBUG=1,-D__DEBUG=__DEBUG,--defsym=__MPLAB_DEBUGGER_SIMULATOR=1,$(MP_LINKER_FILE_OPTION),--stack=16,--check-sections,--data-init,--pack-data,--handles,--isr,--no-gc-sections,--fill-upper=0,--stackguard=16,--no-force-link,--smart-io,-Map="${DISTDIR}/${PROJECTNAME}.${IMAGE_TYPE}.map",--report-mem,--memorysummary,dist/${CND_CONF}/${IMAGE_TYPE}/memoryfile.xml$(MP_EXTRA_LD_POST) -mdfp=${DFP_DIR}/xc16
-
-else
-dist/${CND_CONF}/${IMAGE_TYPE}/HW3.X.${IMAGE_TYPE}.${OUTPUT_SUFFIX}: ${OBJECTFILES} nbproject/Makefile-${CND_CONF}.mk
- @${MKDIR} dist/${CND_CONF}/${IMAGE_TYPE}
- ${MP_CC} $(MP_EXTRA_LD_PRE) -o dist/${CND_CONF}/${IMAGE_TYPE}/HW3.X.${IMAGE_TYPE}.${DEBUGGABLE_SUFFIX} ${OBJECTFILES_QUOTED_IF_SPACED} -mcpu=$(MP_PROCESSOR_OPTION) -omf=elf -DXPRJ_default=$(CND_CONF) -legacy-libc $(COMPARISON_BUILD) -Wl,,,--defsym=__MPLAB_BUILD=1,$(MP_LINKER_FILE_OPTION),--stack=16,--check-sections,--data-init,--pack-data,--handles,--isr,--no-gc-sections,--fill-upper=0,--stackguard=16,--no-force-link,--smart-io,-Map="${DISTDIR}/${PROJECTNAME}.${IMAGE_TYPE}.map",--report-mem,--memorysummary,dist/${CND_CONF}/${IMAGE_TYPE}/memoryfile.xml$(MP_EXTRA_LD_POST) -mdfp=${DFP_DIR}/xc16
- ${MP_CC_DIR}\\xc16-bin2hex dist/${CND_CONF}/${IMAGE_TYPE}/HW3.X.${IMAGE_TYPE}.${DEBUGGABLE_SUFFIX} -a -omf=elf -mdfp=${DFP_DIR}/xc16
-
-endif
-
-
-# Subprojects
-.build-subprojects:
-
-
-# Subprojects
-.clean-subprojects:
-
-# Clean Targets
-.clean-conf: ${CLEAN_SUBPROJECTS}
- ${RM} -r build/default
- ${RM} -r dist/default
-
-# Enable dependency checking
-.dep.inc: .depcheck-impl
-
-DEPFILES=$(shell mplabwildcard ${POSSIBLE_DEPFILES})
-ifneq (${DEPFILES},)
-include ${DEPFILES}
-endif
diff --git a/HW3.X/nbproject/Makefile-variables.mk b/HW3.X/nbproject/Makefile-variables.mk
deleted file mode 100644
index a67eeaf..0000000
--- a/HW3.X/nbproject/Makefile-variables.mk
+++ /dev/null
@@ -1,13 +0,0 @@
-#
-# Generated - do not edit!
-#
-# NOCDDL
-#
-CND_BASEDIR=`pwd`
-# default configuration
-CND_ARTIFACT_DIR_default=dist/default/production
-CND_ARTIFACT_NAME_default=HW3.X.production.hex
-CND_ARTIFACT_PATH_default=dist/default/production/HW3.X.production.hex
-CND_PACKAGE_DIR_default=${CND_DISTDIR}/default/package
-CND_PACKAGE_NAME_default=hw3.x.tar
-CND_PACKAGE_PATH_default=${CND_DISTDIR}/default/package/hw3.x.tar
diff --git a/HW3.X/strap012_hw3prob1.c b/HW3.X/strap012_hw3prob1.c
deleted file mode 100644
index dcfd308..0000000
--- a/HW3.X/strap012_hw3prob1.c
+++ /dev/null
@@ -1,57 +0,0 @@
-#include <xc.h>
-
-// PIC24FJ64GA002 Configuration Bit Settings
-// CW1: FLASH CONFIGURATION WORD 1 (see PIC24 Family Reference Manual 24.1)
-#pragma config ICS = PGx1 // Comm Channel Select (Emulator EMUC1/EMUD1 pins are shared with PGC1/PGD1)
-#pragma config FWDTEN = OFF // Watchdog Timer Enable (Watchdog Timer is disabled)
-#pragma config GWRP = OFF // General Code Segment Write Protect (Writes to program memory are allowed)
-#pragma config GCP = OFF // General Code Segment Code Protect (Code protection is disabled)
-#pragma config JTAGEN = OFF // JTAG Port Enable (JTAG port is disabled)
-
-
-// CW2: FLASH CONFIGURATION WORD 2 (see PIC24 Family Reference Manual 24.1)
-#pragma config POSCMOD = NONE // Primary Oscillator Select (Primary oscillator disabled.
- // Primary Oscillator refers to an external osc connected to the OSC1 and OSC2 pins)
-#pragma config I2C1SEL = PRI // I2C1 Pin Location Select (Use default SCL1/SDA1 pins)
-#pragma config IOL1WAY = OFF // IOLOCK Protection (IOLOCK may be changed via unlocking seq)
-#pragma config OSCIOFNC = ON // OSC2/CLKO/RC15 functions as port I/O (RC15)
-#pragma config FCKSM = CSECME // Clock Switching and Monitor (Clock switching is enabled,
- // Fail-Safe Clock Monitor is enabled)
-#pragma config FNOSC = FRCPLL // Oscillator Select (Fast RC Oscillator with PLL module (FRCPLL))
-
-volatile unsigned long int msecs = 0;
-
-
-void __attribute__((__interrupt__,__auto_psv__)) _T1Interrupt(void)
-{
- IFS0bits.T1IF = 0;
- msecs++;
-}
-
-void setup(void)
-{
- CLKDIVbits.RCDIV = 0; // make 16MHz
-
- T1CON = 0;
- PR1 = 0xFFFF;
-
- IFS0bits.T1IF = 0;
- IPC0bits.T1IP = 3;
-
- /* enable Timer 1 interrupt */
- //DISABLE IF POLLING
- IEC0bits.T1IE = 1;
-
- T1CONbits.TON = 1;
-}
-
-
-int main(void)
-{
- setup();
- while (1) {
- //Polling stuff
-// while (_T1IF == 0);
-// _T1IF = 0;
- }
-}
diff --git a/HW3.X/strap012_hw3prob2.c b/HW3.X/strap012_hw3prob2.c
deleted file mode 100644
index 6071e56..0000000
--- a/HW3.X/strap012_hw3prob2.c
+++ /dev/null
@@ -1,93 +0,0 @@
-#include <xc.h>
-
-// PIC24FJ64GA002 Configuration Bit Settings
-// 'C' source line config statements
-
-// CONFIG2
-#pragma config POSCMOD = NONE // Primary Oscillator Select (Primary oscillator disabled)
-#pragma config I2C1SEL = PRI // I2C1 Pin Location Select (Use default SCL1/SDA1 pins)
-#pragma config IOL1WAY = OFF // IOLOCK Protection (IOLOCK may be changed via unlocking seq)
-#pragma config OSCIOFNC = OFF // Primary Oscillator Output Function (OSC2/CLKO/RC15 functions as CLKO (FOSC/2))
-#pragma config FCKSM = CSECME // Clock Switching and Monitor (Clock switching is enabled, Fail-Safe Clock Monitor is enabled)
-#pragma config FNOSC = FRCPLL // Oscillator Select (Fast RC Oscillator with PLL module (FRCPLL))
-#pragma config SOSCSEL = SOSC // Sec Oscillator Select (Default Secondary Oscillator (SOSC))
-#pragma config WUTSEL = LEG // Wake-up timer Select (Legacy Wake-up Timer)
-#pragma config IESO = ON // Internal External Switch Over Mode (IESO mode (Two-Speed Start-up) enabled)
-
-// CONFIG1
-#pragma config WDTPS = PS32768 // Watchdog Timer Postscaler (1:32,768)
-#pragma config FWPSA = PR128 // WDT Prescaler (Prescaler ratio of 1:128)
-#pragma config WINDIS = ON // Watchdog Timer Window (Standard Watchdog Timer enabled,(Windowed-mode is disabled))
-#pragma config FWDTEN = OFF // Watchdog Timer Enable (Watchdog Timer is disabled)
-#pragma config ICS = PGx1 // Comm Channel Select (Emulator EMUC1/EMUD1 pins are shared with PGC1/PGD1)
-#pragma config GWRP = OFF // General Code Segment Write Protect (Writes to program memory are allowed)
-#pragma config GCP = OFF // General Code Segment Code Protect (Code protection is disabled)
-#pragma config JTAGEN = OFF // JTAG Port Enable (JTAG port is disabled)
-
-// This program measures the duty cycle (i.e., duration of a signal being 1) in
-// terms of num cycles.
-// INT0 pin has the external sig. T1 counts #cycles.
-// Both programmed as interrupts.
-
-volatile unsigned int overflow = 0;
-volatile unsigned long int numCycles = 0; // duty cycle in terms of # TCY
-volatile unsigned int high = 0, low = 0;
-
-void __attribute__((__interrupt__,__auto_psv__)) _T1Interrupt(void)
-{
- IFS0bits.T1IF = 0;
- overflow++;
-}
-
-void __attribute__((__interrupt__,__auto_psv__)) _INT0Interrupt(void)
-{
- _INT0IF = 0;
-
- if (_INT0EP == 0){ // I was waiting for a rising edge
- TMR1 = 0;
- overflow = 0;
- } else { // I was waiting for a falling edge
- numCycles = TMR1 + 16000L * overflow;
-// TMR1 = 0; // uncomment these two lines if you want the period
-// overflow = 0; // and not just active duty cycle. also
- // delete the if part, and the last line
- // that changes polarity of INT0EP
- }
-
- _INT0EP = 1 - _INT0EP;
-
-}
-
-void setup(void)
-{
- CLKDIVbits.RCDIV = 0; // make 16MHz
- // setup INT0 (RB7) pin as input
- AD1PCFG = 0x9fff;
- LATBbits.LATB7 = 1;
-
- T1CON = 0;
- PR1 = 15999;
- TMR1 = 0;
- T1CONbits.TON = 1;
-
- IFS0bits.T1IF = 0;
- //IPC0bits.T1IP = 4;
- /* enable Timer 1 interrupt */
- IEC0bits.T1IE = 1;
-
- _INT0EP = 0;
- _INT0IF = 0;
- _INT0IE = 1;
-
-}
-
-
-int main(void)
-{
-
- setup();
- int edge = 0;
- while (1) {
-
- }
-}
diff --git a/HW3.X/strap012_hw3prob3.c b/HW3.X/strap012_hw3prob3.c
deleted file mode 100644
index 6f3b6b2..0000000
--- a/HW3.X/strap012_hw3prob3.c
+++ /dev/null
@@ -1,77 +0,0 @@
-#include <xc.h>
-
-// PIC24FJ64GA002 Configuration Bit Settings
-
-// CONFIG2
-#pragma config POSCMOD = NONE // Primary Oscillator Select (Primary oscillator disabled)
-#pragma config I2C1SEL = PRI // I2C1 Pin Location Select (Use default SCL1/SDA1 pins)
-#pragma config IOL1WAY = OFF // IOLOCK Protection (IOLOCK may be changed via unlocking seq)
-#pragma config OSCIOFNC = OFF // Primary Oscillator Output Function (OSC2/CLKO/RC15 functions as CLKO (FOSC/2))
-#pragma config FCKSM = CSECME // Clock Switching and Monitor (Clock switching is enabled, Fail-Safe Clock Monitor is enabled)
-#pragma config FNOSC = FRCPLL // Oscillator Select (Fast RC Oscillator with PLL module (FRCPLL))
-#pragma config SOSCSEL = SOSC // Sec Oscillator Select (Default Secondary Oscillator (SOSC))
-#pragma config WUTSEL = LEG // Wake-up timer Select (Legacy Wake-up Timer)
-#pragma config IESO = ON // Internal External Switch Over Mode (IESO mode (Two-Speed Start-up) enabled)
-
-// CONFIG1
-#pragma config WDTPS = PS32768 // Watchdog Timer Postscaler (1:32,768)
-#pragma config FWPSA = PR128 // WDT Prescaler (Prescaler ratio of 1:128)
-#pragma config WINDIS = ON // Watchdog Timer Window (Standard Watchdog Timer enabled,(Windowed-mode is disabled))
-#pragma config FWDTEN = OFF // Watchdog Timer Enable (Watchdog Timer is disabled)
-#pragma config ICS = PGx1 // Comm Channel Select (Emulator EMUC1/EMUD1 pins are shared with PGC1/PGD1)
-#pragma config GWRP = OFF // General Code Segment Write Protect (Writes to program memory are allowed)
-#pragma config GCP = OFF // General Code Segment Code Protect (Code protection is disabled)
-#pragma config JTAGEN = OFF // JTAG Port Enable (JTAG port is disabled)
-
-// To test: Window > Simulator > Stimulus. Click on the Pin / Register Actions.
-// Click on the top row where it says "Click here to add/remove signals", and add IC1
-// (or RB6). Add entries that change the signal to 1 at time 1000, to zero at 1100, and so on.
-// You may want to check the checkbox that says "Repeat from action".
-
-volatile unsigned int dutyCycle = 0; // positive or negative
-
-void __attribute__((__interrupt__,__auto_psv__)) _IC1Interrupt(void)
-{
- static unsigned int last = 0;
- unsigned int current;
- _IC1IF = 0;
-
- current = IC1BUF;
- if (current > last)
- dutyCycle = current - last;
- else
-// dutyCycle = ((long)(1<<16) + current) - last;
- dutyCycle = ((long)(PR3+1) + current) - last;
-
- last = current;
-}
-
-void setup()
-{
- CLKDIVbits.RCDIV = 0;
- AD1PCFG = 0x9fff; // For digital I/O. If you want to use analog, you'll
- // need to change this.
- _TRISB6 = 1;
- __builtin_write_OSCCONL(OSCCON & 0xbf); // unlock PPS
- _IC1R = 6 ; //IC! <- RB6; See Table 10-2 on P108 of the datasheet
- __builtin_write_OSCCONL(OSCCON | 0x40); // lock PPS
-
- T3CON = 0;
- PR3 = 65535;
- TMR3 = 0;
- _T3IF = 0;
- T3CON = 0x8000;
-
- IC1CON = 1; // every edge
- _IC1IF = 0;
- _IC1IE = 1;
-}
-
-int main(void)
-{
- setup();
-
- while (1){
-
- }
-}
diff --git a/Lab 03 Report.txt b/Lab 03 Report.txt
new file mode 100644
index 0000000..5fcbf03
--- /dev/null
+++ b/Lab 03 Report.txt
@@ -0,0 +1,4 @@
+Maya Steele and Matt Strapp
+Lab 03 Report
+
+There were no issues with the display when it was worked on. The main issue we had with the numpad was caused by accidentally writing to a port instead of a latch. After that, it worked. \ No newline at end of file
diff --git a/Lab 2.X/dist/default/debug/memoryfile.xml b/Lab 2.X/dist/default/debug/memoryfile.xml
deleted file mode 100644
index a0d099a..0000000
--- a/Lab 2.X/dist/default/debug/memoryfile.xml
+++ /dev/null
@@ -1,18 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-
-<project>
- <executable name="dist/default/debug/Lab_2.X.debug.elf">
- <memory name="data">
- <units>bytes</units>
- <length>8192</length>
- <used>34</used>
- <free>8158</free>
- </memory>
- <memory name="program">
- <units>bytes</units>
- <length>65274</length>
- <used>408</used>
- <free>64866</free>
- </memory>
- </executable>
-</project>
diff --git a/Lab 2.X/nbproject/configurations.xml b/Lab 2.X/nbproject/configurations.xml
deleted file mode 100644
index d7f4bad..0000000
--- a/Lab 2.X/nbproject/configurations.xml
+++ /dev/null
@@ -1,190 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<configurationDescriptor version="65">
- <logicalFolder name="root" displayName="root" projectFiles="true">
- <logicalFolder name="HeaderFiles"
- displayName="Header Files"
- projectFiles="true">
- </logicalFolder>
- <logicalFolder name="LinkerScript"
- displayName="Linker Files"
- projectFiles="true">
- </logicalFolder>
- <logicalFolder name="SourceFiles"
- displayName="Source Files"
- projectFiles="true">
- </logicalFolder>
- <logicalFolder name="ExternalFiles"
- displayName="Important Files"
- projectFiles="false">
- <itemPath>Makefile</itemPath>
- </logicalFolder>
- <itemPath>Lab2A.s</itemPath>
- </logicalFolder>
- <projectmakefile>Makefile</projectmakefile>
- <confs>
- <conf name="default" type="2">
- <toolsSet>
- <developmentServer>localhost</developmentServer>
- <targetDevice>PIC24FJ64GA002</targetDevice>
- <targetHeader></targetHeader>
- <targetPluginBoard></targetPluginBoard>
- <platformTool>Simulator</platformTool>
- <languageToolchain>XC16</languageToolchain>
- <languageToolchainVersion>1.41</languageToolchainVersion>
- <platform>3</platform>
- </toolsSet>
- <packs>
- <pack name="PIC24F-GA-GB_DFP" vendor="Microchip" version="1.1.74"/>
- </packs>
- <compileType>
- <linkerTool>
- <linkerLibItems>
- </linkerLibItems>
- </linkerTool>
- <archiverTool>
- </archiverTool>
- <loading>
- <useAlternateLoadableFile>false</useAlternateLoadableFile>
- <parseOnProdLoad>false</parseOnProdLoad>
- <alternateLoadableFile></alternateLoadableFile>
- </loading>
- <subordinates>
- </subordinates>
- </compileType>
- <makeCustomizationType>
- <makeCustomizationPreStepEnabled>false</makeCustomizationPreStepEnabled>
- <makeCustomizationPreStep></makeCustomizationPreStep>
- <makeCustomizationPostStepEnabled>false</makeCustomizationPostStepEnabled>
- <makeCustomizationPostStep></makeCustomizationPostStep>
- <makeCustomizationPutChecksumInUserID>false</makeCustomizationPutChecksumInUserID>
- <makeCustomizationEnableLongLines>false</makeCustomizationEnableLongLines>
- <makeCustomizationNormalizeHexFile>false</makeCustomizationNormalizeHexFile>
- </makeCustomizationType>
- <C30>
- <property key="code-model" value="default"/>
- <property key="const-model" value="default"/>
- <property key="data-model" value="default"/>
- <property key="disable-instruction-scheduling" value="false"/>
- <property key="enable-all-warnings" value="true"/>
- <property key="enable-ansi-std" value="false"/>
- <property key="enable-ansi-warnings" value="false"/>
- <property key="enable-fatal-warnings" value="false"/>
- <property key="enable-large-arrays" value="false"/>
- <property key="enable-omit-frame-pointer" value="false"/>
- <property key="enable-procedural-abstraction" value="false"/>
- <property key="enable-short-double" value="false"/>
- <property key="enable-symbols" value="true"/>
- <property key="enable-unroll-loops" value="false"/>
- <property key="extra-include-directories" value=""/>
- <property key="isolate-each-function" value="false"/>
- <property key="keep-inline" value="false"/>
- <property key="oXC16gcc-align-arr" value="false"/>
- <property key="oXC16gcc-cnsts-mauxflash" value="false"/>
- <property key="oXC16gcc-data-sects" value="false"/>
- <property key="oXC16gcc-errata" value=""/>
- <property key="oXC16gcc-fillupper" value=""/>
- <property key="oXC16gcc-large-aggregate" value="false"/>
- <property key="oXC16gcc-mauxflash" value="false"/>
- <property key="oXC16gcc-mpa-lvl" value=""/>
- <property key="oXC16gcc-name-text-sec" value=""/>
- <property key="oXC16gcc-near-chars" value="false"/>
- <property key="oXC16gcc-no-isr-warn" value="false"/>
- <property key="oXC16gcc-sfr-warn" value="false"/>
- <property key="oXC16gcc-smar-io-lvl" value="1"/>
- <property key="oXC16gcc-smart-io-fmt" value=""/>
- <property key="optimization-level" value="0"/>
- <property key="post-instruction-scheduling" value="default"/>
- <property key="pre-instruction-scheduling" value="default"/>
- <property key="preprocessor-macros" value=""/>
- <property key="scalar-model" value="default"/>
- <property key="use-cci" value="false"/>
- <property key="use-iar" value="false"/>
- </C30>
- <C30-AR>
- <property key="additional-options-chop-files" value="false"/>
- </C30-AR>
- <C30-AS>
- <property key="assembler-symbols" value=""/>
- <property key="expand-macros" value="false"/>
- <property key="extra-include-directories-for-assembler" value=""/>
- <property key="extra-include-directories-for-preprocessor" value=""/>
- <property key="false-conditionals" value="false"/>
- <property key="keep-locals" value="false"/>
- <property key="list-assembly" value="false"/>
- <property key="list-section-info" value="false"/>
- <property key="list-source" value="false"/>
- <property key="list-symbols" value="false"/>
- <property key="oXC16asm-extra-opts" value=""/>
- <property key="oXC16asm-list-to-file" value="false"/>
- <property key="omit-debug-dirs" value="false"/>
- <property key="omit-forms" value="false"/>
- <property key="preprocessor-macros" value=""/>
- <property key="relax" value="false"/>
- <property key="warning-level" value="emit-warnings"/>
- </C30-AS>
- <C30-CO>
- <property key="coverage-enable" value=""/>
- </C30-CO>
- <C30-LD>
- <property key="additional-options-use-response-files" value="false"/>
- <property key="boot-eeprom" value="no_eeprom"/>
- <property key="boot-flash" value="no_flash"/>
- <property key="boot-ram" value="no_ram"/>
- <property key="boot-write-protect" value="no_write_protect"/>
- <property key="enable-check-sections" value="false"/>
- <property key="enable-data-init" value="true"/>
- <property key="enable-default-isr" value="true"/>
- <property key="enable-handles" value="true"/>
- <property key="enable-pack-data" value="true"/>
- <property key="extra-lib-directories" value=""/>
- <property key="fill-flash-options-addr" value=""/>
- <property key="fill-flash-options-const" value=""/>
- <property key="fill-flash-options-how" value="0"/>
- <property key="fill-flash-options-inc-const" value="1"/>
- <property key="fill-flash-options-increment" value=""/>
- <property key="fill-flash-options-seq" value=""/>
- <property key="fill-flash-options-what" value="0"/>
- <property key="general-code-protect" value="no_code_protect"/>
- <property key="general-write-protect" value="no_write_protect"/>
- <property key="generate-cross-reference-file" value="false"/>
- <property key="heap-size" value=""/>
- <property key="input-libraries" value=""/>
- <property key="linker-stack" value="true"/>
- <property key="linker-symbols" value=""/>
- <property key="map-file" value="${DISTDIR}/${PROJECTNAME}.${IMAGE_TYPE}.map"/>
- <property key="no-ivt" value="false"/>
- <property key="oXC16ld-extra-opts" value=""/>
- <property key="oXC16ld-fill-upper" value="0"/>
- <property key="oXC16ld-force-link" value="false"/>
- <property key="oXC16ld-no-smart-io" value="false"/>
- <property key="oXC16ld-nostdlib" value="false"/>
- <property key="oXC16ld-stackguard" value="16"/>
- <property key="preprocessor-macros" value=""/>
- <property key="remove-unused-sections" value="false"/>
- <property key="report-memory-usage" value="true"/>
- <property key="secure-eeprom" value="no_eeprom"/>
- <property key="secure-flash" value="no_flash"/>
- <property key="secure-ram" value="no_ram"/>
- <property key="secure-write-protect" value="no_write_protect"/>
- <property key="stack-size" value="16"/>
- <property key="symbol-stripping" value=""/>
- <property key="trace-symbols" value=""/>
- <property key="warn-section-align" value="false"/>
- </C30-LD>
- <C30Global>
- <property key="common-include-directories" value=""/>
- <property key="dual-boot-partition" value="0"/>
- <property key="fast-math" value="false"/>
- <property key="generic-16-bit" value="false"/>
- <property key="legacy-libc" value="true"/>
- <property key="mpreserve-all" value="false"/>
- <property key="oXC16glb-macros" value=""/>
- <property key="output-file-format" value="elf"/>
- <property key="preserve-all" value="false"/>
- <property key="preserve-file" value=""/>
- <property key="relaxed-math" value="false"/>
- <property key="save-temps" value="false"/>
- </C30Global>
- </conf>
- </confs>
-</configurationDescriptor>
diff --git a/Lab 2.X/nbproject/private/configurations.xml b/Lab 2.X/nbproject/private/configurations.xml
deleted file mode 100644
index 6220849..0000000
--- a/Lab 2.X/nbproject/private/configurations.xml
+++ /dev/null
@@ -1,25 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<configurationDescriptor version="65">
- <projectmakefile>Makefile</projectmakefile>
- <defaultConf>0</defaultConf>
- <confs>
- <conf name="default" type="2">
- <platformToolSN></platformToolSN>
- <languageToolchainDir>C:\Program Files (x86)\Microchip\xc16\v1.41\bin</languageToolchainDir>
- <mdbdebugger version="1">
- <placeholder1>place holder 1</placeholder1>
- <placeholder2>place holder 2</placeholder2>
- </mdbdebugger>
- <runprofile version="6">
- <args></args>
- <rundir></rundir>
- <buildfirst>true</buildfirst>
- <console-type>0</console-type>
- <terminal-type>0</terminal-type>
- <remove-instrumentation>0</remove-instrumentation>
- <environment>
- </environment>
- </runprofile>
- </conf>
- </confs>
-</configurationDescriptor>
diff --git a/Lab 3.zip b/Lab 3.zip
new file mode 100644
index 0000000..cc546ea
--- /dev/null
+++ b/Lab 3.zip
Binary files differ
diff --git a/HW3.X/Makefile b/Lab1.X/Makefile
index fca8e2c..fca8e2c 100644
--- a/HW3.X/Makefile
+++ b/Lab1.X/Makefile
diff --git a/Lab 1.X/nbproject/Makefile-default.mk b/Lab1.X/nbproject/Makefile-default.mk
index 4010ca7..4010ca7 100644
--- a/Lab 1.X/nbproject/Makefile-default.mk
+++ b/Lab1.X/nbproject/Makefile-default.mk
diff --git a/Lab 1.X/nbproject/Makefile-genesis.properties b/Lab1.X/nbproject/Makefile-genesis.properties
index 2e47b51..e5f820b 100644
--- a/Lab 1.X/nbproject/Makefile-genesis.properties
+++ b/Lab1.X/nbproject/Makefile-genesis.properties
@@ -1,10 +1,10 @@
-#
-#Fri Jan 24 11:27:08 CST 2020
-default.Pack.dfplocation=C\:\\Program Files (x86)\\Microchip\\MPLABX\\v5.30\\packs\\Microchip\\PIC24F-GA-GB_DFP\\1.1.74
-default.com-microchip-mplab-nbide-toolchainXC16-XC16LanguageToolchain.md5=3de759bc6af06f5ee7453ec146192402
-default.languagetoolchain.dir=C\:\\Program Files (x86)\\Microchip\\xc16\\v1.41\\bin
-configurations-xml=505a194a9f6f44b2971a337971781b0e
-com-microchip-mplab-nbide-embedded-makeproject-MakeProject.md5=7cd2eead2ea6964989cbf02efe721a76
-default.languagetoolchain.version=1.41
-host.platform=windows
-conf.ids=default
+#
+#Fri Jan 24 11:27:08 CST 2020
+default.Pack.dfplocation=C\:\\Program Files (x86)\\Microchip\\MPLABX\\v5.30\\packs\\Microchip\\PIC24F-GA-GB_DFP\\1.1.74
+default.com-microchip-mplab-nbide-toolchainXC16-XC16LanguageToolchain.md5=3de759bc6af06f5ee7453ec146192402
+default.languagetoolchain.dir=C\:\\Program Files (x86)\\Microchip\\xc16\\v1.41\\bin
+configurations-xml=505a194a9f6f44b2971a337971781b0e
+com-microchip-mplab-nbide-embedded-makeproject-MakeProject.md5=7cd2eead2ea6964989cbf02efe721a76
+default.languagetoolchain.version=1.41
+host.platform=windows
+conf.ids=default
diff --git a/Lab 1.X/nbproject/Makefile-impl.mk b/Lab1.X/nbproject/Makefile-impl.mk
index 855976e..855976e 100644
--- a/Lab 1.X/nbproject/Makefile-impl.mk
+++ b/Lab1.X/nbproject/Makefile-impl.mk
diff --git a/Lab 1.X/nbproject/Makefile-local-default.mk b/Lab1.X/nbproject/Makefile-local-default.mk
index 214e7fa..214e7fa 100644
--- a/Lab 1.X/nbproject/Makefile-local-default.mk
+++ b/Lab1.X/nbproject/Makefile-local-default.mk
diff --git a/Lab 1.X/nbproject/Makefile-variables.mk b/Lab1.X/nbproject/Makefile-variables.mk
index e010c49..e010c49 100644
--- a/Lab 1.X/nbproject/Makefile-variables.mk
+++ b/Lab1.X/nbproject/Makefile-variables.mk
diff --git a/Lab 1.X/nbproject/Package-default.bash b/Lab1.X/nbproject/Package-default.bash
index c978d30..c978d30 100644
--- a/Lab 1.X/nbproject/Package-default.bash
+++ b/Lab1.X/nbproject/Package-default.bash
diff --git a/Lab 1.X/nbproject/configurations.xml b/Lab1.X/nbproject/configurations.xml
index ce9f288..8dad956 100644
--- a/Lab 1.X/nbproject/configurations.xml
+++ b/Lab1.X/nbproject/configurations.xml
@@ -1,189 +1,189 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<configurationDescriptor version="65">
- <logicalFolder name="root" displayName="root" projectFiles="true">
- <logicalFolder name="HeaderFiles"
- displayName="Header Files"
- projectFiles="true">
- </logicalFolder>
- <logicalFolder name="LinkerScript"
- displayName="Linker Files"
- projectFiles="true">
- </logicalFolder>
- <logicalFolder name="SourceFiles"
- displayName="Source Files"
- projectFiles="true">
- </logicalFolder>
- <logicalFolder name="ExternalFiles"
- displayName="Important Files"
- projectFiles="false">
- <itemPath>Makefile</itemPath>
- </logicalFolder>
- </logicalFolder>
- <projectmakefile>Makefile</projectmakefile>
- <confs>
- <conf name="default" type="2">
- <toolsSet>
- <developmentServer>localhost</developmentServer>
- <targetDevice>PIC24FJ64GA002</targetDevice>
- <targetHeader></targetHeader>
- <targetPluginBoard></targetPluginBoard>
- <platformTool></platformTool>
- <languageToolchain>XC16</languageToolchain>
- <languageToolchainVersion>1.41</languageToolchainVersion>
- <platform>3</platform>
- </toolsSet>
- <packs>
- <pack name="PIC24F-GA-GB_DFP" vendor="Microchip" version="1.1.74"/>
- </packs>
- <compileType>
- <linkerTool>
- <linkerLibItems>
- </linkerLibItems>
- </linkerTool>
- <archiverTool>
- </archiverTool>
- <loading>
- <useAlternateLoadableFile>false</useAlternateLoadableFile>
- <parseOnProdLoad>false</parseOnProdLoad>
- <alternateLoadableFile></alternateLoadableFile>
- </loading>
- <subordinates>
- </subordinates>
- </compileType>
- <makeCustomizationType>
- <makeCustomizationPreStepEnabled>false</makeCustomizationPreStepEnabled>
- <makeCustomizationPreStep></makeCustomizationPreStep>
- <makeCustomizationPostStepEnabled>false</makeCustomizationPostStepEnabled>
- <makeCustomizationPostStep></makeCustomizationPostStep>
- <makeCustomizationPutChecksumInUserID>false</makeCustomizationPutChecksumInUserID>
- <makeCustomizationEnableLongLines>false</makeCustomizationEnableLongLines>
- <makeCustomizationNormalizeHexFile>false</makeCustomizationNormalizeHexFile>
- </makeCustomizationType>
- <C30>
- <property key="code-model" value="default"/>
- <property key="const-model" value="default"/>
- <property key="data-model" value="default"/>
- <property key="disable-instruction-scheduling" value="false"/>
- <property key="enable-all-warnings" value="true"/>
- <property key="enable-ansi-std" value="false"/>
- <property key="enable-ansi-warnings" value="false"/>
- <property key="enable-fatal-warnings" value="false"/>
- <property key="enable-large-arrays" value="false"/>
- <property key="enable-omit-frame-pointer" value="false"/>
- <property key="enable-procedural-abstraction" value="false"/>
- <property key="enable-short-double" value="false"/>
- <property key="enable-symbols" value="true"/>
- <property key="enable-unroll-loops" value="false"/>
- <property key="extra-include-directories" value=""/>
- <property key="isolate-each-function" value="false"/>
- <property key="keep-inline" value="false"/>
- <property key="oXC16gcc-align-arr" value="false"/>
- <property key="oXC16gcc-cnsts-mauxflash" value="false"/>
- <property key="oXC16gcc-data-sects" value="false"/>
- <property key="oXC16gcc-errata" value=""/>
- <property key="oXC16gcc-fillupper" value=""/>
- <property key="oXC16gcc-large-aggregate" value="false"/>
- <property key="oXC16gcc-mauxflash" value="false"/>
- <property key="oXC16gcc-mpa-lvl" value=""/>
- <property key="oXC16gcc-name-text-sec" value=""/>
- <property key="oXC16gcc-near-chars" value="false"/>
- <property key="oXC16gcc-no-isr-warn" value="false"/>
- <property key="oXC16gcc-sfr-warn" value="false"/>
- <property key="oXC16gcc-smar-io-lvl" value="1"/>
- <property key="oXC16gcc-smart-io-fmt" value=""/>
- <property key="optimization-level" value="0"/>
- <property key="post-instruction-scheduling" value="default"/>
- <property key="pre-instruction-scheduling" value="default"/>
- <property key="preprocessor-macros" value=""/>
- <property key="scalar-model" value="default"/>
- <property key="use-cci" value="false"/>
- <property key="use-iar" value="false"/>
- </C30>
- <C30-AR>
- <property key="additional-options-chop-files" value="false"/>
- </C30-AR>
- <C30-AS>
- <property key="assembler-symbols" value=""/>
- <property key="expand-macros" value="false"/>
- <property key="extra-include-directories-for-assembler" value=""/>
- <property key="extra-include-directories-for-preprocessor" value=""/>
- <property key="false-conditionals" value="false"/>
- <property key="keep-locals" value="false"/>
- <property key="list-assembly" value="false"/>
- <property key="list-section-info" value="false"/>
- <property key="list-source" value="false"/>
- <property key="list-symbols" value="false"/>
- <property key="oXC16asm-extra-opts" value=""/>
- <property key="oXC16asm-list-to-file" value="false"/>
- <property key="omit-debug-dirs" value="false"/>
- <property key="omit-forms" value="false"/>
- <property key="preprocessor-macros" value=""/>
- <property key="relax" value="false"/>
- <property key="warning-level" value="emit-warnings"/>
- </C30-AS>
- <C30-CO>
- <property key="coverage-enable" value=""/>
- </C30-CO>
- <C30-LD>
- <property key="additional-options-use-response-files" value="false"/>
- <property key="boot-eeprom" value="no_eeprom"/>
- <property key="boot-flash" value="no_flash"/>
- <property key="boot-ram" value="no_ram"/>
- <property key="boot-write-protect" value="no_write_protect"/>
- <property key="enable-check-sections" value="false"/>
- <property key="enable-data-init" value="true"/>
- <property key="enable-default-isr" value="true"/>
- <property key="enable-handles" value="true"/>
- <property key="enable-pack-data" value="true"/>
- <property key="extra-lib-directories" value=""/>
- <property key="fill-flash-options-addr" value=""/>
- <property key="fill-flash-options-const" value=""/>
- <property key="fill-flash-options-how" value="0"/>
- <property key="fill-flash-options-inc-const" value="1"/>
- <property key="fill-flash-options-increment" value=""/>
- <property key="fill-flash-options-seq" value=""/>
- <property key="fill-flash-options-what" value="0"/>
- <property key="general-code-protect" value="no_code_protect"/>
- <property key="general-write-protect" value="no_write_protect"/>
- <property key="generate-cross-reference-file" value="false"/>
- <property key="heap-size" value=""/>
- <property key="input-libraries" value=""/>
- <property key="linker-stack" value="true"/>
- <property key="linker-symbols" value=""/>
- <property key="map-file" value="${DISTDIR}/${PROJECTNAME}.${IMAGE_TYPE}.map"/>
- <property key="no-ivt" value="false"/>
- <property key="oXC16ld-extra-opts" value=""/>
- <property key="oXC16ld-fill-upper" value="0"/>
- <property key="oXC16ld-force-link" value="false"/>
- <property key="oXC16ld-no-smart-io" value="false"/>
- <property key="oXC16ld-nostdlib" value="false"/>
- <property key="oXC16ld-stackguard" value="16"/>
- <property key="preprocessor-macros" value=""/>
- <property key="remove-unused-sections" value="false"/>
- <property key="report-memory-usage" value="true"/>
- <property key="secure-eeprom" value="no_eeprom"/>
- <property key="secure-flash" value="no_flash"/>
- <property key="secure-ram" value="no_ram"/>
- <property key="secure-write-protect" value="no_write_protect"/>
- <property key="stack-size" value="16"/>
- <property key="symbol-stripping" value=""/>
- <property key="trace-symbols" value=""/>
- <property key="warn-section-align" value="false"/>
- </C30-LD>
- <C30Global>
- <property key="common-include-directories" value=""/>
- <property key="dual-boot-partition" value="0"/>
- <property key="fast-math" value="false"/>
- <property key="generic-16-bit" value="false"/>
- <property key="legacy-libc" value="true"/>
- <property key="mpreserve-all" value="false"/>
- <property key="oXC16glb-macros" value=""/>
- <property key="output-file-format" value="elf"/>
- <property key="preserve-all" value="false"/>
- <property key="preserve-file" value=""/>
- <property key="relaxed-math" value="false"/>
- <property key="save-temps" value="false"/>
- </C30Global>
- </conf>
- </confs>
-</configurationDescriptor>
+<?xml version="1.0" encoding="UTF-8"?>
+<configurationDescriptor version="65">
+ <logicalFolder name="root" displayName="root" projectFiles="true">
+ <logicalFolder name="HeaderFiles"
+ displayName="Header Files"
+ projectFiles="true">
+ </logicalFolder>
+ <logicalFolder name="LinkerScript"
+ displayName="Linker Files"
+ projectFiles="true">
+ </logicalFolder>
+ <logicalFolder name="SourceFiles"
+ displayName="Source Files"
+ projectFiles="true">
+ </logicalFolder>
+ <logicalFolder name="ExternalFiles"
+ displayName="Important Files"
+ projectFiles="false">
+ <itemPath>Makefile</itemPath>
+ </logicalFolder>
+ </logicalFolder>
+ <projectmakefile>Makefile</projectmakefile>
+ <confs>
+ <conf name="default" type="2">
+ <toolsSet>
+ <developmentServer>localhost</developmentServer>
+ <targetDevice>PIC24FJ64GA002</targetDevice>
+ <targetHeader></targetHeader>
+ <targetPluginBoard></targetPluginBoard>
+ <platformTool></platformTool>
+ <languageToolchain>XC16</languageToolchain>
+ <languageToolchainVersion>1.41</languageToolchainVersion>
+ <platform>3</platform>
+ </toolsSet>
+ <packs>
+ <pack name="PIC24F-GA-GB_DFP" vendor="Microchip" version="1.1.74"/>
+ </packs>
+ <compileType>
+ <linkerTool>
+ <linkerLibItems>
+ </linkerLibItems>
+ </linkerTool>
+ <archiverTool>
+ </archiverTool>
+ <loading>
+ <useAlternateLoadableFile>false</useAlternateLoadableFile>
+ <parseOnProdLoad>false</parseOnProdLoad>
+ <alternateLoadableFile></alternateLoadableFile>
+ </loading>
+ <subordinates>
+ </subordinates>
+ </compileType>
+ <makeCustomizationType>
+ <makeCustomizationPreStepEnabled>false</makeCustomizationPreStepEnabled>
+ <makeCustomizationPreStep></makeCustomizationPreStep>
+ <makeCustomizationPostStepEnabled>false</makeCustomizationPostStepEnabled>
+ <makeCustomizationPostStep></makeCustomizationPostStep>
+ <makeCustomizationPutChecksumInUserID>false</makeCustomizationPutChecksumInUserID>
+ <makeCustomizationEnableLongLines>false</makeCustomizationEnableLongLines>
+ <makeCustomizationNormalizeHexFile>false</makeCustomizationNormalizeHexFile>
+ </makeCustomizationType>
+ <C30>
+ <property key="code-model" value="default"/>
+ <property key="const-model" value="default"/>
+ <property key="data-model" value="default"/>
+ <property key="disable-instruction-scheduling" value="false"/>
+ <property key="enable-all-warnings" value="true"/>
+ <property key="enable-ansi-std" value="false"/>
+ <property key="enable-ansi-warnings" value="false"/>
+ <property key="enable-fatal-warnings" value="false"/>
+ <property key="enable-large-arrays" value="false"/>
+ <property key="enable-omit-frame-pointer" value="false"/>
+ <property key="enable-procedural-abstraction" value="false"/>
+ <property key="enable-short-double" value="false"/>
+ <property key="enable-symbols" value="true"/>
+ <property key="enable-unroll-loops" value="false"/>
+ <property key="extra-include-directories" value=""/>
+ <property key="isolate-each-function" value="false"/>
+ <property key="keep-inline" value="false"/>
+ <property key="oXC16gcc-align-arr" value="false"/>
+ <property key="oXC16gcc-cnsts-mauxflash" value="false"/>
+ <property key="oXC16gcc-data-sects" value="false"/>
+ <property key="oXC16gcc-errata" value=""/>
+ <property key="oXC16gcc-fillupper" value=""/>
+ <property key="oXC16gcc-large-aggregate" value="false"/>
+ <property key="oXC16gcc-mauxflash" value="false"/>
+ <property key="oXC16gcc-mpa-lvl" value=""/>
+ <property key="oXC16gcc-name-text-sec" value=""/>
+ <property key="oXC16gcc-near-chars" value="false"/>
+ <property key="oXC16gcc-no-isr-warn" value="false"/>
+ <property key="oXC16gcc-sfr-warn" value="false"/>
+ <property key="oXC16gcc-smar-io-lvl" value="1"/>
+ <property key="oXC16gcc-smart-io-fmt" value=""/>
+ <property key="optimization-level" value="0"/>
+ <property key="post-instruction-scheduling" value="default"/>
+ <property key="pre-instruction-scheduling" value="default"/>
+ <property key="preprocessor-macros" value=""/>
+ <property key="scalar-model" value="default"/>
+ <property key="use-cci" value="false"/>
+ <property key="use-iar" value="false"/>
+ </C30>
+ <C30-AR>
+ <property key="additional-options-chop-files" value="false"/>
+ </C30-AR>
+ <C30-AS>
+ <property key="assembler-symbols" value=""/>
+ <property key="expand-macros" value="false"/>
+ <property key="extra-include-directories-for-assembler" value=""/>
+ <property key="extra-include-directories-for-preprocessor" value=""/>
+ <property key="false-conditionals" value="false"/>
+ <property key="keep-locals" value="false"/>
+ <property key="list-assembly" value="false"/>
+ <property key="list-section-info" value="false"/>
+ <property key="list-source" value="false"/>
+ <property key="list-symbols" value="false"/>
+ <property key="oXC16asm-extra-opts" value=""/>
+ <property key="oXC16asm-list-to-file" value="false"/>
+ <property key="omit-debug-dirs" value="false"/>
+ <property key="omit-forms" value="false"/>
+ <property key="preprocessor-macros" value=""/>
+ <property key="relax" value="false"/>
+ <property key="warning-level" value="emit-warnings"/>
+ </C30-AS>
+ <C30-CO>
+ <property key="coverage-enable" value=""/>
+ </C30-CO>
+ <C30-LD>
+ <property key="additional-options-use-response-files" value="false"/>
+ <property key="boot-eeprom" value="no_eeprom"/>
+ <property key="boot-flash" value="no_flash"/>
+ <property key="boot-ram" value="no_ram"/>
+ <property key="boot-write-protect" value="no_write_protect"/>
+ <property key="enable-check-sections" value="false"/>
+ <property key="enable-data-init" value="true"/>
+ <property key="enable-default-isr" value="true"/>
+ <property key="enable-handles" value="true"/>
+ <property key="enable-pack-data" value="true"/>
+ <property key="extra-lib-directories" value=""/>
+ <property key="fill-flash-options-addr" value=""/>
+ <property key="fill-flash-options-const" value=""/>
+ <property key="fill-flash-options-how" value="0"/>
+ <property key="fill-flash-options-inc-const" value="1"/>
+ <property key="fill-flash-options-increment" value=""/>
+ <property key="fill-flash-options-seq" value=""/>
+ <property key="fill-flash-options-what" value="0"/>
+ <property key="general-code-protect" value="no_code_protect"/>
+ <property key="general-write-protect" value="no_write_protect"/>
+ <property key="generate-cross-reference-file" value="false"/>
+ <property key="heap-size" value=""/>
+ <property key="input-libraries" value=""/>
+ <property key="linker-stack" value="true"/>
+ <property key="linker-symbols" value=""/>
+ <property key="map-file" value="${DISTDIR}/${PROJECTNAME}.${IMAGE_TYPE}.map"/>
+ <property key="no-ivt" value="false"/>
+ <property key="oXC16ld-extra-opts" value=""/>
+ <property key="oXC16ld-fill-upper" value="0"/>
+ <property key="oXC16ld-force-link" value="false"/>
+ <property key="oXC16ld-no-smart-io" value="false"/>
+ <property key="oXC16ld-nostdlib" value="false"/>
+ <property key="oXC16ld-stackguard" value="16"/>
+ <property key="preprocessor-macros" value=""/>
+ <property key="remove-unused-sections" value="false"/>
+ <property key="report-memory-usage" value="true"/>
+ <property key="secure-eeprom" value="no_eeprom"/>
+ <property key="secure-flash" value="no_flash"/>
+ <property key="secure-ram" value="no_ram"/>
+ <property key="secure-write-protect" value="no_write_protect"/>
+ <property key="stack-size" value="16"/>
+ <property key="symbol-stripping" value=""/>
+ <property key="trace-symbols" value=""/>
+ <property key="warn-section-align" value="false"/>
+ </C30-LD>
+ <C30Global>
+ <property key="common-include-directories" value=""/>
+ <property key="dual-boot-partition" value="0"/>
+ <property key="fast-math" value="false"/>
+ <property key="generic-16-bit" value="false"/>
+ <property key="legacy-libc" value="true"/>
+ <property key="mpreserve-all" value="false"/>
+ <property key="oXC16glb-macros" value=""/>
+ <property key="output-file-format" value="elf"/>
+ <property key="preserve-all" value="false"/>
+ <property key="preserve-file" value=""/>
+ <property key="relaxed-math" value="false"/>
+ <property key="save-temps" value="false"/>
+ </C30Global>
+ </conf>
+ </confs>
+</configurationDescriptor>
diff --git a/Lab 1.X/nbproject/private/configurations.xml b/Lab1.X/nbproject/private/configurations.xml
index 74e2a26..f0a581b 100644
--- a/Lab 1.X/nbproject/private/configurations.xml
+++ b/Lab1.X/nbproject/private/configurations.xml
@@ -1,25 +1,25 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<configurationDescriptor version="65">
- <projectmakefile>Makefile</projectmakefile>
- <defaultConf>0</defaultConf>
- <confs>
- <conf name="default" type="2">
- <platformToolSN></platformToolSN>
- <languageToolchainDir>C:\Program Files (x86)\Microchip\xc16\v1.41\bin</languageToolchainDir>
- <mdbdebugger version="1">
- <placeholder1>place holder 1</placeholder1>
- <placeholder2>place holder 2</placeholder2>
- </mdbdebugger>
- <runprofile version="6">
- <args></args>
- <rundir></rundir>
- <buildfirst>true</buildfirst>
- <console-type>0</console-type>
- <terminal-type>0</terminal-type>
- <remove-instrumentation>0</remove-instrumentation>
- <environment>
- </environment>
- </runprofile>
- </conf>
- </confs>
-</configurationDescriptor>
+<?xml version="1.0" encoding="UTF-8"?>
+<configurationDescriptor version="65">
+ <projectmakefile>Makefile</projectmakefile>
+ <defaultConf>0</defaultConf>
+ <confs>
+ <conf name="default" type="2">
+ <platformToolSN></platformToolSN>
+ <languageToolchainDir>C:\Program Files (x86)\Microchip\xc16\v1.41\bin</languageToolchainDir>
+ <mdbdebugger version="1">
+ <placeholder1>place holder 1</placeholder1>
+ <placeholder2>place holder 2</placeholder2>
+ </mdbdebugger>
+ <runprofile version="6">
+ <args></args>
+ <rundir></rundir>
+ <buildfirst>true</buildfirst>
+ <console-type>0</console-type>
+ <terminal-type>0</terminal-type>
+ <remove-instrumentation>0</remove-instrumentation>
+ <environment>
+ </environment>
+ </runprofile>
+ </conf>
+ </confs>
+</configurationDescriptor>
diff --git a/Lab 1.X/nbproject/private/private.xml b/Lab1.X/nbproject/private/private.xml
index c83239d..2eee429 100644
--- a/Lab 1.X/nbproject/private/private.xml
+++ b/Lab1.X/nbproject/private/private.xml
@@ -1,6 +1,6 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<project-private xmlns="http://www.netbeans.org/ns/project-private/1">
- <open-files xmlns="http://www.netbeans.org/ns/projectui-open-files/2">
- <group/>
- </open-files>
-</project-private>
+<?xml version="1.0" encoding="UTF-8"?>
+<project-private xmlns="http://www.netbeans.org/ns/project-private/1">
+ <open-files xmlns="http://www.netbeans.org/ns/projectui-open-files/2">
+ <group/>
+ </open-files>
+</project-private>
diff --git a/Lab 1.X/nbproject/project.xml b/Lab1.X/nbproject/project.xml
index 23366f5..59d9045 100644
--- a/Lab 1.X/nbproject/project.xml
+++ b/Lab1.X/nbproject/project.xml
@@ -1,27 +1,27 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<project xmlns="http://www.netbeans.org/ns/project/1">
- <type>com.microchip.mplab.nbide.embedded.makeproject</type>
- <configuration>
- <data xmlns="http://www.netbeans.org/ns/make-project/1">
- <name>Lab 1</name>
- <creation-uuid>cb9615f9-ee96-4e87-875e-3f071615637f</creation-uuid>
- <make-project-type>0</make-project-type>
- <c-extensions/>
- <cpp-extensions/>
- <header-extensions/>
- <asminc-extensions/>
- <make-dep-projects/>
- <sourceRootList/>
- <confList>
- <confElem>
- <name>default</name>
- <type>2</type>
- </confElem>
- </confList>
- <sourceEncoding>ISO-8859-1</sourceEncoding>
- <formatting>
- <project-formatting-style>false</project-formatting-style>
- </formatting>
- </data>
- </configuration>
-</project>
+<?xml version="1.0" encoding="UTF-8"?>
+<project xmlns="http://www.netbeans.org/ns/project/1">
+ <type>com.microchip.mplab.nbide.embedded.makeproject</type>
+ <configuration>
+ <data xmlns="http://www.netbeans.org/ns/make-project/1">
+ <name>Lab 1</name>
+ <creation-uuid>cb9615f9-ee96-4e87-875e-3f071615637f</creation-uuid>
+ <make-project-type>0</make-project-type>
+ <c-extensions/>
+ <cpp-extensions/>
+ <header-extensions/>
+ <asminc-extensions/>
+ <make-dep-projects/>
+ <sourceRootList/>
+ <confList>
+ <confElem>
+ <name>default</name>
+ <type>2</type>
+ </confElem>
+ </confList>
+ <sourceEncoding>ISO-8859-1</sourceEncoding>
+ <formatting>
+ <project-formatting-style>false</project-formatting-style>
+ </formatting>
+ </data>
+ </configuration>
+</project>
diff --git a/Lab 2.X/Lab2A.s b/Lab2A.X/Lab2A.s
index fa35d55..407def8 100644
--- a/Lab 2.X/Lab2A.s
+++ b/Lab2A.X/Lab2A.s
@@ -1,123 +1,123 @@
-
-.include "xc.inc" ; required "boiler-plate" (BP)
-
-;the next two lines set up the actual chip for operation - required
-config __CONFIG2, POSCMOD_EC & I2C1SEL_SEC & IOL1WAY_OFF & OSCIOFNC_ON & FCKSM_CSECME & FNOSC_FRCPLL & SOSCSEL_LPSOSC & WUTSEL_FST & IESO_OFF
-config __CONFIG1, WDTPS_PS1 & FWPSA_PR32 & WINDIS_OFF & FWDTEN_OFF & BKBUG_ON & GWRP_ON & GCP_ON & JTAGEN_OFF
-
- .bss ; put the following labels in RAM
-counter:
- .space 2 ; a variable that takes two bytes (we won?t use
- ; it for now, but put here to make this a generic
- ; template to be used later).
-stack:
- .space 32 ; this will be our stack area, needed for func calls
-
-.text ; BP (put the following data in ROM(program memory))
-
-;because we are using the C compiler to assemble our code, we need a "_main" label
-;somewhere. (There's a link step that looks for it.)
-.global _main ;BP
-;your functions go here
-
-_main:
-
- bclr CLKDIV,#8 ;BP
- nop
- ;; --- Begin your main program below here ---
-
-
- mov #0x9fff,w0
- mov w0,AD1PCFG ; Set all pins to digital mode
- mov #0b1111111111111110,w0
- mov w0,TRISA ; set pin RA0 to output
- mov #0x0000,w0
- mov w0,LATA ; set pin RA0 low
- call delay_100us
- call setColor
- call foreverLoop
-
-wait_24cycles:
- ; 2 cycles for function call
- repeat #17 ; 1 cycle to load and prep
- nop ; 17+1 cycles to execute NOP 18 times
- return ; 3 cycles for the return
-
-wait_32cycles: ; 2
- repeat #24 ; 1
- nop ; 25+1 cycles = 26
- return ; 3
-
-delay_100us:
- repeat #1593
- nop
- return
-
-delay_1ms:
- repeat #15993
- nop
- return
-
-write_bit_stream:
- call wait_24cycles ; 24 cycles
- clr LATA ; set pin RA0 low = 1 cycle
- call wait_32cycles ; 32 cycles
- inc LATA ; set pin RA0 high = 1 cycle
- return
-
-write_0: ;2 cycles for function call
- inc LATA ;1
- repeat #3 ;1 for load
- nop ;3+1=4 nop
- clr LATA ;1
- repeat #6 ;1 for load
- nop ;1+6=7 nop
- return ;3 return
-
-
-write_1: ;2 cycle call
- inc LATA ;1
- repeat #10;1 load
- nop ;1+10=11 nop
- clr LATA ;1
- nop ;1
- return ;3 return
-
-setColor:
- ;Set R
- call write_1
- call write_1
- call write_1
- call write_1
- call write_1
- call write_1
- call write_1
- call write_1
- ;Set G
- call write_1
- call write_0
- call write_0
- call write_1
- call write_1
- call write_0
- call write_1
- call write_1
- ;Set B
- call write_0
- call write_0
- call write_0
- call write_0
- call write_0
- call write_0
- call write_0
- call write_0
-
- return
-
-foreverLoop:
-; call write_bit_stream
- nop
- bra foreverLoop
-
-
-.end
+
+.include "xc.inc" ; required "boiler-plate" (BP)
+
+;the next two lines set up the actual chip for operation - required
+config __CONFIG2, POSCMOD_EC & I2C1SEL_SEC & IOL1WAY_OFF & OSCIOFNC_ON & FCKSM_CSECME & FNOSC_FRCPLL & SOSCSEL_LPSOSC & WUTSEL_FST & IESO_OFF
+config __CONFIG1, WDTPS_PS1 & FWPSA_PR32 & WINDIS_OFF & FWDTEN_OFF & BKBUG_ON & GWRP_ON & GCP_ON & JTAGEN_OFF
+
+ .bss ; put the following labels in RAM
+counter:
+ .space 2 ; a variable that takes two bytes (we won?t use
+ ; it for now, but put here to make this a generic
+ ; template to be used later).
+stack:
+ .space 32 ; this will be our stack area, needed for func calls
+
+.text ; BP (put the following data in ROM(program memory))
+
+;because we are using the C compiler to assemble our code, we need a "_main" label
+;somewhere. (There's a link step that looks for it.)
+.global _main ;BP
+;your functions go here
+
+_main:
+
+ bclr CLKDIV,#8 ;BP
+ nop
+ ;; --- Begin your main program below here ---
+
+
+ mov #0x9fff,w0
+ mov w0,AD1PCFG ; Set all pins to digital mode
+ mov #0b1111111111111110,w0
+ mov w0,TRISA ; set pin RA0 to output
+ mov #0x0000,w0
+ mov w0,LATA ; set pin RA0 low
+ call delay_100us
+ call setColor
+ call foreverLoop
+
+wait_24cycles:
+ ; 2 cycles for function call
+ repeat #17 ; 1 cycle to load and prep
+ nop ; 17+1 cycles to execute NOP 18 times
+ return ; 3 cycles for the return
+
+wait_32cycles: ; 2
+ repeat #24 ; 1
+ nop ; 25+1 cycles = 26
+ return ; 3
+
+delay_100us:
+ repeat #1593
+ nop
+ return
+
+delay_1ms:
+ repeat #15993
+ nop
+ return
+
+write_bit_stream:
+ call wait_24cycles ; 24 cycles
+ clr LATA ; set pin RA0 low = 1 cycle
+ call wait_32cycles ; 32 cycles
+ inc LATA ; set pin RA0 high = 1 cycle
+ return
+
+write_0: ;2 cycles for function call
+ inc LATA ;1
+ repeat #3 ;1 for load
+ nop ;3+1=4 nop
+ clr LATA ;1
+ repeat #6 ;1 for load
+ nop ;1+6=7 nop
+ return ;3 return
+
+
+write_1: ;2 cycle call
+ inc LATA ;1
+ repeat #10;1 load
+ nop ;1+10=11 nop
+ clr LATA ;1
+ nop ;1
+ return ;3 return
+
+setColor:
+ ;Set R
+ call write_1
+ call write_1
+ call write_1
+ call write_1
+ call write_1
+ call write_1
+ call write_1
+ call write_1
+ ;Set G
+ call write_1
+ call write_0
+ call write_0
+ call write_1
+ call write_1
+ call write_0
+ call write_1
+ call write_1
+ ;Set B
+ call write_0
+ call write_0
+ call write_0
+ call write_0
+ call write_0
+ call write_0
+ call write_0
+ call write_0
+
+ return
+
+foreverLoop:
+; call write_bit_stream
+ nop
+ bra foreverLoop
+
+
+.end
diff --git a/Lab 1.X/Makefile b/Lab2A.X/Makefile
index fca8e2c..fca8e2c 100644
--- a/Lab 1.X/Makefile
+++ b/Lab2A.X/Makefile
diff --git a/Lab 2.X/debug/default/defmplabxtrace.log b/Lab2A.X/debug/default/defmplabxtrace.log
index e69de29..e69de29 100644
--- a/Lab 2.X/debug/default/defmplabxtrace.log
+++ b/Lab2A.X/debug/default/defmplabxtrace.log
diff --git a/Lab 2.X/debug/default/defmplabxtrace.log.inx b/Lab2A.X/debug/default/defmplabxtrace.log.inx
index 87765a0..87765a0 100644
--- a/Lab 2.X/debug/default/defmplabxtrace.log.inx
+++ b/Lab2A.X/debug/default/defmplabxtrace.log.inx
Binary files differ
diff --git a/HW3.X/dist/default/debug/memoryfile.xml b/Lab2A.X/dist/default/debug/memoryfile.xml
index c74e6e0..2a720f9 100644
--- a/HW3.X/dist/default/debug/memoryfile.xml
+++ b/Lab2A.X/dist/default/debug/memoryfile.xml
@@ -1,18 +1,18 @@
-<?xml version="1.0" encoding="UTF-8"?>
-
-<project>
- <executable name="dist/default/debug/HW3.X.debug.elf">
- <memory name="data">
- <units>bytes</units>
- <length>8192</length>
- <used>10</used>
- <free>8182</free>
- </memory>
- <memory name="program">
- <units>bytes</units>
- <length>65274</length>
- <used>594</used>
- <free>64680</free>
- </memory>
- </executable>
-</project>
+<?xml version="1.0" encoding="UTF-8"?>
+
+<project>
+ <executable name="dist/default/debug/Lab_2.X.debug.elf">
+ <memory name="data">
+ <units>bytes</units>
+ <length>8192</length>
+ <used>34</used>
+ <free>8158</free>
+ </memory>
+ <memory name="program">
+ <units>bytes</units>
+ <length>65274</length>
+ <used>408</used>
+ <free>64866</free>
+ </memory>
+ </executable>
+</project>
diff --git a/Lab 2.X/nbproject/Makefile-default.mk b/Lab2A.X/nbproject/Makefile-default.mk
index 8201bc4..8201bc4 100644
--- a/Lab 2.X/nbproject/Makefile-default.mk
+++ b/Lab2A.X/nbproject/Makefile-default.mk
diff --git a/Lab 2.X/nbproject/Makefile-genesis.properties b/Lab2A.X/nbproject/Makefile-genesis.properties
index 114011e..114011e 100644
--- a/Lab 2.X/nbproject/Makefile-genesis.properties
+++ b/Lab2A.X/nbproject/Makefile-genesis.properties
diff --git a/Lab 2.X/nbproject/Makefile-impl.mk b/Lab2A.X/nbproject/Makefile-impl.mk
index d637c96..d637c96 100644
--- a/Lab 2.X/nbproject/Makefile-impl.mk
+++ b/Lab2A.X/nbproject/Makefile-impl.mk
diff --git a/Lab 2.X/nbproject/Makefile-local-default.mk b/Lab2A.X/nbproject/Makefile-local-default.mk
index 214e7fa..214e7fa 100644
--- a/Lab 2.X/nbproject/Makefile-local-default.mk
+++ b/Lab2A.X/nbproject/Makefile-local-default.mk
diff --git a/Lab 2.X/nbproject/Makefile-variables.mk b/Lab2A.X/nbproject/Makefile-variables.mk
index 358d783..358d783 100644
--- a/Lab 2.X/nbproject/Makefile-variables.mk
+++ b/Lab2A.X/nbproject/Makefile-variables.mk
diff --git a/Lab 2.X/nbproject/Package-default.bash b/Lab2A.X/nbproject/Package-default.bash
index 6270138..6270138 100644
--- a/Lab 2.X/nbproject/Package-default.bash
+++ b/Lab2A.X/nbproject/Package-default.bash
diff --git a/Lab2A.X/nbproject/configurations.xml b/Lab2A.X/nbproject/configurations.xml
new file mode 100644
index 0000000..6f98ba3
--- /dev/null
+++ b/Lab2A.X/nbproject/configurations.xml
@@ -0,0 +1,190 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<configurationDescriptor version="65">
+ <logicalFolder name="root" displayName="root" projectFiles="true">
+ <logicalFolder name="HeaderFiles"
+ displayName="Header Files"
+ projectFiles="true">
+ </logicalFolder>
+ <logicalFolder name="LinkerScript"
+ displayName="Linker Files"
+ projectFiles="true">
+ </logicalFolder>
+ <logicalFolder name="SourceFiles"
+ displayName="Source Files"
+ projectFiles="true">
+ </logicalFolder>
+ <logicalFolder name="ExternalFiles"
+ displayName="Important Files"
+ projectFiles="false">
+ <itemPath>Makefile</itemPath>
+ </logicalFolder>
+ <itemPath>Lab2A.s</itemPath>
+ </logicalFolder>
+ <projectmakefile>Makefile</projectmakefile>
+ <confs>
+ <conf name="default" type="2">
+ <toolsSet>
+ <developmentServer>localhost</developmentServer>
+ <targetDevice>PIC24FJ64GA002</targetDevice>
+ <targetHeader></targetHeader>
+ <targetPluginBoard></targetPluginBoard>
+ <platformTool>Simulator</platformTool>
+ <languageToolchain>XC16</languageToolchain>
+ <languageToolchainVersion>1.41</languageToolchainVersion>
+ <platform>3</platform>
+ </toolsSet>
+ <packs>
+ <pack name="PIC24F-GA-GB_DFP" vendor="Microchip" version="1.1.74"/>
+ </packs>
+ <compileType>
+ <linkerTool>
+ <linkerLibItems>
+ </linkerLibItems>
+ </linkerTool>
+ <archiverTool>
+ </archiverTool>
+ <loading>
+ <useAlternateLoadableFile>false</useAlternateLoadableFile>
+ <parseOnProdLoad>false</parseOnProdLoad>
+ <alternateLoadableFile></alternateLoadableFile>
+ </loading>
+ <subordinates>
+ </subordinates>
+ </compileType>
+ <makeCustomizationType>
+ <makeCustomizationPreStepEnabled>false</makeCustomizationPreStepEnabled>
+ <makeCustomizationPreStep></makeCustomizationPreStep>
+ <makeCustomizationPostStepEnabled>false</makeCustomizationPostStepEnabled>
+ <makeCustomizationPostStep></makeCustomizationPostStep>
+ <makeCustomizationPutChecksumInUserID>false</makeCustomizationPutChecksumInUserID>
+ <makeCustomizationEnableLongLines>false</makeCustomizationEnableLongLines>
+ <makeCustomizationNormalizeHexFile>false</makeCustomizationNormalizeHexFile>
+ </makeCustomizationType>
+ <C30>
+ <property key="code-model" value="default"/>
+ <property key="const-model" value="default"/>
+ <property key="data-model" value="default"/>
+ <property key="disable-instruction-scheduling" value="false"/>
+ <property key="enable-all-warnings" value="true"/>
+ <property key="enable-ansi-std" value="false"/>
+ <property key="enable-ansi-warnings" value="false"/>
+ <property key="enable-fatal-warnings" value="false"/>
+ <property key="enable-large-arrays" value="false"/>
+ <property key="enable-omit-frame-pointer" value="false"/>
+ <property key="enable-procedural-abstraction" value="false"/>
+ <property key="enable-short-double" value="false"/>
+ <property key="enable-symbols" value="true"/>
+ <property key="enable-unroll-loops" value="false"/>
+ <property key="extra-include-directories" value=""/>
+ <property key="isolate-each-function" value="false"/>
+ <property key="keep-inline" value="false"/>
+ <property key="oXC16gcc-align-arr" value="false"/>
+ <property key="oXC16gcc-cnsts-mauxflash" value="false"/>
+ <property key="oXC16gcc-data-sects" value="false"/>
+ <property key="oXC16gcc-errata" value=""/>
+ <property key="oXC16gcc-fillupper" value=""/>
+ <property key="oXC16gcc-large-aggregate" value="false"/>
+ <property key="oXC16gcc-mauxflash" value="false"/>
+ <property key="oXC16gcc-mpa-lvl" value=""/>
+ <property key="oXC16gcc-name-text-sec" value=""/>
+ <property key="oXC16gcc-near-chars" value="false"/>
+ <property key="oXC16gcc-no-isr-warn" value="false"/>
+ <property key="oXC16gcc-sfr-warn" value="false"/>
+ <property key="oXC16gcc-smar-io-lvl" value="1"/>
+ <property key="oXC16gcc-smart-io-fmt" value=""/>
+ <property key="optimization-level" value="0"/>
+ <property key="post-instruction-scheduling" value="default"/>
+ <property key="pre-instruction-scheduling" value="default"/>
+ <property key="preprocessor-macros" value=""/>
+ <property key="scalar-model" value="default"/>
+ <property key="use-cci" value="false"/>
+ <property key="use-iar" value="false"/>
+ </C30>
+ <C30-AR>
+ <property key="additional-options-chop-files" value="false"/>
+ </C30-AR>
+ <C30-AS>
+ <property key="assembler-symbols" value=""/>
+ <property key="expand-macros" value="false"/>
+ <property key="extra-include-directories-for-assembler" value=""/>
+ <property key="extra-include-directories-for-preprocessor" value=""/>
+ <property key="false-conditionals" value="false"/>
+ <property key="keep-locals" value="false"/>
+ <property key="list-assembly" value="false"/>
+ <property key="list-section-info" value="false"/>
+ <property key="list-source" value="false"/>
+ <property key="list-symbols" value="false"/>
+ <property key="oXC16asm-extra-opts" value=""/>
+ <property key="oXC16asm-list-to-file" value="false"/>
+ <property key="omit-debug-dirs" value="false"/>
+ <property key="omit-forms" value="false"/>
+ <property key="preprocessor-macros" value=""/>
+ <property key="relax" value="false"/>
+ <property key="warning-level" value="emit-warnings"/>
+ </C30-AS>
+ <C30-CO>
+ <property key="coverage-enable" value=""/>
+ </C30-CO>
+ <C30-LD>
+ <property key="additional-options-use-response-files" value="false"/>
+ <property key="boot-eeprom" value="no_eeprom"/>
+ <property key="boot-flash" value="no_flash"/>
+ <property key="boot-ram" value="no_ram"/>
+ <property key="boot-write-protect" value="no_write_protect"/>
+ <property key="enable-check-sections" value="false"/>
+ <property key="enable-data-init" value="true"/>
+ <property key="enable-default-isr" value="true"/>
+ <property key="enable-handles" value="true"/>
+ <property key="enable-pack-data" value="true"/>
+ <property key="extra-lib-directories" value=""/>
+ <property key="fill-flash-options-addr" value=""/>
+ <property key="fill-flash-options-const" value=""/>
+ <property key="fill-flash-options-how" value="0"/>
+ <property key="fill-flash-options-inc-const" value="1"/>
+ <property key="fill-flash-options-increment" value=""/>
+ <property key="fill-flash-options-seq" value=""/>
+ <property key="fill-flash-options-what" value="0"/>
+ <property key="general-code-protect" value="no_code_protect"/>
+ <property key="general-write-protect" value="no_write_protect"/>
+ <property key="generate-cross-reference-file" value="false"/>
+ <property key="heap-size" value=""/>
+ <property key="input-libraries" value=""/>
+ <property key="linker-stack" value="true"/>
+ <property key="linker-symbols" value=""/>
+ <property key="map-file" value="${DISTDIR}/${PROJECTNAME}.${IMAGE_TYPE}.map"/>
+ <property key="no-ivt" value="false"/>
+ <property key="oXC16ld-extra-opts" value=""/>
+ <property key="oXC16ld-fill-upper" value="0"/>
+ <property key="oXC16ld-force-link" value="false"/>
+ <property key="oXC16ld-no-smart-io" value="false"/>
+ <property key="oXC16ld-nostdlib" value="false"/>
+ <property key="oXC16ld-stackguard" value="16"/>
+ <property key="preprocessor-macros" value=""/>
+ <property key="remove-unused-sections" value="false"/>
+ <property key="report-memory-usage" value="true"/>
+ <property key="secure-eeprom" value="no_eeprom"/>
+ <property key="secure-flash" value="no_flash"/>
+ <property key="secure-ram" value="no_ram"/>
+ <property key="secure-write-protect" value="no_write_protect"/>
+ <property key="stack-size" value="16"/>
+ <property key="symbol-stripping" value=""/>
+ <property key="trace-symbols" value=""/>
+ <property key="warn-section-align" value="false"/>
+ </C30-LD>
+ <C30Global>
+ <property key="common-include-directories" value=""/>
+ <property key="dual-boot-partition" value="0"/>
+ <property key="fast-math" value="false"/>
+ <property key="generic-16-bit" value="false"/>
+ <property key="legacy-libc" value="true"/>
+ <property key="mpreserve-all" value="false"/>
+ <property key="oXC16glb-macros" value=""/>
+ <property key="output-file-format" value="elf"/>
+ <property key="preserve-all" value="false"/>
+ <property key="preserve-file" value=""/>
+ <property key="relaxed-math" value="false"/>
+ <property key="save-temps" value="false"/>
+ </C30Global>
+ </conf>
+ </confs>
+</configurationDescriptor>
diff --git a/HW3.X/nbproject/private/configurations.xml b/Lab2A.X/nbproject/private/configurations.xml
index 7551fab..f0a581b 100644
--- a/HW3.X/nbproject/private/configurations.xml
+++ b/Lab2A.X/nbproject/private/configurations.xml
@@ -1,25 +1,25 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<configurationDescriptor version="65">
- <projectmakefile>Makefile</projectmakefile>
- <defaultConf>0</defaultConf>
- <confs>
- <conf name="default" type="2">
- <platformToolSN></platformToolSN>
- <languageToolchainDir>C:\Program Files\Microchip\xc16\v1.50\bin</languageToolchainDir>
- <mdbdebugger version="1">
- <placeholder1>place holder 1</placeholder1>
- <placeholder2>place holder 2</placeholder2>
- </mdbdebugger>
- <runprofile version="6">
- <args></args>
- <rundir></rundir>
- <buildfirst>true</buildfirst>
- <console-type>0</console-type>
- <terminal-type>0</terminal-type>
- <remove-instrumentation>0</remove-instrumentation>
- <environment>
- </environment>
- </runprofile>
- </conf>
- </confs>
-</configurationDescriptor>
+<?xml version="1.0" encoding="UTF-8"?>
+<configurationDescriptor version="65">
+ <projectmakefile>Makefile</projectmakefile>
+ <defaultConf>0</defaultConf>
+ <confs>
+ <conf name="default" type="2">
+ <platformToolSN></platformToolSN>
+ <languageToolchainDir>C:\Program Files (x86)\Microchip\xc16\v1.41\bin</languageToolchainDir>
+ <mdbdebugger version="1">
+ <placeholder1>place holder 1</placeholder1>
+ <placeholder2>place holder 2</placeholder2>
+ </mdbdebugger>
+ <runprofile version="6">
+ <args></args>
+ <rundir></rundir>
+ <buildfirst>true</buildfirst>
+ <console-type>0</console-type>
+ <terminal-type>0</terminal-type>
+ <remove-instrumentation>0</remove-instrumentation>
+ <environment>
+ </environment>
+ </runprofile>
+ </conf>
+ </confs>
+</configurationDescriptor>
diff --git a/Lab 2.X/nbproject/private/private.xml b/Lab2A.X/nbproject/private/private.xml
index 284eeec..6807a2b 100644
--- a/Lab 2.X/nbproject/private/private.xml
+++ b/Lab2A.X/nbproject/private/private.xml
@@ -1,7 +1,7 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<project-private xmlns="http://www.netbeans.org/ns/project-private/1">
- <editor-bookmarks xmlns="http://www.netbeans.org/ns/editor-bookmarks/2" lastBookmarkId="0"/>
- <open-files xmlns="http://www.netbeans.org/ns/projectui-open-files/2">
- <group/>
- </open-files>
-</project-private>
+<?xml version="1.0" encoding="UTF-8"?>
+<project-private xmlns="http://www.netbeans.org/ns/project-private/1">
+ <editor-bookmarks xmlns="http://www.netbeans.org/ns/editor-bookmarks/2" lastBookmarkId="0"/>
+ <open-files xmlns="http://www.netbeans.org/ns/projectui-open-files/2">
+ <group/>
+ </open-files>
+</project-private>
diff --git a/Lab 2.X/nbproject/project.xml b/Lab2A.X/nbproject/project.xml
index 3d83cc6..07edd7c 100644
--- a/Lab 2.X/nbproject/project.xml
+++ b/Lab2A.X/nbproject/project.xml
@@ -1,29 +1,27 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<project xmlns="http://www.netbeans.org/ns/project/1">
- <type>com.microchip.mplab.nbide.embedded.makeproject</type>
- <configuration>
- <data xmlns="http://www.netbeans.org/ns/make-project/1">
- <name>Lab_2A</name>
- <creation-uuid>a04173f8-bbe6-4995-8b6c-22a146ec3d91</creation-uuid>
- <make-project-type>0</make-project-type>
- <c-extensions/>
- <cpp-extensions/>
- <header-extensions/>
- <asminc-extensions/>
- <sourceEncoding>ISO-8859-1</sourceEncoding>
- <make-dep-projects/>
- <sourceRootList>
- <sourceRootElem>.</sourceRootElem>
- </sourceRootList>
- <confList>
- <confElem>
- <name>default</name>
- <type>2</type>
- </confElem>
- </confList>
- <formatting>
- <project-formatting-style>false</project-formatting-style>
- </formatting>
- </data>
- </configuration>
-</project>
+<?xml version="1.0" encoding="UTF-8"?>
+<project xmlns="http://www.netbeans.org/ns/project/1">
+ <type>com.microchip.mplab.nbide.embedded.makeproject</type>
+ <configuration>
+ <data xmlns="http://www.netbeans.org/ns/make-project/1">
+ <name>Lab 2</name>
+ <creation-uuid>a04173f8-bbe6-4995-8b6c-22a146ec3d91</creation-uuid>
+ <make-project-type>0</make-project-type>
+ <c-extensions/>
+ <cpp-extensions/>
+ <header-extensions/>
+ <asminc-extensions/>
+ <sourceEncoding>ISO-8859-1</sourceEncoding>
+ <make-dep-projects/>
+ <sourceRootList/>
+ <confList>
+ <confElem>
+ <name>default</name>
+ <type>2</type>
+ </confElem>
+ </confList>
+ <formatting>
+ <project-formatting-style>false</project-formatting-style>
+ </formatting>
+ </data>
+ </configuration>
+</project>
diff --git a/Lab 2.X/Makefile b/Lab2B.X/Makefile
index fca8e2c..fca8e2c 100644
--- a/Lab 2.X/Makefile
+++ b/Lab2B.X/Makefile
diff --git a/HW3.X/dist/default/production/memoryfile.xml b/Lab2B.X/dist/default/debug/memoryfile.xml
index 22401db..76b7a05 100644
--- a/HW3.X/dist/default/production/memoryfile.xml
+++ b/Lab2B.X/dist/default/debug/memoryfile.xml
@@ -1,18 +1,18 @@
-<?xml version="1.0" encoding="UTF-8"?>
-
-<project>
- <executable name="dist/default/production/HW3.X.production.elf">
- <memory name="data">
- <units>bytes</units>
- <length>8192</length>
- <used>4</used>
- <free>8188</free>
- </memory>
- <memory name="program">
- <units>bytes</units>
- <length>65274</length>
- <used>453</used>
- <free>64821</free>
- </memory>
- </executable>
-</project>
+<?xml version="1.0" encoding="UTF-8"?>
+
+<project>
+ <executable name="dist/default/debug/Lab_2B.X.debug.elf">
+ <memory name="data">
+ <units>bytes</units>
+ <length>8192</length>
+ <used>80</used>
+ <free>8112</free>
+ </memory>
+ <memory name="program">
+ <units>bytes</units>
+ <length>65274</length>
+ <used>1056</used>
+ <free>64218</free>
+ </memory>
+ </executable>
+</project>
diff --git a/Lab2B.X/dist/default/production/memoryfile.xml b/Lab2B.X/dist/default/production/memoryfile.xml
new file mode 100644
index 0000000..386e890
--- /dev/null
+++ b/Lab2B.X/dist/default/production/memoryfile.xml
@@ -0,0 +1,18 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<project>
+ <executable name="dist/default/production/Lab_2B.X.production.elf">
+ <memory name="data">
+ <units>bytes</units>
+ <length>8192</length>
+ <used>0</used>
+ <free>8192</free>
+ </memory>
+ <memory name="program">
+ <units>bytes</units>
+ <length>65274</length>
+ <used>1059</used>
+ <free>64215</free>
+ </memory>
+ </executable>
+</project>
diff --git a/Lab_2B.X/lab2b_asm.s b/Lab2B.X/lab2b_asm.s
index ddee29b..2dfc361 100644
--- a/Lab_2B.X/lab2b_asm.s
+++ b/Lab2B.X/lab2b_asm.s
@@ -1,40 +1,40 @@
-.include "xc.inc"
-
-.text ;BP (put the following data in ROM(program memory))
-
-; This is a library, thus it can *not* contain a _main function: the C file will
-; define main(). However, we
-; we will need a .global statement to make available ASM functions to C code.
-; All functions utilized outside of this file will need to have a leading
-; underscore (_) and be included in a comment delimited list below.
-.global _write_0, _write_1, _wait_100us, _wait_1ms
-
-_wait_100us:
- repeat #1593
- nop
- return
-
-_wait_1ms:
- repeat #15993
- nop
- return
-
-_write_0: ;2 cycles for function call
- inc LATA ;1
- repeat #2 ;1 for load
- nop ;2+1=3 nop
- clr LATA ;1
- repeat #6 ;1 for load
- nop ;1+6=7 nop
- return ;3 return
-
-
-_write_1: ;2 cycle call
- inc LATA ;1
- repeat #8 ;1 load
- nop ;1+9=10 nop
- clr LATA ;1
- nop ;1
- nop ;1
- return ;3 return
+.include "xc.inc"
+
+.text ;BP (put the following data in ROM(program memory))
+
+; This is a library, thus it can *not* contain a _main function: the C file will
+; define main(). However, we
+; we will need a .global statement to make available ASM functions to C code.
+; All functions utilized outside of this file will need to have a leading
+; underscore (_) and be included in a comment delimited list below.
+.global _write_0, _write_1, _wait_100us, _wait_1ms
+
+_wait_100us:
+ repeat #1593
+ nop
+ return
+
+_wait_1ms:
+ repeat #15993
+ nop
+ return
+
+_write_0: ;2 cycles for function call
+ inc LATA ;1
+ repeat #2 ;1 for load
+ nop ;2+1=3 nop
+ clr LATA ;1
+ repeat #6 ;1 for load
+ nop ;1+6=7 nop
+ return ;3 return
+
+
+_write_1: ;2 cycle call
+ inc LATA ;1
+ repeat #8 ;1 load
+ nop ;1+9=10 nop
+ clr LATA ;1
+ nop ;1
+ nop ;1
+ return ;3 return
\ No newline at end of file
diff --git a/Lab2B.X/lab2b_c.c b/Lab2B.X/lab2b_c.c
new file mode 100644
index 0000000..c8f62b8
--- /dev/null
+++ b/Lab2B.X/lab2b_c.c
@@ -0,0 +1,153 @@
+#include "xc.h"
+#include "lab2b_header.h"
+#include "stdint.h"
+// CW1: FLASH CONFIGURATION WORD 1 (see PIC24 Family Reference Manual 24.1)
+#pragma config ICS = PGx1 // Comm Channel Select (Emulator EMUC1/EMUD1 pins are shared with PGC1/PGD1)
+#pragma config FWDTEN = OFF // Watchdog Timer Enable (Watchdog Timer is disabled)
+#pragma config GWRP = OFF // General Code Segment Write Protect (Writes to program memory are allowed)
+#pragma config GCP = OFF // General Code Segment Code Protect (Code protection is disabled)
+#pragma config JTAGEN = OFF // JTAG Port Enable (JTAG port is disabled)
+
+
+// CW2: FLASH CONFIGURATION WORD 2 (see PIC24 Family Reference Manual 24.1)
+#pragma config I2C1SEL = PRI // I2C1 Pin Location Select (Use default SCL1/SDA1 pins)
+#pragma config IOL1WAY = OFF // IOLOCK Protection (IOLOCK may be changed via unlocking seq)
+#pragma config OSCIOFNC = ON // Primary Oscillator I/O Function (CLKO/RC15 functions as I/O pin)
+#pragma config FCKSM = CSECME // Clock Switching and Monitor (Clock switching is enabled,
+ // Fail-Safe Clock Monitor is enabled)
+#pragma config FNOSC = FRCPLL // Oscillator Select (Fast RC Oscillator with PLL module (FRCPLL))
+#define PERIOD 30
+
+//DEFINTIONS
+void writeColor(int r, int g, int b);
+void loop(void);
+void delay(int delay_in_ms);
+uint32_t packColor(unsigned char Red, unsigned char Grn, unsigned char Blu);
+unsigned char getR(uint32_t RGBval);
+unsigned char getG(uint32_t RGBval);
+unsigned char getB(uint32_t RGBval);
+void writePacCol(uint32_t PackedColor);
+uint32_t Wheel(unsigned char WheelPos);
+
+void setup(void) {
+ CLKDIVbits.RCDIV = 0; //Set RCDIV=1:1 (default 2:1) 32MHz or FCY/2=16M
+ AD1PCFG = 0x9fff;
+ TRISA = 0b1111111111111110;
+ TRISB = 0x0000;
+ wait_1ms();
+}
+
+int main(void) {
+ setup();
+ wait_100us();
+ loop();
+ return 0;
+}
+
+void loop(void) {
+ while (1) {
+// LATA = 0x0000;
+// wait_100us();
+//
+// //RED
+// write_1();
+// write_1();
+// write_1();
+// write_1();
+//
+// write_1();
+// write_1();
+// write_1();
+// write_1();
+//
+// //GREEN
+// write_1();
+// write_0();
+// write_0();
+// write_1();
+//
+// write_1();
+// write_0();
+// write_1();
+// write_1();
+//
+// //BLUE
+// write_0();
+// write_0();
+// write_0();
+// write_0();
+//
+// write_0();
+// write_0();
+// write_0();
+// write_0();
+/*
+ writeColor(255, 155, 000);
+*/
+ int byteFrameNumber = 0;
+ while (byteFrameNumber <= 255) {
+// // COLOR GRADIENT
+// writeColor(byteFrameNumber, 0 , 255 - byteFrameNumber);
+
+ //COLOR WHEEL
+ writePacCol(Wheel(byteFrameNumber));
+ delay(PERIOD);
+ byteFrameNumber++;
+ }
+ }
+}
+
+void writeColor(int r, int g, int b) {
+ write_0();
+ wait_100us();
+ int i;
+ for(i = 7; i >= 0; i--) {
+ r & (1 << i) ? write_1() : write_0();
+ }
+ for(i = 7; i >= 0; i--) {
+ g & (1 << i) ? write_1() : write_0();
+ }
+ for(i = 7; i >= 0; i--) {
+ b & (1 << i) ? write_1() : write_0();
+ }
+}
+
+void delay(int delay_in_ms) {
+ int i;
+ for (i = 0; i < delay_in_ms; i++) {
+ wait_1ms();
+ }
+}
+
+uint32_t packColor(unsigned char Red, unsigned char Grn, unsigned char Blu) {
+ return ((long) Red << 16) | ((long) Grn << 8) | ((long) Blu);
+}
+
+unsigned char getR(uint32_t RGBval) {
+ return (unsigned char) (RGBval >> 16);
+}
+unsigned char getG(uint32_t RGBval) {
+ return (unsigned char) (RGBval >> 8 );
+}
+unsigned char getB(uint32_t RGBval) {
+ return (unsigned char) (RGBval >> 0 );
+}
+
+void writePacCol(uint32_t PackedColor) {
+ writeColor(getR(PackedColor), getG(PackedColor), getB(PackedColor));
+}
+
+uint32_t Wheel(unsigned char WheelPos) {
+// Input a value 0 to 255 to get a color value.
+// The colours are a transition r - g - b - back to r.
+ WheelPos = 255 - WheelPos;
+ if(WheelPos < 85) {
+ return packColor(255 - WheelPos * 3, 0, WheelPos * 3);
+ }
+ if(WheelPos < 170) {
+ WheelPos -= 85;
+ return packColor(0, WheelPos * 3, 255 - WheelPos * 3);
+ }
+ WheelPos -= 170;
+ return packColor(WheelPos * 3, 255 - WheelPos * 3, 0);
+} \ No newline at end of file
diff --git a/Lab2B.X/lab2b_header.h b/Lab2B.X/lab2b_header.h
new file mode 100644
index 0000000..d53f522
--- /dev/null
+++ b/Lab2B.X/lab2b_header.h
@@ -0,0 +1,15 @@
+#ifndef LAB2B_ASM
+#define LAB2B_ASM
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+void wait_100us(void);
+void wait_1ms(void);
+void write_0(void);
+void write_1(void);
+#ifdef __cplusplus
+}
+#endif
+
+#endif /* LAB2B_ASM */ \ No newline at end of file
diff --git a/Lab_2B.X/nbproject/Makefile-default.mk b/Lab2B.X/nbproject/Makefile-default.mk
index 5ab6334..27dc4d4 100644
--- a/Lab_2B.X/nbproject/Makefile-default.mk
+++ b/Lab2B.X/nbproject/Makefile-default.mk
@@ -30,12 +30,12 @@ ifeq ($(TYPE_IMAGE), DEBUG_RUN)
IMAGE_TYPE=debug
OUTPUT_SUFFIX=elf
DEBUGGABLE_SUFFIX=elf
-FINAL_IMAGE=dist/${CND_CONF}/${IMAGE_TYPE}/Lab_2B.X.${IMAGE_TYPE}.${OUTPUT_SUFFIX}
+FINAL_IMAGE=dist/${CND_CONF}/${IMAGE_TYPE}/Lab2B.X.${IMAGE_TYPE}.${OUTPUT_SUFFIX}
else
IMAGE_TYPE=production
OUTPUT_SUFFIX=hex
DEBUGGABLE_SUFFIX=elf
-FINAL_IMAGE=dist/${CND_CONF}/${IMAGE_TYPE}/Lab_2B.X.${IMAGE_TYPE}.${OUTPUT_SUFFIX}
+FINAL_IMAGE=dist/${CND_CONF}/${IMAGE_TYPE}/Lab2B.X.${IMAGE_TYPE}.${OUTPUT_SUFFIX}
endif
ifeq ($(COMPARE_BUILD), true)
@@ -88,7 +88,7 @@ FIXDEPS=fixDeps
ifneq ($(INFORMATION_MESSAGE), )
@echo $(INFORMATION_MESSAGE)
endif
- ${MAKE} -f nbproject/Makefile-default.mk dist/${CND_CONF}/${IMAGE_TYPE}/Lab_2B.X.${IMAGE_TYPE}.${OUTPUT_SUFFIX}
+ ${MAKE} -f nbproject/Makefile-default.mk dist/${CND_CONF}/${IMAGE_TYPE}/Lab2B.X.${IMAGE_TYPE}.${OUTPUT_SUFFIX}
MP_PROCESSOR_OPTION=24FJ64GA002
MP_LINKER_FILE_OPTION=,--script=p24FJ64GA002.gld
@@ -99,7 +99,7 @@ ${OBJECTDIR}/lab2b_c.o: lab2b_c.c nbproject/Makefile-${CND_CONF}.mk
@${MKDIR} "${OBJECTDIR}"
@${RM} ${OBJECTDIR}/lab2b_c.o.d
@${RM} ${OBJECTDIR}/lab2b_c.o
- ${MP_CC} $(MP_EXTRA_CC_PRE) lab2b_c.c -o ${OBJECTDIR}/lab2b_c.o -c -mcpu=$(MP_PROCESSOR_OPTION) -MMD -MF "${OBJECTDIR}/lab2b_c.o.d" -g -D__DEBUG -D__MPLAB_DEBUGGER_PK3=1 -omf=elf -DXPRJ_default=$(CND_CONF) -legacy-libc $(COMPARISON_BUILD) -O0 -msmart-io=1 -Wall -msfr-warn=off -mdfp=${DFP_DIR}/xc16
+ ${MP_CC} $(MP_EXTRA_CC_PRE) lab2b_c.c -o ${OBJECTDIR}/lab2b_c.o -c -mcpu=$(MP_PROCESSOR_OPTION) -MMD -MF "${OBJECTDIR}/lab2b_c.o.d" -g -D__DEBUG -D__MPLAB_DEBUGGER_PK3=1 -omf=elf -DXPRJ_default=$(CND_CONF) -legacy-libc $(COMPARISON_BUILD) -O0 -msmart-io=1 -Wall -msfr-warn=off
@${FIXDEPS} "${OBJECTDIR}/lab2b_c.o.d" $(SILENT) -rsi ${MP_CC_DIR}../
else
@@ -107,7 +107,7 @@ ${OBJECTDIR}/lab2b_c.o: lab2b_c.c nbproject/Makefile-${CND_CONF}.mk
@${MKDIR} "${OBJECTDIR}"
@${RM} ${OBJECTDIR}/lab2b_c.o.d
@${RM} ${OBJECTDIR}/lab2b_c.o
- ${MP_CC} $(MP_EXTRA_CC_PRE) lab2b_c.c -o ${OBJECTDIR}/lab2b_c.o -c -mcpu=$(MP_PROCESSOR_OPTION) -MMD -MF "${OBJECTDIR}/lab2b_c.o.d" -g -omf=elf -DXPRJ_default=$(CND_CONF) -legacy-libc $(COMPARISON_BUILD) -O0 -msmart-io=1 -Wall -msfr-warn=off -mdfp=${DFP_DIR}/xc16
+ ${MP_CC} $(MP_EXTRA_CC_PRE) lab2b_c.c -o ${OBJECTDIR}/lab2b_c.o -c -mcpu=$(MP_PROCESSOR_OPTION) -MMD -MF "${OBJECTDIR}/lab2b_c.o.d" -g -omf=elf -DXPRJ_default=$(CND_CONF) -legacy-libc $(COMPARISON_BUILD) -O0 -msmart-io=1 -Wall -msfr-warn=off
@${FIXDEPS} "${OBJECTDIR}/lab2b_c.o.d" $(SILENT) -rsi ${MP_CC_DIR}../
endif
@@ -119,7 +119,7 @@ ${OBJECTDIR}/lab2b_asm.o: lab2b_asm.s nbproject/Makefile-${CND_CONF}.mk
@${MKDIR} "${OBJECTDIR}"
@${RM} ${OBJECTDIR}/lab2b_asm.o.d
@${RM} ${OBJECTDIR}/lab2b_asm.o
- ${MP_CC} $(MP_EXTRA_AS_PRE) lab2b_asm.s -o ${OBJECTDIR}/lab2b_asm.o -c -mcpu=$(MP_PROCESSOR_OPTION) -D__DEBUG -D__MPLAB_DEBUGGER_PK3=1 -omf=elf -DXPRJ_default=$(CND_CONF) -legacy-libc -Wa,-MD,"${OBJECTDIR}/lab2b_asm.o.d",--defsym=__MPLAB_BUILD=1,--defsym=__ICD2RAM=1,--defsym=__MPLAB_DEBUG=1,--defsym=__DEBUG=1,--defsym=__MPLAB_DEBUGGER_PK3=1,-g,--no-relax$(MP_EXTRA_AS_POST) -mdfp=${DFP_DIR}/xc16
+ ${MP_CC} $(MP_EXTRA_AS_PRE) lab2b_asm.s -o ${OBJECTDIR}/lab2b_asm.o -c -mcpu=$(MP_PROCESSOR_OPTION) -D__DEBUG -D__MPLAB_DEBUGGER_PK3=1 -omf=elf -DXPRJ_default=$(CND_CONF) -legacy-libc -Wa,-MD,"${OBJECTDIR}/lab2b_asm.o.d",--defsym=__MPLAB_BUILD=1,--defsym=__ICD2RAM=1,--defsym=__MPLAB_DEBUG=1,--defsym=__DEBUG=1,--defsym=__MPLAB_DEBUGGER_PK3=1,-g,--no-relax$(MP_EXTRA_AS_POST)
@${FIXDEPS} "${OBJECTDIR}/lab2b_asm.o.d" $(SILENT) -rsi ${MP_CC_DIR}../
else
@@ -127,7 +127,7 @@ ${OBJECTDIR}/lab2b_asm.o: lab2b_asm.s nbproject/Makefile-${CND_CONF}.mk
@${MKDIR} "${OBJECTDIR}"
@${RM} ${OBJECTDIR}/lab2b_asm.o.d
@${RM} ${OBJECTDIR}/lab2b_asm.o
- ${MP_CC} $(MP_EXTRA_AS_PRE) lab2b_asm.s -o ${OBJECTDIR}/lab2b_asm.o -c -mcpu=$(MP_PROCESSOR_OPTION) -omf=elf -DXPRJ_default=$(CND_CONF) -legacy-libc -Wa,-MD,"${OBJECTDIR}/lab2b_asm.o.d",--defsym=__MPLAB_BUILD=1,-g,--no-relax$(MP_EXTRA_AS_POST) -mdfp=${DFP_DIR}/xc16
+ ${MP_CC} $(MP_EXTRA_AS_PRE) lab2b_asm.s -o ${OBJECTDIR}/lab2b_asm.o -c -mcpu=$(MP_PROCESSOR_OPTION) -omf=elf -DXPRJ_default=$(CND_CONF) -legacy-libc -Wa,-MD,"${OBJECTDIR}/lab2b_asm.o.d",--defsym=__MPLAB_BUILD=1,-g,--no-relax$(MP_EXTRA_AS_POST)
@${FIXDEPS} "${OBJECTDIR}/lab2b_asm.o.d" $(SILENT) -rsi ${MP_CC_DIR}../
endif
@@ -141,15 +141,15 @@ endif
# ------------------------------------------------------------------------------------
# Rules for buildStep: link
ifeq ($(TYPE_IMAGE), DEBUG_RUN)
-dist/${CND_CONF}/${IMAGE_TYPE}/Lab_2B.X.${IMAGE_TYPE}.${OUTPUT_SUFFIX}: ${OBJECTFILES} nbproject/Makefile-${CND_CONF}.mk
+dist/${CND_CONF}/${IMAGE_TYPE}/Lab2B.X.${IMAGE_TYPE}.${OUTPUT_SUFFIX}: ${OBJECTFILES} nbproject/Makefile-${CND_CONF}.mk
@${MKDIR} dist/${CND_CONF}/${IMAGE_TYPE}
- ${MP_CC} $(MP_EXTRA_LD_PRE) -o dist/${CND_CONF}/${IMAGE_TYPE}/Lab_2B.X.${IMAGE_TYPE}.${OUTPUT_SUFFIX} ${OBJECTFILES_QUOTED_IF_SPACED} -mcpu=$(MP_PROCESSOR_OPTION) -D__DEBUG=__DEBUG -D__MPLAB_DEBUGGER_PK3=1 -omf=elf -DXPRJ_default=$(CND_CONF) -legacy-libc $(COMPARISON_BUILD) -mreserve=data@0x800:0x81F -mreserve=data@0x820:0x821 -mreserve=data@0x822:0x823 -mreserve=data@0x824:0x825 -mreserve=data@0x826:0x84F -Wl,,,--defsym=__MPLAB_BUILD=1,--defsym=__MPLAB_DEBUG=1,--defsym=__DEBUG=1,-D__DEBUG=__DEBUG,--defsym=__MPLAB_DEBUGGER_PK3=1,$(MP_LINKER_FILE_OPTION),--stack=16,--check-sections,--data-init,--pack-data,--handles,--isr,--no-gc-sections,--fill-upper=0,--stackguard=16,--no-force-link,--smart-io,-Map="${DISTDIR}/${PROJECTNAME}.${IMAGE_TYPE}.map",--report-mem,--memorysummary,dist/${CND_CONF}/${IMAGE_TYPE}/memoryfile.xml$(MP_EXTRA_LD_POST) -mdfp=${DFP_DIR}/xc16
+ ${MP_CC} $(MP_EXTRA_LD_PRE) -o dist/${CND_CONF}/${IMAGE_TYPE}/Lab2B.X.${IMAGE_TYPE}.${OUTPUT_SUFFIX} ${OBJECTFILES_QUOTED_IF_SPACED} -mcpu=$(MP_PROCESSOR_OPTION) -D__DEBUG=__DEBUG -D__MPLAB_DEBUGGER_PK3=1 -omf=elf -DXPRJ_default=$(CND_CONF) -legacy-libc $(COMPARISON_BUILD) -mreserve=data@0x800:0x81F -mreserve=data@0x820:0x821 -mreserve=data@0x822:0x823 -mreserve=data@0x824:0x825 -mreserve=data@0x826:0x84F -Wl,,,--defsym=__MPLAB_BUILD=1,--defsym=__MPLAB_DEBUG=1,--defsym=__DEBUG=1,-D__DEBUG=__DEBUG,--defsym=__MPLAB_DEBUGGER_PK3=1,$(MP_LINKER_FILE_OPTION),--stack=16,--check-sections,--data-init,--pack-data,--handles,--isr,--no-gc-sections,--fill-upper=0,--stackguard=16,--no-force-link,--smart-io,-Map="${DISTDIR}/${PROJECTNAME}.${IMAGE_TYPE}.map",--report-mem,--memorysummary,dist/${CND_CONF}/${IMAGE_TYPE}/memoryfile.xml$(MP_EXTRA_LD_POST)
else
-dist/${CND_CONF}/${IMAGE_TYPE}/Lab_2B.X.${IMAGE_TYPE}.${OUTPUT_SUFFIX}: ${OBJECTFILES} nbproject/Makefile-${CND_CONF}.mk
+dist/${CND_CONF}/${IMAGE_TYPE}/Lab2B.X.${IMAGE_TYPE}.${OUTPUT_SUFFIX}: ${OBJECTFILES} nbproject/Makefile-${CND_CONF}.mk
@${MKDIR} dist/${CND_CONF}/${IMAGE_TYPE}
- ${MP_CC} $(MP_EXTRA_LD_PRE) -o dist/${CND_CONF}/${IMAGE_TYPE}/Lab_2B.X.${IMAGE_TYPE}.${DEBUGGABLE_SUFFIX} ${OBJECTFILES_QUOTED_IF_SPACED} -mcpu=$(MP_PROCESSOR_OPTION) -omf=elf -DXPRJ_default=$(CND_CONF) -legacy-libc $(COMPARISON_BUILD) -Wl,,,--defsym=__MPLAB_BUILD=1,$(MP_LINKER_FILE_OPTION),--stack=16,--check-sections,--data-init,--pack-data,--handles,--isr,--no-gc-sections,--fill-upper=0,--stackguard=16,--no-force-link,--smart-io,-Map="${DISTDIR}/${PROJECTNAME}.${IMAGE_TYPE}.map",--report-mem,--memorysummary,dist/${CND_CONF}/${IMAGE_TYPE}/memoryfile.xml$(MP_EXTRA_LD_POST) -mdfp=${DFP_DIR}/xc16
- ${MP_CC_DIR}\\xc16-bin2hex dist/${CND_CONF}/${IMAGE_TYPE}/Lab_2B.X.${IMAGE_TYPE}.${DEBUGGABLE_SUFFIX} -a -omf=elf -mdfp=${DFP_DIR}/xc16
+ ${MP_CC} $(MP_EXTRA_LD_PRE) -o dist/${CND_CONF}/${IMAGE_TYPE}/Lab2B.X.${IMAGE_TYPE}.${DEBUGGABLE_SUFFIX} ${OBJECTFILES_QUOTED_IF_SPACED} -mcpu=$(MP_PROCESSOR_OPTION) -omf=elf -DXPRJ_default=$(CND_CONF) -legacy-libc $(COMPARISON_BUILD) -Wl,,,--defsym=__MPLAB_BUILD=1,$(MP_LINKER_FILE_OPTION),--stack=16,--check-sections,--data-init,--pack-data,--handles,--isr,--no-gc-sections,--fill-upper=0,--stackguard=16,--no-force-link,--smart-io,-Map="${DISTDIR}/${PROJECTNAME}.${IMAGE_TYPE}.map",--report-mem,--memorysummary,dist/${CND_CONF}/${IMAGE_TYPE}/memoryfile.xml$(MP_EXTRA_LD_POST)
+ ${MP_CC_DIR}\\xc16-bin2hex dist/${CND_CONF}/${IMAGE_TYPE}/Lab2B.X.${IMAGE_TYPE}.${DEBUGGABLE_SUFFIX} -a -omf=elf
endif
diff --git a/Lab2B.X/nbproject/Makefile-genesis.properties b/Lab2B.X/nbproject/Makefile-genesis.properties
new file mode 100644
index 0000000..6900e22
--- /dev/null
+++ b/Lab2B.X/nbproject/Makefile-genesis.properties
@@ -0,0 +1,10 @@
+#
+#Wed Apr 08 11:00:01 CDT 2020
+default.Pack.dfplocation=
+default.com-microchip-mplab-nbide-toolchainXC16-XC16LanguageToolchain.md5=859fc649e7017fd01769e2187e1537a7
+default.languagetoolchain.dir=C\:\\Program Files\\Microchip\\xc16\\v1.50\\bin
+configurations-xml=e601777007ceef34a0de9288bb063c9a
+com-microchip-mplab-nbide-embedded-makeproject-MakeProject.md5=5db0f4d6bbe0ec2a1f1096ccfb9d7ad3
+default.languagetoolchain.version=1.50
+host.platform=windows
+conf.ids=default
diff --git a/Lab_2B.X/nbproject/Makefile-impl.mk b/Lab2B.X/nbproject/Makefile-impl.mk
index d19ad88..58626eb 100644
--- a/Lab_2B.X/nbproject/Makefile-impl.mk
+++ b/Lab2B.X/nbproject/Makefile-impl.mk
@@ -24,7 +24,7 @@ CLEAN_SUBPROJECTS=${CLEAN_SUBPROJECTS_${SUBPROJECTS}}
# Project Name
-PROJECTNAME=Lab_2B.X
+PROJECTNAME=Lab2B.X
# Active Configuration
DEFAULTCONF=default
diff --git a/Lab_2B.X/nbproject/Makefile-local-default.mk b/Lab2B.X/nbproject/Makefile-local-default.mk
index 214e7fa..bb871de 100644
--- a/Lab_2B.X/nbproject/Makefile-local-default.mk
+++ b/Lab2B.X/nbproject/Makefile-local-default.mk
@@ -15,24 +15,23 @@
# $ makeMP_CC="/opt/microchip/mplabc30/v3.30c/bin/pic30-gcc" ...
#
SHELL=cmd.exe
-PATH_TO_IDE_BIN=C:/Program Files (x86)/Microchip/MPLABX/v5.30/mplab_platform/platform/../mplab_ide/modules/../../bin/
+PATH_TO_IDE_BIN=C:/Program Files (x86)/Microchip/MPLABX/v5.35/mplab_platform/platform/../mplab_ide/modules/../../bin/
# Adding MPLAB X bin directory to path.
-PATH:=C:/Program Files (x86)/Microchip/MPLABX/v5.30/mplab_platform/platform/../mplab_ide/modules/../../bin/:$(PATH)
+PATH:=C:/Program Files (x86)/Microchip/MPLABX/v5.35/mplab_platform/platform/../mplab_ide/modules/../../bin/:$(PATH)
# Path to java used to run MPLAB X when this makefile was created
-MP_JAVA_PATH="C:\Program Files (x86)\Microchip\MPLABX\v5.30\sys\java\jre1.8.0_181/bin/"
+MP_JAVA_PATH="C:\Program Files (x86)\Microchip\MPLABX\v5.35\sys\java\jre1.8.0_181/bin/"
OS_CURRENT="$(shell uname -s)"
-MP_CC="C:\Program Files (x86)\Microchip\xc16\v1.41\bin\xc16-gcc.exe"
+MP_CC="C:\Program Files\Microchip\xc16\v1.50\bin\xc16-gcc.exe"
# MP_CPPC is not defined
# MP_BC is not defined
-MP_AS="C:\Program Files (x86)\Microchip\xc16\v1.41\bin\xc16-as.exe"
-MP_LD="C:\Program Files (x86)\Microchip\xc16\v1.41\bin\xc16-ld.exe"
-MP_AR="C:\Program Files (x86)\Microchip\xc16\v1.41\bin\xc16-ar.exe"
-DEP_GEN=${MP_JAVA_PATH}java -jar "C:/Program Files (x86)/Microchip/MPLABX/v5.30/mplab_platform/platform/../mplab_ide/modules/../../bin/extractobjectdependencies.jar"
-MP_CC_DIR="C:\Program Files (x86)\Microchip\xc16\v1.41\bin"
+MP_AS="C:\Program Files\Microchip\xc16\v1.50\bin\xc16-as.exe"
+MP_LD="C:\Program Files\Microchip\xc16\v1.50\bin\xc16-ld.exe"
+MP_AR="C:\Program Files\Microchip\xc16\v1.50\bin\xc16-ar.exe"
+DEP_GEN=${MP_JAVA_PATH}java -jar "C:/Program Files (x86)/Microchip/MPLABX/v5.35/mplab_platform/platform/../mplab_ide/modules/../../bin/extractobjectdependencies.jar"
+MP_CC_DIR="C:\Program Files\Microchip\xc16\v1.50\bin"
# MP_CPPC_DIR is not defined
# MP_BC_DIR is not defined
-MP_AS_DIR="C:\Program Files (x86)\Microchip\xc16\v1.41\bin"
-MP_LD_DIR="C:\Program Files (x86)\Microchip\xc16\v1.41\bin"
-MP_AR_DIR="C:\Program Files (x86)\Microchip\xc16\v1.41\bin"
+MP_AS_DIR="C:\Program Files\Microchip\xc16\v1.50\bin"
+MP_LD_DIR="C:\Program Files\Microchip\xc16\v1.50\bin"
+MP_AR_DIR="C:\Program Files\Microchip\xc16\v1.50\bin"
# MP_BC_DIR is not defined
-DFP_DIR="C:/Program Files (x86)/Microchip/MPLABX/v5.30/packs/Microchip/PIC24F-GA-GB_DFP/1.1.74"
diff --git a/Lab_2B.X/nbproject/Makefile-variables.mk b/Lab2B.X/nbproject/Makefile-variables.mk
index 739f16b..aaa6f9f 100644
--- a/Lab_2B.X/nbproject/Makefile-variables.mk
+++ b/Lab2B.X/nbproject/Makefile-variables.mk
@@ -6,8 +6,8 @@
CND_BASEDIR=`pwd`
# default configuration
CND_ARTIFACT_DIR_default=dist/default/production
-CND_ARTIFACT_NAME_default=Lab_2B.X.production.hex
-CND_ARTIFACT_PATH_default=dist/default/production/Lab_2B.X.production.hex
+CND_ARTIFACT_NAME_default=Lab2B.X.production.hex
+CND_ARTIFACT_PATH_default=dist/default/production/Lab2B.X.production.hex
CND_PACKAGE_DIR_default=${CND_DISTDIR}/default/package
CND_PACKAGE_NAME_default=lab2b.x.tar
CND_PACKAGE_PATH_default=${CND_DISTDIR}/default/package/lab2b.x.tar
diff --git a/Lab_2B.X/nbproject/Package-default.bash b/Lab2B.X/nbproject/Package-default.bash
index c137317..ab6b25e 100644
--- a/Lab_2B.X/nbproject/Package-default.bash
+++ b/Lab2B.X/nbproject/Package-default.bash
@@ -10,8 +10,8 @@ CND_CONF=default
CND_DISTDIR=dist
TMPDIR=build/${CND_CONF}/${IMAGE_TYPE}/tmp-packaging
TMPDIRNAME=tmp-packaging
-OUTPUT_PATH=dist/${CND_CONF}/${IMAGE_TYPE}/Lab_2B.X.${IMAGE_TYPE}.${OUTPUT_SUFFIX}
-OUTPUT_BASENAME=Lab_2B.X.${IMAGE_TYPE}.${OUTPUT_SUFFIX}
+OUTPUT_PATH=dist/${CND_CONF}/${IMAGE_TYPE}/Lab2B.X.${IMAGE_TYPE}.${OUTPUT_SUFFIX}
+OUTPUT_BASENAME=Lab2B.X.${IMAGE_TYPE}.${OUTPUT_SUFFIX}
PACKAGE_TOP_DIR=lab2b.x/
# Functions
diff --git a/Lab2B.X/nbproject/configurations.xml b/Lab2B.X/nbproject/configurations.xml
new file mode 100644
index 0000000..5998fec
--- /dev/null
+++ b/Lab2B.X/nbproject/configurations.xml
@@ -0,0 +1,198 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<configurationDescriptor version="65">
+ <logicalFolder name="root" displayName="root" projectFiles="true">
+ <logicalFolder name="HeaderFiles"
+ displayName="Header Files"
+ projectFiles="true">
+ </logicalFolder>
+ <logicalFolder name="LinkerScript"
+ displayName="Linker Files"
+ projectFiles="true">
+ </logicalFolder>
+ <logicalFolder name="SourceFiles"
+ displayName="Source Files"
+ projectFiles="true">
+ <itemPath>lab2b_asm.s</itemPath>
+ <itemPath>lab2b_header.h</itemPath>
+ <itemPath>lab2b_c.c</itemPath>
+ </logicalFolder>
+ <logicalFolder name="ExternalFiles"
+ displayName="Important Files"
+ projectFiles="false">
+ <itemPath>Makefile</itemPath>
+ </logicalFolder>
+ </logicalFolder>
+ <sourceRootList>
+ <Elem>.</Elem>
+ </sourceRootList>
+ <projectmakefile>Makefile</projectmakefile>
+ <confs>
+ <conf name="default" type="2">
+ <toolsSet>
+ <developmentServer>localhost</developmentServer>
+ <targetDevice>PIC24FJ64GA002</targetDevice>
+ <targetHeader></targetHeader>
+ <targetPluginBoard></targetPluginBoard>
+ <platformTool>PK3OBPlatformTool</platformTool>
+ <languageToolchain>XC16</languageToolchain>
+ <languageToolchainVersion>1.50</languageToolchainVersion>
+ <platform>3</platform>
+ </toolsSet>
+ <packs>
+ <pack name="PIC24F-GA-GB_DFP" vendor="Microchip" version="1.1.74"/>
+ </packs>
+ <compileType>
+ <linkerTool>
+ <linkerLibItems>
+ </linkerLibItems>
+ </linkerTool>
+ <archiverTool>
+ </archiverTool>
+ <loading>
+ <useAlternateLoadableFile>false</useAlternateLoadableFile>
+ <parseOnProdLoad>false</parseOnProdLoad>
+ <alternateLoadableFile></alternateLoadableFile>
+ </loading>
+ <subordinates>
+ </subordinates>
+ </compileType>
+ <makeCustomizationType>
+ <makeCustomizationPreStepEnabled>false</makeCustomizationPreStepEnabled>
+ <makeCustomizationPreStep></makeCustomizationPreStep>
+ <makeCustomizationPostStepEnabled>false</makeCustomizationPostStepEnabled>
+ <makeCustomizationPostStep></makeCustomizationPostStep>
+ <makeCustomizationPutChecksumInUserID>false</makeCustomizationPutChecksumInUserID>
+ <makeCustomizationEnableLongLines>false</makeCustomizationEnableLongLines>
+ <makeCustomizationNormalizeHexFile>false</makeCustomizationNormalizeHexFile>
+ </makeCustomizationType>
+ <C30>
+ <property key="code-model" value="default"/>
+ <property key="const-model" value="default"/>
+ <property key="data-model" value="default"/>
+ <property key="disable-instruction-scheduling" value="false"/>
+ <property key="enable-all-warnings" value="true"/>
+ <property key="enable-ansi-std" value="false"/>
+ <property key="enable-ansi-warnings" value="false"/>
+ <property key="enable-fatal-warnings" value="false"/>
+ <property key="enable-large-arrays" value="false"/>
+ <property key="enable-omit-frame-pointer" value="false"/>
+ <property key="enable-procedural-abstraction" value="false"/>
+ <property key="enable-short-double" value="false"/>
+ <property key="enable-symbols" value="true"/>
+ <property key="enable-unroll-loops" value="false"/>
+ <property key="extra-include-directories" value=""/>
+ <property key="isolate-each-function" value="false"/>
+ <property key="keep-inline" value="false"/>
+ <property key="oXC16gcc-align-arr" value="false"/>
+ <property key="oXC16gcc-cnsts-mauxflash" value="false"/>
+ <property key="oXC16gcc-data-sects" value="false"/>
+ <property key="oXC16gcc-errata" value=""/>
+ <property key="oXC16gcc-fillupper" value=""/>
+ <property key="oXC16gcc-large-aggregate" value="false"/>
+ <property key="oXC16gcc-mauxflash" value="false"/>
+ <property key="oXC16gcc-mpa-lvl" value=""/>
+ <property key="oXC16gcc-name-text-sec" value=""/>
+ <property key="oXC16gcc-near-chars" value="false"/>
+ <property key="oXC16gcc-no-isr-warn" value="false"/>
+ <property key="oXC16gcc-sfr-warn" value="false"/>
+ <property key="oXC16gcc-smar-io-lvl" value="1"/>
+ <property key="oXC16gcc-smart-io-fmt" value=""/>
+ <property key="optimization-level" value="0"/>
+ <property key="post-instruction-scheduling" value="default"/>
+ <property key="pre-instruction-scheduling" value="default"/>
+ <property key="preprocessor-macros" value=""/>
+ <property key="scalar-model" value="default"/>
+ <property key="use-cci" value="false"/>
+ <property key="use-iar" value="false"/>
+ </C30>
+ <C30-AR>
+ <property key="additional-options-chop-files" value="false"/>
+ </C30-AR>
+ <C30-AS>
+ <property key="assembler-symbols" value=""/>
+ <property key="expand-macros" value="false"/>
+ <property key="extra-include-directories-for-assembler" value=""/>
+ <property key="extra-include-directories-for-preprocessor" value=""/>
+ <property key="false-conditionals" value="false"/>
+ <property key="keep-locals" value="false"/>
+ <property key="list-assembly" value="false"/>
+ <property key="list-section-info" value="false"/>
+ <property key="list-source" value="false"/>
+ <property key="list-symbols" value="false"/>
+ <property key="oXC16asm-extra-opts" value=""/>
+ <property key="oXC16asm-list-to-file" value="false"/>
+ <property key="omit-debug-dirs" value="false"/>
+ <property key="omit-forms" value="false"/>
+ <property key="preprocessor-macros" value=""/>
+ <property key="relax" value="false"/>
+ <property key="warning-level" value="emit-warnings"/>
+ </C30-AS>
+ <C30-CO>
+ <property key="coverage-enable" value=""/>
+ </C30-CO>
+ <C30-LD>
+ <property key="additional-options-use-response-files" value="false"/>
+ <property key="boot-eeprom" value="no_eeprom"/>
+ <property key="boot-flash" value="no_flash"/>
+ <property key="boot-ram" value="no_ram"/>
+ <property key="boot-write-protect" value="no_write_protect"/>
+ <property key="enable-check-sections" value="false"/>
+ <property key="enable-data-init" value="true"/>
+ <property key="enable-default-isr" value="true"/>
+ <property key="enable-handles" value="true"/>
+ <property key="enable-pack-data" value="true"/>
+ <property key="extra-lib-directories" value=""/>
+ <property key="fill-flash-options-addr" value=""/>
+ <property key="fill-flash-options-const" value=""/>
+ <property key="fill-flash-options-how" value="0"/>
+ <property key="fill-flash-options-inc-const" value="1"/>
+ <property key="fill-flash-options-increment" value=""/>
+ <property key="fill-flash-options-seq" value=""/>
+ <property key="fill-flash-options-what" value="0"/>
+ <property key="general-code-protect" value="no_code_protect"/>
+ <property key="general-write-protect" value="no_write_protect"/>
+ <property key="generate-cross-reference-file" value="false"/>
+ <property key="heap-size" value=""/>
+ <property key="input-libraries" value=""/>
+ <property key="linker-stack" value="true"/>
+ <property key="linker-symbols" value=""/>
+ <property key="map-file" value="${DISTDIR}/${PROJECTNAME}.${IMAGE_TYPE}.map"/>
+ <property key="no-ivt" value="false"/>
+ <property key="oXC16ld-extra-opts" value=""/>
+ <property key="oXC16ld-fill-upper" value="0"/>
+ <property key="oXC16ld-force-link" value="false"/>
+ <property key="oXC16ld-no-smart-io" value="false"/>
+ <property key="oXC16ld-nostdlib" value="false"/>
+ <property key="oXC16ld-stackguard" value="16"/>
+ <property key="preprocessor-macros" value=""/>
+ <property key="remove-unused-sections" value="false"/>
+ <property key="report-memory-usage" value="true"/>
+ <property key="secure-eeprom" value="no_eeprom"/>
+ <property key="secure-flash" value="no_flash"/>
+ <property key="secure-ram" value="no_ram"/>
+ <property key="secure-write-protect" value="no_write_protect"/>
+ <property key="stack-size" value="16"/>
+ <property key="symbol-stripping" value=""/>
+ <property key="trace-symbols" value=""/>
+ <property key="warn-section-align" value="false"/>
+ </C30-LD>
+ <C30Global>
+ <property key="common-include-directories" value=""/>
+ <property key="dual-boot-partition" value="0"/>
+ <property key="fast-math" value="false"/>
+ <property key="generic-16-bit" value="false"/>
+ <property key="legacy-libc" value="true"/>
+ <property key="mpreserve-all" value="false"/>
+ <property key="oXC16glb-macros" value=""/>
+ <property key="output-file-format" value="elf"/>
+ <property key="preserve-all" value="false"/>
+ <property key="preserve-file" value=""/>
+ <property key="relaxed-math" value="false"/>
+ <property key="save-temps" value="false"/>
+ </C30Global>
+ <PK3OBPlatformTool>
+ <property key="firmware.download.all" value="false"/>
+ </PK3OBPlatformTool>
+ </conf>
+ </confs>
+</configurationDescriptor>
diff --git a/Lab2B.X/nbproject/private/configurations.xml b/Lab2B.X/nbproject/private/configurations.xml
new file mode 100644
index 0000000..099de7b
--- /dev/null
+++ b/Lab2B.X/nbproject/private/configurations.xml
@@ -0,0 +1,25 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<configurationDescriptor version="65">
+ <projectmakefile>Makefile</projectmakefile>
+ <defaultConf>0</defaultConf>
+ <confs>
+ <conf name="default" type="2">
+ <platformToolSN>:=MPLABComm-USB-Microchip:=&lt;vid>04D8:=&lt;pid>8108:=&lt;rev>0002:=&lt;man>Digilent:=&lt;prod>chipKitProgrammer:=&lt;sn>DA63CA1:=&lt;drv>x:=&lt;xpt>h:=end</platformToolSN>
+ <languageToolchainDir>C:\Program Files\Microchip\xc16\v1.50\bin</languageToolchainDir>
+ <mdbdebugger version="1">
+ <placeholder1>place holder 1</placeholder1>
+ <placeholder2>place holder 2</placeholder2>
+ </mdbdebugger>
+ <runprofile version="6">
+ <args></args>
+ <rundir></rundir>
+ <buildfirst>true</buildfirst>
+ <console-type>0</console-type>
+ <terminal-type>0</terminal-type>
+ <remove-instrumentation>0</remove-instrumentation>
+ <environment>
+ </environment>
+ </runprofile>
+ </conf>
+ </confs>
+</configurationDescriptor>
diff --git a/HW3.X/nbproject/private/private.xml b/Lab2B.X/nbproject/private/private.xml
index fc10dfb..6807a2b 100644
--- a/HW3.X/nbproject/private/private.xml
+++ b/Lab2B.X/nbproject/private/private.xml
@@ -1,9 +1,7 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<project-private xmlns="http://www.netbeans.org/ns/project-private/1">
- <editor-bookmarks xmlns="http://www.netbeans.org/ns/editor-bookmarks/2" lastBookmarkId="0"/>
- <open-files xmlns="http://www.netbeans.org/ns/projectui-open-files/2">
- <group>
- <file>file:/C:/Users/Ross/MPLABXProjects/EE2361Projects/HW3.X/int_first_t1.c</file>
- </group>
- </open-files>
-</project-private>
+<?xml version="1.0" encoding="UTF-8"?>
+<project-private xmlns="http://www.netbeans.org/ns/project-private/1">
+ <editor-bookmarks xmlns="http://www.netbeans.org/ns/editor-bookmarks/2" lastBookmarkId="0"/>
+ <open-files xmlns="http://www.netbeans.org/ns/projectui-open-files/2">
+ <group/>
+ </open-files>
+</project-private>
diff --git a/Lab2B.X/nbproject/project.xml b/Lab2B.X/nbproject/project.xml
new file mode 100644
index 0000000..254719f
--- /dev/null
+++ b/Lab2B.X/nbproject/project.xml
@@ -0,0 +1,32 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<project xmlns="http://www.netbeans.org/ns/project/1">
+ <type>com.microchip.mplab.nbide.embedded.makeproject</type>
+ <configuration>
+ <data xmlns="http://www.netbeans.org/ns/make-project/1">
+ <name>LAB_2B</name>
+ <creation-uuid>ad7fe9ed-f02a-439c-9233-24f02477fa64</creation-uuid>
+ <make-project-type>0</make-project-type>
+ <c-extensions>c</c-extensions>
+ <cpp-extensions/>
+ <header-extensions>h</header-extensions>
+ <asminc-extensions/>
+ <sourceEncoding>ISO-8859-1</sourceEncoding>
+ <make-dep-projects/>
+ <sourceRootList>
+ <sourceRootElem>.</sourceRootElem>
+ </sourceRootList>
+ <confList>
+ <confElem>
+ <name>default</name>
+ <type>2</type>
+ </confElem>
+ </confList>
+ <formatting>
+ <project-formatting-style>false</project-formatting-style>
+ </formatting>
+ </data>
+ <spellchecker-wordlist xmlns="http://www.netbeans.org/ns/spellchecker-wordlist/1">
+ <word>colours</word>
+ </spellchecker-wordlist>
+ </configuration>
+</project>
diff --git a/Lab3.X/display.c b/Lab3.X/display.c
index d456b49..90690e5 100644
--- a/Lab3.X/display.c
+++ b/Lab3.X/display.c
@@ -11,60 +11,47 @@ void init7seg(void) {
LATB = 0x0000; //and all of port B to LOW
}
-void showChar7seg(char myChar, enum DIGIT myDigit) {
- LATB &= 0x00;
- switch (myChar) {
- case '0':
- LATB ^= (0b11 << 2);
- break;
- case '1':
- LATB ^= (0b10011111 << 2);
- break;
- case '2':
- LATB ^= (0b00100101 << 2);
- break;
- case '3':
- LATB ^= (0b1101 << 2);
- break;
- case '4':
- LATB ^= (0b10011001 << 2);
- break;
- case '5':
- LATB ^= (0b1001001 << 2);
- break;
- case '6':
- LATB ^= (0b1000001 << 2);
- break;
- case '7':
- LATB ^= (0b11111 << 2);
- break;
- case '8':
- LATB ^= (0b1 << 2);
- break;
- case '9':
- LATB ^= (0b1001 << 2);
- break;
- case 'A':
- LATB ^= (0b10001 << 2);
- break;
- case 'b':
- LATB ^= (0b11000001 << 2);
- break;
- case 'C':
- LATB ^= (0b01100011 << 2);
- break;
- case 'd':
- LATB ^= (0b10000101 << 2);
- break;
- case 'E':
- LATB ^= (0b01100001 << 2);
- break;
- case 'F':
- LATB ^= (0b01110001 << 2);
- break;
- default:
- LATB ^= (0b11111111 << 2);
- break;
- } //END OF SWITCH
- LATB |= myDigit;
+void showChar7seg(char myChar, int myDigit)
+{
+ //1,2,3,4,5,6,7,8,9,0,A,b,C,d,E, and F
+ LATB&=0xF000;
+ if (myDigit==1)
+ {
+ if (myChar=='1'){LATB|=0x067F;}
+ else if (myChar=='2'){LATB|=0x0497;}
+ else if (myChar=='3'){LATB|=0x0437;}
+ else if (myChar=='4'){LATB|=0x0667;}
+ else if (myChar=='5'){LATB|=0x0527;}
+ else if (myChar=='6'){LATB|=0x0507;}
+ else if (myChar=='7'){LATB|=0x047F;}
+ else if (myChar=='8'){LATB|=0x0407;}
+ else if (myChar=='9'){LATB|=0x0427;}
+ else if (myChar=='0'){LATB|=0x040F;}
+ else if (myChar=='A'){LATB|=0x0447;}
+ else if (myChar=='b'){LATB|=0x0707;}
+ else if (myChar=='C'){LATB|=0x058F;}
+ else if (myChar=='d'){LATB|=0x0617;}
+ else if (myChar=='E'){LATB|=0x0587;}
+ else if (myChar=='F'){LATB|=0x05C7;}
+ }
+ else if (myDigit==0)
+ {
+ if (myChar=='1'){LATB|=0x0A7F;}
+ else if (myChar=='2'){LATB|=0x0897;}
+ else if (myChar=='3'){LATB|=0x0837;}
+ else if (myChar=='4'){LATB|=0x0A67;}
+ else if (myChar=='5'){LATB|=0x0927;}
+ else if (myChar=='6'){LATB|=0x0907;}
+ else if (myChar=='7'){LATB|=0x087F;}
+ else if (myChar=='8'){LATB|=0x0807;}
+ else if (myChar=='9'){LATB|=0x0827;}
+ else if (myChar=='0'){LATB|=0x080F;}
+ else if (myChar=='A'){LATB|=0x0847;}
+ else if (myChar=='b'){LATB|=0x0B07;}
+ else if (myChar=='C'){LATB|=0x098F;}
+ else if (myChar=='d'){LATB|=0x0A17;}
+ else if (myChar=='E'){LATB|=0x0987;}
+ else if (myChar=='F'){LATB|=0x09C7;}
+ }
+ return;
} \ No newline at end of file
diff --git a/Lab3.X/display.h b/Lab3.X/display.h
index 893eea1..147536d 100644
--- a/Lab3.X/display.h
+++ b/Lab3.X/display.h
@@ -14,7 +14,7 @@ extern "C" {
LSB = (0b1 << 10)
};
void init7seg(void);
- void showChar7seg(char myChar, enum DIGIT myDigit);
+ void showChar7seg(char myChar, int myDigit);
void delay(long num);
#ifdef __cplusplus
diff --git a/Lab3.X/dist/default/production/memoryfile.xml b/Lab3.X/dist/default/production/memoryfile.xml
index 508df7f..316ead1 100644
--- a/Lab3.X/dist/default/production/memoryfile.xml
+++ b/Lab3.X/dist/default/production/memoryfile.xml
@@ -11,8 +11,8 @@
<memory name="program">
<units>bytes</units>
<length>65274</length>
- <used>2034</used>
- <free>63240</free>
+ <used>2481</used>
+ <free>62793</free>
</memory>
</executable>
</project>
diff --git a/Lab3.X/lab3_main_MAYA_C.c b/Lab3.X/lab3_main.c
index a943ae2..051b2c1 100644
--- a/Lab3.X/lab3_main_MAYA_C.c
+++ b/Lab3.X/lab3_main.c
@@ -1,96 +1,63 @@
-#include "xc.h"
-#include "numpad.h"
-#include "display.h"
-
-// CW1: FLASH CONFIGURATION WORD 1 (see PIC24 Family Reference Manual 24.1)
-#pragma config ICS = PGx1 // Comm Channel Select (Emulator EMUC1/EMUD1 pins are shared with PGC1/PGD1)
-#pragma config FWDTEN = OFF // Watchdog Timer Enable (Watchdog Timer is disabled)
-#pragma config GWRP = OFF // General Code Segment Write Protect (Writes to program memory are allowed)
-#pragma config GCP = OFF // General Code Segment Code Protect (Code protection is disabled)
-#pragma config JTAGEN = OFF // JTAG Port Enable (JTAG port is disabled)
-
-
-// CW2: FLASH CONFIGURATION WORD 2 (see PIC24 Family Reference Manual 24.1)
-#pragma config I2C1SEL = PRI // I2C1 Pin Location Select (Use default SCL1/SDA1 pins)
-#pragma config IOL1WAY = OFF // IOLOCK Protection (IOLOCK may be changed via unlocking seq)
-#pragma config OSCIOFNC = ON // Primary Oscillator I/O Function (CLKO/RC15 functions as I/O pin)
-#pragma config FCKSM = CSECME // Clock Switching and Monitor (Clock switching is enabled,
-// Fail-Safe Clock Monitor is enabled)
-#pragma config FNOSC = FRCPLL // Oscillator Select (Fast RC Oscillator with PLL module (FRCPLL))
-
-#define NOKEY 255
-
-void delay(long d) {
- for (d=d; d > 0; d--) {
- asm("nop");
- }
-}
-char cycle();
-
-
-//============================================================================//
-
-int main(void) {
- init7seg();
- initKeyPad();
- char key = 'N';
- char right, left;
- int debounce = 250;
- //RB<9:2> will drive the cathodes of the seven-segment display
- //RB<11:10> will drive the right and left anodes respectively
- //RA<3:0> will drive inputs of keypad
- //RB<15:12> will cycle to sense RA inputs
- while (1) {
- if (debounce == 0) {
- key = cycle();
- if (key != 'N') {
- left = right;
- right = key;
- }
- debounce = 250;
- }
-
- showChar7seg(right, MSB);
- delay(500);
- showChar7seg(left, LSB);
- delay(200);
-
- debounce--;
-// while (!IFS0bits.T1IF);
-// IFS0bits.T1IF = 0;
- }
-}
-
-char cycle() {
- int i = 0;
- char key = 'N';
- while (i < 4) {
- if (i == 0) {
- LATBbits.LATB12 = 0;
- LATBbits.LATB13 = 1;
- LATBbits.LATB14 = 1;
- LATBbits.LATB15 = 1;
- } else if (i == 1) {
- LATBbits.LATB12 = 1;
- LATBbits.LATB13 = 0;
- LATBbits.LATB14 = 1;
- LATBbits.LATB15 = 1;
- } else if (i == 2) {
- LATBbits.LATB12 = 1;
- LATBbits.LATB13 = 1;
- LATBbits.LATB14 = 0;
- LATBbits.LATB15 = 1;
- } else if (i == 3) {
- LATBbits.LATB12 = 1;
- LATBbits.LATB13 = 1;
- LATBbits.LATB14 = 1;
- LATBbits.LATB15 = 0;
- }
- key = readKeyPadRAW();
- if (key != 'N') {
- return key;
- }
- i++;
- }
- return key;
+#include "xc.h"
+#include "numpad.h"
+#include "display.h"
+
+// CW1: FLASH CONFIGURATION WORD 1 (see PIC24 Family Reference Manual 24.1)
+#pragma config ICS = PGx1 // Comm Channel Select (Emulator EMUC1/EMUD1 pins are shared with PGC1/PGD1)
+#pragma config FWDTEN = OFF // Watchdog Timer Enable (Watchdog Timer is disabled)
+#pragma config GWRP = OFF // General Code Segment Write Protect (Writes to program memory are allowed)
+#pragma config GCP = OFF // General Code Segment Code Protect (Code protection is disabled)
+#pragma config JTAGEN = OFF // JTAG Port Enable (JTAG port is disabled)
+
+
+// CW2: FLASH CONFIGURATION WORD 2 (see PIC24 Family Reference Manual 24.1)
+#pragma config I2C1SEL = PRI // I2C1 Pin Location Select (Use default SCL1/SDA1 pins)
+#pragma config IOL1WAY = OFF // IOLOCK Protection (IOLOCK may be changed via unlocking seq)
+#pragma config OSCIOFNC = ON // Primary Oscillator I/O Function (CLKO/RC15 functions as I/O pin)
+#pragma config FCKSM = CSECME // Clock Switching and Monitor (Clock switching is enabled,
+// Fail-Safe Clock Monitor is enabled)
+#pragma config FNOSC = FRCPLL // Oscillator Select (Fast RC Oscillator with PLL module (FRCPLL))
+
+#define NOKEY 255
+
+void delay(long d) {
+ for (d=d; d > 0; d--) {
+ asm("nop");
+ }
+}
+
+
+
+//============================================================================//
+
+int main(void) {
+ init7seg();
+ initKeyPad();
+ char key='N';
+ char right, left;
+ int debounce=250;
+ //RB<9:2> will drive the cathodes of the seven-segment display
+ //RB<11:10> will drive the right and left anodes respectively
+ //RA<3:0> will drive inputs of keypad
+ //RB<15:12> will cycle to sense RA inputs
+ while(1)
+ {
+ if (debounce==0)
+ {
+ key=cycle();
+ if (key!='N')
+ {
+ left=right;
+ right=key;
+ }
+ debounce=250;
+ }
+ showChar7seg(right,0);
+ delay(500);
+ showChar7seg(left,1);
+ delay(200);
+ debounce--;
+ while (!IFS0bits.T1IF) ;
+ IFS0bits.T1IF = 0;
+ }
} \ No newline at end of file
diff --git a/Lab3.X/lab3_main_c.c b/Lab3.X/lab3_main_c.BAK
index bf99269..513bd8f 100644
--- a/Lab3.X/lab3_main_c.c
+++ b/Lab3.X/lab3_main_c.BAK
@@ -1,59 +1,59 @@
-#include "xc.h"
-#include "display.h"
-#include "numpad.h"
-// CW1: FLASH CONFIGURATION WORD 1 (see PIC24 Family Reference Manual 24.1)
-#pragma config ICS = PGx1 // Comm Channel Select (Emulator EMUC1/EMUD1 pins are shared with PGC1/PGD1)
-#pragma config FWDTEN = OFF // Watchdog Timer Enable (Watchdog Timer is disabled)
-#pragma config GWRP = OFF // General Code Segment Write Protect (Writes to program memory are allowed)
-#pragma config GCP = OFF // General Code Segment Code Protect (Code protection is disabled)
-#pragma config JTAGEN = OFF // JTAG Port Enable (JTAG port is disabled)
-
-
-// CW2: FLASH CONFIGURATION WORD 2 (see PIC24 Family Reference Manual 24.1)
-#pragma config I2C1SEL = PRI // I2C1 Pin Location Select (Use default SCL1/SDA1 pins)
-#pragma config IOL1WAY = OFF // IOLOCK Protection (IOLOCK may be changed via unlocking seq)
-#pragma config OSCIOFNC = ON // Primary Oscillator I/O Function (CLKO/RC15 functions as I/O pin)
-#pragma config FCKSM = CSECME // Clock Switching and Monitor (Clock switching is enabled,
-// Fail-Safe Clock Monitor is enabled)
-#pragma config FNOSC = FRCPLL // Oscillator Select (Fast RC Oscillator with PLL module (FRCPLL))
-
-void delay(long n) {
- for (n = n; n > 0; n--) {
- asm("nop");
- }
-}
-
-void setup(void) {
- CLKDIVbits.RCDIV = 0; //Set RCDIV=1:1 (default 2:1) 32MHz or FCY/2=16M
- AD1PCFG = 0x9fff; //sets all pins to digital I/O
- // T1CON = 0;
- // PR1 = 15999;
- // TMR1 = 0;
- // IFS0bits.T1IF = 0;
- // T1CONbits.TON = 1;
- init7seg();
- initKeyPad();
-}
-
-int main(void) {
- setup();
- char right, left, temp;
- unsigned long debounce = 0;
- while (1) {
- if (debounce % 300 == 0)
- temp = readKeyPadRAW();
- else
- temp = '\0';
- if (temp != '\0') {
- left = right;
- right = temp;
- }
- showChar7seg(right, MSB);
- delay(200);
- showChar7seg(left, LSB);
- delay(200);
- debounce++;
- }
-}
-
-
+#include "xc.h"
+#include "display.h"
+#include "numpad.h"
+// CW1: FLASH CONFIGURATION WORD 1 (see PIC24 Family Reference Manual 24.1)
+#pragma config ICS = PGx1 // Comm Channel Select (Emulator EMUC1/EMUD1 pins are shared with PGC1/PGD1)
+#pragma config FWDTEN = OFF // Watchdog Timer Enable (Watchdog Timer is disabled)
+#pragma config GWRP = OFF // General Code Segment Write Protect (Writes to program memory are allowed)
+#pragma config GCP = OFF // General Code Segment Code Protect (Code protection is disabled)
+#pragma config JTAGEN = OFF // JTAG Port Enable (JTAG port is disabled)
+
+
+// CW2: FLASH CONFIGURATION WORD 2 (see PIC24 Family Reference Manual 24.1)
+#pragma config I2C1SEL = PRI // I2C1 Pin Location Select (Use default SCL1/SDA1 pins)
+#pragma config IOL1WAY = OFF // IOLOCK Protection (IOLOCK may be changed via unlocking seq)
+#pragma config OSCIOFNC = ON // Primary Oscillator I/O Function (CLKO/RC15 functions as I/O pin)
+#pragma config FCKSM = CSECME // Clock Switching and Monitor (Clock switching is enabled,
+// Fail-Safe Clock Monitor is enabled)
+#pragma config FNOSC = FRCPLL // Oscillator Select (Fast RC Oscillator with PLL module (FRCPLL))
+
+void delay(long n) {
+ for (n = n; n > 0; n--) {
+ asm("nop");
+ }
+}
+
+void setup(void) {
+ CLKDIVbits.RCDIV = 0; //Set RCDIV=1:1 (default 2:1) 32MHz or FCY/2=16M
+ AD1PCFG = 0x9fff; //sets all pins to digital I/O
+ // T1CON = 0;
+ // PR1 = 15999;
+ // TMR1 = 0;
+ // IFS0bits.T1IF = 0;
+ // T1CONbits.TON = 1;
+ init7seg();
+ initKeyPad();
+}
+
+int main(void) {
+ setup();
+ char right, left, temp;
+ unsigned long debounce = 0;
+ while (1) {
+ if (debounce % 300 == 0)
+ temp = readKeyPadRAW();
+ else
+ temp = '\0';
+ if (temp != '\0') {
+ left = right;
+ right = temp;
+ }
+ showChar7seg(right, MSB);
+ delay(200);
+ showChar7seg(left, LSB);
+ delay(200);
+ debounce++;
+ }
+}
+
+
diff --git a/Lab3.X/nbproject/Makefile-default.mk b/Lab3.X/nbproject/Makefile-default.mk
index 7c32e70..5e07efe 100644
--- a/Lab3.X/nbproject/Makefile-default.mk
+++ b/Lab3.X/nbproject/Makefile-default.mk
@@ -99,21 +99,21 @@ ${OBJECTDIR}/display.o: display.c nbproject/Makefile-${CND_CONF}.mk
@${MKDIR} "${OBJECTDIR}"
@${RM} ${OBJECTDIR}/display.o.d
@${RM} ${OBJECTDIR}/display.o
- ${MP_CC} $(MP_EXTRA_CC_PRE) display.c -o ${OBJECTDIR}/display.o -c -mcpu=$(MP_PROCESSOR_OPTION) -MMD -MF "${OBJECTDIR}/display.o.d" -g -D__DEBUG -D__MPLAB_DEBUGGER_SIMULATOR=1 -omf=elf -DXPRJ_default=$(CND_CONF) -legacy-libc $(COMPARISON_BUILD) -O0 -msmart-io=1 -Wall -msfr-warn=off -mdfp=${DFP_DIR}/xc16
+ ${MP_CC} $(MP_EXTRA_CC_PRE) display.c -o ${OBJECTDIR}/display.o -c -mcpu=$(MP_PROCESSOR_OPTION) -MMD -MF "${OBJECTDIR}/display.o.d" -g -D__DEBUG -omf=elf -DXPRJ_default=$(CND_CONF) -legacy-libc $(COMPARISON_BUILD) -O0 -msmart-io=1 -Wall -msfr-warn=off -mdfp=${DFP_DIR}/xc16
@${FIXDEPS} "${OBJECTDIR}/display.o.d" $(SILENT) -rsi ${MP_CC_DIR}../
${OBJECTDIR}/numpad.o: numpad.c nbproject/Makefile-${CND_CONF}.mk
@${MKDIR} "${OBJECTDIR}"
@${RM} ${OBJECTDIR}/numpad.o.d
@${RM} ${OBJECTDIR}/numpad.o
- ${MP_CC} $(MP_EXTRA_CC_PRE) numpad.c -o ${OBJECTDIR}/numpad.o -c -mcpu=$(MP_PROCESSOR_OPTION) -MMD -MF "${OBJECTDIR}/numpad.o.d" -g -D__DEBUG -D__MPLAB_DEBUGGER_SIMULATOR=1 -omf=elf -DXPRJ_default=$(CND_CONF) -legacy-libc $(COMPARISON_BUILD) -O0 -msmart-io=1 -Wall -msfr-warn=off -mdfp=${DFP_DIR}/xc16
+ ${MP_CC} $(MP_EXTRA_CC_PRE) numpad.c -o ${OBJECTDIR}/numpad.o -c -mcpu=$(MP_PROCESSOR_OPTION) -MMD -MF "${OBJECTDIR}/numpad.o.d" -g -D__DEBUG -omf=elf -DXPRJ_default=$(CND_CONF) -legacy-libc $(COMPARISON_BUILD) -O0 -msmart-io=1 -Wall -msfr-warn=off -mdfp=${DFP_DIR}/xc16
@${FIXDEPS} "${OBJECTDIR}/numpad.o.d" $(SILENT) -rsi ${MP_CC_DIR}../
${OBJECTDIR}/lab3_main_MAYA_C.o: lab3_main_MAYA_C.c nbproject/Makefile-${CND_CONF}.mk
@${MKDIR} "${OBJECTDIR}"
@${RM} ${OBJECTDIR}/lab3_main_MAYA_C.o.d
@${RM} ${OBJECTDIR}/lab3_main_MAYA_C.o
- ${MP_CC} $(MP_EXTRA_CC_PRE) lab3_main_MAYA_C.c -o ${OBJECTDIR}/lab3_main_MAYA_C.o -c -mcpu=$(MP_PROCESSOR_OPTION) -MMD -MF "${OBJECTDIR}/lab3_main_MAYA_C.o.d" -g -D__DEBUG -D__MPLAB_DEBUGGER_SIMULATOR=1 -omf=elf -DXPRJ_default=$(CND_CONF) -legacy-libc $(COMPARISON_BUILD) -O0 -msmart-io=1 -Wall -msfr-warn=off -mdfp=${DFP_DIR}/xc16
+ ${MP_CC} $(MP_EXTRA_CC_PRE) lab3_main_MAYA_C.c -o ${OBJECTDIR}/lab3_main_MAYA_C.o -c -mcpu=$(MP_PROCESSOR_OPTION) -MMD -MF "${OBJECTDIR}/lab3_main_MAYA_C.o.d" -g -D__DEBUG -omf=elf -DXPRJ_default=$(CND_CONF) -legacy-libc $(COMPARISON_BUILD) -O0 -msmart-io=1 -Wall -msfr-warn=off -mdfp=${DFP_DIR}/xc16
@${FIXDEPS} "${OBJECTDIR}/lab3_main_MAYA_C.o.d" $(SILENT) -rsi ${MP_CC_DIR}../
else
@@ -157,7 +157,7 @@ endif
ifeq ($(TYPE_IMAGE), DEBUG_RUN)
dist/${CND_CONF}/${IMAGE_TYPE}/Lab3.X.${IMAGE_TYPE}.${OUTPUT_SUFFIX}: ${OBJECTFILES} nbproject/Makefile-${CND_CONF}.mk
@${MKDIR} dist/${CND_CONF}/${IMAGE_TYPE}
- ${MP_CC} $(MP_EXTRA_LD_PRE) -o dist/${CND_CONF}/${IMAGE_TYPE}/Lab3.X.${IMAGE_TYPE}.${OUTPUT_SUFFIX} ${OBJECTFILES_QUOTED_IF_SPACED} -mcpu=$(MP_PROCESSOR_OPTION) -D__DEBUG=__DEBUG -D__MPLAB_DEBUGGER_SIMULATOR=1 -omf=elf -DXPRJ_default=$(CND_CONF) -legacy-libc $(COMPARISON_BUILD) -Wl,,,--defsym=__MPLAB_BUILD=1,--defsym=__MPLAB_DEBUG=1,--defsym=__DEBUG=1,-D__DEBUG=__DEBUG,--defsym=__MPLAB_DEBUGGER_SIMULATOR=1,$(MP_LINKER_FILE_OPTION),--stack=16,--check-sections,--data-init,--pack-data,--handles,--isr,--no-gc-sections,--fill-upper=0,--stackguard=16,--no-force-link,--smart-io,-Map="${DISTDIR}/${PROJECTNAME}.${IMAGE_TYPE}.map",--report-mem,--memorysummary,dist/${CND_CONF}/${IMAGE_TYPE}/memoryfile.xml$(MP_EXTRA_LD_POST) -mdfp=${DFP_DIR}/xc16
+ ${MP_CC} $(MP_EXTRA_LD_PRE) -o dist/${CND_CONF}/${IMAGE_TYPE}/Lab3.X.${IMAGE_TYPE}.${OUTPUT_SUFFIX} ${OBJECTFILES_QUOTED_IF_SPACED} -mcpu=$(MP_PROCESSOR_OPTION) -D__DEBUG=__DEBUG -omf=elf -DXPRJ_default=$(CND_CONF) -legacy-libc $(COMPARISON_BUILD) -Wl,,,--defsym=__MPLAB_BUILD=1,--defsym=__MPLAB_DEBUG=1,--defsym=__DEBUG=1,-D__DEBUG=__DEBUG,,$(MP_LINKER_FILE_OPTION),--stack=16,--check-sections,--data-init,--pack-data,--handles,--isr,--no-gc-sections,--fill-upper=0,--stackguard=16,--no-force-link,--smart-io,-Map="${DISTDIR}/${PROJECTNAME}.${IMAGE_TYPE}.map",--report-mem,--memorysummary,dist/${CND_CONF}/${IMAGE_TYPE}/memoryfile.xml$(MP_EXTRA_LD_POST) -mdfp=${DFP_DIR}/xc16
else
dist/${CND_CONF}/${IMAGE_TYPE}/Lab3.X.${IMAGE_TYPE}.${OUTPUT_SUFFIX}: ${OBJECTFILES} nbproject/Makefile-${CND_CONF}.mk
diff --git a/Lab3.X/nbproject/Makefile-genesis.properties b/Lab3.X/nbproject/Makefile-genesis.properties
index babf995..15e41fa 100644
--- a/Lab3.X/nbproject/Makefile-genesis.properties
+++ b/Lab3.X/nbproject/Makefile-genesis.properties
@@ -1,10 +1,10 @@
#
-#Fri Feb 28 11:09:32 CST 2020
-default.Pack.dfplocation=C\:\\Program Files (x86)\\Microchip\\MPLABX\\v5.30\\packs\\Microchip\\PIC24F-GA-GB_DFP\\1.1.74
-default.com-microchip-mplab-nbide-toolchainXC16-XC16LanguageToolchain.md5=3de759bc6af06f5ee7453ec146192402
-default.languagetoolchain.dir=C\:\\Program Files (x86)\\Microchip\\xc16\\v1.41\\bin
-configurations-xml=a484db181b70bf7bdb9ff81073d3f011
-com-microchip-mplab-nbide-embedded-makeproject-MakeProject.md5=7cd2eead2ea6964989cbf02efe721a76
-default.languagetoolchain.version=1.41
+#Tue Mar 03 07:32:39 CST 2020
+default.Pack.dfplocation=C\:\\Program Files (x86)\\Microchip\\MPLABX\\v5.35\\packs\\Microchip\\PIC24F-GA-GB_DFP\\1.2.101
+default.com-microchip-mplab-nbide-toolchainXC16-XC16LanguageToolchain.md5=859fc649e7017fd01769e2187e1537a7
+default.languagetoolchain.dir=C\:\\Program Files\\Microchip\\xc16\\v1.50\\bin
+configurations-xml=2b078e482191bd07283c6043c6ed5e8a
+com-microchip-mplab-nbide-embedded-makeproject-MakeProject.md5=5db0f4d6bbe0ec2a1f1096ccfb9d7ad3
+default.languagetoolchain.version=1.50
host.platform=windows
conf.ids=default
diff --git a/Lab3.X/nbproject/Makefile-local-default.mk b/Lab3.X/nbproject/Makefile-local-default.mk
index 214e7fa..c75d9df 100644
--- a/Lab3.X/nbproject/Makefile-local-default.mk
+++ b/Lab3.X/nbproject/Makefile-local-default.mk
@@ -15,24 +15,24 @@
# $ makeMP_CC="/opt/microchip/mplabc30/v3.30c/bin/pic30-gcc" ...
#
SHELL=cmd.exe
-PATH_TO_IDE_BIN=C:/Program Files (x86)/Microchip/MPLABX/v5.30/mplab_platform/platform/../mplab_ide/modules/../../bin/
+PATH_TO_IDE_BIN=C:/Program Files (x86)/Microchip/MPLABX/v5.35/mplab_platform/platform/../mplab_ide/modules/../../bin/
# Adding MPLAB X bin directory to path.
-PATH:=C:/Program Files (x86)/Microchip/MPLABX/v5.30/mplab_platform/platform/../mplab_ide/modules/../../bin/:$(PATH)
+PATH:=C:/Program Files (x86)/Microchip/MPLABX/v5.35/mplab_platform/platform/../mplab_ide/modules/../../bin/:$(PATH)
# Path to java used to run MPLAB X when this makefile was created
-MP_JAVA_PATH="C:\Program Files (x86)\Microchip\MPLABX\v5.30\sys\java\jre1.8.0_181/bin/"
+MP_JAVA_PATH="C:\Program Files (x86)\Microchip\MPLABX\v5.35\sys\java\jre1.8.0_181/bin/"
OS_CURRENT="$(shell uname -s)"
-MP_CC="C:\Program Files (x86)\Microchip\xc16\v1.41\bin\xc16-gcc.exe"
+MP_CC="C:\Program Files\Microchip\xc16\v1.50\bin\xc16-gcc.exe"
# MP_CPPC is not defined
# MP_BC is not defined
-MP_AS="C:\Program Files (x86)\Microchip\xc16\v1.41\bin\xc16-as.exe"
-MP_LD="C:\Program Files (x86)\Microchip\xc16\v1.41\bin\xc16-ld.exe"
-MP_AR="C:\Program Files (x86)\Microchip\xc16\v1.41\bin\xc16-ar.exe"
-DEP_GEN=${MP_JAVA_PATH}java -jar "C:/Program Files (x86)/Microchip/MPLABX/v5.30/mplab_platform/platform/../mplab_ide/modules/../../bin/extractobjectdependencies.jar"
-MP_CC_DIR="C:\Program Files (x86)\Microchip\xc16\v1.41\bin"
+MP_AS="C:\Program Files\Microchip\xc16\v1.50\bin\xc16-as.exe"
+MP_LD="C:\Program Files\Microchip\xc16\v1.50\bin\xc16-ld.exe"
+MP_AR="C:\Program Files\Microchip\xc16\v1.50\bin\xc16-ar.exe"
+DEP_GEN=${MP_JAVA_PATH}java -jar "C:/Program Files (x86)/Microchip/MPLABX/v5.35/mplab_platform/platform/../mplab_ide/modules/../../bin/extractobjectdependencies.jar"
+MP_CC_DIR="C:\Program Files\Microchip\xc16\v1.50\bin"
# MP_CPPC_DIR is not defined
# MP_BC_DIR is not defined
-MP_AS_DIR="C:\Program Files (x86)\Microchip\xc16\v1.41\bin"
-MP_LD_DIR="C:\Program Files (x86)\Microchip\xc16\v1.41\bin"
-MP_AR_DIR="C:\Program Files (x86)\Microchip\xc16\v1.41\bin"
+MP_AS_DIR="C:\Program Files\Microchip\xc16\v1.50\bin"
+MP_LD_DIR="C:\Program Files\Microchip\xc16\v1.50\bin"
+MP_AR_DIR="C:\Program Files\Microchip\xc16\v1.50\bin"
# MP_BC_DIR is not defined
-DFP_DIR="C:/Program Files (x86)/Microchip/MPLABX/v5.30/packs/Microchip/PIC24F-GA-GB_DFP/1.1.74"
+DFP_DIR="C:/Program Files (x86)/Microchip/MPLABX/v5.35/packs/Microchip/PIC24F-GA-GB_DFP/1.2.101"
diff --git a/Lab3.X/nbproject/configurations.xml b/Lab3.X/nbproject/configurations.xml
index fa82250..8048554 100644
--- a/Lab3.X/nbproject/configurations.xml
+++ b/Lab3.X/nbproject/configurations.xml
@@ -14,7 +14,6 @@
<logicalFolder name="SourceFiles"
displayName="Source Files"
projectFiles="true">
- <itemPath>lab3_main_c.c</itemPath>
<itemPath>display.c</itemPath>
<itemPath>numpad.c</itemPath>
<itemPath>lab3_main_MAYA_C.c</itemPath>
@@ -36,13 +35,13 @@
<targetDevice>PIC24FJ64GA002</targetDevice>
<targetHeader></targetHeader>
<targetPluginBoard></targetPluginBoard>
- <platformTool>Simulator</platformTool>
+ <platformTool>noID</platformTool>
<languageToolchain>XC16</languageToolchain>
- <languageToolchainVersion>1.41</languageToolchainVersion>
+ <languageToolchainVersion>1.50</languageToolchainVersion>
<platform>3</platform>
</toolsSet>
<packs>
- <pack name="PIC24F-GA-GB_DFP" vendor="Microchip" version="1.1.74"/>
+ <pack name="PIC24F-GA-GB_DFP" vendor="Microchip" version="1.2.101"/>
</packs>
<compileType>
<linkerTool>
@@ -187,6 +186,7 @@
<property key="legacy-libc" value="true"/>
<property key="mpreserve-all" value="false"/>
<property key="oXC16glb-macros" value=""/>
+ <property key="omit-pack-options" value="1"/>
<property key="output-file-format" value="elf"/>
<property key="preserve-all" value="false"/>
<property key="preserve-file" value=""/>
@@ -647,8 +647,6 @@
value=""/>
<property key="warningmessagebreakoptions.warningmessages" value="holdstate"/>
</Simulator>
- <item path="lab3_main_c.c" ex="true" overriding="false">
- </item>
</conf>
</confs>
</configurationDescriptor>
diff --git a/Lab3.X/nbproject/private/configurations.xml b/Lab3.X/nbproject/private/configurations.xml
index 74e2a26..0e3b9d3 100644
--- a/Lab3.X/nbproject/private/configurations.xml
+++ b/Lab3.X/nbproject/private/configurations.xml
@@ -4,8 +4,8 @@
<defaultConf>0</defaultConf>
<confs>
<conf name="default" type="2">
- <platformToolSN></platformToolSN>
- <languageToolchainDir>C:\Program Files (x86)\Microchip\xc16\v1.41\bin</languageToolchainDir>
+ <platformToolSN>noToolString</platformToolSN>
+ <languageToolchainDir>C:\Program Files\Microchip\xc16\v1.50\bin</languageToolchainDir>
<mdbdebugger version="1">
<placeholder1>place holder 1</placeholder1>
<placeholder2>place holder 2</placeholder2>
diff --git a/Lab3.X/nbproject/private/private.xml b/Lab3.X/nbproject/private/private.xml
index d82f0d3..284eeec 100644
--- a/Lab3.X/nbproject/private/private.xml
+++ b/Lab3.X/nbproject/private/private.xml
@@ -2,12 +2,6 @@
<project-private xmlns="http://www.netbeans.org/ns/project-private/1">
<editor-bookmarks xmlns="http://www.netbeans.org/ns/editor-bookmarks/2" lastBookmarkId="0"/>
<open-files xmlns="http://www.netbeans.org/ns/projectui-open-files/2">
- <group>
- <file>file:/C:/Users/MSatt/MPLABXProjects/EE2361Projects/Lab3.X/numpad.h</file>
- <file>file:/C:/Users/MSatt/MPLABXProjects/EE2361Projects/Lab3.X/lab3_main_c.c</file>
- <file>file:/C:/Users/MSatt/MPLABXProjects/EE2361Projects/Lab3.X/display.c</file>
- <file>file:/C:/Users/MSatt/MPLABXProjects/EE2361Projects/Lab3.X/numpad.c</file>
- <file>file:/C:/Users/MSatt/MPLABXProjects/EE2361Projects/Lab3.X/display.h</file>
- </group>
+ <group/>
</open-files>
</project-private>
diff --git a/Lab3.X/nbproject/project.xml b/Lab3.X/nbproject/project.xml
index 8f58032..2bc22c2 100644
--- a/Lab3.X/nbproject/project.xml
+++ b/Lab3.X/nbproject/project.xml
@@ -4,7 +4,7 @@
<configuration>
<data xmlns="http://www.netbeans.org/ns/make-project/1">
<name>Lab3</name>
- <creation-uuid>87ceaaaa-2d11-4659-ab7c-7b12fe00629e</creation-uuid>
+ <creation-uuid>f5ffe4b4-9434-45bc-b3dd-3537d7df4a93</creation-uuid>
<make-project-type>0</make-project-type>
<c-extensions>c</c-extensions>
<cpp-extensions/>
diff --git a/Lab3.X/numpad.c b/Lab3.X/numpad.c
index 5d9f0ce..825d476 100644
--- a/Lab3.X/numpad.c
+++ b/Lab3.X/numpad.c
@@ -1,5 +1,5 @@
#include "xc.h"
-
+#include "numpad.h"
void initKeyPad(void) {
AD1PCFG = 0x9fff; //sets all pins to digital I/O
TRISA = 0b0000000000011111; //set port A to inputs,
@@ -10,11 +10,11 @@ void initKeyPad(void) {
CNPU1bits.CN3PUE = 1; //RA1
CNPU2bits.CN30PUE = 1; //RA2
CNPU2bits.CN29PUE = 1; //RA3
-// T1CON = 0;
-// PR1 = 15999;
-// TMR1 = 0;
-// IFS0bits.T1IF = 0;
-// T1CONbits.TON = 1;
+ T1CON = 0;
+ PR1 = 15999;
+ TMR1 = 0;
+ IFS0bits.T1IF = 0;
+ T1CONbits.TON = 1;
}
void padDelay(long n) {
@@ -24,6 +24,39 @@ void padDelay(long n) {
}
// 1 2 3 4 5 6 7 8
// RA0 RA1 RA2 RA3 RB15 RB14 RB13 RB12
+char cycle() {
+ int i = 0;
+ char key = 'N';
+ while (i < 4) {
+ if (i == 0) {
+ LATBbits.LATB12 = 0;
+ LATBbits.LATB13 = 1;
+ LATBbits.LATB14 = 1;
+ LATBbits.LATB15 = 1;
+ } else if (i == 1) {
+ LATBbits.LATB12 = 1;
+ LATBbits.LATB13 = 0;
+ LATBbits.LATB14 = 1;
+ LATBbits.LATB15 = 1;
+ } else if (i == 2) {
+ LATBbits.LATB12 = 1;
+ LATBbits.LATB13 = 1;
+ LATBbits.LATB14 = 0;
+ LATBbits.LATB15 = 1;
+ } else if (i == 3) {
+ LATBbits.LATB12 = 1;
+ LATBbits.LATB13 = 1;
+ LATBbits.LATB14 = 1;
+ LATBbits.LATB15 = 0;
+ }
+ key = readKeyPadRAW();
+ if (key != 'N') {
+ return key;
+ }
+ i++;
+ }
+ return key;
+}
char readKeyPadRAW(void) {
if ((PORTAbits.RA0 || LATBbits.LATB12) == 0) {
diff --git a/Lab3.X/numpad.h b/Lab3.X/numpad.h
index 057ee69..fe3f724 100644
--- a/Lab3.X/numpad.h
+++ b/Lab3.X/numpad.h
@@ -10,6 +10,7 @@ extern "C" {
// Insert declarations
void initKeyPad(void);
char readKeyPadRAW(void);
+ char cycle();
#ifdef __cplusplus
}
diff --git a/Lab4.X/Lab4 Report.pdf b/Lab4.X/Lab4 Report.pdf
new file mode 100644
index 0000000..1dec1eb
--- /dev/null
+++ b/Lab4.X/Lab4 Report.pdf
Binary files differ
diff --git a/Lab_2B.X/Makefile b/Lab4.X/Makefile
index fca8e2c..fca8e2c 100644
--- a/Lab_2B.X/Makefile
+++ b/Lab4.X/Makefile
diff --git a/Lab4.X/MyConfig.mc3 b/Lab4.X/MyConfig.mc3
new file mode 100644
index 0000000..be6f5cf
--- /dev/null
+++ b/Lab4.X/MyConfig.mc3
@@ -0,0 +1,3859 @@
+<config configVersion="1.1" device="PIC24FJ64GA002" coreVersion="4.85.0">
+ <usedClasses class="java.util.HashMap">
+ <entry>
+ <string>System Module</string>
+ <string>class com.microchip.mcc.mcu16.systemManager.DefaultSystemManagerMcu16</string>
+ </entry>
+ <entry>
+ <string>Main Manager</string>
+ <string>class com.microchip.mcc.mcu16.mainManager.MainManager</string>
+ </entry>
+ <entry>
+ <string>JTAG</string>
+ <string>class com.microchip.mcc.mcu16.systemManager.jtag.JTAG</string>
+ </entry>
+ <entry>
+ <string>INTERNAL OSCILLATOR</string>
+ <string>class com.microchip.mcc.mcu16.systemManager.clk.Clock</string>
+ </entry>
+ <entry>
+ <string>WATCHDOG</string>
+ <string>class com.microchip.mcc.mcu16.systemManager.wdt.Wdt</string>
+ </entry>
+ <entry>
+ <string>Pin Module</string>
+ <string>class com.microchip.mcc.mcu16.pinManager.PinManager</string>
+ </entry>
+ <entry>
+ <string>RESET</string>
+ <string>class com.microchip.mcc.mcu16.systemManager.reset.RESET</string>
+ </entry>
+ <entry>
+ <string>ICD</string>
+ <string>class com.microchip.mcc.mcu16.systemManager.icd.Icd</string>
+ </entry>
+ <entry>
+ <string>Interrupt Module</string>
+ <string>class com.microchip.mcc.mcu16.interruptManager.InterruptManager</string>
+ </entry>
+ <entry>
+ <string>com.microchip.mcc.mcu16.Mcu16PeripheralLibraryLibraryModule</string>
+ <string>class com.microchip.mcc.protocolServices.base.modules.librarymodule.LibraryModule</string>
+ </entry>
+ </usedClasses>
+ <usedLibraries class="java.util.ArrayList">
+ <ILibraryFile class="com.microchip.mcc.core.library.BaseLibraryFile" libraryClass="com.microchip.mcc.mcu16.Mcu16PeripheralLibrary" version="1.166.1"/>
+ </usedLibraries>
+ <tokenMap class="java.util.HashMap">
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.SettingKey" moduleName="Pin Module" registerAlias="LATB" settingAlias="LATB9"/>
+ <value>clear</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.SettingKey" moduleName="Pin Module" registerAlias="AD1PCFG" settingAlias="PCFG11"/>
+ <value>analog</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="INTERNAL OSCILLATOR" registerAlias="PMD2" settingAlias="OC2MD" alias="disabled"/>
+ <value>1</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.CustomKey" moduleName="INTERNAL OSCILLATOR" name="FeaturePllGraphicsSelect"/>
+ <value>UNSUPPORTED</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.SettingKey" moduleName="Pin Module" registerAlias="TRISB" settingAlias="TRISB11"/>
+ <value>input</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="Pin Module" registerAlias="CNPU2" settingAlias="CN30PUE" alias="disabled"/>
+ <value>0</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="Pin Module" registerAlias="LATB" settingAlias="LATB13" alias="clear"/>
+ <value>0</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.SettingKey" moduleName="INTERNAL OSCILLATOR" registerAlias="CLKDIV" settingAlias="ROI"/>
+ <value>disabled</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="Pin Module" registerAlias="TRISB" settingAlias="TRISB13" alias="input"/>
+ <value>1</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.SettingKey" moduleName="INTERNAL OSCILLATOR" registerAlias="PMD1" settingAlias="T3MD"/>
+ <value>enabled</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="INTERNAL OSCILLATOR" registerAlias="OSCCON" settingAlias="COSC" alias="PRI"/>
+ <value>2</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.SettingKey" moduleName="Pin Module" registerAlias="CNI" settingAlias="flag"/>
+ <value>disabled</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.CustomKey" moduleName="WATCHDOG" name="TimerPeriod"/>
+ <value>135.300s</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.SettingKey" moduleName="Pin Module" registerAlias="RPOR4" settingAlias="RP9R"/>
+ <value>0</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="Pin Module" registerAlias="CNEN1" settingAlias="CN2IE" alias="disabled"/>
+ <value>0</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.RegisterKey" moduleName="Pin Module" registerAlias="TRISB"/>
+ <value>65535</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="INTERNAL OSCILLATOR" registerAlias="PMD1" settingAlias="T4MD" alias="disabled"/>
+ <value>1</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.SettingKey" moduleName="Pin Module" registerAlias="LATB" settingAlias="LATB15"/>
+ <value>clear</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="INTERNAL OSCILLATOR" registerAlias="PMD1" settingAlias="ADC1MD" alias="disabled"/>
+ <value>1</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="Pin Module" registerAlias="LATB" settingAlias="LATB8" alias="set"/>
+ <value>1</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="Pin Module" registerAlias="CNEN2" settingAlias="CN22IE" alias="disabled"/>
+ <value>0</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="System Module" registerAlias="CONFIG1" settingAlias="FWPSA" alias="PR32"/>
+ <value>0</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="Pin Module" registerAlias="CNEN1" settingAlias="CN15IE" alias="disabled"/>
+ <value>0</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="System Module" registerAlias="CONFIG1" settingAlias="WDTPS" alias="PS128"/>
+ <value>7</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.SettingKey" moduleName="Pin Module" registerAlias="ODCB" settingAlias="ODB4"/>
+ <value>disabled</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.SettingKey" moduleName="Pin Module" registerAlias="RPINR4" settingAlias="T5CKR"/>
+ <value>31</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="INTERNAL OSCILLATOR" registerAlias="OSCCON" settingAlias="NOSC" alias="PRIPLL"/>
+ <value>3</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.SettingKey" moduleName="Pin Module" registerAlias="TRISB" settingAlias="TRISB10"/>
+ <value>input</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.SettingKey" moduleName="Pin Module" registerAlias="AD1PCFG" settingAlias="PCFG9"/>
+ <value>analog</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="INTERNAL OSCILLATOR" registerAlias="PMD2" settingAlias="OC4MD" alias="disabled"/>
+ <value>1</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.SettingKey" moduleName="System Module" registerAlias="CONFIG2" settingAlias="IESO"/>
+ <value>OFF</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="System Module" registerAlias="CONFIG2" settingAlias="IESO" alias="ON"/>
+ <value>32768</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.SettingKey" moduleName="Pin Module" registerAlias="CNEN1" settingAlias="CN14IE"/>
+ <value>disabled</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.SettingKey" moduleName="Pin Module" registerAlias="AD1PCFG" settingAlias="PCFG12"/>
+ <value>analog</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="Pin Module" registerAlias="LATB" settingAlias="LATB9" alias="set"/>
+ <value>1</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.SettingKey" moduleName="Pin Module" registerAlias="CNPU1" settingAlias="CN5PUE"/>
+ <value>disabled</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="INTERNAL OSCILLATOR" registerAlias="OSCTUN" settingAlias="TUN" alias="Maximum frequency deviation"/>
+ <value>31</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.CustomKey" moduleName="Pin Module" name="iocUserSet RB4"/>
+ <value>disabled</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.CustomKey" moduleName="Pin Module" name="iocUserSet RB5"/>
+ <value>disabled</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.SettingKey" moduleName="Pin Module" registerAlias="CNEN2" settingAlias="CN27IE"/>
+ <value>disabled</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.SettingKey" moduleName="System Module" registerAlias="CONFIG1" settingAlias="BKBUG"/>
+ <value>OFF</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.CustomKey" moduleName="Pin Module" name="iocUserSet RB2"/>
+ <value>disabled</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.CustomKey" moduleName="Pin Module" name="iocUserSet RB3"/>
+ <value>disabled</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.CustomKey" moduleName="Pin Module" name="iocUserSet RB8"/>
+ <value>disabled</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.CustomKey" moduleName="Pin Module" name="iocUserSet RB9"/>
+ <value>disabled</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.CustomKey" moduleName="Pin Module" name="iocUserSet RB6"/>
+ <value>disabled</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.SettingKey" moduleName="Pin Module" registerAlias="LATB" settingAlias="LATB14"/>
+ <value>clear</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.CustomKey" moduleName="Pin Module" name="iocUserSet RB7"/>
+ <value>disabled</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.CustomKey" moduleName="Pin Module" name="customNameUserSet MCLR"/>
+ <value>disabled</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="Pin Module" registerAlias="CNEN2" settingAlias="CN24IE" alias="disabled"/>
+ <value>0</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="Pin Module" registerAlias="LATB" settingAlias="LATB14" alias="clear"/>
+ <value>0</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="Pin Module" registerAlias="CNEN1" settingAlias="CN4IE" alias="disabled"/>
+ <value>0</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="Pin Module" registerAlias="TRISB" settingAlias="TRISB8" alias="output"/>
+ <value>0</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="Pin Module" registerAlias="CNEN1" settingAlias="CN13IE" alias="disabled"/>
+ <value>0</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="Pin Module" registerAlias="TRISB" settingAlias="TRISB14" alias="input"/>
+ <value>1</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.SettingKey" moduleName="System Module" registerAlias="CONFIG1" settingAlias="FWPSA"/>
+ <value>PR128</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.SettingKey" moduleName="Pin Module" registerAlias="ODCB" settingAlias="ODB5"/>
+ <value>disabled</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="System Module" registerAlias="CONFIG1" settingAlias="FWDTEN" alias="OFF"/>
+ <value>0</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="INTERNAL OSCILLATOR" registerAlias="OSCTUN" settingAlias="TUN" alias="Center Frequency+7.875%"/>
+ <value>21</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.SettingKey" moduleName="INTERNAL OSCILLATOR" registerAlias="OSCCON" settingAlias="LOCK"/>
+ <value>out of lock</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="INTERNAL OSCILLATOR" registerAlias="OSCTUN" settingAlias="TUN" alias="Center Frequency+7.500%"/>
+ <value>20</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="INTERNAL OSCILLATOR" registerAlias="OSCTUN" settingAlias="TUN" alias="Center Frequency-4.500%"/>
+ <value>52</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="INTERNAL OSCILLATOR" registerAlias="OSCTUN" settingAlias="TUN" alias="Center Frequency-4.875%"/>
+ <value>51</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.SettingKey" moduleName="Pin Module" registerAlias="RPINR21" settingAlias="SS1R"/>
+ <value>31</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.RegisterKey" moduleName="Pin Module" registerAlias="RPINR11"/>
+ <value>7967</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="INTERNAL OSCILLATOR" registerAlias="PMD1" settingAlias="U2MD" alias="disabled"/>
+ <value>1</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.CustomKey" moduleName="INTERNAL OSCILLATOR" name="CLKPinsOutput"/>
+ <value>enabled</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.SettingKey" moduleName="Pin Module" registerAlias="RPINR11" settingAlias="OCFAR"/>
+ <value>31</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.SettingKey" moduleName="Pin Module" registerAlias="LATB" settingAlias="LATB7"/>
+ <value>clear</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="Pin Module" registerAlias="CNEN2" settingAlias="CN30IE" alias="enabled"/>
+ <value>1</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="Pin Module" registerAlias="ODCA" settingAlias="ODA0" alias="disabled"/>
+ <value>0</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="INTERNAL OSCILLATOR" registerAlias="OSCTUN" settingAlias="TUN" alias="Center Frequency-6.375%"/>
+ <value>47</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="INTERNAL OSCILLATOR" registerAlias="OSCTUN" settingAlias="TUN" alias="Center Frequency-6.000%"/>
+ <value>48</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="INTERNAL OSCILLATOR" registerAlias="CLKDIV" settingAlias="DOZEN" alias="enabled"/>
+ <value>1</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="Pin Module" registerAlias="CNEN1" settingAlias="CN6IE" alias="disabled"/>
+ <value>0</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.SettingKey" moduleName="Pin Module" registerAlias="RPOR6" settingAlias="RP13R"/>
+ <value>0</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="System Module" registerAlias="CONFIG2" settingAlias="FCKSM" alias="CSDCMD"/>
+ <value>128</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.SettingKey" moduleName="RESET" registerAlias="RCON" settingAlias="TRAPR"/>
+ <value>disabled</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.RegisterKey" moduleName="INTERNAL OSCILLATOR" registerAlias="OSCCON"/>
+ <value>1792</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.SettingKey" moduleName="Pin Module" registerAlias="ODCB" settingAlias="ODB6"/>
+ <value>disabled</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="Pin Module" registerAlias="TRISB" settingAlias="TRISB12" alias="input"/>
+ <value>1</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="INTERNAL OSCILLATOR" registerAlias="OSCTUN" settingAlias="TUN" alias="Center Frequency-0.750%"/>
+ <value>62</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="Pin Module" registerAlias="CNEN1" settingAlias="CN11IE" alias="disabled"/>
+ <value>0</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.SettingKey" moduleName="Pin Module" registerAlias="RPOR0" settingAlias="RP1R"/>
+ <value>0</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.SettingKey" moduleName="System Module" registerAlias="CONFIG1" settingAlias="FWDTEN"/>
+ <value>OFF</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.RegisterKey" moduleName="Pin Module" registerAlias="TRISA"/>
+ <value>23</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.SettingKey" moduleName="Pin Module" registerAlias="LATB" settingAlias="LATB8"/>
+ <value>clear</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.SettingKey" moduleName="Pin Module" registerAlias="AD1PCFG" settingAlias="PCFG10"/>
+ <value>analog</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="Pin Module" registerAlias="LATB" settingAlias="LATB15" alias="clear"/>
+ <value>0</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="Pin Module" registerAlias="TRISB" settingAlias="TRISB9" alias="output"/>
+ <value>0</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="INTERNAL OSCILLATOR" registerAlias="PMD3" settingAlias="CMPMD" alias="disabled"/>
+ <value>1</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.CustomKey" moduleName="Pin Module" name="Custom Name RB12"/>
+ <value/>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.CustomKey" moduleName="Pin Module" name="Custom Name RB11"/>
+ <value/>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.CustomKey" moduleName="Pin Module" name="Custom Name RB10"/>
+ <value/>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.CustomKey" moduleName="Pin Module" name="Custom Name RB15"/>
+ <value/>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.SettingKey" moduleName="Pin Module" registerAlias="CNEN2" settingAlias="CN16IE"/>
+ <value>disabled</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.SettingKey" moduleName="INTERNAL OSCILLATOR" registerAlias="CLKDIV" settingAlias="DOZEN"/>
+ <value>disabled</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.CustomKey" moduleName="Pin Module" name="Custom Name RB14"/>
+ <value/>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.CustomKey" moduleName="Pin Module" name="Custom Name RB13"/>
+ <value/>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="System Module" registerAlias="CONFIG2" settingAlias="IOL1WAY" alias="ON"/>
+ <value>16</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.RegisterKey" moduleName="INTERNAL OSCILLATOR" registerAlias="OSCTUN"/>
+ <value>0</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.SettingKey" moduleName="System Module" registerAlias="CONFIG2" settingAlias="IOL1WAY"/>
+ <value>ON</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="INTERNAL OSCILLATOR" registerAlias="PMD1" settingAlias="T2MD" alias="disabled"/>
+ <value>1</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.SettingKey" moduleName="System Module" registerAlias="CONFIG1" settingAlias="GCP"/>
+ <value>OFF</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.CustomKey" moduleName="INTERNAL OSCILLATOR" name="FeatureRefClkOutoutEnable"/>
+ <value>UNSUPPORTED</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.SettingKey" moduleName="Pin Module" registerAlias="ODCB" settingAlias="ODB7"/>
+ <value>disabled</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.SettingKey" moduleName="RESET" registerAlias="RCON" settingAlias="BOR"/>
+ <value>disabled</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.SettingKey" moduleName="Pin Module" registerAlias="RPINR22" settingAlias="SDI2R"/>
+ <value>31</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.SettingKey" moduleName="INTERNAL OSCILLATOR" registerAlias="OSCCON" settingAlias="COSC"/>
+ <value>FRCDIV</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.SettingKey" moduleName="Pin Module" registerAlias="CNEN1" settingAlias="CN6IE"/>
+ <value>disabled</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.CustomKey" moduleName="INTERNAL OSCILLATOR" name="CLOCK_SOSC"/>
+ <value/>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.SettingKey" moduleName="Pin Module" registerAlias="RPOR2" settingAlias="RP5R"/>
+ <value>0</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="RESET" registerAlias="RCON" settingAlias="TRAPR" alias="disabled"/>
+ <value>0</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.SettingKey" moduleName="INTERNAL OSCILLATOR" registerAlias="PMD2" settingAlias="OC2MD"/>
+ <value>enabled</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.SettingKey" moduleName="INTERNAL OSCILLATOR" registerAlias="CLKDIV" settingAlias="RCDIV"/>
+ <value>FRC/2</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.CustomKey" moduleName="INTERNAL OSCILLATOR" name="FeatureCANFDClock"/>
+ <value>UNSUPPORTED</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.CustomKey" moduleName="INTERNAL OSCILLATOR" name="CLOCK_FOSC2"/>
+ <value>2000000</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="INTERNAL OSCILLATOR" registerAlias="OSCCON" settingAlias="CF" alias="clock failure"/>
+ <value>1</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="Pin Module" registerAlias="LATA" settingAlias="LATA1" alias="clear"/>
+ <value>0</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="INTERNAL OSCILLATOR" registerAlias="PMD1" settingAlias="I2C1MD" alias="enabled"/>
+ <value>0</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="INTERNAL OSCILLATOR" registerAlias="OSCCON" settingAlias="COSC" alias="SOSC"/>
+ <value>4</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.SettingKey" moduleName="Pin Module" registerAlias="LATB" settingAlias="LATB10"/>
+ <value>clear</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.CustomKey" moduleName="Pin Module" name="ioc DISVREG"/>
+ <value>none</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.SettingKey" moduleName="Pin Module" registerAlias="LATB" settingAlias="LATB5"/>
+ <value>clear</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.SettingKey" moduleName="Pin Module" registerAlias="ODCB" settingAlias="ODB0"/>
+ <value>disabled</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="INTERNAL OSCILLATOR" registerAlias="PMD3" settingAlias="CMPMD" alias="enabled"/>
+ <value>0</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.CustomKey" moduleName="Pin Module" name="ioc RA4"/>
+ <value>none</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.CustomKey" moduleName="Pin Module" name="ioc RA2"/>
+ <value>none</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.SettingKey" moduleName="Pin Module" registerAlias="TRISB" settingAlias="TRISB15"/>
+ <value>input</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.CustomKey" moduleName="Pin Module" name="ioc RA3"/>
+ <value>none</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.CustomKey" moduleName="Pin Module" name="ioc RA0"/>
+ <value>none</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.SettingKey" moduleName="Pin Module" registerAlias="RPOR2" settingAlias="RP4R"/>
+ <value>0</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.CustomKey" moduleName="Pin Module" name="ioc RA1"/>
+ <value>none</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.SettingKey" moduleName="Pin Module" registerAlias="AD1PCFG" settingAlias="PCFG15"/>
+ <value>analog</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.CustomKey" moduleName="INTERNAL OSCILLATOR" name="ClockSwitching"/>
+ <value>disabled</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="System Module" registerAlias="CONFIG1" settingAlias="FWPSA" alias="PR128"/>
+ <value>16</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="Pin Module" registerAlias="LATB" settingAlias="LATB0" alias="clear"/>
+ <value>0</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.CustomKey" moduleName="INTERNAL OSCILLATOR" name="FrcPostscalerClock"/>
+ <value>4000000</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="INTERNAL OSCILLATOR" registerAlias="OSCTUN" settingAlias="TUN" alias="Center Frequency-6.750%"/>
+ <value>46</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="INTERNAL OSCILLATOR" registerAlias="PMD2" settingAlias="OC2MD" alias="enabled"/>
+ <value>0</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.CustomKey" moduleName="Pin Module" name="ioc RB9"/>
+ <value>none</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.SettingKey" moduleName="INTERNAL OSCILLATOR" registerAlias="OSCCON" settingAlias="OSWEN"/>
+ <value>Switch is Complete</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.CustomKey" moduleName="Pin Module" name="ioc RB7"/>
+ <value>none</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="Pin Module" registerAlias="TRISB" settingAlias="TRISB6" alias="output"/>
+ <value>0</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.CustomKey" moduleName="Pin Module" name="ioc RB8"/>
+ <value>none</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.CustomKey" moduleName="Pin Module" name="ioc RB5"/>
+ <value>none</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="INTERNAL OSCILLATOR" registerAlias="CLKDIV" settingAlias="DOZE" alias="1:128"/>
+ <value>7</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.CustomKey" moduleName="Pin Module" name="ioc RB6"/>
+ <value>none</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.CustomKey" moduleName="Pin Module" name="ioc RB3"/>
+ <value>none</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.CustomKey" moduleName="INTERNAL OSCILLATOR" name="PllClock"/>
+ <value/>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.CustomKey" moduleName="Pin Module" name="ioc RB4"/>
+ <value>none</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="Pin Module" registerAlias="AD1PCFG" settingAlias="PCFG9" alias="analog"/>
+ <value>0</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.CustomKey" moduleName="Pin Module" name="ioc RB1"/>
+ <value>none</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.CustomKey" moduleName="Pin Module" name="ioc RB2"/>
+ <value>none</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="INTERNAL OSCILLATOR" registerAlias="OSCCON" settingAlias="NOSC" alias="FRCPLL"/>
+ <value>1</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.CustomKey" moduleName="Pin Module" name="ioc RB0"/>
+ <value>none</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="Pin Module" registerAlias="CNEN2" settingAlias="CN24IE" alias="enabled"/>
+ <value>1</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.CustomKey" moduleName="INTERNAL OSCILLATOR" name="FeatureRefoClockTrim"/>
+ <value>UNSUPPORTED</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="INTERNAL OSCILLATOR" registerAlias="CLKDIV" settingAlias="RCDIV" alias="FRC/256"/>
+ <value>7</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.SettingKey" moduleName="Pin Module" registerAlias="CNEN2" settingAlias="CN21IE"/>
+ <value>disabled</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.SettingKey" moduleName="Pin Module" registerAlias="ODCB" settingAlias="ODB1"/>
+ <value>disabled</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="INTERNAL OSCILLATOR" registerAlias="OSCTUN" settingAlias="TUN" alias="Center Frequency-8.250%"/>
+ <value>42</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="System Module" registerAlias="CONFIG2" settingAlias="IOL1WAY" alias="OFF"/>
+ <value>0</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.SettingKey" moduleName="Pin Module" registerAlias="LATB" settingAlias="LATB6"/>
+ <value>clear</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="Pin Module" registerAlias="LATB" settingAlias="LATB11" alias="clear"/>
+ <value>0</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="System Module" registerAlias="CONFIG2" settingAlias="WUTSEL" alias="LEG"/>
+ <value>24576</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="Pin Module" registerAlias="TRISB" settingAlias="TRISB11" alias="input"/>
+ <value>1</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="Pin Module" registerAlias="TRISB" settingAlias="TRISB5" alias="output"/>
+ <value>0</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.SettingKey" moduleName="Pin Module" registerAlias="RPOR4" settingAlias="RP8R"/>
+ <value>0</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.SettingKey" moduleName="Pin Module" registerAlias="TRISB" settingAlias="TRISB14"/>
+ <value>input</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.SettingKey" moduleName="RESET" registerAlias="RCON" settingAlias="EXTR"/>
+ <value>disabled</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.SettingKey" moduleName="Pin Module" registerAlias="CNPU1" settingAlias="CN0PUE"/>
+ <value>disabled</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="INTERNAL OSCILLATOR" registerAlias="OSCCON" settingAlias="SOSCEN" alias="enabled"/>
+ <value>1</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.CustomKey" moduleName="INTERNAL OSCILLATOR" name="FeaturePoscErrataWorkaround"/>
+ <value>UNSUPPORTED</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.SettingKey" moduleName="Pin Module" registerAlias="CNPU1" settingAlias="CN11PUE"/>
+ <value>disabled</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="Pin Module" registerAlias="LATB" settingAlias="LATB6" alias="set"/>
+ <value>1</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="System Module" registerAlias="CONFIG1" settingAlias="WDTPS" alias="PS64"/>
+ <value>6</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="INTERNAL OSCILLATOR" registerAlias="OSCTUN" settingAlias="TUN" alias="Center Frequency+9.750%"/>
+ <value>26</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.CustomKey" moduleName="Pin Module" name="ioc MCLR"/>
+ <value>none</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.CustomKey" moduleName="INTERNAL OSCILLATOR" name="CLOCK_FRC"/>
+ <value>8000000</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="System Module" registerAlias="CONFIG2" settingAlias="FNOSC" alias="SOSC"/>
+ <value>1024</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="INTERNAL OSCILLATOR" registerAlias="PMD1" settingAlias="ADC1MD" alias="enabled"/>
+ <value>0</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="Pin Module" registerAlias="CNEN1" settingAlias="CN6IE" alias="enabled"/>
+ <value>1</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.SettingKey" moduleName="Pin Module" registerAlias="ODCB" settingAlias="ODB2"/>
+ <value>disabled</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.SettingKey" moduleName="System Module" registerAlias="CONFIG2" settingAlias="FNOSC"/>
+ <value>FRCDIV</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.CustomKey" moduleName="INTERNAL OSCILLATOR" name="CLOCK_USB"/>
+ <value/>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="INTERNAL OSCILLATOR" registerAlias="OSCCON" settingAlias="NOSC" alias="FRC"/>
+ <value>0</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="INTERNAL OSCILLATOR" registerAlias="OSCCON" settingAlias="OSWEN" alias="Switch is Complete"/>
+ <value>0</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="Pin Module" registerAlias="LATB" settingAlias="LATB7" alias="set"/>
+ <value>1</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="INTERNAL OSCILLATOR" registerAlias="CLKDIV" settingAlias="DOZEN" alias="disabled"/>
+ <value>0</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.SettingKey" moduleName="INTERNAL OSCILLATOR" registerAlias="OSCCON" settingAlias="SOSCEN"/>
+ <value>disabled</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.SettingKey" moduleName="Pin Module" registerAlias="TRISB" settingAlias="TRISB13"/>
+ <value>input</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.SettingKey" moduleName="Pin Module" registerAlias="CNPU2" settingAlias="CN23PUE"/>
+ <value>disabled</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="Pin Module" registerAlias="TRISB" settingAlias="TRISB7" alias="output"/>
+ <value>0</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="System Module" registerAlias="CONFIG2" settingAlias="SOSCSEL" alias="LPSOSC"/>
+ <value>2048</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.SettingKey" moduleName="INTERNAL OSCILLATOR" registerAlias="PMD2" settingAlias="IC1MD"/>
+ <value>enabled</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="INTERNAL OSCILLATOR" registerAlias="OSCTUN" settingAlias="TUN" alias="Center Frequency+2.625%"/>
+ <value>7</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.SettingKey" moduleName="Pin Module" registerAlias="LATB" settingAlias="LATB12"/>
+ <value>clear</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.SettingKey" moduleName="Pin Module" registerAlias="LATB" settingAlias="LATB13"/>
+ <value>clear</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.CustomKey" moduleName="INTERNAL OSCILLATOR" name="FeatureFrcScaler"/>
+ <value>AVAILABLE</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.SettingKey" moduleName="INTERNAL OSCILLATOR" registerAlias="OSCCON" settingAlias="CF"/>
+ <value>no clock failure</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="INTERNAL OSCILLATOR" registerAlias="OSCTUN" settingAlias="TUN" alias="Center Frequency-1.125%"/>
+ <value>61</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.CustomKey" moduleName="Pin Module" name="Custom Name MCLR"/>
+ <value/>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="Pin Module" registerAlias="LATA" settingAlias="LATA0" alias="clear"/>
+ <value>0</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.RegisterKey" moduleName="Pin Module" registerAlias="RPINR19"/>
+ <value>7967</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.SettingKey" moduleName="Pin Module" registerAlias="LATB" settingAlias="LATB3"/>
+ <value>clear</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="Pin Module" registerAlias="LATB" settingAlias="LATB12" alias="clear"/>
+ <value>0</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.CustomKey" moduleName="WATCHDOG" name="ClockInput"/>
+ <value>31000</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="INTERNAL OSCILLATOR" registerAlias="OSCTUN" settingAlias="TUN" alias="Center Frequency+5.250%"/>
+ <value>14</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.SettingKey" moduleName="Pin Module" registerAlias="RPINR11" settingAlias="OCFBR"/>
+ <value>31</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="INTERNAL OSCILLATOR" registerAlias="PMD2" settingAlias="IC2MD" alias="disabled"/>
+ <value>1</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="System Module" registerAlias="CONFIG1" settingAlias="BKBUG" alias="OFF"/>
+ <value>2048</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.CustomKey" moduleName="INTERNAL OSCILLATOR" name="REFOPinsInput"/>
+ <value>disabled</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.SettingKey" moduleName="Pin Module" registerAlias="ODCB" settingAlias="ODB3"/>
+ <value>disabled</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.CustomKey" moduleName="WATCHDOG" name="clockSourceSelect"/>
+ <value>CLOCK_LPRC</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.RegisterKey" moduleName="Pin Module" registerAlias="RPINR18"/>
+ <value>7967</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.SettingKey" moduleName="Pin Module" registerAlias="RPOR6" settingAlias="RP12R"/>
+ <value>0</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.SettingKey" moduleName="Pin Module" registerAlias="CNEN2" settingAlias="CN24IE"/>
+ <value>disabled</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.SettingKey" moduleName="INTERNAL OSCILLATOR" registerAlias="PMD2" settingAlias="IC4MD"/>
+ <value>enabled</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.SettingKey" moduleName="Pin Module" registerAlias="CNPU2" settingAlias="CN27PUE"/>
+ <value>disabled</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.SettingKey" moduleName="Pin Module" registerAlias="TRISB" settingAlias="TRISB12"/>
+ <value>input</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="System Module" registerAlias="CONFIG1" settingAlias="WDTPS" alias="PS512"/>
+ <value>9</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.SettingKey" moduleName="Pin Module" registerAlias="LATB" settingAlias="LATB11"/>
+ <value>clear</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.SettingKey" moduleName="Pin Module" registerAlias="RPOR0" settingAlias="RP0R"/>
+ <value>0</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.SettingKey" moduleName="Pin Module" registerAlias="CNPU2" settingAlias="CN30PUE"/>
+ <value>disabled</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.SettingKey" moduleName="Pin Module" registerAlias="RPINR22" settingAlias="SCK2R"/>
+ <value>31</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.CustomKey" moduleName="INTERNAL OSCILLATOR" name="OSCPinsOutput"/>
+ <value>disabled</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.SettingKey" moduleName="Pin Module" registerAlias="RPINR0" settingAlias="INT1R"/>
+ <value>31</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.SettingKey" moduleName="Pin Module" registerAlias="CNEN1" settingAlias="CN11IE"/>
+ <value>disabled</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="INTERNAL OSCILLATOR" registerAlias="PMD1" settingAlias="SPI1MD" alias="enabled"/>
+ <value>0</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.SettingKey" moduleName="Pin Module" registerAlias="LATB" settingAlias="LATB4"/>
+ <value>clear</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.CustomKey" moduleName="INTERNAL OSCILLATOR" name="Pll_Dependent_Clock_Switching"/>
+ <value>disabled</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="INTERNAL OSCILLATOR" registerAlias="PMD1" settingAlias="I2C1MD" alias="disabled"/>
+ <value>1</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="Pin Module" registerAlias="TRISB" settingAlias="TRISB10" alias="input"/>
+ <value>1</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="System Module" registerAlias="CONFIG2" settingAlias="IESO" alias="OFF"/>
+ <value>0</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="INTERNAL OSCILLATOR" registerAlias="PMD2" settingAlias="IC4MD" alias="disabled"/>
+ <value>1</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="INTERNAL OSCILLATOR" registerAlias="PMD2" settingAlias="OC4MD" alias="enabled"/>
+ <value>0</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="System Module" registerAlias="CONFIG2" settingAlias="FNOSC" alias="LPRC"/>
+ <value>1280</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.RegisterKey" moduleName="Pin Module" registerAlias="RPINR7"/>
+ <value>7967</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="System Module" registerAlias="CONFIG1" settingAlias="JTAGEN" alias="OFF"/>
+ <value>0</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="Pin Module" registerAlias="ODCA" settingAlias="ODA4" alias="disabled"/>
+ <value>0</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.CustomKey" moduleName="INTERNAL OSCILLATOR" name="FeatureSoscClock"/>
+ <value>AVAILABLE</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="INTERNAL OSCILLATOR" registerAlias="PMD2" settingAlias="IC5MD" alias="enabled"/>
+ <value>0</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="INTERNAL OSCILLATOR" registerAlias="PMD3" settingAlias="PMPMD" alias="enabled"/>
+ <value>0</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.SettingKey" moduleName="Pin Module" registerAlias="CNPU1" settingAlias="CN15PUE"/>
+ <value>disabled</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.CustomKey" moduleName="INTERNAL OSCILLATOR" name="FeatureRefoOutputPinEnable"/>
+ <value>UNSUPPORTED</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.SettingKey" moduleName="Pin Module" registerAlias="RPINR9" settingAlias="IC5R"/>
+ <value>31</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="INTERNAL OSCILLATOR" registerAlias="OSCTUN" settingAlias="TUN" alias="Center Frequency-4.125%"/>
+ <value>53</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="Pin Module" registerAlias="ODCB" settingAlias="ODB3" alias="disabled"/>
+ <value>0</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.SettingKey" moduleName="Pin Module" registerAlias="LATA" settingAlias="LATA4"/>
+ <value>clear</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="Pin Module" registerAlias="ODCB" settingAlias="ODB0" alias="enabled"/>
+ <value>1</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.SettingKey" moduleName="System Module" registerAlias="CONFIG1" settingAlias="WDTPS"/>
+ <value>PS32768</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="Pin Module" registerAlias="CNPU2" settingAlias="CN21PUE" alias="enabled"/>
+ <value>1</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="Pin Module" registerAlias="CNPU2" settingAlias="CN16PUE" alias="disabled"/>
+ <value>0</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.SettingKey" moduleName="Pin Module" registerAlias="ODCB" settingAlias="ODB10"/>
+ <value>disabled</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.CustomKey" moduleName="INTERNAL OSCILLATOR" name="customMasterSlaveViewerEnable"/>
+ <value>enabled</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.SettingKey" moduleName="INTERNAL OSCILLATOR" registerAlias="PMD3" settingAlias="RTCCMD"/>
+ <value>enabled</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.SettingKey" moduleName="Pin Module" registerAlias="RPINR4" settingAlias="T4CKR"/>
+ <value>31</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.SettingKey" moduleName="INTERNAL OSCILLATOR" registerAlias="PMD2" settingAlias="OC3MD"/>
+ <value>enabled</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.SettingKey" moduleName="Pin Module" registerAlias="RPINR7" settingAlias="IC1R"/>
+ <value>31</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.RegisterKey" moduleName="Pin Module" registerAlias="RPINR9"/>
+ <value>31</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="Pin Module" registerAlias="CNPU2" settingAlias="CN23PUE" alias="enabled"/>
+ <value>1</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.RegisterKey" moduleName="RESET" registerAlias="RCON"/>
+ <value>0</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.RegisterKey" moduleName="Pin Module" registerAlias="CNEN1"/>
+ <value>0</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="Pin Module" registerAlias="ODCB" settingAlias="ODB1" alias="enabled"/>
+ <value>1</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.CustomKey" moduleName="Pin Module" name="Custom Name DISVREG"/>
+ <value/>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.SettingKey" moduleName="Pin Module" registerAlias="CNEN1" settingAlias="CN5IE"/>
+ <value>disabled</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.SettingKey" moduleName="Pin Module" registerAlias="ODCB" settingAlias="ODB11"/>
+ <value>disabled</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="INTERNAL OSCILLATOR" registerAlias="OSCCON" settingAlias="LOCK" alias="out of lock"/>
+ <value>0</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="INTERNAL OSCILLATOR" registerAlias="PMD2" settingAlias="IC3MD" alias="enabled"/>
+ <value>0</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="INTERNAL OSCILLATOR" registerAlias="PMD3" settingAlias="I2C2MD" alias="disabled"/>
+ <value>1</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="INTERNAL OSCILLATOR" registerAlias="OSCCON" settingAlias="COSC" alias="PRIPLL"/>
+ <value>3</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="INTERNAL OSCILLATOR" registerAlias="CLKDIV" settingAlias="DOZE" alias="1:16"/>
+ <value>4</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.RegisterKey" moduleName="Pin Module" registerAlias="ODCB"/>
+ <value>0</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="Pin Module" registerAlias="ODCB" settingAlias="ODB2" alias="disabled"/>
+ <value>0</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="System Module" registerAlias="CONFIG1" settingAlias="BKBUG" alias="ON"/>
+ <value>0</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.SettingKey" moduleName="Pin Module" registerAlias="CNPU1" settingAlias="CN6PUE"/>
+ <value>disabled</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.RegisterKey" moduleName="Pin Module" registerAlias="RPINR8"/>
+ <value>7967</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.RegisterKey" moduleName="Pin Module" registerAlias="CNEN2"/>
+ <value>0</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="Pin Module" registerAlias="ODCA" settingAlias="ODA2" alias="enabled"/>
+ <value>1</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.CustomKey" moduleName="INTERNAL OSCILLATOR" name="Requested CAN Clock Frequency"/>
+ <value>20000000</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.SettingKey" moduleName="System Module" registerAlias="CONFIG2" settingAlias="POSCMOD"/>
+ <value>NONE</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.RegisterKey" moduleName="Pin Module" registerAlias="ODCA"/>
+ <value>0</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.SettingKey" moduleName="System Module" registerAlias="CONFIG1" settingAlias="WINDIS"/>
+ <value>ON</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="RESET" registerAlias="RCON" settingAlias="SWR" alias="disabled"/>
+ <value>0</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="Pin Module" registerAlias="CNPU2" settingAlias="CN22PUE" alias="enabled"/>
+ <value>1</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="Pin Module" registerAlias="ODCB" settingAlias="ODB4" alias="disabled"/>
+ <value>0</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="System Module" registerAlias="CONFIG1" settingAlias="WDTPS" alias="PS32"/>
+ <value>5</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="Pin Module" registerAlias="ODCA" settingAlias="ODA3" alias="enabled"/>
+ <value>1</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="INTERNAL OSCILLATOR" registerAlias="PMD1" settingAlias="SPI1MD" alias="disabled"/>
+ <value>1</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.CustomKey" moduleName="INTERNAL OSCILLATOR" name="FeatureRefoClockDivider"/>
+ <value>UNSUPPORTED</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="Pin Module" registerAlias="AD1PCFG" settingAlias="PCFG15" alias="digital"/>
+ <value>1</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="Pin Module" registerAlias="CNPU2" settingAlias="CN24PUE" alias="enabled"/>
+ <value>1</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="INTERNAL OSCILLATOR" registerAlias="PMD3" settingAlias="CRCMD" alias="enabled"/>
+ <value>0</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.SettingKey" moduleName="Pin Module" registerAlias="TRISB" settingAlias="TRISB0"/>
+ <value>input</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="INTERNAL OSCILLATOR" registerAlias="CLKDIV" settingAlias="DOZE" alias="1:32"/>
+ <value>5</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.SettingKey" moduleName="INTERNAL OSCILLATOR" registerAlias="PMD1" settingAlias="T2MD"/>
+ <value>enabled</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.CustomKey" moduleName="INTERNAL OSCILLATOR" name="FeatureSoscEnable"/>
+ <value>AVAILABLE</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.SettingKey" moduleName="Pin Module" registerAlias="LATA" settingAlias="LATA2"/>
+ <value>clear</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.RegisterKey" moduleName="Pin Module" registerAlias="RPINR1"/>
+ <value>31</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.RegisterKey" moduleName="Pin Module" registerAlias="LATA"/>
+ <value>0</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="System Module" registerAlias="CONFIG1" settingAlias="JTAGEN" alias="ON"/>
+ <value>16384</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.CustomKey" moduleName="INTERNAL OSCILLATOR" name="FeatureRefoClockSource"/>
+ <value>UNSUPPORTED</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.SettingKey" moduleName="Pin Module" registerAlias="RPINR7" settingAlias="IC2R"/>
+ <value>31</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="INTERNAL OSCILLATOR" registerAlias="OSCTUN" settingAlias="TUN" alias="Center Frequency+6.000%"/>
+ <value>16</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="INTERNAL OSCILLATOR" registerAlias="OSCTUN" settingAlias="TUN" alias="Center Frequency+6.375%"/>
+ <value>17</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="System Module" registerAlias="CONFIG1" settingAlias="WDTPS" alias="PS8192"/>
+ <value>13</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.CustomKey" moduleName="INTERNAL OSCILLATOR" name="FeatureAuxClockFBDivisor"/>
+ <value>UNSUPPORTED</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.SettingKey" moduleName="Pin Module" registerAlias="RPINR3" settingAlias="T3CKR"/>
+ <value>31</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.SettingKey" moduleName="Pin Module" registerAlias="RPINR23" settingAlias="SS2R"/>
+ <value>31</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="INTERNAL OSCILLATOR" registerAlias="OSCTUN" settingAlias="TUN" alias="Center Frequency+5.625%"/>
+ <value>15</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.SettingKey" moduleName="Pin Module" registerAlias="CNEN1" settingAlias="CN2IE"/>
+ <value>disabled</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.RegisterKey" moduleName="Pin Module" registerAlias="RPINR4"/>
+ <value>7967</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="Pin Module" registerAlias="CNEN2" settingAlias="CN23IE" alias="enabled"/>
+ <value>1</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.SettingKey" moduleName="Pin Module" registerAlias="LATA" settingAlias="LATA3"/>
+ <value>clear</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="Pin Module" registerAlias="CNEN1" settingAlias="CN3IE" alias="enabled"/>
+ <value>1</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="INTERNAL OSCILLATOR" registerAlias="OSCTUN" settingAlias="TUN" alias="Center Frequency+4.125%"/>
+ <value>11</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="Pin Module" registerAlias="ODCB" settingAlias="ODB2" alias="enabled"/>
+ <value>1</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="Pin Module" registerAlias="LATB" settingAlias="LATB10" alias="clear"/>
+ <value>0</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="System Module" registerAlias="CONFIG1" settingAlias="WDTPS" alias="PS16"/>
+ <value>4</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.RegisterKey" moduleName="Pin Module" registerAlias="RPINR3"/>
+ <value>7967</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.SettingKey" moduleName="Pin Module" registerAlias="ODCB" settingAlias="ODB14"/>
+ <value>disabled</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.CustomKey" moduleName="Pin Module" name="Custom Name RA0"/>
+ <value/>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.SettingKey" moduleName="INTERNAL OSCILLATOR" registerAlias="CLKDIV" settingAlias="DOZE"/>
+ <value>1:8</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.SettingKey" moduleName="INTERNAL OSCILLATOR" registerAlias="PMD1" settingAlias="SPI1MD"/>
+ <value>enabled</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.CustomKey" moduleName="INTERNAL OSCILLATOR" name="FeaturePllPostScaler"/>
+ <value>UNSUPPORTED</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="Pin Module" registerAlias="CNPU2" settingAlias="CN27PUE" alias="enabled"/>
+ <value>1</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.CustomKey" moduleName="INTERNAL OSCILLATOR" name="FeatureRefoClockDivSwitch"/>
+ <value>UNSUPPORTED</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="System Module" registerAlias="CONFIG2" settingAlias="SOSCSEL" alias="SOSC"/>
+ <value>6144</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="RESET" registerAlias="RCON" settingAlias="SLEEP" alias="disabled"/>
+ <value>0</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.CustomKey" moduleName="INTERNAL OSCILLATOR" name="FeaturePllScaler"/>
+ <value>UNSUPPORTED</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="Pin Module" registerAlias="ODCB" settingAlias="ODB0" alias="disabled"/>
+ <value>0</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="System Module" registerAlias="CONFIG2" settingAlias="POSCMOD" alias="NONE"/>
+ <value>3</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="RESET" registerAlias="RCON" settingAlias="TRAPR" alias="enabled"/>
+ <value>1</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="Pin Module" registerAlias="CNEN1" settingAlias="CN1IE" alias="enabled"/>
+ <value>1</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.CustomKey" moduleName="Pin Module" name="Custom Name RB0"/>
+ <value/>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.CustomKey" moduleName="Pin Module" name="Custom Name RB1"/>
+ <value/>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="Pin Module" registerAlias="CNEN2" settingAlias="CN21IE" alias="enabled"/>
+ <value>1</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="INTERNAL OSCILLATOR" registerAlias="OSCTUN" settingAlias="TUN" alias="Center Frequency-7.125%"/>
+ <value>45</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.SettingKey" moduleName="Pin Module" registerAlias="LATA" settingAlias="LATA0"/>
+ <value>clear</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="System Module" registerAlias="CONFIG2" settingAlias="POSCMOD" alias="HS"/>
+ <value>2</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="INTERNAL OSCILLATOR" registerAlias="CLKDIV" settingAlias="DOZE" alias="1:64"/>
+ <value>6</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.CustomKey" moduleName="Pin Module" name="Custom Name RA1"/>
+ <value/>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.CustomKey" moduleName="Pin Module" name="Custom Name RA2"/>
+ <value/>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.CustomKey" moduleName="Pin Module" name="Custom Name RA3"/>
+ <value/>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="INTERNAL OSCILLATOR" registerAlias="PMD3" settingAlias="PMPMD" alias="disabled"/>
+ <value>1</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.CustomKey" moduleName="Pin Module" name="Custom Name RA4"/>
+ <value/>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="RESET" registerAlias="RCON" settingAlias="IDLE" alias="disabled"/>
+ <value>0</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.CustomKey" moduleName="INTERNAL OSCILLATOR" name="ClockSource"/>
+ <value>FRC Oscillator</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.RegisterKey" moduleName="Pin Module" registerAlias="LATB"/>
+ <value>0</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="INTERNAL OSCILLATOR" registerAlias="PMD3" settingAlias="RTCCMD" alias="disabled"/>
+ <value>1</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.RegisterKey" moduleName="Pin Module" registerAlias="RPINR0"/>
+ <value>7936</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.CustomKey" moduleName="INTERNAL OSCILLATOR" name="SOSCPinsOutput"/>
+ <value>disabled</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.SettingKey" moduleName="Pin Module" registerAlias="CNPU1" settingAlias="CN1PUE"/>
+ <value>disabled</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.SettingKey" moduleName="Pin Module" registerAlias="CNPU1" settingAlias="CN12PUE"/>
+ <value>disabled</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="Pin Module" registerAlias="CNPU2" settingAlias="CN29PUE" alias="enabled"/>
+ <value>1</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="Pin Module" registerAlias="CNEN1" settingAlias="CN14IE" alias="enabled"/>
+ <value>1</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.SettingKey" moduleName="Pin Module" registerAlias="CNEN1" settingAlias="CN12IE"/>
+ <value>disabled</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="INTERNAL OSCILLATOR" registerAlias="PMD3" settingAlias="I2C2MD" alias="enabled"/>
+ <value>0</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.SettingKey" moduleName="Pin Module" registerAlias="ODCB" settingAlias="ODB15"/>
+ <value>disabled</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.CustomKey" moduleName="INTERNAL OSCILLATOR" name="FeatureAuxClockPostscaler2"/>
+ <value>UNSUPPORTED</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="System Module" registerAlias="CONFIG2" settingAlias="POSCMOD" alias="EC"/>
+ <value>0</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.SettingKey" moduleName="INTERNAL OSCILLATOR" registerAlias="OSCCON" settingAlias="CLKLOCK"/>
+ <value>unlocked</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="Pin Module" registerAlias="AD1PCFG" settingAlias="PCFG3" alias="analog"/>
+ <value>0</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.SettingKey" moduleName="Pin Module" registerAlias="RPINR19" settingAlias="U2RXR"/>
+ <value>31</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="INTERNAL OSCILLATOR" registerAlias="CLKDIV" settingAlias="RCDIV" alias="FRC/64"/>
+ <value>6</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="INTERNAL OSCILLATOR" registerAlias="OSCCON" settingAlias="CLKLOCK" alias="locked"/>
+ <value>1</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="Pin Module" registerAlias="TRISB" settingAlias="TRISB9" alias="input"/>
+ <value>1</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.SettingKey" moduleName="INTERNAL OSCILLATOR" registerAlias="PMD1" settingAlias="T5MD"/>
+ <value>enabled</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="INTERNAL OSCILLATOR" registerAlias="OSCCON" settingAlias="COSC" alias="FRCDIV"/>
+ <value>7</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="Pin Module" registerAlias="ODCA" settingAlias="ODA1" alias="disabled"/>
+ <value>0</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.SettingKey" moduleName="System Module" registerAlias="CONFIG2" settingAlias="FCKSM"/>
+ <value>CSDCMD</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.SettingKey" moduleName="Pin Module" registerAlias="LATA" settingAlias="LATA1"/>
+ <value>clear</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="INTERNAL OSCILLATOR" registerAlias="CLKDIV" settingAlias="DOZE" alias="1:2"/>
+ <value>1</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="INTERNAL OSCILLATOR" registerAlias="CLKDIV" settingAlias="DOZE" alias="1:4"/>
+ <value>2</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="INTERNAL OSCILLATOR" registerAlias="OSCTUN" settingAlias="TUN" alias="Center Frequency+9.000%"/>
+ <value>24</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.CustomKey" moduleName="Pin Module" name="Pin Module_CNIISRFunction"/>
+ <value>ISR_Pin Module_CNI</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.SettingKey" moduleName="System Module" registerAlias="CONFIG2" settingAlias="I2C1SEL"/>
+ <value>PRI</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="INTERNAL OSCILLATOR" registerAlias="CLKDIV" settingAlias="DOZE" alias="1:1"/>
+ <value>0</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.SettingKey" moduleName="Pin Module" registerAlias="ODCB" settingAlias="ODB12"/>
+ <value>disabled</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.SettingKey" moduleName="Pin Module" registerAlias="RPINR18" settingAlias="U1RXR"/>
+ <value>31</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="INTERNAL OSCILLATOR" registerAlias="OSCTUN" settingAlias="TUN" alias="Center Frequency+9.375%"/>
+ <value>25</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="System Module" registerAlias="CONFIG2" settingAlias="FNOSC" alias="FRCDIV"/>
+ <value>1792</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="INTERNAL OSCILLATOR" registerAlias="CLKDIV" settingAlias="DOZE" alias="1:8"/>
+ <value>3</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="INTERNAL OSCILLATOR" registerAlias="CLKDIV" settingAlias="RCDIV" alias="FRC/32"/>
+ <value>5</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="RESET" registerAlias="RCON" settingAlias="SWR" alias="enabled"/>
+ <value>1</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.CustomKey" moduleName="Pin Module" name="ioc RB15"/>
+ <value>none</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.CustomKey" moduleName="Pin Module" name="ioc RB14"/>
+ <value>none</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="Pin Module" registerAlias="CNEN1" settingAlias="CN12IE" alias="enabled"/>
+ <value>1</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.CustomKey" moduleName="Pin Module" name="ioc RB13"/>
+ <value>none</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.CustomKey" moduleName="INTERNAL OSCILLATOR" name="FeatureClockChange"/>
+ <value>AVAILABLE</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.CustomKey" moduleName="Pin Module" name="ioc RB12"/>
+ <value>none</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.CustomKey" moduleName="Pin Module" name="customNameUserSet DISVREG"/>
+ <value>disabled</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.CustomKey" moduleName="Pin Module" name="ioc RB11"/>
+ <value>none</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.CustomKey" moduleName="Pin Module" name="ioc RB10"/>
+ <value>none</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="INTERNAL OSCILLATOR" registerAlias="OSCTUN" settingAlias="TUN" alias="Center Frequency-8.625%"/>
+ <value>41</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="Pin Module" registerAlias="ODCA" settingAlias="ODA3" alias="disabled"/>
+ <value>0</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="Pin Module" registerAlias="AD1PCFG" settingAlias="PCFG5" alias="analog"/>
+ <value>0</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="System Module" registerAlias="CONFIG1" settingAlias="WDTPS" alias="PS2048"/>
+ <value>11</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="RESET" registerAlias="RCON" settingAlias="IDLE" alias="enabled"/>
+ <value>1</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="Pin Module" registerAlias="ODCA" settingAlias="ODA0" alias="enabled"/>
+ <value>1</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="INTERNAL OSCILLATOR" registerAlias="PMD1" settingAlias="T3MD" alias="enabled"/>
+ <value>0</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.RegisterKey" moduleName="Pin Module" registerAlias="AD1PCFG"/>
+ <value>12</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.SettingKey" moduleName="RESET" registerAlias="RCON" settingAlias="SLEEP"/>
+ <value>disabled</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.CustomKey" moduleName="INTERNAL OSCILLATOR" name="FeatureClockSource"/>
+ <value>AVAILABLE</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.SettingKey" moduleName="Pin Module" registerAlias="ODCB" settingAlias="ODB13"/>
+ <value>disabled</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="Pin Module" registerAlias="AD1PCFG" settingAlias="PCFG4" alias="analog"/>
+ <value>0</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.CustomKey" moduleName="INTERNAL OSCILLATOR" name="FeatureFrcEnable"/>
+ <value>AVAILABLE</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.CustomKey" moduleName="Pin Module" name="customNameUserSet RB12"/>
+ <value>disabled</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.CustomKey" moduleName="Pin Module" name="customNameUserSet RB13"/>
+ <value>disabled</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.SettingKey" moduleName="Pin Module" registerAlias="CNEN1" settingAlias="CN15IE"/>
+ <value>disabled</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.CustomKey" moduleName="Pin Module" name="customNameUserSet RB10"/>
+ <value>disabled</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.CustomKey" moduleName="Pin Module" name="customNameUserSet RB11"/>
+ <value>disabled</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="Pin Module" registerAlias="ODCA" settingAlias="ODA1" alias="enabled"/>
+ <value>1</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="System Module" registerAlias="CONFIG1" settingAlias="WDTPS" alias="PS16384"/>
+ <value>14</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.CustomKey" moduleName="Pin Module" name="customNameUserSet RB14"/>
+ <value>disabled</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.CustomKey" moduleName="Pin Module" name="customNameUserSet RB15"/>
+ <value>disabled</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="Pin Module" registerAlias="TRISB" settingAlias="TRISB15" alias="input"/>
+ <value>1</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="INTERNAL OSCILLATOR" registerAlias="CLKDIV" settingAlias="RCDIV" alias="FRC/16"/>
+ <value>4</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.SettingKey" moduleName="Pin Module" registerAlias="CNPU2" settingAlias="CN24PUE"/>
+ <value>disabled</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="Pin Module" registerAlias="ODCA" settingAlias="ODA2" alias="disabled"/>
+ <value>0</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.CustomKey" moduleName="Pin Module" name="trisUserSetRB11"/>
+ <value>disabled</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.CustomKey" moduleName="Pin Module" name="trisUserSetRB10"/>
+ <value>disabled</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.CustomKey" moduleName="Pin Module" name="trisUserSetRB13"/>
+ <value>disabled</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.CustomKey" moduleName="Pin Module" name="trisUserSetRB12"/>
+ <value>disabled</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="INTERNAL OSCILLATOR" registerAlias="OSCTUN" settingAlias="TUN" alias="Center Frequency+7.125%"/>
+ <value>19</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.CustomKey" moduleName="Pin Module" name="trisUserSetRB15"/>
+ <value>disabled</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.CustomKey" moduleName="Pin Module" name="trisUserSetRB14"/>
+ <value>disabled</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="INTERNAL OSCILLATOR" registerAlias="OSCTUN" settingAlias="TUN" alias="Center Frequency+8.625%"/>
+ <value>23</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.RegisterKey" moduleName="INTERNAL OSCILLATOR" registerAlias="CLKDIV"/>
+ <value>12544</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.SettingKey" moduleName="Pin Module" registerAlias="RPINR19" settingAlias="U2CTSR"/>
+ <value>31</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="System Module" registerAlias="CONFIG1" settingAlias="FWDTEN" alias="ON"/>
+ <value>128</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="INTERNAL OSCILLATOR" registerAlias="OSCCON" settingAlias="NOSC" alias="LPRC"/>
+ <value>5</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="RESET" registerAlias="RCON" settingAlias="SLEEP" alias="enabled"/>
+ <value>1</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="Pin Module" registerAlias="ODCB" settingAlias="ODB1" alias="disabled"/>
+ <value>0</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.CustomKey" moduleName="INTERNAL OSCILLATOR" name="FeatureAuxClockEnable"/>
+ <value>UNSUPPORTED</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="INTERNAL OSCILLATOR" registerAlias="PMD1" settingAlias="T5MD" alias="enabled"/>
+ <value>0</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.CustomKey" moduleName="INTERNAL OSCILLATOR" name="CLOCK_PRIMARY"/>
+ <value>8000000</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="INTERNAL OSCILLATOR" registerAlias="PMD3" settingAlias="RTCCMD" alias="enabled"/>
+ <value>0</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="INTERNAL OSCILLATOR" registerAlias="PMD3" settingAlias="CRCMD" alias="disabled"/>
+ <value>1</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="Pin Module" registerAlias="CNPU1" settingAlias="CN2PUE" alias="enabled"/>
+ <value>1</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="Pin Module" registerAlias="ODCB" settingAlias="ODB8" alias="disabled"/>
+ <value>0</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.SettingKey" moduleName="Pin Module" registerAlias="RPOR3" settingAlias="RP7R"/>
+ <value>0</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="Pin Module" registerAlias="CNEN1" settingAlias="CN1IE" alias="disabled"/>
+ <value>0</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="Pin Module" registerAlias="ODCB" settingAlias="ODB11" alias="disabled"/>
+ <value>0</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="Pin Module" registerAlias="CNEN2" settingAlias="CN21IE" alias="disabled"/>
+ <value>0</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="System Module" registerAlias="CONFIG1" settingAlias="GCP" alias="OFF"/>
+ <value>8192</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.RegisterKey" moduleName="Pin Module" registerAlias="CNPU2"/>
+ <value>0</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.SettingKey" moduleName="Pin Module" registerAlias="CNPU2" settingAlias="CN21PUE"/>
+ <value>disabled</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="Pin Module" registerAlias="AD1PCFG" settingAlias="PCFG11" alias="digital"/>
+ <value>1</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="Pin Module" registerAlias="TRISB" settingAlias="TRISB6" alias="input"/>
+ <value>1</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="INTERNAL OSCILLATOR" registerAlias="OSCCON" settingAlias="COSC" alias="LPRC"/>
+ <value>5</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.SettingKey" moduleName="System Module" registerAlias="CONFIG1" settingAlias="ICS"/>
+ <value>PGx1</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="INTERNAL OSCILLATOR" registerAlias="OSCTUN" settingAlias="TUN" alias="Center Frequency-5.250%"/>
+ <value>50</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="INTERNAL OSCILLATOR" registerAlias="PMD1" settingAlias="T5MD" alias="disabled"/>
+ <value>1</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.SettingKey" moduleName="INTERNAL OSCILLATOR" registerAlias="PMD3" settingAlias="PMPMD"/>
+ <value>enabled</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="System Module" registerAlias="CONFIG1" settingAlias="WDTPS" alias="PS256"/>
+ <value>8</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.RegisterKey" moduleName="Pin Module" registerAlias="RPINR21"/>
+ <value>31</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="RESET" registerAlias="RCON" settingAlias="IOPUWR" alias="enabled"/>
+ <value>1</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.SettingKey" moduleName="INTERNAL OSCILLATOR" registerAlias="PMD2" settingAlias="IC2MD"/>
+ <value>enabled</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="Pin Module" registerAlias="LATB" settingAlias="LATB8" alias="clear"/>
+ <value>0</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="Pin Module" registerAlias="AD1PCFG" settingAlias="PCFG1" alias="analog"/>
+ <value>0</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.SettingKey" moduleName="Pin Module" registerAlias="RPINR1" settingAlias="INT2R"/>
+ <value>31</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="RESET" registerAlias="RCON" settingAlias="POR" alias="enabled"/>
+ <value>1</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="INTERNAL OSCILLATOR" registerAlias="PMD2" settingAlias="OC3MD" alias="disabled"/>
+ <value>1</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="Pin Module" registerAlias="TRISB" settingAlias="TRISB15" alias="output"/>
+ <value>0</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.CustomKey" moduleName="INTERNAL OSCILLATOR" name="FeatureOscfDivisor"/>
+ <value>UNSUPPORTED</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="INTERNAL OSCILLATOR" registerAlias="OSCTUN" settingAlias="TUN" alias="Center Frequency-3.750%"/>
+ <value>54</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="System Module" registerAlias="CONFIG2" settingAlias="FNOSC" alias="PRIPLL"/>
+ <value>768</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.RegisterKey" moduleName="Pin Module" registerAlias="RPINR20"/>
+ <value>7967</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.SettingKey" moduleName="Pin Module" registerAlias="TRISB" settingAlias="TRISB7"/>
+ <value>input</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="INTERNAL OSCILLATOR" registerAlias="OSCTUN" settingAlias="TUN" alias="Center Frequency+8.250%"/>
+ <value>22</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="RESET" registerAlias="RCON" settingAlias="WDTO" alias="disabled"/>
+ <value>0</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="Pin Module" registerAlias="CNPU1" settingAlias="CN1PUE" alias="enabled"/>
+ <value>1</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.SettingKey" moduleName="Pin Module" registerAlias="CNPU1" settingAlias="CN3PUE"/>
+ <value>disabled</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.SettingKey" moduleName="Pin Module" registerAlias="CNPU1" settingAlias="CN14PUE"/>
+ <value>disabled</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="Pin Module" registerAlias="LATB" settingAlias="LATB7" alias="clear"/>
+ <value>0</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="Pin Module" registerAlias="CNEN1" settingAlias="CN3IE" alias="disabled"/>
+ <value>0</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="Pin Module" registerAlias="AD1PCFG" settingAlias="PCFG0" alias="analog"/>
+ <value>0</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="INTERNAL OSCILLATOR" registerAlias="OSCTUN" settingAlias="TUN" alias="Center Frequency-7.500%"/>
+ <value>44</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="Pin Module" registerAlias="CNEN2" settingAlias="CN23IE" alias="disabled"/>
+ <value>0</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.CustomKey" moduleName="INTERNAL OSCILLATOR" name="FrcEnable"/>
+ <value>enabled</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="INTERNAL OSCILLATOR" registerAlias="OSCTUN" settingAlias="TUN" alias="Center Frequency-7.875%"/>
+ <value>43</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.SettingKey" moduleName="INTERNAL OSCILLATOR" registerAlias="PMD2" settingAlias="IC5MD"/>
+ <value>enabled</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="INTERNAL OSCILLATOR" registerAlias="OSCTUN" settingAlias="TUN" alias="Center Frequency-9.375%"/>
+ <value>39</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="INTERNAL OSCILLATOR" registerAlias="OSCTUN" settingAlias="TUN" alias="Center Frequency-9.000%"/>
+ <value>40</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="Pin Module" registerAlias="CNPU2" settingAlias="CN27PUE" alias="disabled"/>
+ <value>0</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="Pin Module" registerAlias="CNPU1" settingAlias="CN3PUE" alias="enabled"/>
+ <value>1</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="Pin Module" registerAlias="CNEN1" settingAlias="CN14IE" alias="disabled"/>
+ <value>0</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="System Module" registerAlias="CONFIG2" settingAlias="OSCIOFCN" alias="OFF"/>
+ <value>32</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="Pin Module" registerAlias="LATB" settingAlias="LATB13" alias="set"/>
+ <value>1</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.SettingKey" moduleName="Pin Module" registerAlias="CNEN1" settingAlias="CN1IE"/>
+ <value>disabled</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="INTERNAL OSCILLATOR" registerAlias="PMD1" settingAlias="U1MD" alias="enabled"/>
+ <value>0</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="System Module" registerAlias="CONFIG2" settingAlias="FNOSC" alias="FRC"/>
+ <value>0</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="Pin Module" registerAlias="ODCB" settingAlias="ODB6" alias="enabled"/>
+ <value>1</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.RegisterKey" moduleName="Pin Module" registerAlias="CNPU1"/>
+ <value>0</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="INTERNAL OSCILLATOR" registerAlias="OSCTUN" settingAlias="TUN" alias="Center Frequency+6.750%"/>
+ <value>18</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="INTERNAL OSCILLATOR" registerAlias="PMD1" settingAlias="T1MD" alias="enabled"/>
+ <value>0</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="Pin Module" registerAlias="AD1PCFG" settingAlias="PCFG12" alias="digital"/>
+ <value>1</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="INTERNAL OSCILLATOR" registerAlias="PMD2" settingAlias="OC5MD" alias="disabled"/>
+ <value>1</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="INTERNAL OSCILLATOR" registerAlias="OSCTUN" settingAlias="TUN" alias="Center Frequency+10.500%"/>
+ <value>28</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="INTERNAL OSCILLATOR" registerAlias="OSCTUN" settingAlias="TUN" alias="Center Frequency+10.875%"/>
+ <value>29</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.SettingKey" moduleName="Pin Module" registerAlias="TRISB" settingAlias="TRISB6"/>
+ <value>input</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="System Module" registerAlias="CONFIG1" settingAlias="WINDIS" alias="ON"/>
+ <value>64</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="Pin Module" registerAlias="AD1PCFG" settingAlias="PCFG2" alias="analog"/>
+ <value>0</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="Pin Module" registerAlias="CNEN1" settingAlias="CN5IE" alias="disabled"/>
+ <value>0</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="Pin Module" registerAlias="ODCB" settingAlias="ODB7" alias="enabled"/>
+ <value>1</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="Pin Module" registerAlias="CNPU1" settingAlias="CN0PUE" alias="disabled"/>
+ <value>0</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="INTERNAL OSCILLATOR" registerAlias="PMD1" settingAlias="T1MD" alias="disabled"/>
+ <value>1</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.SettingKey" moduleName="Pin Module" registerAlias="RPOR5" settingAlias="RP11R"/>
+ <value>0</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="Pin Module" registerAlias="CNPU1" settingAlias="CN5PUE" alias="enabled"/>
+ <value>1</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.SettingKey" moduleName="System Module" registerAlias="CONFIG1" settingAlias="JTAGEN"/>
+ <value>OFF</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.SettingKey" moduleName="Pin Module" registerAlias="TRISB" settingAlias="TRISB9"/>
+ <value>input</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.SettingKey" moduleName="INTERNAL OSCILLATOR" registerAlias="OSCCON" settingAlias="NOSC"/>
+ <value>FRCDIV</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="Pin Module" registerAlias="TRISB" settingAlias="TRISB14" alias="output"/>
+ <value>0</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="Pin Module" registerAlias="CNEN1" settingAlias="CN12IE" alias="disabled"/>
+ <value>0</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="Pin Module" registerAlias="AD1PCFG" settingAlias="PCFG5" alias="digital"/>
+ <value>1</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.CustomKey" moduleName="Pin Module" name="iocUserSet MCLR"/>
+ <value>disabled</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="INTERNAL OSCILLATOR" registerAlias="OSCCON" settingAlias="NOSC" alias="FRCDIV"/>
+ <value>7</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.CustomKey" moduleName="INTERNAL OSCILLATOR" name="FeaturePllCpuDivScaler"/>
+ <value>UNSUPPORTED</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="Pin Module" registerAlias="LATB" settingAlias="LATB15" alias="set"/>
+ <value>1</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.CustomKey" moduleName="INTERNAL OSCILLATOR" name="FeatureAuxClockPostscaler"/>
+ <value>UNSUPPORTED</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="Pin Module" registerAlias="AD1PCFG" settingAlias="PCFG10" alias="digital"/>
+ <value>1</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="Pin Module" registerAlias="ODCB" settingAlias="ODB12" alias="disabled"/>
+ <value>0</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="Pin Module" registerAlias="TRISB" settingAlias="TRISB7" alias="input"/>
+ <value>1</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="Pin Module" registerAlias="ODCB" settingAlias="ODB10" alias="enabled"/>
+ <value>1</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="System Module" registerAlias="CONFIG2" settingAlias="I2C1SEL" alias="PRI"/>
+ <value>4</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="Pin Module" registerAlias="LATA" settingAlias="LATA0" alias="set"/>
+ <value>1</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.SettingKey" moduleName="Pin Module" registerAlias="RPOR7" settingAlias="RP15R"/>
+ <value>0</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.SettingKey" moduleName="RESET" registerAlias="RCON" settingAlias="IOPUWR"/>
+ <value>disabled</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="RESET" registerAlias="RCON" settingAlias="EXTR" alias="enabled"/>
+ <value>1</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="Pin Module" registerAlias="CNPU1" settingAlias="CN4PUE" alias="enabled"/>
+ <value>1</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="RESET" registerAlias="RCON" settingAlias="POR" alias="disabled"/>
+ <value>0</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="Pin Module" registerAlias="CNEN1" settingAlias="CN7IE" alias="disabled"/>
+ <value>0</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.SettingKey" moduleName="INTERNAL OSCILLATOR" registerAlias="PMD1" settingAlias="U2MD"/>
+ <value>enabled</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="Pin Module" registerAlias="ODCB" settingAlias="ODB13" alias="disabled"/>
+ <value>0</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="System Module" registerAlias="CONFIG2" settingAlias="OSCIOFCN" alias="ON"/>
+ <value>0</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="System Module" registerAlias="CONFIG2" settingAlias="FCKSM" alias="CSECMD"/>
+ <value>64</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.CustomKey" moduleName="WATCHDOG" name="customViewerUpdate"/>
+ <value>disabled</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="System Module" registerAlias="CONFIG2" settingAlias="FCKSM" alias="CSECME"/>
+ <value>0</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="INTERNAL OSCILLATOR" registerAlias="PMD1" settingAlias="T3MD" alias="disabled"/>
+ <value>1</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.SettingKey" moduleName="Pin Module" registerAlias="CNEN2" settingAlias="CN22IE"/>
+ <value>disabled</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="Pin Module" registerAlias="TRISB" settingAlias="TRISB8" alias="input"/>
+ <value>1</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="INTERNAL OSCILLATOR" registerAlias="PMD1" settingAlias="U1MD" alias="disabled"/>
+ <value>1</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="INTERNAL OSCILLATOR" registerAlias="CLKDIV" settingAlias="ROI" alias="enabled"/>
+ <value>1</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="Pin Module" registerAlias="ODCB" settingAlias="ODB11" alias="enabled"/>
+ <value>1</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="Pin Module" registerAlias="LATA" settingAlias="LATA1" alias="set"/>
+ <value>1</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="Pin Module" registerAlias="CNPU1" settingAlias="CN6PUE" alias="enabled"/>
+ <value>1</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.CustomKey" moduleName="Pin Module" name="Custom Name RB6"/>
+ <value/>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.CustomKey" moduleName="Pin Module" name="Custom Name RB7"/>
+ <value/>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.CustomKey" moduleName="Pin Module" name="Custom Name RB8"/>
+ <value/>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.CustomKey" moduleName="Pin Module" name="Custom Name RB9"/>
+ <value/>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.CustomKey" moduleName="Pin Module" name="Custom Name RB2"/>
+ <value/>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.SettingKey" moduleName="INTERNAL OSCILLATOR" registerAlias="OSCTUN" settingAlias="TUN"/>
+ <value>Center frequency</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.CustomKey" moduleName="Pin Module" name="Custom Name RB3"/>
+ <value/>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.RegisterKey" moduleName="Pin Module" registerAlias="RPINR23"/>
+ <value>31</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.CustomKey" moduleName="Pin Module" name="Custom Name RB4"/>
+ <value/>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.SettingKey" moduleName="Pin Module" registerAlias="RPOR1" settingAlias="RP3R"/>
+ <value>0</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.CustomKey" moduleName="Pin Module" name="Custom Name RB5"/>
+ <value/>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="Pin Module" registerAlias="ODCB" settingAlias="ODB9" alias="disabled"/>
+ <value>0</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="Pin Module" registerAlias="LATB" settingAlias="LATB6" alias="clear"/>
+ <value>0</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.CustomKey" moduleName="Pin Module" name="packageId"/>
+ <value>DIP28</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="INTERNAL OSCILLATOR" registerAlias="PMD2" settingAlias="OC1MD" alias="disabled"/>
+ <value>1</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="Pin Module" registerAlias="TRISA" settingAlias="TRISA0" alias="output"/>
+ <value>0</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.SettingKey" moduleName="System Module" registerAlias="CONFIG2" settingAlias="WUTSEL"/>
+ <value>LEG</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.SettingKey" moduleName="Pin Module" registerAlias="TRISB" settingAlias="TRISB8"/>
+ <value>input</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="System Module" registerAlias="CONFIG1" settingAlias="WINDIS" alias="OFF"/>
+ <value>0</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.RegisterKey" moduleName="Pin Module" registerAlias="RPINR22"/>
+ <value>7967</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="Pin Module" registerAlias="CNPU2" settingAlias="CN29PUE" alias="disabled"/>
+ <value>0</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="Pin Module" registerAlias="CNEN2" settingAlias="CN27IE" alias="disabled"/>
+ <value>0</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="Pin Module" registerAlias="LATB" settingAlias="LATB14" alias="set"/>
+ <value>1</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="System Module" registerAlias="CONFIG2" settingAlias="POSCMOD" alias="XT"/>
+ <value>1</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.SettingKey" moduleName="Pin Module" registerAlias="ODCA" settingAlias="ODA3"/>
+ <value>disabled</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.SettingKey" moduleName="Pin Module" registerAlias="RPINR3" settingAlias="T2CKR"/>
+ <value>31</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="Pin Module" registerAlias="ODCB" settingAlias="ODB3" alias="enabled"/>
+ <value>1</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="Pin Module" registerAlias="CNPU2" settingAlias="CN22PUE" alias="disabled"/>
+ <value>0</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="System Module" registerAlias="CONFIG1" settingAlias="WDTPS" alias="PS4096"/>
+ <value>12</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.SettingKey" moduleName="Pin Module" registerAlias="CNEN2" settingAlias="CN29IE"/>
+ <value>disabled</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="Pin Module" registerAlias="AD1PCFG" settingAlias="PCFG9" alias="digital"/>
+ <value>1</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="INTERNAL OSCILLATOR" registerAlias="PMD2" settingAlias="IC5MD" alias="disabled"/>
+ <value>1</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.CustomKey" moduleName="Pin Module" name="anselUserSetRA1"/>
+ <value>disabled</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="Pin Module" registerAlias="LATB" settingAlias="LATB11" alias="set"/>
+ <value>1</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.CustomKey" moduleName="Pin Module" name="anselUserSetRA0"/>
+ <value>disabled</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="INTERNAL OSCILLATOR" registerAlias="PMD2" settingAlias="OC3MD" alias="enabled"/>
+ <value>0</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.SettingKey" moduleName="INTERNAL OSCILLATOR" registerAlias="PMD1" settingAlias="T1MD"/>
+ <value>enabled</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="Pin Module" registerAlias="CNPU1" settingAlias="CN7PUE" alias="enabled"/>
+ <value>1</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="Pin Module" registerAlias="TRISB" settingAlias="TRISB3" alias="input"/>
+ <value>1</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.SettingKey" moduleName="Pin Module" registerAlias="TRISB" settingAlias="TRISB3"/>
+ <value>input</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="Pin Module" registerAlias="ODCA" settingAlias="ODA4" alias="enabled"/>
+ <value>1</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="RESET" registerAlias="RCON" settingAlias="IOPUWR" alias="disabled"/>
+ <value>0</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.CustomKey" moduleName="INTERNAL OSCILLATOR" name="FeatureAutoTune"/>
+ <value>UNSUPPORTED</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="System Module" registerAlias="CONFIG2" settingAlias="FNOSC" alias="FRCPLL"/>
+ <value>256</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.SettingKey" moduleName="Pin Module" registerAlias="RPOR3" settingAlias="RP6R"/>
+ <value>0</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.CustomKey" moduleName="Pin Module" name="anselUserSetRB2"/>
+ <value>disabled</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.CustomKey" moduleName="Pin Module" name="anselUserSetRB3"/>
+ <value>disabled</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.CustomKey" moduleName="Pin Module" name="anselUserSetRB0"/>
+ <value>disabled</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="Pin Module" registerAlias="CNEN2" settingAlias="CN29IE" alias="disabled"/>
+ <value>0</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.CustomKey" moduleName="Pin Module" name="anselUserSetRB1"/>
+ <value>disabled</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="INTERNAL OSCILLATOR" registerAlias="CLKDIV" settingAlias="RCDIV" alias="FRC/1"/>
+ <value>0</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="INTERNAL OSCILLATOR" registerAlias="CLKDIV" settingAlias="RCDIV" alias="FRC/2"/>
+ <value>1</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="INTERNAL OSCILLATOR" registerAlias="OSCTUN" settingAlias="TUN" alias="Center Frequency+4.500%"/>
+ <value>12</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="INTERNAL OSCILLATOR" registerAlias="OSCTUN" settingAlias="TUN" alias="Center Frequency+4.875%"/>
+ <value>13</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="Pin Module" registerAlias="TRISB" settingAlias="TRISB4" alias="input"/>
+ <value>1</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.CustomKey" moduleName="INTERNAL OSCILLATOR" name="FeatureAuxClockChange"/>
+ <value>UNSUPPORTED</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.RegisterKey" moduleName="Pin Module" registerAlias="RPOR7"/>
+ <value>0</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.SettingKey" moduleName="Pin Module" registerAlias="TRISB" settingAlias="TRISB1"/>
+ <value>input</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.CustomKey" moduleName="INTERNAL OSCILLATOR" name="FeatureUsb"/>
+ <value>UNSUPPORTED</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.SettingKey" moduleName="Pin Module" registerAlias="RPINR20" settingAlias="SDI1R"/>
+ <value>31</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="INTERNAL OSCILLATOR" registerAlias="OSCTUN" settingAlias="TUN" alias="Center Frequency-3.375%"/>
+ <value>55</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="INTERNAL OSCILLATOR" registerAlias="PMD2" settingAlias="OC1MD" alias="enabled"/>
+ <value>0</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.CustomKey" moduleName="INTERNAL OSCILLATOR" name="SCLKPinsInput"/>
+ <value>enabled</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.SettingKey" moduleName="INTERNAL OSCILLATOR" registerAlias="PMD3" settingAlias="CMPMD"/>
+ <value>enabled</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.CustomKey" moduleName="WATCHDOG" name="customMasterSlaveViewerEnable"/>
+ <value>enabled</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="Pin Module" registerAlias="CNPU2" settingAlias="CN21PUE" alias="disabled"/>
+ <value>0</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="INTERNAL OSCILLATOR" registerAlias="OSCTUN" settingAlias="TUN" alias="Center Frequency-3.000%"/>
+ <value>56</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="INTERNAL OSCILLATOR" registerAlias="CLKDIV" settingAlias="RCDIV" alias="FRC/8"/>
+ <value>3</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="Pin Module" registerAlias="CNEN1" settingAlias="CN5IE" alias="enabled"/>
+ <value>1</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="INTERNAL OSCILLATOR" registerAlias="CLKDIV" settingAlias="RCDIV" alias="FRC/4"/>
+ <value>2</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="INTERNAL OSCILLATOR" registerAlias="OSCTUN" settingAlias="TUN" alias="Center Frequency-5.625%"/>
+ <value>49</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="Pin Module" registerAlias="ODCB" settingAlias="ODB5" alias="disabled"/>
+ <value>0</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="INTERNAL OSCILLATOR" registerAlias="PMD1" settingAlias="SPI2MD" alias="disabled"/>
+ <value>1</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.SettingKey" moduleName="Pin Module" registerAlias="TRISB" settingAlias="TRISB2"/>
+ <value>input</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.RegisterKey" moduleName="Pin Module" registerAlias="RPOR6"/>
+ <value>0</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="Pin Module" registerAlias="TRISB" settingAlias="TRISB13" alias="output"/>
+ <value>0</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.SettingKey" moduleName="Pin Module" registerAlias="CNEN1" settingAlias="CN7IE"/>
+ <value>disabled</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.CustomKey" moduleName="INTERNAL OSCILLATOR" name="FeatureOscfdivEnable"/>
+ <value>UNSUPPORTED</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.SettingKey" moduleName="Pin Module" registerAlias="ODCA" settingAlias="ODA4"/>
+ <value>disabled</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="Pin Module" registerAlias="LATB" settingAlias="LATB10" alias="set"/>
+ <value>1</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.SettingKey" moduleName="INTERNAL OSCILLATOR" registerAlias="PMD2" settingAlias="OC1MD"/>
+ <value>enabled</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="INTERNAL OSCILLATOR" registerAlias="PMD1" settingAlias="SPI2MD" alias="enabled"/>
+ <value>0</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.CustomKey" moduleName="INTERNAL OSCILLATOR" name="FeatureVcoDivider"/>
+ <value>UNSUPPORTED</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="INTERNAL OSCILLATOR" registerAlias="PMD2" settingAlias="IC1MD" alias="enabled"/>
+ <value>0</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.CustomKey" moduleName="INTERNAL OSCILLATOR" name="FeatureAuxClockPrescaler"/>
+ <value>UNSUPPORTED</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.SettingKey" moduleName="Pin Module" registerAlias="CNPU1" settingAlias="CN2PUE"/>
+ <value>disabled</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="INTERNAL OSCILLATOR" registerAlias="PMD2" settingAlias="IC1MD" alias="disabled"/>
+ <value>1</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.RegisterKey" moduleName="INTERNAL OSCILLATOR" registerAlias="PMD1"/>
+ <value>0</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="Pin Module" registerAlias="CNEN2" settingAlias="CN27IE" alias="enabled"/>
+ <value>1</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.CustomKey" moduleName="INTERNAL OSCILLATOR" name="FrcPostscaler"/>
+ <value>1:2</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="Pin Module" registerAlias="ODCB" settingAlias="ODB7" alias="disabled"/>
+ <value>0</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.SettingKey" moduleName="Pin Module" registerAlias="RPOR5" settingAlias="RP10R"/>
+ <value>0</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="Pin Module" registerAlias="CNEN1" settingAlias="CN7IE" alias="enabled"/>
+ <value>1</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="Pin Module" registerAlias="ODCB" settingAlias="ODB4" alias="enabled"/>
+ <value>1</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="Pin Module" registerAlias="TRISB" settingAlias="TRISB11" alias="output"/>
+ <value>0</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.CustomKey" moduleName="INTERNAL OSCILLATOR" name="FeaturePllEnable"/>
+ <value>AVAILABLE</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.SettingKey" moduleName="Pin Module" registerAlias="CNPU2" settingAlias="CN16PUE"/>
+ <value>disabled</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.SettingKey" moduleName="Pin Module" registerAlias="CNEN2" settingAlias="CN30IE"/>
+ <value>disabled</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="INTERNAL OSCILLATOR" registerAlias="OSCTUN" settingAlias="TUN" alias="Center Frequency-9.750%"/>
+ <value>38</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="Pin Module" registerAlias="AD1PCFG" settingAlias="PCFG10" alias="analog"/>
+ <value>0</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="System Module" registerAlias="CONFIG1" settingAlias="GCP" alias="ON"/>
+ <value>0</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="Pin Module" registerAlias="LATB" settingAlias="LATB12" alias="set"/>
+ <value>1</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="Pin Module" registerAlias="LATB" settingAlias="LATB9" alias="clear"/>
+ <value>0</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.SettingKey" moduleName="Pin Module" registerAlias="TRISB" settingAlias="TRISB5"/>
+ <value>input</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.SettingKey" moduleName="Pin Module" registerAlias="CNEN1" settingAlias="CN4IE"/>
+ <value>disabled</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="Pin Module" registerAlias="ODCB" settingAlias="ODB6" alias="disabled"/>
+ <value>0</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.SettingKey" moduleName="INTERNAL OSCILLATOR" registerAlias="PMD2" settingAlias="OC4MD"/>
+ <value>enabled</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.SettingKey" moduleName="Pin Module" registerAlias="CNPU2" settingAlias="CN29PUE"/>
+ <value>disabled</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="Pin Module" registerAlias="ODCB" settingAlias="ODB5" alias="enabled"/>
+ <value>1</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="INTERNAL OSCILLATOR" registerAlias="OSCTUN" settingAlias="TUN" alias="Center Frequency+10.125%"/>
+ <value>27</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="INTERNAL OSCILLATOR" registerAlias="OSCCON" settingAlias="SOSCEN" alias="disabled"/>
+ <value>0</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="Pin Module" registerAlias="CNPU2" settingAlias="CN24PUE" alias="disabled"/>
+ <value>0</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="Pin Module" registerAlias="TRISB" settingAlias="TRISB12" alias="output"/>
+ <value>0</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="INTERNAL OSCILLATOR" registerAlias="PMD2" settingAlias="OC5MD" alias="enabled"/>
+ <value>0</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.CustomKey" moduleName="INTERNAL OSCILLATOR" name="FeatureAvcoDivider"/>
+ <value>UNSUPPORTED</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="INTERNAL OSCILLATOR" registerAlias="PMD2" settingAlias="IC3MD" alias="disabled"/>
+ <value>1</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="Pin Module" registerAlias="CNEN2" settingAlias="CN29IE" alias="enabled"/>
+ <value>1</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="Pin Module" registerAlias="CNPU2" settingAlias="CN23PUE" alias="disabled"/>
+ <value>0</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.SettingKey" moduleName="Pin Module" registerAlias="TRISB" settingAlias="TRISB4"/>
+ <value>input</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.RegisterKey" moduleName="INTERNAL OSCILLATOR" registerAlias="PMD3"/>
+ <value>0</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.CustomKey" moduleName="Pin Module" name="iocUserSet DISVREG"/>
+ <value>disabled</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.CustomKey" moduleName="Pin Module" name="iocUserSet RB14"/>
+ <value>disabled</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.SettingKey" moduleName="Pin Module" registerAlias="RPOR7" settingAlias="RP14R"/>
+ <value>0</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="Pin Module" registerAlias="TRISB" settingAlias="TRISB5" alias="input"/>
+ <value>1</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="INTERNAL OSCILLATOR" registerAlias="OSCTUN" settingAlias="TUN" alias="Center Frequency+1.125%"/>
+ <value>3</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.CustomKey" moduleName="Pin Module" name="iocUserSet RB13"/>
+ <value>disabled</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="Pin Module" registerAlias="ODCB" settingAlias="ODB10" alias="disabled"/>
+ <value>0</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.CustomKey" moduleName="Pin Module" name="iocUserSet RB15"/>
+ <value>disabled</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.SettingKey" moduleName="INTERNAL OSCILLATOR" registerAlias="PMD1" settingAlias="T4MD"/>
+ <value>enabled</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.CustomKey" moduleName="Pin Module" name="iocUserSet RB10"/>
+ <value>disabled</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.CustomKey" moduleName="Pin Module" name="iocUserSet RB12"/>
+ <value>disabled</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="Pin Module" registerAlias="CNPU2" settingAlias="CN16PUE" alias="enabled"/>
+ <value>1</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.CustomKey" moduleName="Pin Module" name="iocUserSet RB11"/>
+ <value>disabled</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.CustomKey" moduleName="INTERNAL OSCILLATOR" name="FailSafe"/>
+ <value>disabled</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.SettingKey" moduleName="Pin Module" registerAlias="RPOR1" settingAlias="RP2R"/>
+ <value>0</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.CustomKey" moduleName="INTERNAL OSCILLATOR" name="FeatureClockSwitching"/>
+ <value>AVAILABLE</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.RegisterKey" moduleName="INTERNAL OSCILLATOR" registerAlias="PMD2"/>
+ <value>0</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.CustomKey" moduleName="INTERNAL OSCILLATOR" name="CLOCK_LPRC"/>
+ <value>31000</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="INTERNAL OSCILLATOR" registerAlias="OSCTUN" settingAlias="TUN" alias="Center Frequency+3.000%"/>
+ <value>8</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="INTERNAL OSCILLATOR" registerAlias="OSCTUN" settingAlias="TUN" alias="Center Frequency+1.875%"/>
+ <value>5</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="INTERNAL OSCILLATOR" registerAlias="OSCTUN" settingAlias="TUN" alias="Center Frequency+3.375%"/>
+ <value>9</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="Pin Module" registerAlias="TRISA" settingAlias="TRISA2" alias="input"/>
+ <value>1</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="Pin Module" registerAlias="TRISB" settingAlias="TRISB3" alias="output"/>
+ <value>0</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.RegisterKey" moduleName="System Module" registerAlias="CONFIG2"/>
+ <value>32695</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="INTERNAL OSCILLATOR" registerAlias="OSCTUN" settingAlias="TUN" alias="Center Frequency+1.500%"/>
+ <value>4</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.RegisterKey" moduleName="Pin Module" registerAlias="RPOR0"/>
+ <value>0</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="Pin Module" registerAlias="TRISB" settingAlias="TRISB10" alias="output"/>
+ <value>0</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="Pin Module" registerAlias="AD1PCFG" settingAlias="PCFG1" alias="digital"/>
+ <value>1</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="Pin Module" registerAlias="CNPU1" settingAlias="CN11PUE" alias="disabled"/>
+ <value>0</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.CustomKey" moduleName="INTERNAL OSCILLATOR" name="FeaturePllDisplayScaler"/>
+ <value>UNSUPPORTED</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="System Module" registerAlias="CONFIG2" settingAlias="FNOSC" alias="PRI"/>
+ <value>512</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.SettingKey" moduleName="Pin Module" registerAlias="TRISA" settingAlias="TRISA1"/>
+ <value>input</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="Pin Module" registerAlias="LATB" settingAlias="LATB3" alias="set"/>
+ <value>1</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="INTERNAL OSCILLATOR" registerAlias="OSCTUN" settingAlias="TUN" alias="Center Frequency-0.375%"/>
+ <value>63</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.SettingKey" moduleName="Pin Module" registerAlias="CNPU1" settingAlias="CN4PUE"/>
+ <value>disabled</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="INTERNAL OSCILLATOR" registerAlias="OSCCON" settingAlias="CLKLOCK" alias="unlocked"/>
+ <value>0</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="INTERNAL OSCILLATOR" registerAlias="OSCCON" settingAlias="LOCK" alias="in lock"/>
+ <value>1</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="Pin Module" registerAlias="LATA" settingAlias="LATA4" alias="clear"/>
+ <value>0</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.RegisterKey" moduleName="System Module" registerAlias="CONFIG1"/>
+ <value>15199</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.SettingKey" moduleName="INTERNAL OSCILLATOR" registerAlias="PMD1" settingAlias="I2C1MD"/>
+ <value>enabled</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="Pin Module" registerAlias="LATA" settingAlias="LATA4" alias="set"/>
+ <value>1</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="Pin Module" registerAlias="AD1PCFG" settingAlias="PCFG11" alias="analog"/>
+ <value>0</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="INTERNAL OSCILLATOR" registerAlias="PMD2" settingAlias="IC4MD" alias="enabled"/>
+ <value>0</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.CustomKey" moduleName="Pin Module" name="customNameUserSet RB1"/>
+ <value>disabled</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.CustomKey" moduleName="Pin Module" name="customNameUserSet RB2"/>
+ <value>disabled</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.CustomKey" moduleName="Pin Module" name="customNameUserSet RB3"/>
+ <value>disabled</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.CustomKey" moduleName="Pin Module" name="customNameUserSet RB4"/>
+ <value>disabled</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.CustomKey" moduleName="Pin Module" name="customNameUserSet RB5"/>
+ <value>disabled</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.CustomKey" moduleName="Pin Module" name="customNameUserSet RB6"/>
+ <value>disabled</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.CustomKey" moduleName="Pin Module" name="customNameUserSet RB7"/>
+ <value>disabled</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.CustomKey" moduleName="Pin Module" name="customNameUserSet RB8"/>
+ <value>disabled</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="Pin Module" registerAlias="ODCB" settingAlias="ODB14" alias="enabled"/>
+ <value>1</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.CustomKey" moduleName="Pin Module" name="customNameUserSet RB9"/>
+ <value>disabled</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.SettingKey" moduleName="Pin Module" registerAlias="LATB" settingAlias="LATB1"/>
+ <value>clear</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="INTERNAL OSCILLATOR" registerAlias="OSCCON" settingAlias="NOSC" alias="PRI"/>
+ <value>2</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.SettingKey" moduleName="Pin Module" registerAlias="CNI" settingAlias="enable"/>
+ <value>disabled</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="Pin Module" registerAlias="CNPU1" settingAlias="CN7PUE" alias="disabled"/>
+ <value>0</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="Pin Module" registerAlias="LATA" settingAlias="LATA3" alias="clear"/>
+ <value>0</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.SettingKey" moduleName="Pin Module" registerAlias="CNEN2" settingAlias="CN23IE"/>
+ <value>disabled</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="Pin Module" registerAlias="CNEN2" settingAlias="CN16IE" alias="enabled"/>
+ <value>1</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.SettingKey" moduleName="Pin Module" registerAlias="ODCA" settingAlias="ODA0"/>
+ <value>disabled</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.SettingKey" moduleName="Pin Module" registerAlias="TRISA" settingAlias="TRISA0"/>
+ <value>input</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.CustomKey" moduleName="INTERNAL OSCILLATOR" name="REFOPinsOutput"/>
+ <value>disabled</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="INTERNAL OSCILLATOR" registerAlias="OSCTUN" settingAlias="TUN" alias="Center Frequency-2.625%"/>
+ <value>57</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="Pin Module" registerAlias="TRISB" settingAlias="TRISB1" alias="input"/>
+ <value>1</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.SettingKey" moduleName="Pin Module" registerAlias="LATB" settingAlias="LATB2"/>
+ <value>clear</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.CustomKey" moduleName="ICD" name="customMasterSlaveViewerEnable"/>
+ <value>enabled</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="Pin Module" registerAlias="LATB" settingAlias="LATB2" alias="clear"/>
+ <value>0</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="Pin Module" registerAlias="TRISA" settingAlias="TRISA4" alias="output"/>
+ <value>0</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="INTERNAL OSCILLATOR" registerAlias="PMD2" settingAlias="IC2MD" alias="enabled"/>
+ <value>0</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="System Module" registerAlias="CONFIG2" settingAlias="WUTSEL" alias="FST"/>
+ <value>8192</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.SettingKey" moduleName="RESET" registerAlias="RCON" settingAlias="SWR"/>
+ <value>disabled</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="System Module" registerAlias="CONFIG1" settingAlias="GWRP" alias="ON"/>
+ <value>0</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="Pin Module" registerAlias="AD1PCFG" settingAlias="PCFG2" alias="digital"/>
+ <value>1</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.SettingKey" moduleName="Pin Module" registerAlias="AD1PCFG" settingAlias="PCFG0"/>
+ <value>analog</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.CustomKey" moduleName="INTERNAL OSCILLATOR" name="UI_OSCTUN_SETTING"/>
+ <value>Center frequency</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.SettingKey" moduleName="Pin Module" registerAlias="RPINR8" settingAlias="IC3R"/>
+ <value>31</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.SettingKey" moduleName="INTERNAL OSCILLATOR" registerAlias="PMD1" settingAlias="SPI2MD"/>
+ <value>enabled</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="Pin Module" registerAlias="LATB" settingAlias="LATB1" alias="clear"/>
+ <value>0</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="Pin Module" registerAlias="TRISB" settingAlias="TRISB2" alias="input"/>
+ <value>1</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.CustomKey" moduleName="INTERNAL OSCILLATOR" name="FeatureAuxClockSource"/>
+ <value>UNSUPPORTED</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.SettingKey" moduleName="Pin Module" registerAlias="ODCA" settingAlias="ODA1"/>
+ <value>disabled</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="Pin Module" registerAlias="AD1PCFG" settingAlias="PCFG12" alias="analog"/>
+ <value>0</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="INTERNAL OSCILLATOR" registerAlias="OSCCON" settingAlias="OSWEN" alias="Request Switch"/>
+ <value>1</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.CustomKey" moduleName="Pin Module" name="anselUserSetRB12"/>
+ <value>disabled</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="Pin Module" registerAlias="CNPU1" settingAlias="CN13PUE" alias="enabled"/>
+ <value>1</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.SettingKey" moduleName="Pin Module" registerAlias="CNPU1" settingAlias="CN13PUE"/>
+ <value>disabled</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.SettingKey" moduleName="System Module" registerAlias="CONFIG2" settingAlias="SOSCSEL"/>
+ <value>SOSC</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.RegisterKey" moduleName="Pin Module" registerAlias="RPOR5"/>
+ <value>0</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.RegisterKey" moduleName="Pin Module" registerAlias="RPOR3"/>
+ <value>0</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.SettingKey" moduleName="Pin Module" registerAlias="TRISA" settingAlias="TRISA4"/>
+ <value>input</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="Pin Module" registerAlias="TRISA" settingAlias="TRISA3" alias="input"/>
+ <value>1</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="Pin Module" registerAlias="ODCB" settingAlias="ODB15" alias="enabled"/>
+ <value>1</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="Pin Module" registerAlias="LATB" settingAlias="LATB4" alias="set"/>
+ <value>1</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.SettingKey" moduleName="Pin Module" registerAlias="AD1PCFG" settingAlias="PCFG1"/>
+ <value>analog</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.CustomKey" moduleName="Pin Module" name="anselUserSetRB15"/>
+ <value>disabled</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.CustomKey" moduleName="Pin Module" name="anselUserSetRB14"/>
+ <value>disabled</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.CustomKey" moduleName="Pin Module" name="anselUserSetRB13"/>
+ <value>disabled</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="Pin Module" registerAlias="AD1PCFG" settingAlias="PCFG0" alias="digital"/>
+ <value>1</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.RegisterKey" moduleName="Pin Module" registerAlias="RPOR4"/>
+ <value>0</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="INTERNAL OSCILLATOR" registerAlias="OSCTUN" settingAlias="TUN" alias="Center Frequency+2.250%"/>
+ <value>6</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="RESET" registerAlias="RCON" settingAlias="BOR" alias="disabled"/>
+ <value>0</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="INTERNAL OSCILLATOR" registerAlias="OSCTUN" settingAlias="TUN" alias="Center Frequency+0.375%"/>
+ <value>1</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.CustomKey" moduleName="INTERNAL OSCILLATOR" name="FeaturePllTwoStagePostScaler"/>
+ <value>UNSUPPORTED</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="Pin Module" registerAlias="CNEN1" settingAlias="CN4IE" alias="enabled"/>
+ <value>1</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="Pin Module" registerAlias="CNPU1" settingAlias="CN14PUE" alias="enabled"/>
+ <value>1</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.RegisterKey" moduleName="Pin Module" registerAlias="RPOR2"/>
+ <value>0</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="Pin Module" registerAlias="TRISA" settingAlias="TRISA4" alias="input"/>
+ <value>1</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="Pin Module" registerAlias="LATB" settingAlias="LATB5" alias="set"/>
+ <value>1</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.SettingKey" moduleName="Pin Module" registerAlias="ODCA" settingAlias="ODA2"/>
+ <value>disabled</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.SettingKey" moduleName="Pin Module" registerAlias="TRISA" settingAlias="TRISA2"/>
+ <value>input</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.CustomKey" moduleName="INTERNAL OSCILLATOR" name="PllEnable"/>
+ <value>disabled</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.SettingKey" moduleName="Pin Module" registerAlias="CNEN1" settingAlias="CN13IE"/>
+ <value>disabled</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="INTERNAL OSCILLATOR" registerAlias="OSCCON" settingAlias="COSC" alias="FRCPLL"/>
+ <value>1</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="System Module" registerAlias="CONFIG1" settingAlias="ICS" alias="PGx3"/>
+ <value>256</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="System Module" registerAlias="CONFIG1" settingAlias="ICS" alias="PGx2"/>
+ <value>512</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="System Module" registerAlias="CONFIG1" settingAlias="ICS" alias="PGx1"/>
+ <value>768</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.RegisterKey" moduleName="Pin Module" registerAlias="RPOR1"/>
+ <value>0</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.CustomKey" moduleName="INTERNAL OSCILLATOR" name="CLKPinsInput"/>
+ <value>disabled</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="Pin Module" registerAlias="LATA" settingAlias="LATA2" alias="clear"/>
+ <value>0</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="Pin Module" registerAlias="TRISB" settingAlias="TRISB4" alias="output"/>
+ <value>0</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.SettingKey" moduleName="Pin Module" registerAlias="TRISA" settingAlias="TRISA3"/>
+ <value>output</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.SettingKey" moduleName="Pin Module" registerAlias="AD1PCFG" settingAlias="PCFG2"/>
+ <value>digital</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="INTERNAL OSCILLATOR" registerAlias="OSCTUN" settingAlias="TUN" alias="Center Frequency-10.875%"/>
+ <value>35</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="INTERNAL OSCILLATOR" registerAlias="OSCTUN" settingAlias="TUN" alias="Center Frequency-10.500%"/>
+ <value>36</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="INTERNAL OSCILLATOR" registerAlias="OSCCON" settingAlias="NOSC" alias="SOSC"/>
+ <value>4</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="Pin Module" registerAlias="CNPU1" settingAlias="CN15PUE" alias="enabled"/>
+ <value>1</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="Pin Module" registerAlias="CNEN2" settingAlias="CN22IE" alias="enabled"/>
+ <value>1</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.SettingKey" moduleName="System Module" registerAlias="CONFIG2" settingAlias="OSCIOFCN"/>
+ <value>OFF</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.SettingKey" moduleName="RESET" registerAlias="RCON" settingAlias="WDTO"/>
+ <value>disabled</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.SettingKey" moduleName="Pin Module" registerAlias="LATB" settingAlias="LATB0"/>
+ <value>clear</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.CustomKey" moduleName="Pin Module" name="trisUserSetRB5"/>
+ <value>disabled</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.CustomKey" moduleName="Pin Module" name="RB1"/>
+ <value>disabled</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.CustomKey" moduleName="Pin Module" name="trisUserSetRB6"/>
+ <value>disabled</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.CustomKey" moduleName="Pin Module" name="RB0"/>
+ <value>disabled</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.CustomKey" moduleName="Pin Module" name="trisUserSetRB3"/>
+ <value>disabled</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.CustomKey" moduleName="Pin Module" name="RB3"/>
+ <value>disabled</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="Pin Module" registerAlias="LATB" settingAlias="LATB5" alias="clear"/>
+ <value>0</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.CustomKey" moduleName="Pin Module" name="trisUserSetRB4"/>
+ <value>disabled</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.CustomKey" moduleName="Pin Module" name="RB2"/>
+ <value>disabled</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.CustomKey" moduleName="Pin Module" name="trisUserSetRB9"/>
+ <value>disabled</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="System Module" registerAlias="CONFIG1" settingAlias="WDTPS" alias="PS1024"/>
+ <value>10</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.CustomKey" moduleName="Pin Module" name="trisUserSetRB7"/>
+ <value>disabled</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="Pin Module" registerAlias="CNEN1" settingAlias="CN2IE" alias="enabled"/>
+ <value>1</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.CustomKey" moduleName="Pin Module" name="trisUserSetRB8"/>
+ <value>disabled</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.CustomKey" moduleName="Pin Module" name="RB9"/>
+ <value>disabled</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.CustomKey" moduleName="Pin Module" name="RB8"/>
+ <value>disabled</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.CustomKey" moduleName="Pin Module" name="trisUserSetRB1"/>
+ <value>disabled</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.CustomKey" moduleName="Pin Module" name="RB5"/>
+ <value>disabled</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.CustomKey" moduleName="Pin Module" name="trisUserSetRB2"/>
+ <value>disabled</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.CustomKey" moduleName="Pin Module" name="RB4"/>
+ <value>disabled</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.CustomKey" moduleName="Pin Module" name="RB7"/>
+ <value>disabled</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.CustomKey" moduleName="Pin Module" name="trisUserSetRB0"/>
+ <value>disabled</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.CustomKey" moduleName="Pin Module" name="RB6"/>
+ <value>disabled</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="Pin Module" registerAlias="CNPU1" settingAlias="CN3PUE" alias="disabled"/>
+ <value>0</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.SettingKey" moduleName="Pin Module" registerAlias="AD1PCFG" settingAlias="PCFG4"/>
+ <value>analog</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.SettingKey" moduleName="INTERNAL OSCILLATOR" registerAlias="PMD1" settingAlias="ADC1MD"/>
+ <value>enabled</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.SettingKey" moduleName="Pin Module" registerAlias="AD1PCFG" settingAlias="PCFG3"/>
+ <value>digital</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="Pin Module" registerAlias="ODCB" settingAlias="ODB8" alias="enabled"/>
+ <value>1</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="Pin Module" registerAlias="TRISA" settingAlias="TRISA2" alias="output"/>
+ <value>0</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.SettingKey" moduleName="Pin Module" registerAlias="ODCB" settingAlias="ODB8"/>
+ <value>disabled</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="Pin Module" registerAlias="CNEN2" settingAlias="CN16IE" alias="disabled"/>
+ <value>0</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="Pin Module" registerAlias="AD1PCFG" settingAlias="PCFG4" alias="digital"/>
+ <value>1</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="Pin Module" registerAlias="LATB" settingAlias="LATB0" alias="set"/>
+ <value>1</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="System Module" registerAlias="CONFIG1" settingAlias="WDTPS" alias="PS32768"/>
+ <value>15</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="Pin Module" registerAlias="CNPU1" settingAlias="CN2PUE" alias="disabled"/>
+ <value>0</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="INTERNAL OSCILLATOR" registerAlias="OSCTUN" settingAlias="TUN" alias="Center frequency"/>
+ <value>0</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.SettingKey" moduleName="Pin Module" registerAlias="CNEN1" settingAlias="CN3IE"/>
+ <value>disabled</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="Pin Module" registerAlias="CNEN1" settingAlias="CN0IE" alias="enabled"/>
+ <value>1</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="Pin Module" registerAlias="ODCB" settingAlias="ODB9" alias="enabled"/>
+ <value>1</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="Pin Module" registerAlias="CNPU1" settingAlias="CN15PUE" alias="disabled"/>
+ <value>0</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="Pin Module" registerAlias="TRISA" settingAlias="TRISA0" alias="input"/>
+ <value>1</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="INTERNAL OSCILLATOR" registerAlias="OSCTUN" settingAlias="TUN" alias="Center Frequency-1.500%"/>
+ <value>60</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="Pin Module" registerAlias="TRISA" settingAlias="TRISA1" alias="output"/>
+ <value>0</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.SettingKey" moduleName="INTERNAL OSCILLATOR" registerAlias="PMD2" settingAlias="OC5MD"/>
+ <value>enabled</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="Pin Module" registerAlias="CNPU1" settingAlias="CN1PUE" alias="disabled"/>
+ <value>0</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="INTERNAL OSCILLATOR" registerAlias="OSCTUN" settingAlias="TUN" alias="Center Frequency-2.250%"/>
+ <value>58</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.CustomKey" moduleName="INTERNAL OSCILLATOR" name="SOSCPinsInput"/>
+ <value>disabled</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="INTERNAL OSCILLATOR" registerAlias="OSCTUN" settingAlias="TUN" alias="Center Frequency-10.125%"/>
+ <value>37</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="Pin Module" registerAlias="LATB" settingAlias="LATB1" alias="set"/>
+ <value>1</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="Pin Module" registerAlias="CNPU1" settingAlias="CN11PUE" alias="enabled"/>
+ <value>1</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="INTERNAL OSCILLATOR" registerAlias="OSCTUN" settingAlias="TUN" alias="Center Frequency-1.875%"/>
+ <value>59</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.SettingKey" moduleName="Pin Module" registerAlias="RPINR8" settingAlias="IC4R"/>
+ <value>31</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.SettingKey" moduleName="INTERNAL OSCILLATOR" registerAlias="PMD2" settingAlias="IC3MD"/>
+ <value>enabled</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="INTERNAL OSCILLATOR" registerAlias="CLKDIV" settingAlias="ROI" alias="disabled"/>
+ <value>0</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="Pin Module" registerAlias="CNPU2" settingAlias="CN30PUE" alias="enabled"/>
+ <value>1</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.SettingKey" moduleName="Pin Module" registerAlias="AD1PCFG" settingAlias="PCFG5"/>
+ <value>analog</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.SettingKey" moduleName="INTERNAL OSCILLATOR" registerAlias="PMD1" settingAlias="U1MD"/>
+ <value>enabled</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.CustomKey" moduleName="Pin Module" name="RA0"/>
+ <value>disabled</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.CustomKey" moduleName="Pin Module" name="RA2"/>
+ <value>disabled</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="Pin Module" registerAlias="CNPU1" settingAlias="CN12PUE" alias="enabled"/>
+ <value>1</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.CustomKey" moduleName="Pin Module" name="RA1"/>
+ <value>disabled</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.SettingKey" moduleName="Pin Module" registerAlias="ODCB" settingAlias="ODB9"/>
+ <value>disabled</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="INTERNAL OSCILLATOR" registerAlias="OSCTUN" settingAlias="TUN" alias="Center Frequency+0.750%"/>
+ <value>2</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="INTERNAL OSCILLATOR" registerAlias="OSCTUN" settingAlias="TUN" alias="Center Frequency+3.750%"/>
+ <value>10</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="Pin Module" registerAlias="ODCB" settingAlias="ODB14" alias="disabled"/>
+ <value>0</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="INTERNAL OSCILLATOR" registerAlias="OSCTUN" settingAlias="TUN" alias="Center Frequency+11.250%"/>
+ <value>30</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.SettingKey" moduleName="RESET" registerAlias="RCON" settingAlias="IDLE"/>
+ <value>disabled</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.CustomKey" moduleName="Pin Module" name="RA4"/>
+ <value>disabled</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="Pin Module" registerAlias="TRISB" settingAlias="TRISB0" alias="output"/>
+ <value>0</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.CustomKey" moduleName="Pin Module" name="RA3"/>
+ <value>disabled</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="System Module" registerAlias="CONFIG2" settingAlias="I2C1SEL" alias="SEC"/>
+ <value>0</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="RESET" registerAlias="RCON" settingAlias="WDTO" alias="enabled"/>
+ <value>1</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="RESET" registerAlias="RCON" settingAlias="EXTR" alias="disabled"/>
+ <value>0</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="Pin Module" registerAlias="LATA" settingAlias="LATA2" alias="set"/>
+ <value>1</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="Pin Module" registerAlias="ODCB" settingAlias="ODB12" alias="enabled"/>
+ <value>1</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="Pin Module" registerAlias="CNEN1" settingAlias="CN15IE" alias="enabled"/>
+ <value>1</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.CustomKey" moduleName="INTERNAL OSCILLATOR" name="FeaturePllFeedbackDivisor"/>
+ <value>UNSUPPORTED</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.CustomKey" moduleName="Pin Module" name="iocUserSet RA3"/>
+ <value>disabled</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.CustomKey" moduleName="Pin Module" name="iocUserSet RA4"/>
+ <value>disabled</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.CustomKey" moduleName="Pin Module" name="iocUserSet RA1"/>
+ <value>disabled</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.CustomKey" moduleName="Pin Module" name="iocUserSet RA2"/>
+ <value>disabled</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.SettingKey" moduleName="Pin Module" registerAlias="RPINR20" settingAlias="SCK1R"/>
+ <value>31</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="Pin Module" registerAlias="ODCB" settingAlias="ODB15" alias="disabled"/>
+ <value>0</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="Pin Module" registerAlias="TRISA" settingAlias="TRISA3" alias="output"/>
+ <value>0</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.SettingKey" moduleName="INTERNAL OSCILLATOR" registerAlias="PMD3" settingAlias="CRCMD"/>
+ <value>enabled</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="Pin Module" registerAlias="CNPU1" settingAlias="CN6PUE" alias="disabled"/>
+ <value>0</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="Pin Module" registerAlias="LATA" settingAlias="LATA3" alias="set"/>
+ <value>1</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="Pin Module" registerAlias="ODCB" settingAlias="ODB13" alias="enabled"/>
+ <value>1</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.SettingKey" moduleName="Pin Module" registerAlias="RPINR18" settingAlias="U1CTSR"/>
+ <value>31</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="INTERNAL OSCILLATOR" registerAlias="PMD1" settingAlias="T2MD" alias="enabled"/>
+ <value>0</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.SettingKey" moduleName="Pin Module" registerAlias="CNPU1" settingAlias="CN7PUE"/>
+ <value>disabled</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.CustomKey" moduleName="Pin Module" name="iocUserSet RB0"/>
+ <value>disabled</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.CustomKey" moduleName="Pin Module" name="iocUserSet RB1"/>
+ <value>disabled</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="Pin Module" registerAlias="LATB" settingAlias="LATB4" alias="clear"/>
+ <value>0</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="INTERNAL OSCILLATOR" registerAlias="OSCTUN" settingAlias="TUN" alias="Center Frequency-11.25%"/>
+ <value>34</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="Pin Module" registerAlias="CNPU1" settingAlias="CN14PUE" alias="disabled"/>
+ <value>0</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="INTERNAL OSCILLATOR" registerAlias="OSCCON" settingAlias="COSC" alias="FRC"/>
+ <value>0</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="Pin Module" registerAlias="TRISB" settingAlias="TRISB2" alias="output"/>
+ <value>0</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.SettingKey" moduleName="RESET" registerAlias="RCON" settingAlias="POR"/>
+ <value>disabled</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="INTERNAL OSCILLATOR" registerAlias="OSCCON" settingAlias="CF" alias="no clock failure"/>
+ <value>0</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="Pin Module" registerAlias="AD1PCFG" settingAlias="PCFG15" alias="analog"/>
+ <value>0</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="Pin Module" registerAlias="CNEN1" settingAlias="CN13IE" alias="enabled"/>
+ <value>1</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.CustomKey" moduleName="INTERNAL OSCILLATOR" name="FeatureAuxPll"/>
+ <value>UNSUPPORTED</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="INTERNAL OSCILLATOR" registerAlias="OSCTUN" settingAlias="TUN" alias="Center Frequency-11.625%"/>
+ <value>33</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="INTERNAL OSCILLATOR" registerAlias="PMD1" settingAlias="U2MD" alias="enabled"/>
+ <value>0</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.CustomKey" moduleName="Pin Module" name="iocUserSet RA0"/>
+ <value>disabled</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="Pin Module" registerAlias="CNPU1" settingAlias="CN5PUE" alias="disabled"/>
+ <value>0</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="INTERNAL OSCILLATOR" registerAlias="OSCTUN" settingAlias="TUN" alias="Minimum frequency deviation"/>
+ <value>32</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.SettingKey" moduleName="Pin Module" registerAlias="CNPU2" settingAlias="CN22PUE"/>
+ <value>disabled</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="Pin Module" registerAlias="CNPU1" settingAlias="CN12PUE" alias="disabled"/>
+ <value>0</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.SettingKey" moduleName="System Module" registerAlias="CONFIG1" settingAlias="GWRP"/>
+ <value>OFF</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="Pin Module" registerAlias="LATB" settingAlias="LATB3" alias="clear"/>
+ <value>0</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="Pin Module" registerAlias="CNEN2" settingAlias="CN30IE" alias="disabled"/>
+ <value>0</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="Pin Module" registerAlias="TRISB" settingAlias="TRISB0" alias="input"/>
+ <value>1</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="Pin Module" registerAlias="CNPU1" settingAlias="CN4PUE" alias="disabled"/>
+ <value>0</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="Pin Module" registerAlias="TRISB" settingAlias="TRISB1" alias="output"/>
+ <value>0</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.CustomKey" moduleName="Pin Module" name="customNameUserSet RB0"/>
+ <value>disabled</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="Pin Module" registerAlias="CNEN1" settingAlias="CN11IE" alias="enabled"/>
+ <value>1</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.CustomKey" moduleName="Pin Module" name="customNameUserSet RA0"/>
+ <value>disabled</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.CustomKey" moduleName="Pin Module" name="customNameUserSet RA1"/>
+ <value>disabled</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.CustomKey" moduleName="Pin Module" name="customNameUserSet RA2"/>
+ <value>disabled</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="Pin Module" registerAlias="AD1PCFG" settingAlias="PCFG3" alias="digital"/>
+ <value>1</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.CustomKey" moduleName="Pin Module" name="customNameUserSet RA3"/>
+ <value>disabled</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.CustomKey" moduleName="Pin Module" name="customNameUserSet RA4"/>
+ <value>disabled</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.SettingKey" moduleName="Pin Module" registerAlias="CNEN1" settingAlias="CN0IE"/>
+ <value>disabled</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.CustomKey" moduleName="INTERNAL OSCILLATOR" name="OSCPinsInput"/>
+ <value>disabled</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="INTERNAL OSCILLATOR" registerAlias="PMD1" settingAlias="T4MD" alias="enabled"/>
+ <value>0</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.CustomKey" moduleName="INTERNAL OSCILLATOR" name="CLOCK_FOSC"/>
+ <value>4000000</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.SettingKey" moduleName="INTERNAL OSCILLATOR" registerAlias="PMD3" settingAlias="I2C2MD"/>
+ <value>enabled</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.CustomKey" moduleName="Pin Module" name="trisUserSetRA4"/>
+ <value>disabled</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="System Module" registerAlias="CONFIG1" settingAlias="WDTPS" alias="PS8"/>
+ <value>3</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.CustomKey" moduleName="Pin Module" name="trisUserSetRA2"/>
+ <value>disabled</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="System Module" registerAlias="CONFIG1" settingAlias="GWRP" alias="OFF"/>
+ <value>4096</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.CustomKey" moduleName="Pin Module" name="trisUserSetRA3"/>
+ <value>enabled</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="Pin Module" registerAlias="CNEN1" settingAlias="CN0IE" alias="disabled"/>
+ <value>0</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="Pin Module" registerAlias="TRISA" settingAlias="TRISA1" alias="input"/>
+ <value>1</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="System Module" registerAlias="CONFIG1" settingAlias="WDTPS" alias="PS4"/>
+ <value>2</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="System Module" registerAlias="CONFIG1" settingAlias="WDTPS" alias="PS2"/>
+ <value>1</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="System Module" registerAlias="CONFIG1" settingAlias="WDTPS" alias="PS1"/>
+ <value>0</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="Pin Module" registerAlias="CNPU1" settingAlias="CN0PUE" alias="enabled"/>
+ <value>1</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.CustomKey" moduleName="Pin Module" name="trisUserSetRA0"/>
+ <value>disabled</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.CustomKey" moduleName="Pin Module" name="trisUserSetRA1"/>
+ <value>disabled</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.SettingKey" moduleName="Pin Module" registerAlias="CNI" settingAlias="priority"/>
+ <value>1</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="RESET" registerAlias="RCON" settingAlias="BOR" alias="enabled"/>
+ <value>1</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.CustomKey" moduleName="INTERNAL OSCILLATOR" name="UseSosc"/>
+ <value>disabled</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.CustomKey" moduleName="Pin Module" name="RB15"/>
+ <value>disabled</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="Pin Module" registerAlias="LATB" settingAlias="LATB2" alias="set"/>
+ <value>1</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.CustomKey" moduleName="Pin Module" name="RB10"/>
+ <value>disabled</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.CustomKey" moduleName="Pin Module" name="RB13"/>
+ <value>disabled</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.CustomKey" moduleName="Pin Module" name="RB14"/>
+ <value>disabled</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.CustomKey" moduleName="Pin Module" name="RB11"/>
+ <value>disabled</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.CustomKey" moduleName="Pin Module" name="RB12"/>
+ <value>disabled</value>
+ </entry>
+ <entry>
+ <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="Pin Module" registerAlias="CNPU1" settingAlias="CN13PUE" alias="disabled"/>
+ <value>0</value>
+ </entry>
+ </tokenMap>
+ <generatedFileHashHistoryMap class="java.util.HashMap"/>
+ <mc3libFileHashHistoryMap class="java.util.HashMap"/>
+</config> \ No newline at end of file
diff --git a/Lab4.X/dist/default/debug/memoryfile.xml b/Lab4.X/dist/default/debug/memoryfile.xml
new file mode 100644
index 0000000..6e2c200
--- /dev/null
+++ b/Lab4.X/dist/default/debug/memoryfile.xml
@@ -0,0 +1,18 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<project>
+ <executable name="dist/default/debug/Lab4.X.debug.elf">
+ <memory name="data">
+ <units>bytes</units>
+ <length>8192</length>
+ <used>110</used>
+ <free>8082</free>
+ </memory>
+ <memory name="program">
+ <units>bytes</units>
+ <length>65274</length>
+ <used>1893</used>
+ <free>63381</free>
+ </memory>
+ </executable>
+</project>
diff --git a/Lab4.X/dist/default/production/memoryfile.xml b/Lab4.X/dist/default/production/memoryfile.xml
new file mode 100644
index 0000000..d174a92
--- /dev/null
+++ b/Lab4.X/dist/default/production/memoryfile.xml
@@ -0,0 +1,18 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<project>
+ <executable name="dist/default/production/Lab4.X.production.elf">
+ <memory name="data">
+ <units>bytes</units>
+ <length>8192</length>
+ <used>30</used>
+ <free>8162</free>
+ </memory>
+ <memory name="program">
+ <units>bytes</units>
+ <length>65274</length>
+ <used>1851</used>
+ <free>63423</free>
+ </memory>
+ </executable>
+</project>
diff --git a/Lab4.X/lab4_button.c b/Lab4.X/lab4_button.c
index 611cf03..f889502 100644
--- a/Lab4.X/lab4_button.c
+++ b/Lab4.X/lab4_button.c
@@ -1,5 +1,6 @@
#include "xc.h"
#include "lab4_button.h"
+#define circBuffSize 2
void initPushButton(){
//Configure Timer 2 (500ns / count, 25ms max).
@@ -9,22 +10,21 @@ void initPushButton(){
T2CONbits.TCS = 0b0;
T2CONbits.TGATE = 0b0;
TMR2 = 0;
- PR2 = 0xf424; // Set period to be larger than max external sig duration
+ PR2 = 62500; // Set period to be larger than max external sig duration
T2CONbits.TON = 1; // Start 16-bit Timer2
// Initialize the Input Capture Module
- IC1CONbits.ICTMR = 1; // Select Timer2 as the IC1 Time base
- IC1CONbits.ICI = 0b00; // Interrupt on every capture event
- IC1CONbits.ICM = 0b011; // Generate capture event on every Rising edge
- // Enable Capture Interrupt And Timer2
-
- IPC0bits.IC1IP = 1; // Setup IC1 interrupt priority level
- IFS0bits.IC1IF = 0; // Clear IC1 Interrupt Status Flag
- IEC0bits.IC1IE = 1; // Enable IC1 interrupt
+ IC1CON = 0; // Turn off and reset internal state of IC1
+ IC1CONbits.ICTMR = 1; // Use Timer 2 for capture source
+ IC1CONbits.ICM = 0b011; // Turn on and capture every rising edge
+ IC1CON = 1;
+
+ _IC1IF = 0; // Clear IC1 Interrupt Status Flag
+ _IC1IE = 1; // Enable IC1 interrupt
- IFS0bits.T2IF = 1;
- IEC0bits.T2IE = 1;
-}
+ _T2IF = 1;
+ _T2IE = 1;
+}
volatile unsigned long overflow = 0;
//Timer 2 overflow interrupt
@@ -34,14 +34,42 @@ void __attribute__((__interrupt__,__auto_psv__)) _T2Interrupt(void) {
overflow++;
}
-volatile long int curPeriod=0;
+//Buffer functions
+volatile unsigned long buffer[circBuffSize];
+int buffSize = 0, write = 0, read = 0;
+void addBuffer(unsigned long x) {
+ if (buffSize < circBuffSize) {
+ buffer[write++] = x;
+ write %= circBuffSize;
+ ++buffSize;
+ }
+ //Otherwise get rid of the data.
+}
+unsigned long getBuffer() {
+ unsigned long returnValue = buffer[read++];
+ read %= circBuffSize;
+ --buffSize;
+ return returnValue;
+}
+int emptyBuffer(void) {
+ if (buffSize <= 0) {
+ buffSize=0;
+ return 1;
+ } else {
+ return 0;
+ }
+}
+
+volatile unsigned long curPeriod = 0, prevPress = 0, currPress = 0;
//IC1 interrupt
void __attribute__((__interrupt__,__auto_psv__)) _IC1Interrupt(void) {
- static unsigned int prevEdge=0;
- int curEdge;
-
_IC1IF = 0;
- curEdge = IC1BUF + 62500L * overflow;
- curPeriod = curEdge - prevEdge;
- prevEdge = curEdge;
-}
+ unsigned int time;
+ currPress = (IC1BUF + 62500 * (long) overflow);
+ curPeriod = currPress - prevPress;
+ time = curPeriod / 62.5;
+ if (time > 10) {
+ addBuffer(time);
+ }
+ prevPress = currPress;
+} \ No newline at end of file
diff --git a/Lab4.X/lab4_button.h b/Lab4.X/lab4_button.h
new file mode 100644
index 0000000..1001954
--- /dev/null
+++ b/Lab4.X/lab4_button.h
@@ -0,0 +1,18 @@
+#ifndef LAB4_BUTTON_H
+#define LAB4_BUTTON_H
+
+#include <xc.h> // include processor files - each processor file is guarded.
+
+
+#ifdef __cplusplus
+extern "C" {
+#endif /* __cplusplus */
+ void initPushButton(void);
+ void addBuffer(unsigned long x);
+ unsigned long getBuffer();
+#ifdef __cplusplus
+}
+#endif /* __cplusplus */
+
+#endif /* LAB4_BUTTON_H */
+
diff --git a/Disc02.X/disc02C.c b/Lab4.X/lab4_main.c
index 442852f..f9f626c 100644
--- a/Disc02.X/disc02C.c
+++ b/Lab4.X/lab4_main.c
@@ -1,56 +1,51 @@
-#include <p24Fxxxx.h>
-#include <xc.h>
-
-// PIC24FJ64GA002 Configuration Bit Settings
-// CW1: FLASH CONFIGURATION WORD 1 (see PIC24 Family Reference Manual 24.1)
-#pragma config ICS = PGx1 // Comm Channel Select (Emulator EMUC1/EMUD1 pins are shared with PGC1/PGD1)
-#pragma config FWDTEN = OFF // Watchdog Timer Enable (Watchdog Timer is disabled)
-#pragma config GWRP = OFF // General Code Segment Write Protect (Writes to program memory are allowed)
-#pragma config GCP = OFF // General Code Segment Code Protect (Code protection is disabled)
-#pragma config JTAGEN = OFF // JTAG Port Enable (JTAG port is disabled)
-
-
-// CW2: FLASH CONFIGURATION WORD 2 (see PIC24 Family Reference Manual 24.1)
-#pragma config POSCMOD = NONE // Primary Oscillator Select (Primary oscillator disabled.
- // Primary Oscillator refers to an external osc connected to the OSC1 and OSC2 pins)
-#pragma config I2C1SEL = PRI // I2C1 Pin Location Select (Use default SCL1/SDA1 pins)
-#pragma config IOL1WAY = OFF // IOLOCK Protection (IOLOCK may be changed via unlocking seq)
-#pragma config OSCIOFNC = ON // OSC2/CLKO/RC15 functions as port I/O (RC15)
-#pragma config FCKSM = CSECME // Clock Switching and Monitor (Clock switching is enabled,
- // Fail-Safe Clock Monitor is enabled)
-#pragma config FNOSC = FRCPLL // Oscillator Select (Fast RC Oscillator with PLL module (FRCPLL))
-
-void myAsmFunc(int iterations);
-
-int myGlobalVar;
-extern int counter;
-
-void setup(void) {
- CLKDIVbits.RCDIV = 0;
-
- AD1PCFG = 0x9fff; // all digital
- TRISB = 3;
- LATB = 0;
-}
-
-int main(void) {
- int aS=-1, bS=-2;
- unsigned int aU = 65535, bU=65534;
- int dummy = 1;
-
- setup();
-
- myGlobalVar = 4;
- counter = 5;
-
- myAsmFunc(3);
-
- if (aS < bS)
- ++dummy;
-
- if (aU < bU)
- ++dummy;
-
- while (1) {
- }
-}
+#include "xc.h"
+#include "lab4_servo.h"
+#include "lab4_button.h"
+
+// CW1: FLASH CONFIGURATION WORD 1 (see PIC24 Family Reference Manual 24.1)
+#pragma config ICS = PGx1 // Comm Channel Select (Emulator EMUC1/EMUD1 pins are shared with PGC1/PGD1)
+#pragma config FWDTEN = OFF // Watchdog Timer Enable (Watchdog Timer is disabled)
+#pragma config GWRP = OFF // General Code Segment Write Protect (Writes to program memory are allowed)
+#pragma config GCP = OFF // General Code Segment Code Protect (Code protection is disabled)
+#pragma config JTAGEN = OFF // JTAG Port Enable (JTAG port is disabled)
+
+
+// CW2: FLASH CONFIGURATION WORD 2 (see PIC24 Family Reference Manual 24.1)
+#pragma config I2C1SEL = PRI // I2C1 Pin Location Select (Use default SCL1/SDA1 pins)
+#pragma config IOL1WAY = OFF // IOLOCK Protection (IOLOCK may be changed via unlocking seq)
+#pragma config OSCIOFNC = ON // Primary Oscillator I/O Function (CLKO/RC15 functions as I/O pin)
+#pragma config FCKSM = CSECME // Clock Switching and Monitor (Clock switching is enabled,
+ // Fail-Safe Clock Monitor is enabled)
+#pragma config FNOSC = FRCPLL // Oscillator Select (Fast RC Oscillator with PLL module (FRCPLL))
+
+void setup(void) {
+ //SET IC/OC
+ __builtin_write_OSCCONL(OSCCON & 0xbf); // unlock PPS
+ RPINR7bits.IC1R = 8; // Use Pin RP8 = "8", for Input Capture 1 (Table 10-2)
+ RPOR3bits.RP6R = 18; // Use Pin RP6 for Output Compare 1 = "18" (Table 10-3)
+ __builtin_write_OSCCONL(OSCCON | 0x40); // lock PPS
+ //END IC/OC
+ CLKDIVbits.RCDIV = 0; //Set RCDIV=1:1 (default 2:1) 32MHz or FCY/2=16M
+ AD1PCFG = 0x9fff;
+ _CN22PUE = 1;
+ TRISB |= 100000000;
+ initServo();
+ initPushButton();
+}
+
+int main(void) {
+ setup();
+ unsigned long first = 0, second = 0;
+ while (1) {
+ if (emptyBuffer() == 1)
+ continue;
+ //Buffer is not empty, keep going
+ first = getBuffer();
+ second = getBuffer();
+ if (first < 500 && second < 500) {
+ setServo(2500);
+ } else {
+ setServo(1000);
+ }
+ }
+}
diff --git a/Lab4.X/lab4_servo.c b/Lab4.X/lab4_servo.c
new file mode 100644
index 0000000..9ff5b42
--- /dev/null
+++ b/Lab4.X/lab4_servo.c
@@ -0,0 +1,23 @@
+#include "xc.h"
+#include "lab4_servo.h"
+void setServo(int Val)
+{
+ OC1RS=Val;
+}
+void initServo() {
+ TRISB &= 1111111111011111;
+ //TIMER 3
+ T3CON = 0x0010; //Stop Timer, Tcy clk source, PRE 1:8
+ T3CONbits.TCKPS = 0b01;
+ T3CONbits.TCS=0;
+ TMR3 = 0; // Initialize to zero
+ PR3 = 39999; // Set period in order to make 20ms cycle
+ T3CONbits.TON = 1;
+
+ //OC1
+ OC1CON = 0;
+ OC1R = 1234; // servo start position. We won?t touch OC1R again
+ OC1RS = 1234; // We will only change this once PWM is turned on
+ OC1CONbits.OCM = 0b110;
+ OC1CONbits.OCTSEL = 1;
+}
diff --git a/Lab4.X/lab4_servo.h b/Lab4.X/lab4_servo.h
new file mode 100644
index 0000000..c96cbf3
--- /dev/null
+++ b/Lab4.X/lab4_servo.h
@@ -0,0 +1,17 @@
+#ifndef LAB4_SERVO_H
+#define LAB4_SERVO_H
+
+#include <xc.h> // include processor files - each processor file is guarded.
+
+#ifdef __cplusplus
+extern "C" {
+#endif /* __cplusplus */
+ void delay(long n);
+ void initServo(void);
+ void setServo(int Val);
+#ifdef __cplusplus
+}
+#endif /* __cplusplus */
+
+#endif /* XC_HEADER_TEMPLATE_H */
+
diff --git a/Lab4.X/nbproject/Makefile-default.mk b/Lab4.X/nbproject/Makefile-default.mk
new file mode 100644
index 0000000..f3ee77d
--- /dev/null
+++ b/Lab4.X/nbproject/Makefile-default.mk
@@ -0,0 +1,189 @@
+#
+# Generated Makefile - do not edit!
+#
+# Edit the Makefile in the project folder instead (../Makefile). Each target
+# has a -pre and a -post target defined where you can add customized code.
+#
+# This makefile implements configuration specific macros and targets.
+
+
+# Include project Makefile
+ifeq "${IGNORE_LOCAL}" "TRUE"
+# do not include local makefile. User is passing all local related variables already
+else
+include Makefile
+# Include makefile containing local settings
+ifeq "$(wildcard nbproject/Makefile-local-default.mk)" "nbproject/Makefile-local-default.mk"
+include nbproject/Makefile-local-default.mk
+endif
+endif
+
+# Environment
+MKDIR=gnumkdir -p
+RM=rm -f
+MV=mv
+CP=cp
+
+# Macros
+CND_CONF=default
+ifeq ($(TYPE_IMAGE), DEBUG_RUN)
+IMAGE_TYPE=debug
+OUTPUT_SUFFIX=elf
+DEBUGGABLE_SUFFIX=elf
+FINAL_IMAGE=dist/${CND_CONF}/${IMAGE_TYPE}/Lab4.X.${IMAGE_TYPE}.${OUTPUT_SUFFIX}
+else
+IMAGE_TYPE=production
+OUTPUT_SUFFIX=hex
+DEBUGGABLE_SUFFIX=elf
+FINAL_IMAGE=dist/${CND_CONF}/${IMAGE_TYPE}/Lab4.X.${IMAGE_TYPE}.${OUTPUT_SUFFIX}
+endif
+
+ifeq ($(COMPARE_BUILD), true)
+COMPARISON_BUILD=-mafrlcsj
+else
+COMPARISON_BUILD=
+endif
+
+ifdef SUB_IMAGE_ADDRESS
+SUB_IMAGE_ADDRESS_COMMAND=--image-address $(SUB_IMAGE_ADDRESS)
+else
+SUB_IMAGE_ADDRESS_COMMAND=
+endif
+
+# Object Directory
+OBJECTDIR=build/${CND_CONF}/${IMAGE_TYPE}
+
+# Distribution Directory
+DISTDIR=dist/${CND_CONF}/${IMAGE_TYPE}
+
+# Source Files Quoted if spaced
+SOURCEFILES_QUOTED_IF_SPACED=lab4_main.c lab4_button.c lab4_servo.c
+
+# Object Files Quoted if spaced
+OBJECTFILES_QUOTED_IF_SPACED=${OBJECTDIR}/lab4_main.o ${OBJECTDIR}/lab4_button.o ${OBJECTDIR}/lab4_servo.o
+POSSIBLE_DEPFILES=${OBJECTDIR}/lab4_main.o.d ${OBJECTDIR}/lab4_button.o.d ${OBJECTDIR}/lab4_servo.o.d
+
+# Object Files
+OBJECTFILES=${OBJECTDIR}/lab4_main.o ${OBJECTDIR}/lab4_button.o ${OBJECTDIR}/lab4_servo.o
+
+# Source Files
+SOURCEFILES=lab4_main.c lab4_button.c lab4_servo.c
+
+
+
+CFLAGS=
+ASFLAGS=
+LDLIBSOPTIONS=
+
+############# Tool locations ##########################################
+# If you copy a project from one host to another, the path where the #
+# compiler is installed may be different. #
+# If you open this project with MPLAB X in the new host, this #
+# makefile will be regenerated and the paths will be corrected. #
+#######################################################################
+# fixDeps replaces a bunch of sed/cat/printf statements that slow down the build
+FIXDEPS=fixDeps
+
+.build-conf: ${BUILD_SUBPROJECTS}
+ifneq ($(INFORMATION_MESSAGE), )
+ @echo $(INFORMATION_MESSAGE)
+endif
+ ${MAKE} -f nbproject/Makefile-default.mk dist/${CND_CONF}/${IMAGE_TYPE}/Lab4.X.${IMAGE_TYPE}.${OUTPUT_SUFFIX}
+
+MP_PROCESSOR_OPTION=24FJ64GA002
+MP_LINKER_FILE_OPTION=,--script=p24FJ64GA002.gld
+# ------------------------------------------------------------------------------------
+# Rules for buildStep: compile
+ifeq ($(TYPE_IMAGE), DEBUG_RUN)
+${OBJECTDIR}/lab4_main.o: lab4_main.c nbproject/Makefile-${CND_CONF}.mk
+ @${MKDIR} "${OBJECTDIR}"
+ @${RM} ${OBJECTDIR}/lab4_main.o.d
+ @${RM} ${OBJECTDIR}/lab4_main.o
+ ${MP_CC} $(MP_EXTRA_CC_PRE) lab4_main.c -o ${OBJECTDIR}/lab4_main.o -c -mcpu=$(MP_PROCESSOR_OPTION) -MMD -MF "${OBJECTDIR}/lab4_main.o.d" -g -D__DEBUG -D__MPLAB_DEBUGGER_PK3=1 -omf=elf -DXPRJ_default=$(CND_CONF) -legacy-libc $(COMPARISON_BUILD) -O0 -msmart-io=1 -Wall -msfr-warn=off -mdfp=${DFP_DIR}/xc16
+ @${FIXDEPS} "${OBJECTDIR}/lab4_main.o.d" $(SILENT) -rsi ${MP_CC_DIR}../
+
+${OBJECTDIR}/lab4_button.o: lab4_button.c nbproject/Makefile-${CND_CONF}.mk
+ @${MKDIR} "${OBJECTDIR}"
+ @${RM} ${OBJECTDIR}/lab4_button.o.d
+ @${RM} ${OBJECTDIR}/lab4_button.o
+ ${MP_CC} $(MP_EXTRA_CC_PRE) lab4_button.c -o ${OBJECTDIR}/lab4_button.o -c -mcpu=$(MP_PROCESSOR_OPTION) -MMD -MF "${OBJECTDIR}/lab4_button.o.d" -g -D__DEBUG -D__MPLAB_DEBUGGER_PK3=1 -omf=elf -DXPRJ_default=$(CND_CONF) -legacy-libc $(COMPARISON_BUILD) -O0 -msmart-io=1 -Wall -msfr-warn=off -mdfp=${DFP_DIR}/xc16
+ @${FIXDEPS} "${OBJECTDIR}/lab4_button.o.d" $(SILENT) -rsi ${MP_CC_DIR}../
+
+${OBJECTDIR}/lab4_servo.o: lab4_servo.c nbproject/Makefile-${CND_CONF}.mk
+ @${MKDIR} "${OBJECTDIR}"
+ @${RM} ${OBJECTDIR}/lab4_servo.o.d
+ @${RM} ${OBJECTDIR}/lab4_servo.o
+ ${MP_CC} $(MP_EXTRA_CC_PRE) lab4_servo.c -o ${OBJECTDIR}/lab4_servo.o -c -mcpu=$(MP_PROCESSOR_OPTION) -MMD -MF "${OBJECTDIR}/lab4_servo.o.d" -g -D__DEBUG -D__MPLAB_DEBUGGER_PK3=1 -omf=elf -DXPRJ_default=$(CND_CONF) -legacy-libc $(COMPARISON_BUILD) -O0 -msmart-io=1 -Wall -msfr-warn=off -mdfp=${DFP_DIR}/xc16
+ @${FIXDEPS} "${OBJECTDIR}/lab4_servo.o.d" $(SILENT) -rsi ${MP_CC_DIR}../
+
+else
+${OBJECTDIR}/lab4_main.o: lab4_main.c nbproject/Makefile-${CND_CONF}.mk
+ @${MKDIR} "${OBJECTDIR}"
+ @${RM} ${OBJECTDIR}/lab4_main.o.d
+ @${RM} ${OBJECTDIR}/lab4_main.o
+ ${MP_CC} $(MP_EXTRA_CC_PRE) lab4_main.c -o ${OBJECTDIR}/lab4_main.o -c -mcpu=$(MP_PROCESSOR_OPTION) -MMD -MF "${OBJECTDIR}/lab4_main.o.d" -g -omf=elf -DXPRJ_default=$(CND_CONF) -legacy-libc $(COMPARISON_BUILD) -O0 -msmart-io=1 -Wall -msfr-warn=off -mdfp=${DFP_DIR}/xc16
+ @${FIXDEPS} "${OBJECTDIR}/lab4_main.o.d" $(SILENT) -rsi ${MP_CC_DIR}../
+
+${OBJECTDIR}/lab4_button.o: lab4_button.c nbproject/Makefile-${CND_CONF}.mk
+ @${MKDIR} "${OBJECTDIR}"
+ @${RM} ${OBJECTDIR}/lab4_button.o.d
+ @${RM} ${OBJECTDIR}/lab4_button.o
+ ${MP_CC} $(MP_EXTRA_CC_PRE) lab4_button.c -o ${OBJECTDIR}/lab4_button.o -c -mcpu=$(MP_PROCESSOR_OPTION) -MMD -MF "${OBJECTDIR}/lab4_button.o.d" -g -omf=elf -DXPRJ_default=$(CND_CONF) -legacy-libc $(COMPARISON_BUILD) -O0 -msmart-io=1 -Wall -msfr-warn=off -mdfp=${DFP_DIR}/xc16
+ @${FIXDEPS} "${OBJECTDIR}/lab4_button.o.d" $(SILENT) -rsi ${MP_CC_DIR}../
+
+${OBJECTDIR}/lab4_servo.o: lab4_servo.c nbproject/Makefile-${CND_CONF}.mk
+ @${MKDIR} "${OBJECTDIR}"
+ @${RM} ${OBJECTDIR}/lab4_servo.o.d
+ @${RM} ${OBJECTDIR}/lab4_servo.o
+ ${MP_CC} $(MP_EXTRA_CC_PRE) lab4_servo.c -o ${OBJECTDIR}/lab4_servo.o -c -mcpu=$(MP_PROCESSOR_OPTION) -MMD -MF "${OBJECTDIR}/lab4_servo.o.d" -g -omf=elf -DXPRJ_default=$(CND_CONF) -legacy-libc $(COMPARISON_BUILD) -O0 -msmart-io=1 -Wall -msfr-warn=off -mdfp=${DFP_DIR}/xc16
+ @${FIXDEPS} "${OBJECTDIR}/lab4_servo.o.d" $(SILENT) -rsi ${MP_CC_DIR}../
+
+endif
+
+# ------------------------------------------------------------------------------------
+# Rules for buildStep: assemble
+ifeq ($(TYPE_IMAGE), DEBUG_RUN)
+else
+endif
+
+# ------------------------------------------------------------------------------------
+# Rules for buildStep: assemblePreproc
+ifeq ($(TYPE_IMAGE), DEBUG_RUN)
+else
+endif
+
+# ------------------------------------------------------------------------------------
+# Rules for buildStep: link
+ifeq ($(TYPE_IMAGE), DEBUG_RUN)
+dist/${CND_CONF}/${IMAGE_TYPE}/Lab4.X.${IMAGE_TYPE}.${OUTPUT_SUFFIX}: ${OBJECTFILES} nbproject/Makefile-${CND_CONF}.mk
+ @${MKDIR} dist/${CND_CONF}/${IMAGE_TYPE}
+ ${MP_CC} $(MP_EXTRA_LD_PRE) -o dist/${CND_CONF}/${IMAGE_TYPE}/Lab4.X.${IMAGE_TYPE}.${OUTPUT_SUFFIX} ${OBJECTFILES_QUOTED_IF_SPACED} -mcpu=$(MP_PROCESSOR_OPTION) -D__DEBUG=__DEBUG -D__MPLAB_DEBUGGER_PK3=1 -omf=elf -DXPRJ_default=$(CND_CONF) -legacy-libc $(COMPARISON_BUILD) -mreserve=data@0x800:0x81F -mreserve=data@0x820:0x821 -mreserve=data@0x822:0x823 -mreserve=data@0x824:0x825 -mreserve=data@0x826:0x84F -Wl,,,--defsym=__MPLAB_BUILD=1,--defsym=__MPLAB_DEBUG=1,--defsym=__DEBUG=1,-D__DEBUG=__DEBUG,--defsym=__MPLAB_DEBUGGER_PK3=1,$(MP_LINKER_FILE_OPTION),--stack=16,--check-sections,--data-init,--pack-data,--handles,--isr,--no-gc-sections,--fill-upper=0,--stackguard=16,--no-force-link,--smart-io,-Map="${DISTDIR}/${PROJECTNAME}.${IMAGE_TYPE}.map",--report-mem,--memorysummary,dist/${CND_CONF}/${IMAGE_TYPE}/memoryfile.xml$(MP_EXTRA_LD_POST) -mdfp=${DFP_DIR}/xc16
+
+else
+dist/${CND_CONF}/${IMAGE_TYPE}/Lab4.X.${IMAGE_TYPE}.${OUTPUT_SUFFIX}: ${OBJECTFILES} nbproject/Makefile-${CND_CONF}.mk
+ @${MKDIR} dist/${CND_CONF}/${IMAGE_TYPE}
+ ${MP_CC} $(MP_EXTRA_LD_PRE) -o dist/${CND_CONF}/${IMAGE_TYPE}/Lab4.X.${IMAGE_TYPE}.${DEBUGGABLE_SUFFIX} ${OBJECTFILES_QUOTED_IF_SPACED} -mcpu=$(MP_PROCESSOR_OPTION) -omf=elf -DXPRJ_default=$(CND_CONF) -legacy-libc $(COMPARISON_BUILD) -Wl,,,--defsym=__MPLAB_BUILD=1,$(MP_LINKER_FILE_OPTION),--stack=16,--check-sections,--data-init,--pack-data,--handles,--isr,--no-gc-sections,--fill-upper=0,--stackguard=16,--no-force-link,--smart-io,-Map="${DISTDIR}/${PROJECTNAME}.${IMAGE_TYPE}.map",--report-mem,--memorysummary,dist/${CND_CONF}/${IMAGE_TYPE}/memoryfile.xml$(MP_EXTRA_LD_POST) -mdfp=${DFP_DIR}/xc16
+ ${MP_CC_DIR}\\xc16-bin2hex dist/${CND_CONF}/${IMAGE_TYPE}/Lab4.X.${IMAGE_TYPE}.${DEBUGGABLE_SUFFIX} -a -omf=elf -mdfp=${DFP_DIR}/xc16
+
+endif
+
+
+# Subprojects
+.build-subprojects:
+
+
+# Subprojects
+.clean-subprojects:
+
+# Clean Targets
+.clean-conf: ${CLEAN_SUBPROJECTS}
+ ${RM} -r build/default
+ ${RM} -r dist/default
+
+# Enable dependency checking
+.dep.inc: .depcheck-impl
+
+DEPFILES=$(shell mplabwildcard ${POSSIBLE_DEPFILES})
+ifneq (${DEPFILES},)
+include ${DEPFILES}
+endif
diff --git a/HW3.X/nbproject/Makefile-genesis.properties b/Lab4.X/nbproject/Makefile-genesis.properties
index 458c029..b0b44d9 100644
--- a/HW3.X/nbproject/Makefile-genesis.properties
+++ b/Lab4.X/nbproject/Makefile-genesis.properties
@@ -1,10 +1,10 @@
-#
-#Sat Mar 21 14:52:53 CDT 2020
-default.Pack.dfplocation=C\:\\Program Files (x86)\\Microchip\\MPLABX\\v5.35\\packs\\Microchip\\PIC24F-GA-GB_DFP\\1.2.101
-default.com-microchip-mplab-nbide-toolchainXC16-XC16LanguageToolchain.md5=859fc649e7017fd01769e2187e1537a7
-default.languagetoolchain.dir=C\:\\Program Files\\Microchip\\xc16\\v1.50\\bin
-configurations-xml=f503afea90925cb3391f7656571faaea
-com-microchip-mplab-nbide-embedded-makeproject-MakeProject.md5=5db0f4d6bbe0ec2a1f1096ccfb9d7ad3
-default.languagetoolchain.version=1.50
-host.platform=windows
-conf.ids=default
+#
+#Tue Mar 31 12:13:08 CDT 2020
+default.Pack.dfplocation=C\:\\Program Files (x86)\\Microchip\\MPLABX\\v5.35\\packs\\Microchip\\PIC24F-GA-GB_DFP\\1.2.101
+default.com-microchip-mplab-nbide-toolchainXC16-XC16LanguageToolchain.md5=859fc649e7017fd01769e2187e1537a7
+default.languagetoolchain.dir=C\:\\Program Files\\Microchip\\xc16\\v1.50\\bin
+configurations-xml=e0ae3ab3ff8165701c8f81eaf22a66fc
+com-microchip-mplab-nbide-embedded-makeproject-MakeProject.md5=5db0f4d6bbe0ec2a1f1096ccfb9d7ad3
+default.languagetoolchain.version=1.50
+host.platform=windows
+conf.ids=default
diff --git a/HW3.X/nbproject/Makefile-impl.mk b/Lab4.X/nbproject/Makefile-impl.mk
index 6ddd273..564f468 100644
--- a/HW3.X/nbproject/Makefile-impl.mk
+++ b/Lab4.X/nbproject/Makefile-impl.mk
@@ -24,7 +24,7 @@ CLEAN_SUBPROJECTS=${CLEAN_SUBPROJECTS_${SUBPROJECTS}}
# Project Name
-PROJECTNAME=HW3.X
+PROJECTNAME=Lab4.X
# Active Configuration
DEFAULTCONF=default
diff --git a/HW3.X/nbproject/Makefile-local-default.mk b/Lab4.X/nbproject/Makefile-local-default.mk
index c75d9df..c75d9df 100644
--- a/HW3.X/nbproject/Makefile-local-default.mk
+++ b/Lab4.X/nbproject/Makefile-local-default.mk
diff --git a/Lab4.X/nbproject/Makefile-variables.mk b/Lab4.X/nbproject/Makefile-variables.mk
new file mode 100644
index 0000000..99eafb9
--- /dev/null
+++ b/Lab4.X/nbproject/Makefile-variables.mk
@@ -0,0 +1,13 @@
+#
+# Generated - do not edit!
+#
+# NOCDDL
+#
+CND_BASEDIR=`pwd`
+# default configuration
+CND_ARTIFACT_DIR_default=dist/default/production
+CND_ARTIFACT_NAME_default=Lab4.X.production.hex
+CND_ARTIFACT_PATH_default=dist/default/production/Lab4.X.production.hex
+CND_PACKAGE_DIR_default=${CND_DISTDIR}/default/package
+CND_PACKAGE_NAME_default=lab4.x.tar
+CND_PACKAGE_PATH_default=${CND_DISTDIR}/default/package/lab4.x.tar
diff --git a/HW3.X/nbproject/Package-default.bash b/Lab4.X/nbproject/Package-default.bash
index cbe550f..ec5f254 100644
--- a/HW3.X/nbproject/Package-default.bash
+++ b/Lab4.X/nbproject/Package-default.bash
@@ -10,9 +10,9 @@ CND_CONF=default
CND_DISTDIR=dist
TMPDIR=build/${CND_CONF}/${IMAGE_TYPE}/tmp-packaging
TMPDIRNAME=tmp-packaging
-OUTPUT_PATH=dist/${CND_CONF}/${IMAGE_TYPE}/HW3.X.${IMAGE_TYPE}.${OUTPUT_SUFFIX}
-OUTPUT_BASENAME=HW3.X.${IMAGE_TYPE}.${OUTPUT_SUFFIX}
-PACKAGE_TOP_DIR=hw3.x/
+OUTPUT_PATH=dist/${CND_CONF}/${IMAGE_TYPE}/Lab4.X.${IMAGE_TYPE}.${OUTPUT_SUFFIX}
+OUTPUT_BASENAME=Lab4.X.${IMAGE_TYPE}.${OUTPUT_SUFFIX}
+PACKAGE_TOP_DIR=lab4.x/
# Functions
function checkReturnCode
@@ -57,15 +57,15 @@ mkdir -p ${TMPDIR}
# Copy files and create directories and links
cd "${TOP}"
-makeDirectory ${TMPDIR}/hw3.x/bin
+makeDirectory ${TMPDIR}/lab4.x/bin
copyFileToTmpDir "${OUTPUT_PATH}" "${TMPDIR}/${PACKAGE_TOP_DIR}bin/${OUTPUT_BASENAME}" 0755
# Generate tar file
cd "${TOP}"
-rm -f ${CND_DISTDIR}/${CND_CONF}/package/hw3.x.tar
+rm -f ${CND_DISTDIR}/${CND_CONF}/package/lab4.x.tar
cd ${TMPDIR}
-tar -vcf ../../../../${CND_DISTDIR}/${CND_CONF}/package/hw3.x.tar *
+tar -vcf ../../../../${CND_DISTDIR}/${CND_CONF}/package/lab4.x.tar *
checkReturnCode
# Cleanup
diff --git a/Lab4.X/nbproject/configurations.xml b/Lab4.X/nbproject/configurations.xml
new file mode 100644
index 0000000..c062cde
--- /dev/null
+++ b/Lab4.X/nbproject/configurations.xml
@@ -0,0 +1,656 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<configurationDescriptor version="65">
+ <logicalFolder name="root" displayName="root" projectFiles="true">
+ <logicalFolder name="HeaderFiles"
+ displayName="Header Files"
+ projectFiles="true">
+ <itemPath>lab4_button.h</itemPath>
+ <itemPath>lab4_servo.h</itemPath>
+ </logicalFolder>
+ <logicalFolder name="LinkerScript"
+ displayName="Linker Files"
+ projectFiles="true">
+ </logicalFolder>
+ <logicalFolder name="SourceFiles"
+ displayName="Source Files"
+ projectFiles="true">
+ <itemPath>lab4_main.c</itemPath>
+ <itemPath>lab4_button.c</itemPath>
+ <itemPath>lab4_servo.c</itemPath>
+ </logicalFolder>
+ <logicalFolder name="ExternalFiles"
+ displayName="Important Files"
+ projectFiles="false">
+ <itemPath>Makefile</itemPath>
+ <itemPath>MyConfig.mc3</itemPath>
+ </logicalFolder>
+ </logicalFolder>
+ <projectmakefile>Makefile</projectmakefile>
+ <confs>
+ <conf name="default" type="2">
+ <toolsSet>
+ <developmentServer>localhost</developmentServer>
+ <targetDevice>PIC24FJ64GA002</targetDevice>
+ <targetHeader></targetHeader>
+ <targetPluginBoard></targetPluginBoard>
+ <platformTool>PK3OBPlatformTool</platformTool>
+ <languageToolchain>XC16</languageToolchain>
+ <languageToolchainVersion>1.50</languageToolchainVersion>
+ <platform>3</platform>
+ </toolsSet>
+ <packs>
+ <pack name="PIC24F-GA-GB_DFP" vendor="Microchip" version="1.2.101"/>
+ </packs>
+ <compileType>
+ <linkerTool>
+ <linkerLibItems>
+ </linkerLibItems>
+ </linkerTool>
+ <archiverTool>
+ </archiverTool>
+ <loading>
+ <useAlternateLoadableFile>false</useAlternateLoadableFile>
+ <parseOnProdLoad>false</parseOnProdLoad>
+ <alternateLoadableFile></alternateLoadableFile>
+ </loading>
+ <subordinates>
+ </subordinates>
+ </compileType>
+ <makeCustomizationType>
+ <makeCustomizationPreStepEnabled>false</makeCustomizationPreStepEnabled>
+ <makeCustomizationPreStep></makeCustomizationPreStep>
+ <makeCustomizationPostStepEnabled>false</makeCustomizationPostStepEnabled>
+ <makeCustomizationPostStep></makeCustomizationPostStep>
+ <makeCustomizationPutChecksumInUserID>false</makeCustomizationPutChecksumInUserID>
+ <makeCustomizationEnableLongLines>false</makeCustomizationEnableLongLines>
+ <makeCustomizationNormalizeHexFile>false</makeCustomizationNormalizeHexFile>
+ </makeCustomizationType>
+ <C30>
+ <property key="code-model" value="default"/>
+ <property key="const-model" value="default"/>
+ <property key="data-model" value="default"/>
+ <property key="disable-instruction-scheduling" value="false"/>
+ <property key="enable-all-warnings" value="true"/>
+ <property key="enable-ansi-std" value="false"/>
+ <property key="enable-ansi-warnings" value="false"/>
+ <property key="enable-fatal-warnings" value="false"/>
+ <property key="enable-large-arrays" value="false"/>
+ <property key="enable-omit-frame-pointer" value="false"/>
+ <property key="enable-procedural-abstraction" value="false"/>
+ <property key="enable-short-double" value="false"/>
+ <property key="enable-symbols" value="true"/>
+ <property key="enable-unroll-loops" value="false"/>
+ <property key="extra-include-directories" value=""/>
+ <property key="isolate-each-function" value="false"/>
+ <property key="keep-inline" value="false"/>
+ <property key="oXC16gcc-align-arr" value="false"/>
+ <property key="oXC16gcc-cnsts-mauxflash" value="false"/>
+ <property key="oXC16gcc-data-sects" value="false"/>
+ <property key="oXC16gcc-errata" value=""/>
+ <property key="oXC16gcc-fillupper" value=""/>
+ <property key="oXC16gcc-large-aggregate" value="false"/>
+ <property key="oXC16gcc-mauxflash" value="false"/>
+ <property key="oXC16gcc-mpa-lvl" value=""/>
+ <property key="oXC16gcc-name-text-sec" value=""/>
+ <property key="oXC16gcc-near-chars" value="false"/>
+ <property key="oXC16gcc-no-isr-warn" value="false"/>
+ <property key="oXC16gcc-sfr-warn" value="false"/>
+ <property key="oXC16gcc-smar-io-lvl" value="1"/>
+ <property key="oXC16gcc-smart-io-fmt" value=""/>
+ <property key="optimization-level" value="0"/>
+ <property key="post-instruction-scheduling" value="default"/>
+ <property key="pre-instruction-scheduling" value="default"/>
+ <property key="preprocessor-macros" value=""/>
+ <property key="scalar-model" value="default"/>
+ <property key="use-cci" value="false"/>
+ <property key="use-iar" value="false"/>
+ </C30>
+ <C30-AR>
+ <property key="additional-options-chop-files" value="false"/>
+ </C30-AR>
+ <C30-AS>
+ <property key="assembler-symbols" value=""/>
+ <property key="expand-macros" value="false"/>
+ <property key="extra-include-directories-for-assembler" value=""/>
+ <property key="extra-include-directories-for-preprocessor" value=""/>
+ <property key="false-conditionals" value="false"/>
+ <property key="keep-locals" value="false"/>
+ <property key="list-assembly" value="false"/>
+ <property key="list-section-info" value="false"/>
+ <property key="list-source" value="false"/>
+ <property key="list-symbols" value="false"/>
+ <property key="oXC16asm-extra-opts" value=""/>
+ <property key="oXC16asm-list-to-file" value="false"/>
+ <property key="omit-debug-dirs" value="false"/>
+ <property key="omit-forms" value="false"/>
+ <property key="preprocessor-macros" value=""/>
+ <property key="relax" value="false"/>
+ <property key="warning-level" value="emit-warnings"/>
+ </C30-AS>
+ <C30-CO>
+ <property key="coverage-enable" value=""/>
+ </C30-CO>
+ <C30-LD>
+ <property key="additional-options-use-response-files" value="false"/>
+ <property key="boot-eeprom" value="no_eeprom"/>
+ <property key="boot-flash" value="no_flash"/>
+ <property key="boot-ram" value="no_ram"/>
+ <property key="boot-write-protect" value="no_write_protect"/>
+ <property key="enable-check-sections" value="false"/>
+ <property key="enable-data-init" value="true"/>
+ <property key="enable-default-isr" value="true"/>
+ <property key="enable-handles" value="true"/>
+ <property key="enable-pack-data" value="true"/>
+ <property key="extra-lib-directories" value=""/>
+ <property key="fill-flash-options-addr" value=""/>
+ <property key="fill-flash-options-const" value=""/>
+ <property key="fill-flash-options-how" value="0"/>
+ <property key="fill-flash-options-inc-const" value="1"/>
+ <property key="fill-flash-options-increment" value=""/>
+ <property key="fill-flash-options-seq" value=""/>
+ <property key="fill-flash-options-what" value="0"/>
+ <property key="general-code-protect" value="no_code_protect"/>
+ <property key="general-write-protect" value="no_write_protect"/>
+ <property key="generate-cross-reference-file" value="false"/>
+ <property key="heap-size" value=""/>
+ <property key="input-libraries" value=""/>
+ <property key="linker-stack" value="true"/>
+ <property key="linker-symbols" value=""/>
+ <property key="map-file" value="${DISTDIR}/${PROJECTNAME}.${IMAGE_TYPE}.map"/>
+ <property key="no-ivt" value="false"/>
+ <property key="oXC16ld-extra-opts" value=""/>
+ <property key="oXC16ld-fill-upper" value="0"/>
+ <property key="oXC16ld-force-link" value="false"/>
+ <property key="oXC16ld-no-smart-io" value="false"/>
+ <property key="oXC16ld-nostdlib" value="false"/>
+ <property key="oXC16ld-stackguard" value="16"/>
+ <property key="preprocessor-macros" value=""/>
+ <property key="remove-unused-sections" value="false"/>
+ <property key="report-memory-usage" value="true"/>
+ <property key="secure-eeprom" value="no_eeprom"/>
+ <property key="secure-flash" value="no_flash"/>
+ <property key="secure-ram" value="no_ram"/>
+ <property key="secure-write-protect" value="no_write_protect"/>
+ <property key="stack-size" value="16"/>
+ <property key="symbol-stripping" value=""/>
+ <property key="trace-symbols" value=""/>
+ <property key="warn-section-align" value="false"/>
+ </C30-LD>
+ <C30Global>
+ <property key="common-include-directories" value=""/>
+ <property key="dual-boot-partition" value="0"/>
+ <property key="fast-math" value="false"/>
+ <property key="generic-16-bit" value="false"/>
+ <property key="legacy-libc" value="true"/>
+ <property key="mpreserve-all" value="false"/>
+ <property key="oXC16glb-macros" value=""/>
+ <property key="omit-pack-options" value="1"/>
+ <property key="output-file-format" value="elf"/>
+ <property key="preserve-all" value="false"/>
+ <property key="preserve-file" value=""/>
+ <property key="relaxed-math" value="false"/>
+ <property key="save-temps" value="false"/>
+ </C30Global>
+ <PK3OBPlatformTool>
+ <property key="AutoSelectMemRanges" value="auto"/>
+ <property key="SecureSegment.SegmentProgramming" value="FullChipProgramming"/>
+ <property key="ToolFirmwareFilePath"
+ value="Press to browse for a specific firmware version"/>
+ <property key="ToolFirmwareOption.UseLatestFirmware" value="true"/>
+ <property key="memories.bootflash" value="true"/>
+ <property key="memories.configurationmemory" value="true"/>
+ <property key="memories.dataflash" value="true"/>
+ <property key="memories.eeprom" value="true"/>
+ <property key="memories.id" value="true"/>
+ <property key="memories.programmemory" value="true"/>
+ <property key="memories.programmemory.ranges"
+ value="${memories.programmemory.ranges}"/>
+ <property key="memories.userotp" value="true"/>
+ <property key="poweroptions.powerenable" value="false"/>
+ <property key="programoptions.eraseb4program" value="true"/>
+ <property key="programoptions.preservedataflash" value="false"/>
+ <property key="programoptions.preservedataflash.ranges"
+ value="${programoptions.preservedataflash.ranges}"/>
+ <property key="programoptions.preserveeeprom" value="false"/>
+ <property key="programoptions.preserveeeprom.ranges"
+ value="${programoptions.preserveeeprom.ranges}"/>
+ <property key="programoptions.preserveprogram.ranges" value=""/>
+ <property key="programoptions.preserveprogramrange" value="false"/>
+ <property key="programoptions.usehighvoltageonmclr" value="false"/>
+ <property key="programoptions.uselvpprogramming" value="false"/>
+ <property key="voltagevalue" value="3.25"/>
+ </PK3OBPlatformTool>
+ <Simulator>
+ <property key="codecoverage.enabled" value="Disable"/>
+ <property key="codecoverage.enableoutputtofile" value="false"/>
+ <property key="codecoverage.outputfile" value=""/>
+ <property key="oscillator.auxfrequency" value="120"/>
+ <property key="oscillator.auxfrequencyunit" value="Mega"/>
+ <property key="oscillator.frequency" value="16"/>
+ <property key="oscillator.frequencyunit" value="Mega"/>
+ <property key="oscillator.rcfrequency" value="250"/>
+ <property key="oscillator.rcfrequencyunit" value="Kilo"/>
+ <property key="periphADC1.altscl" value="false"/>
+ <property key="periphADC1.minTacq" value=""/>
+ <property key="periphADC1.tacqunits" value="microseconds"/>
+ <property key="periphADC2.altscl" value="false"/>
+ <property key="periphADC2.minTacq" value=""/>
+ <property key="periphADC2.tacqunits" value="microseconds"/>
+ <property key="periphComp1.gte" value="gt"/>
+ <property key="periphComp2.gte" value="gt"/>
+ <property key="periphComp3.gte" value="gt"/>
+ <property key="periphComp4.gte" value="gt"/>
+ <property key="periphComp5.gte" value="gt"/>
+ <property key="periphComp6.gte" value="gt"/>
+ <property key="reset.scl" value="false"/>
+ <property key="reset.type" value="MCLR"/>
+ <property key="tracecontrol.include.timestamp" value="summarydataenabled"/>
+ <property key="tracecontrol.select" value="0"/>
+ <property key="tracecontrol.stallontracebufferfull" value="false"/>
+ <property key="tracecontrol.timestamp" value="0"/>
+ <property key="tracecontrol.tracebufmax" value="546000"/>
+ <property key="tracecontrol.tracefile" value="defmplabxtrace.log"/>
+ <property key="tracecontrol.traceresetonrun" value="false"/>
+ <property key="uart0io.output" value="window"/>
+ <property key="uart0io.outputfile" value=""/>
+ <property key="uart0io.uartioenabled" value="false"/>
+ <property key="uart10io.output" value="window"/>
+ <property key="uart10io.outputfile" value=""/>
+ <property key="uart10io.uartioenabled" value="false"/>
+ <property key="uart1io.output" value="window"/>
+ <property key="uart1io.outputfile" value=""/>
+ <property key="uart1io.uartioenabled" value="false"/>
+ <property key="uart2io.output" value="window"/>
+ <property key="uart2io.outputfile" value=""/>
+ <property key="uart2io.uartioenabled" value="false"/>
+ <property key="uart3io.output" value="window"/>
+ <property key="uart3io.outputfile" value=""/>
+ <property key="uart3io.uartioenabled" value="false"/>
+ <property key="uart4io.output" value="window"/>
+ <property key="uart4io.outputfile" value=""/>
+ <property key="uart4io.uartioenabled" value="false"/>
+ <property key="uart5io.output" value="window"/>
+ <property key="uart5io.outputfile" value=""/>
+ <property key="uart5io.uartioenabled" value="false"/>
+ <property key="uart6io.output" value="window"/>
+ <property key="uart6io.outputfile" value=""/>
+ <property key="uart6io.uartioenabled" value="false"/>
+ <property key="uart7io.output" value="window"/>
+ <property key="uart7io.outputfile" value=""/>
+ <property key="uart7io.uartioenabled" value="false"/>
+ <property key="uart8io.output" value="window"/>
+ <property key="uart8io.outputfile" value=""/>
+ <property key="uart8io.uartioenabled" value="false"/>
+ <property key="uart9io.output" value="window"/>
+ <property key="uart9io.outputfile" value=""/>
+ <property key="uart9io.uartioenabled" value="false"/>
+ <property key="warningmessagebreakoptions.W0001_CORE_BITREV_MODULO_EN"
+ value="report"/>
+ <property key="warningmessagebreakoptions.W0002_CORE_SECURE_MEMORYACCESS"
+ value="report"/>
+ <property key="warningmessagebreakoptions.W0003_CORE_SW_RESET" value="report"/>
+ <property key="warningmessagebreakoptions.W0004_CORE_WDT_RESET" value="report"/>
+ <property key="warningmessagebreakoptions.W0005_CORE_IOPUW_RESET"
+ value="report"/>
+ <property key="warningmessagebreakoptions.W0006_CORE_CODE_GUARD_PFC_RESET"
+ value="report"/>
+ <property key="warningmessagebreakoptions.W0007_CORE_DO_LOOP_STACK_UNDERFLOW"
+ value="report"/>
+ <property key="warningmessagebreakoptions.W0008_CORE_DO_LOOP_STACK_OVERFLOW"
+ value="report"/>
+ <property key="warningmessagebreakoptions.W0009_CORE_NESTED_DO_LOOP_RANGE"
+ value="report"/>
+ <property key="warningmessagebreakoptions.W0010_CORE_SIM32_ODD_WORDACCESS"
+ value="report"/>
+ <property key="warningmessagebreakoptions.W0011_CORE_SIM32_UNIMPLEMENTED_RAMACCESS"
+ value="report"/>
+ <property key="warningmessagebreakoptions.W0012_CORE_STACK_OVERFLOW_RESET"
+ value="report"/>
+ <property key="warningmessagebreakoptions.W0013_CORE_STACK_UNDERFLOW_RESET"
+ value="report"/>
+ <property key="warningmessagebreakoptions.W0014_CORE_INVALID_OPCODE"
+ value="report"/>
+ <property key="warningmessagebreakoptions.W0015_CORE_INVALID_ALT_WREG_SET"
+ value="report"/>
+ <property key="warningmessagebreakoptions.W0016_CORE_STACK_ERROR"
+ value="report"/>
+ <property key="warningmessagebreakoptions.W0017_CORE_ODD_RAMWORDACCESS"
+ value="report"/>
+ <property key="warningmessagebreakoptions.W0018_CORE_UNIMPLEMENTED_RAMACCESS"
+ value="report"/>
+ <property key="warningmessagebreakoptions.W0019_CORE_UNIMPLEMENTED_PROMACCESS"
+ value="report"/>
+ <property key="warningmessagebreakoptions.W0020_CORE_ACCESS_NOTIN_X_SPACE"
+ value="report"/>
+ <property key="warningmessagebreakoptions.W0021_CORE_ACCESS_NOTIN_Y_SPACE"
+ value="report"/>
+ <property key="warningmessagebreakoptions.W0022_CORE_XMODEND_LESS_XMODSRT"
+ value="report"/>
+ <property key="warningmessagebreakoptions.W0023_CORE_YMODEND_LESS_YMODSRT"
+ value="report"/>
+ <property key="warningmessagebreakoptions.W0024_CORE_BITREV_MOD_IS_ZERO"
+ value="report"/>
+ <property key="warningmessagebreakoptions.W0025_CORE_HARD_TRAP" value="report"/>
+ <property key="warningmessagebreakoptions.W0026_CORE_UNIMPLEMENTED_MEMORYACCESS"
+ value="report"/>
+ <property key="warningmessagebreakoptions.W0027_CORE_UNIMPLEMENTED_EDSACCESS"
+ value="report"/>
+ <property key="warningmessagebreakoptions.W0028_TBLRD_WORM_CONFIG_MEMORY"
+ value="report"/>
+ <property key="warningmessagebreakoptions.W0029_TBLRD_DEVICE_ID" value="report"/>
+ <property key="warningmessagebreakoptions.W0030_CORE_UNIMPLEMENTED_MEMORY_ACCESS"
+ value="report"/>
+ <property key="warningmessagebreakoptions.W0031_BSLIM_INSUFFICIENT_BOOT_SEGMENT"
+ value="report"/>
+ <property key="warningmessagebreakoptions.W0032_BSLIM_LIMITS_EXCEEDS_PROG_MEMORY"
+ value="report"/>
+ <property key="warningmessagebreakoptions.W0033_CORE_UNPREDICTABLE_OPCODE"
+ value="report"/>
+ <property key="warningmessagebreakoptions.W0034_CORE_UNALIGNED_MEMORY_ACCESS"
+ value="report"/>
+ <property key="warningmessagebreakoptions.W0035_CORE_UNIMPLEMENTED_RAMACCESS_NOTRAP"
+ value="report"/>
+ <property key="warningmessagebreakoptions.W0040_FPU_DIFF_CP10_CP11"
+ value="report"/>
+ <property key="warningmessagebreakoptions.W0041_FPU_ACCESS_DENIED"
+ value="report"/>
+ <property key="warningmessagebreakoptions.W0042_FPU_PRIVILEGED_ACCESS_ONLY"
+ value="report"/>
+ <property key="warningmessagebreakoptions.W0043_FPU_CP_RESERVED_VALUE"
+ value="report"/>
+ <property key="warningmessagebreakoptions.W0044_FPU_OUT_OF_RANGE"
+ value="report"/>
+ <property key="warningmessagebreakoptions.W0051_INSTRUCTION_DIV_NOT_ENOUGH_REPEAT"
+ value="report"/>
+ <property key="warningmessagebreakoptions.W0052_INSTRUCTION_DIV_TOO_MANY_REPEAT"
+ value="report"/>
+ <property key="warningmessagebreakoptions.W0053_INVALID_INTCON_VS_FIELD_VALUE"
+ value="report"/>
+ <property key="warningmessagebreakoptions.W0101_SIM_UPDATE_FAILED"
+ value="report"/>
+ <property key="warningmessagebreakoptions.W0102_SIM_PERIPH_MISSING"
+ value="report"/>
+ <property key="warningmessagebreakoptions.W0103_SIM_PERIPH_FAILED"
+ value="report"/>
+ <property key="warningmessagebreakoptions.W0104_SIM_FAILED_TO_INIT_TOOL"
+ value="report"/>
+ <property key="warningmessagebreakoptions.W0105_SIM_INVALID_FIELD"
+ value="report"/>
+ <property key="warningmessagebreakoptions.W0106_SIM_PERIPH_PARTIAL_SUPPORT"
+ value="report"/>
+ <property key="warningmessagebreakoptions.W0107_SIM_NOT_SUPPORTED"
+ value="report"/>
+ <property key="warningmessagebreakoptions.W0108_SIM_RESERVED_SETTING"
+ value="report"/>
+ <property key="warningmessagebreakoptions.W0109_SIM_PERIPHERAL_IN_DEVELOPMENT"
+ value="report"/>
+ <property key="warningmessagebreakoptions.W0110_SIM_UNEXPECTED_EVENT"
+ value="report"/>
+ <property key="warningmessagebreakoptions.W0111_SIM_UNSUPPORTED_SELECTION"
+ value="report"/>
+ <property key="warningmessagebreakoptions.W0112_SIM_INVALID_OPERATION"
+ value="report"/>
+ <property key="warningmessagebreakoptions.W0113_SIM_WRITE_TO_PROTECTED_SFR"
+ value="report"/>
+ <property key="warningmessagebreakoptions.W0114_SIM_INVALID_KEY" value="report"/>
+ <property key="warningmessagebreakoptions.W0115_SIM_FAILED_TO_PARSE_DEVICE_FILE"
+ value="report"/>
+ <property key="warningmessagebreakoptions.W0116_SIM_STACK_OVERFLOW"
+ value="report"/>
+ <property key="warningmessagebreakoptions.W0117_SIM_STACK_UNDERFLOW"
+ value="report"/>
+ <property key="warningmessagebreakoptions.W0118_SIM_INVALID_FIELD_VALUE"
+ value="report"/>
+ <property key="warningmessagebreakoptions.W0119_SIM_SAMPLING_RATE_VIOLATION"
+ value="report"/>
+ <property key="warningmessagebreakoptions.W0201_ADC_NO_STIMULUS_FILE"
+ value="report"/>
+ <property key="warningmessagebreakoptions.W0202_ADC_GO_DONE_BIT" value="report"/>
+ <property key="warningmessagebreakoptions.W0203_ADC_MINIMUM_2_TAD"
+ value="report"/>
+ <property key="warningmessagebreakoptions.W0204_ADC_TAD_TOO_SMALL"
+ value="report"/>
+ <property key="warningmessagebreakoptions.W0205_ADC_UNEXPECTED_TRANSITION"
+ value="report"/>
+ <property key="warningmessagebreakoptions.W0206_ADC_SAMP_TIME_TOO_SHORT"
+ value="report"/>
+ <property key="warningmessagebreakoptions.W0207_ADC_NO_PINS_SCANNED"
+ value="report"/>
+ <property key="warningmessagebreakoptions.W0208_ADC_UNSUPPORTED_CLOCK_SOURCE"
+ value="report"/>
+ <property key="warningmessagebreakoptions.W0209_ADC_ANALOG_CHANNEL_DIGITAL"
+ value="report"/>
+ <property key="warningmessagebreakoptions.W0210_ADC_ANALOG_CHANNEL_OUTPUT"
+ value="report"/>
+ <property key="warningmessagebreakoptions.W0211_ADC_PIN_INVALID_CHANNEL"
+ value="report"/>
+ <property key="warningmessagebreakoptions.W0212_ADC_BAND_GAP_NOT_SUPPORTED"
+ value="report"/>
+ <property key="warningmessagebreakoptions.W0213_ADC_RESERVED_SSRC"
+ value="report"/>
+ <property key="warningmessagebreakoptions.W0214_ADC_POSITIVE_INPUT_DIGITAL"
+ value="report"/>
+ <property key="warningmessagebreakoptions.W0215_ADC_POSITIVE_INPUT_OUTPUT"
+ value="report"/>
+ <property key="warningmessagebreakoptions.W0216_ADC_NEGATIVE_INPUT_DIGITAL"
+ value="report"/>
+ <property key="warningmessagebreakoptions.W0217_ADC_NEGATIVE_INPUT_OUTPUT"
+ value="report"/>
+ <property key="warningmessagebreakoptions.W0218_ADC_REFERENCE_HIGH_DIGITAL"
+ value="report"/>
+ <property key="warningmessagebreakoptions.W0219_ADC_REFERENCE_HIGH_OUTPUT"
+ value="report"/>
+ <property key="warningmessagebreakoptions.W0220_ADC_REFERENCE_LOW_DIGITAL"
+ value="report"/>
+ <property key="warningmessagebreakoptions.W0221_ADC_REFERENCE_LOW_OUTPUT"
+ value="report"/>
+ <property key="warningmessagebreakoptions.W0222_ADC_OVERFLOW" value="report"/>
+ <property key="warningmessagebreakoptions.W0223_ADC_UNDERFLOW" value="report"/>
+ <property key="warningmessagebreakoptions.W0224_ADC_CTMU_NOT_SUPPORTED"
+ value="report"/>
+ <property key="warningmessagebreakoptions.W0225_ADC_INVALID_CH0S"
+ value="report"/>
+ <property key="warningmessagebreakoptions.W0226_ADC_VBAT_NOT_SUPPORTED"
+ value="report"/>
+ <property key="warningmessagebreakoptions.W0227_ADC_INVALID_ADCS"
+ value="report"/>
+ <property key="warningmessagebreakoptions.W0228_ADC_INVALID_ADCS"
+ value="report"/>
+ <property key="warningmessagebreakoptions.W0229_ADC_INVALID_ADCS"
+ value="report"/>
+ <property key="warningmessagebreakoptions.W0230_ADC_TRIGSEL_NOT_SUPPORTED"
+ value="report"/>
+ <property key="warningmessagebreakoptions.W0231_ADC_NOT_WARMED" value="report"/>
+ <property key="warningmessagebreakoptions.W0232_ADC_CALIBRATION_ABORTED"
+ value="report"/>
+ <property key="warningmessagebreakoptions.W0233_ADC_CORE_POWERED_EARLY"
+ value="report"/>
+ <property key="warningmessagebreakoptions.W0234_ADC_ALREADY_CALIBRATING"
+ value="report"/>
+ <property key="warningmessagebreakoptions.W0235_ADC_CAL_TYPE_CHANGED"
+ value="report"/>
+ <property key="warningmessagebreakoptions.W0236_ADC_CAL_INVALIDATED"
+ value="report"/>
+ <property key="warningmessagebreakoptions.W0237_ADC_UNKNOWN_DATASHEET"
+ value="report"/>
+ <property key="warningmessagebreakoptions.W0238_ADC_INVALID_SFR_FIELD_VALUE"
+ value="report"/>
+ <property key="warningmessagebreakoptions.W0239_ADC_UNSUPPORTED_INPUT"
+ value="report"/>
+ <property key="warningmessagebreakoptions.W0240_ADC_NOT_CALIBRATED"
+ value="report"/>
+ <property key="warningmessagebreakoptions.W0241_ADC_FRACTIONAL_NOT_ALLOWED"
+ value="report"/>
+ <property key="warningmessagebreakoptions.W0242_ADC_BG_INT_BEFORE_PWR"
+ value="report"/>
+ <property key="warningmessagebreakoptions.W0243_ADC_INVALID_TAD" value="report"/>
+ <property key="warningmessagebreakoptions.W0244_ADC_CONVERSION_ABORTED"
+ value="report"/>
+ <property key="warningmessagebreakoptions.W0245_ADC_BUFREGEN_NOT_ALLOWED"
+ value="report"/>
+ <property key="warningmessagebreakoptions.W0246_ADC_ACCUMULATION_BAD_RESSEL"
+ value="report"/>
+ <property key="warningmessagebreakoptions.W0247_ADC_CONVERSION_BAD_RESSEL"
+ value="report"/>
+ <property key="warningmessagebreakoptions.W0400_PWM_PWM_FASTER_THAN_FOSC"
+ value="report"/>
+ <property key="warningmessagebreakoptions.W0600_WDT_2ND_WDT_MR_WRITE"
+ value="report"/>
+ <property key="warningmessagebreakoptions.W0601_WDT_EXPIRED" value="report"/>
+ <property key="warningmessagebreakoptions.W0601_WDT_RESET_OUTSIDE_WINDOW"
+ value="report"/>
+ <property key="warningmessagebreakoptions.W0700_CLC_GENERAL_WARNING"
+ value="report"/>
+ <property key="warningmessagebreakoptions.W0701_CLC_CLCOUT_AS_INPUT"
+ value="report"/>
+ <property key="warningmessagebreakoptions.W0702_CLC_CIRCULAR_LOOP"
+ value="report"/>
+ <property key="warningmessagebreakoptions.W0800_ACC_INPUT_INVALID_CONFIG"
+ value="report"/>
+ <property key="warningmessagebreakoptions.W0801_ACC_INPUT_NOT_SUPPORTED"
+ value="report"/>
+ <property key="warningmessagebreakoptions.W0802_ACC_INVERTED_WINDOW_LIMITS"
+ value="report"/>
+ <property key="warningmessagebreakoptions.W0803_ACC_MISMATCHED_POS_INPUTS"
+ value="report"/>
+ <property key="warningmessagebreakoptions.W0804_ACC_WINDOW_COMP_DISABLED"
+ value="report"/>
+ <property key="warningmessagebreakoptions.W0805_ACC_WINDOW_COMPS_MODES"
+ value="report"/>
+ <property key="warningmessagebreakoptions.W0806_ACC_FEATURE_NOT_SUPPORTED"
+ value="report"/>
+ <property key="warningmessagebreakoptions.W10001_RESERVED_IRQ_HANDLER_INVOKED"
+ value="report"/>
+ <property key="warningmessagebreakoptions.W10002_UNSUPPORTED_CLK_SOURCE"
+ value="report"/>
+ <property key="warningmessagebreakoptions.W10101_UNSUPPORTED_CHANNEL_MODE"
+ value="report"/>
+ <property key="warningmessagebreakoptions.W10102_UNSUPPORTED_CLK_SOURCE"
+ value="report"/>
+ <property key="warningmessagebreakoptions.W10103_UNSUPPORTED_RECEIVER_FILTER"
+ value="report"/>
+ <property key="warningmessagebreakoptions.W10301_NO_PORT_PINS_FOUND"
+ value="report"/>
+ <property key="warningmessagebreakoptions.W10500_UNSUPPORTED_SOURCE"
+ value="report"/>
+ <property key="warningmessagebreakoptions.W1201_DATAFLASH_MEM_OUTSIDE_RANGE"
+ value="report"/>
+ <property key="warningmessagebreakoptions.W1202_DATAFLASH_ERASE_WHILE_LOCKED"
+ value="report"/>
+ <property key="warningmessagebreakoptions.W1203_DATAFLASH_WRITE_WHILE_LOCKED"
+ value="report"/>
+ <property key="warningmessagebreakoptions.W1401_DMA_PERIPH_NOT_AVAIL"
+ value="report"/>
+ <property key="warningmessagebreakoptions.W1402_DMA_INVALID_IRQ" value="report"/>
+ <property key="warningmessagebreakoptions.W1403_DMA_INVALID_SFR" value="report"/>
+ <property key="warningmessagebreakoptions.W1404_DMA_INVALID_DMA_ADDR"
+ value="report"/>
+ <property key="warningmessagebreakoptions.W1405_DMA_IRQ_DIR_MISMATCH"
+ value="report"/>
+ <property key="warningmessagebreakoptions.W1600_PPS_INVALID_MAP" value="report"/>
+ <property key="warningmessagebreakoptions.W1601_PPS_INVALID_PIN_DESCRIPTION"
+ value="report"/>
+ <property key="warningmessagebreakoptions.W1800_PWM_TIMER_SELECTION_NOT_AVIALABLE"
+ value="report"/>
+ <property key="warningmessagebreakoptions.W1801_PWM_TIMER_SELECTION_BAD_CLOCK_INPUT"
+ value="report"/>
+ <property key="warningmessagebreakoptions.W1802_PWM_TIMER_MISSING_PERSCALER_INFO"
+ value="report"/>
+ <property key="warningmessagebreakoptions.W2001_INPUTCAPTURE_TMR3_UNAVAILABLE"
+ value="report"/>
+ <property key="warningmessagebreakoptions.W2002_INPUTCAPTURE_CAPTURE_EMPTY"
+ value="report"/>
+ <property key="warningmessagebreakoptions.W2003_INPUTCAPTURE_SYNCSEL_NOT_AVIALABLE"
+ value="report"/>
+ <property key="warningmessagebreakoptions.W2004_INPUTCAPTURE_BAD_SYNC_SOURCE"
+ value="report"/>
+ <property key="warningmessagebreakoptions.W2501_OUTPUTCOMPARE_SYNCSEL_NOT_AVIALABLE"
+ value="report"/>
+ <property key="warningmessagebreakoptions.W2502_OUTPUTCOMPARE_BAD_SYNC_SOURCE"
+ value="report"/>
+ <property key="warningmessagebreakoptions.W2503_OUTPUTCOMPARE_BAD_TRIGGER_SOURCE"
+ value="report"/>
+ <property key="warningmessagebreakoptions.W2700_MPU_ILLEGAL_DREGION"
+ value="report"/>
+ <property key="warningmessagebreakoptions.W2701_MPU_INVALID_REGION"
+ value="report"/>
+ <property key="warningmessagebreakoptions.W3000_LPM_READ_PROTECTION_SECTION"
+ value="report"/>
+ <property key="warningmessagebreakoptions.W3010_SPM_WRITE_PROTECTION_SECTION"
+ value="report"/>
+ <property key="warningmessagebreakoptions.W6001_RTT_FORBIDDEN_RTPRES"
+ value="report"/>
+ <property key="warningmessagebreakoptions.W6002_RTT_BAD_WRITING_ALMV"
+ value="report"/>
+ <property key="warningmessagebreakoptions.W6003_RTT_BAD_WRITING_RTPRES"
+ value="report"/>
+ <property key="warningmessagebreakoptions.W7001_SMT_CLK_SELECTION_NOT_SUPPORT"
+ value="report"/>
+ <property key="warningmessagebreakoptions.W7002_SMT_SIG_SELECTION_NOT_SUPPORT"
+ value="report"/>
+ <property key="warningmessagebreakoptions.W7003_SMT_WIN_SELECTION_NOT_SUPPORT"
+ value="report"/>
+ <property key="warningmessagebreakoptions.W8001_OSC_INVALID_CLOCK_SOURCE"
+ value="report"/>
+ <property key="warningmessagebreakoptions.W8002_OSC_RESERVED_FEXTOSC"
+ value="report"/>
+ <property key="warningmessagebreakoptions.W9001_TMR_GATE_AND_EXTCLOCK_ENABLED"
+ value="report"/>
+ <property key="warningmessagebreakoptions.W9002_TMR_NO_PIN_AVAILABLE"
+ value="report"/>
+ <property key="warningmessagebreakoptions.W9003_TMR_INVALID_CLOCK_SOURCE"
+ value="report"/>
+ <property key="warningmessagebreakoptions.W9201_UART_TX_OVERFLOW"
+ value="report"/>
+ <property key="warningmessagebreakoptions.W9202_UART_TX_CAPTUREFILE"
+ value="report"/>
+ <property key="warningmessagebreakoptions.W9203_UART_TX_INVALIDINTERRUPTMODE"
+ value="report"/>
+ <property key="warningmessagebreakoptions.W9204_UART_RX_EMPTY_QUEUE"
+ value="report"/>
+ <property key="warningmessagebreakoptions.W9205_UART_TX_BADFILE" value="report"/>
+ <property key="warningmessagebreakoptions.W9206_UART_RESERVED_MODE"
+ value="report"/>
+ <property key="warningmessagebreakoptions.W9207_UART_UNABLETOCLOSE_FILE"
+ value="report"/>
+ <property key="warningmessagebreakoptions.W9401_CVREF_INVALIDSOURCESELECTION"
+ value="report"/>
+ <property key="warningmessagebreakoptions.W9402_CVREF_INPUT_OUTPUTPINCONFLICT"
+ value="report"/>
+ <property key="warningmessagebreakoptions.W9601_COMP_FVR_SOURCE_UNAVAILABLE"
+ value="report"/>
+ <property key="warningmessagebreakoptions.W9602_COMP_DAC_SOURCE_UNAVAILABLE"
+ value="report"/>
+ <property key="warningmessagebreakoptions.W9603_COMP_CVREF_SOURCE_UNAVAILABLE"
+ value="report"/>
+ <property key="warningmessagebreakoptions.W9604_COMP_SLOPE_SOURCE_UNAVAILABLE"
+ value="report"/>
+ <property key="warningmessagebreakoptions.W9605_COMP_PRG_SOURCE_UNAVAILABLE"
+ value="report"/>
+ <property key="warningmessagebreakoptions.W9607_COMP_DGTL_FLTR_OPTION_UNAVAILABLE"
+ value="report"/>
+ <property key="warningmessagebreakoptions.W9609_COMP_DGTL_FLTR_CLK_UNAVAILABLE"
+ value="report"/>
+ <property key="warningmessagebreakoptions.W9801_FVR_INVALID_MODE_SELECTION"
+ value="report"/>
+ <property key="warningmessagebreakoptions.W9801_SCL_BAD_SUBTYPE_INDICATION"
+ value="report"/>
+ <property key="warningmessagebreakoptions.W9802_SCL_FILE_NOT_FOUND"
+ value="report"/>
+ <property key="warningmessagebreakoptions.W9803_SCL_FAILED_TO_READ_FILE"
+ value="report"/>
+ <property key="warningmessagebreakoptions.W9804_SCL_UNRECOGNIZED_LABEL"
+ value="report"/>
+ <property key="warningmessagebreakoptions.W9805_SCL_UNRECOGNIZED_VAR"
+ value="report"/>
+ <property key="warningmessagebreakoptions.W9901_RTSP_INVALID_OPERATION_SELECTION"
+ value="report"/>
+ <property key="warningmessagebreakoptions.W9902_RTSP_FLASH_PROGRAM_WRITE_PROTECTED"
+ value="report"/>
+ <property key="warningmessagebreakoptions.displaywarningmessagesoption"
+ value=""/>
+ <property key="warningmessagebreakoptions.warningmessages" value="holdstate"/>
+ </Simulator>
+ </conf>
+ </confs>
+</configurationDescriptor>
diff --git a/Lab4.X/nbproject/private/configurations.xml b/Lab4.X/nbproject/private/configurations.xml
new file mode 100644
index 0000000..099de7b
--- /dev/null
+++ b/Lab4.X/nbproject/private/configurations.xml
@@ -0,0 +1,25 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<configurationDescriptor version="65">
+ <projectmakefile>Makefile</projectmakefile>
+ <defaultConf>0</defaultConf>
+ <confs>
+ <conf name="default" type="2">
+ <platformToolSN>:=MPLABComm-USB-Microchip:=&lt;vid>04D8:=&lt;pid>8108:=&lt;rev>0002:=&lt;man>Digilent:=&lt;prod>chipKitProgrammer:=&lt;sn>DA63CA1:=&lt;drv>x:=&lt;xpt>h:=end</platformToolSN>
+ <languageToolchainDir>C:\Program Files\Microchip\xc16\v1.50\bin</languageToolchainDir>
+ <mdbdebugger version="1">
+ <placeholder1>place holder 1</placeholder1>
+ <placeholder2>place holder 2</placeholder2>
+ </mdbdebugger>
+ <runprofile version="6">
+ <args></args>
+ <rundir></rundir>
+ <buildfirst>true</buildfirst>
+ <console-type>0</console-type>
+ <terminal-type>0</terminal-type>
+ <remove-instrumentation>0</remove-instrumentation>
+ <environment>
+ </environment>
+ </runprofile>
+ </conf>
+ </confs>
+</configurationDescriptor>
diff --git a/Lab4.X/nbproject/private/private.xml b/Lab4.X/nbproject/private/private.xml
new file mode 100644
index 0000000..6807a2b
--- /dev/null
+++ b/Lab4.X/nbproject/private/private.xml
@@ -0,0 +1,7 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<project-private xmlns="http://www.netbeans.org/ns/project-private/1">
+ <editor-bookmarks xmlns="http://www.netbeans.org/ns/editor-bookmarks/2" lastBookmarkId="0"/>
+ <open-files xmlns="http://www.netbeans.org/ns/projectui-open-files/2">
+ <group/>
+ </open-files>
+</project-private>
diff --git a/HW3.X/nbproject/project.xml b/Lab4.X/nbproject/project.xml
index be65d21..37597b1 100644
--- a/HW3.X/nbproject/project.xml
+++ b/Lab4.X/nbproject/project.xml
@@ -1,29 +1,27 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<project xmlns="http://www.netbeans.org/ns/project/1">
- <type>com.microchip.mplab.nbide.embedded.makeproject</type>
- <configuration>
- <data xmlns="http://www.netbeans.org/ns/make-project/1">
- <name>HW3</name>
- <creation-uuid>8463ef2c-cfb9-43df-9b54-21aad4de2c86</creation-uuid>
- <make-project-type>0</make-project-type>
- <c-extensions>c</c-extensions>
- <cpp-extensions/>
- <header-extensions/>
- <asminc-extensions/>
- <sourceEncoding>ISO-8859-1</sourceEncoding>
- <make-dep-projects/>
- <sourceRootList>
- <sourceRootElem>.</sourceRootElem>
- </sourceRootList>
- <confList>
- <confElem>
- <name>default</name>
- <type>2</type>
- </confElem>
- </confList>
- <formatting>
- <project-formatting-style>false</project-formatting-style>
- </formatting>
- </data>
- </configuration>
-</project>
+<?xml version="1.0" encoding="UTF-8"?>
+<project xmlns="http://www.netbeans.org/ns/project/1">
+ <type>com.microchip.mplab.nbide.embedded.makeproject</type>
+ <configuration>
+ <data xmlns="http://www.netbeans.org/ns/make-project/1">
+ <name>Lab4</name>
+ <creation-uuid>3910cf97-50cc-48f2-b0f8-cdd6c77563b8</creation-uuid>
+ <make-project-type>0</make-project-type>
+ <c-extensions>c</c-extensions>
+ <cpp-extensions/>
+ <header-extensions>h</header-extensions>
+ <asminc-extensions/>
+ <sourceEncoding>ISO-8859-1</sourceEncoding>
+ <make-dep-projects/>
+ <sourceRootList/>
+ <confList>
+ <confElem>
+ <name>default</name>
+ <type>2</type>
+ </confElem>
+ </confList>
+ <formatting>
+ <project-formatting-style>false</project-formatting-style>
+ </formatting>
+ </data>
+ </configuration>
+</project>
diff --git a/Lab4.X/strap012_lab4.zip b/Lab4.X/strap012_lab4.zip
new file mode 100644
index 0000000..4641308
--- /dev/null
+++ b/Lab4.X/strap012_lab4.zip
Binary files differ
diff --git a/Lab4.X/strap012_lab4_I_Guess.zip b/Lab4.X/strap012_lab4_I_Guess.zip
new file mode 100644
index 0000000..ad7adf1
--- /dev/null
+++ b/Lab4.X/strap012_lab4_I_Guess.zip
Binary files differ
diff --git a/Lab5.X/Makefile b/Lab5.X/Makefile
new file mode 100644
index 0000000..fca8e2c
--- /dev/null
+++ b/Lab5.X/Makefile
@@ -0,0 +1,113 @@
+#
+# There exist several targets which are by default empty and which can be
+# used for execution of your targets. These targets are usually executed
+# before and after some main targets. They are:
+#
+# .build-pre: called before 'build' target
+# .build-post: called after 'build' target
+# .clean-pre: called before 'clean' target
+# .clean-post: called after 'clean' target
+# .clobber-pre: called before 'clobber' target
+# .clobber-post: called after 'clobber' target
+# .all-pre: called before 'all' target
+# .all-post: called after 'all' target
+# .help-pre: called before 'help' target
+# .help-post: called after 'help' target
+#
+# Targets beginning with '.' are not intended to be called on their own.
+#
+# Main targets can be executed directly, and they are:
+#
+# build build a specific configuration
+# clean remove built files from a configuration
+# clobber remove all built files
+# all build all configurations
+# help print help mesage
+#
+# Targets .build-impl, .clean-impl, .clobber-impl, .all-impl, and
+# .help-impl are implemented in nbproject/makefile-impl.mk.
+#
+# Available make variables:
+#
+# CND_BASEDIR base directory for relative paths
+# CND_DISTDIR default top distribution directory (build artifacts)
+# CND_BUILDDIR default top build directory (object files, ...)
+# CONF name of current configuration
+# CND_ARTIFACT_DIR_${CONF} directory of build artifact (current configuration)
+# CND_ARTIFACT_NAME_${CONF} name of build artifact (current configuration)
+# CND_ARTIFACT_PATH_${CONF} path to build artifact (current configuration)
+# CND_PACKAGE_DIR_${CONF} directory of package (current configuration)
+# CND_PACKAGE_NAME_${CONF} name of package (current configuration)
+# CND_PACKAGE_PATH_${CONF} path to package (current configuration)
+#
+# NOCDDL
+
+
+# Environment
+MKDIR=mkdir
+CP=cp
+CCADMIN=CCadmin
+RANLIB=ranlib
+
+
+# build
+build: .build-post
+
+.build-pre:
+# Add your pre 'build' code here...
+
+.build-post: .build-impl
+# Add your post 'build' code here...
+
+
+# clean
+clean: .clean-post
+
+.clean-pre:
+# Add your pre 'clean' code here...
+# WARNING: the IDE does not call this target since it takes a long time to
+# simply run make. Instead, the IDE removes the configuration directories
+# under build and dist directly without calling make.
+# This target is left here so people can do a clean when running a clean
+# outside the IDE.
+
+.clean-post: .clean-impl
+# Add your post 'clean' code here...
+
+
+# clobber
+clobber: .clobber-post
+
+.clobber-pre:
+# Add your pre 'clobber' code here...
+
+.clobber-post: .clobber-impl
+# Add your post 'clobber' code here...
+
+
+# all
+all: .all-post
+
+.all-pre:
+# Add your pre 'all' code here...
+
+.all-post: .all-impl
+# Add your post 'all' code here...
+
+
+# help
+help: .help-post
+
+.help-pre:
+# Add your pre 'help' code here...
+
+.help-post: .help-impl
+# Add your post 'help' code here...
+
+
+
+# include project implementation makefile
+include nbproject/Makefile-impl.mk
+
+# include project make variables
+include nbproject/Makefile-variables.mk
diff --git a/Lab5.X/dist/default/debug/memoryfile.xml b/Lab5.X/dist/default/debug/memoryfile.xml
new file mode 100644
index 0000000..9f704b1
--- /dev/null
+++ b/Lab5.X/dist/default/debug/memoryfile.xml
@@ -0,0 +1,18 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<project>
+ <executable name="dist/default/debug/Lab5.X.debug.elf">
+ <memory name="data">
+ <units>bytes</units>
+ <length>8192</length>
+ <used>80</used>
+ <free>8112</free>
+ </memory>
+ <memory name="program">
+ <units>bytes</units>
+ <length>65274</length>
+ <used>1086</used>
+ <free>64188</free>
+ </memory>
+ </executable>
+</project>
diff --git a/Lab5.X/dist/default/production/memoryfile.xml b/Lab5.X/dist/default/production/memoryfile.xml
new file mode 100644
index 0000000..13949ab
--- /dev/null
+++ b/Lab5.X/dist/default/production/memoryfile.xml
@@ -0,0 +1,18 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<project>
+ <executable name="dist/default/production/Lab5.X.production.elf">
+ <memory name="data">
+ <units>bytes</units>
+ <length>8192</length>
+ <used>0</used>
+ <free>8192</free>
+ </memory>
+ <memory name="program">
+ <units>bytes</units>
+ <length>65274</length>
+ <used>1125</used>
+ <free>64149</free>
+ </memory>
+ </executable>
+</project>
diff --git a/Lab5.X/lab5_lcd.c b/Lab5.X/lab5_lcd.c
new file mode 100644
index 0000000..8c0af52
--- /dev/null
+++ b/Lab5.X/lab5_lcd.c
@@ -0,0 +1,98 @@
+#include "xc.h"
+#include "lab5_lcd.h"
+#include "string.h"
+#define CON 32
+//Obligatory delay function
+void delay(long n){
+ for (n=n; n>0; n--) {
+ asm("nop");
+ }
+}
+
+void lcd_cmd(char command) {
+ I2C2CONbits.SEN = 1; //Start
+ while(I2C2CONbits.SEN);
+ IFS3bits.MI2C2IF=0;
+ I2C2TRN= 0b01111100; //Slave address and R/W bit
+ while(!IFS3bits.MI2C2IF);
+ IFS3bits.MI2C2IF=0;
+ I2C2TRN = 0b00000000; //Control byte
+ while(!IFS3bits.MI2C2IF);
+ IFS3bits.MI2C2IF=0;
+ I2C2TRN = command; //Data byte
+ while(!IFS3bits.MI2C2IF);
+ IFS3bits.MI2C2IF=0;
+ I2C2CONbits.PEN = 1; //Stop
+ while(I2C2CONbits.PEN);
+}
+
+void lcd_init(void) {
+ delay(66666);
+ lcd_cmd(0b00111000); // function set, normal instruction mode
+ lcd_cmd(0b00111001); // function set, extended instruction mode
+ lcd_cmd(0b00010100); // interval osc
+ lcd_cmd(0b01110000); // contrast C3-C0
+ lcd_cmd(0b01011110); // Ion, Bon, C5-C4
+ lcd_cmd(0b01101100); // follower control
+ delay(266665);
+ lcd_cmd(0b00111000); // function set, normal instruction mode
+ lcd_cmd(0b00001100); // Display On
+ lcd_cmd(0b00000001); // Clear Display
+ delay(2667);
+}
+
+void lcd_setCursor(char x, char y) {
+ char location = 0x40 * y + x;
+ lcd_cmd((1 << 7) + location);
+}
+
+void lcd_printChar(char myChar) {
+ I2C2CONbits.SEN = 1;
+ while(I2C2CONbits.SEN);
+ IFS3bits.MI2C2IF = 0;
+ I2C2TRN= 0b01111100;
+ while(!IFS3bits.MI2C2IF);
+ IFS3bits.MI2C2IF = 0;
+ I2C2TRN = 0b01000000; //RS = 1
+ while(!IFS3bits.MI2C2IF);
+ IFS3bits.MI2C2IF = 0;
+ I2C2TRN = myChar;
+ while(!IFS3bits.MI2C2IF);
+ IFS3bits.MI2C2IF = 0;
+ I2C2CONbits.PEN = 1;
+ while(I2C2CONbits.PEN);
+}
+
+void lcd_printStr(const char s[]) {
+ int size = strlen(s);
+ I2C2CONbits.SEN = 1; //Start
+ while(I2C2CONbits.SEN);
+ IFS3bits.MI2C2IF=0;
+ I2C2TRN= 0b01111100; //Slave address and R/W bit
+ while(!IFS3bits.MI2C2IF);
+ IFS3bits.MI2C2IF=0;
+ int i;
+ for (i=0; i < size - 1; i++) {
+ I2C2TRN = 0b11000000; //Control byte, RS = 1
+ while(!IFS3bits.MI2C2IF);
+ IFS3bits.MI2C2IF=0;
+ I2C2TRN = s[i]; //Data byte
+ while(!IFS3bits.MI2C2IF);
+ IFS3bits.MI2C2IF=0;
+ }
+ I2C2TRN = 0b01000000; //Control byte, RS = 1
+ while(!IFS3bits.MI2C2IF);
+ IFS3bits.MI2C2IF=0;
+ I2C2TRN = s[size-1]; //Data byte
+ while(!IFS3bits.MI2C2IF);
+ IFS3bits.MI2C2IF=0;
+ I2C2CONbits.PEN = 1; //Stop
+ while(I2C2CONbits.PEN);
+}
+
+void left(void) {
+ lcd_cmd(0b11 << 3);
+}
+void right(void) {
+ lcd_cmd(0b111 << 2);
+} \ No newline at end of file
diff --git a/Lab5.X/lab5_lcd.h b/Lab5.X/lab5_lcd.h
new file mode 100644
index 0000000..aeefb42
--- /dev/null
+++ b/Lab5.X/lab5_lcd.h
@@ -0,0 +1,17 @@
+#ifndef LCD_HEADER
+#define LCD_HEADER
+
+#include <xc.h> // include processor files - each processor file is guarded.
+#ifdef __cplusplus
+extern "C" {
+#endif
+ void lcd_cmd(char command);
+ void lcd_init(void);
+ void lcd_setCursor(char x, char y);
+ void lcd_printChar(char myChar);
+ void lcd_printStr(const char s[]);
+#ifdef __cplusplus
+}
+#endif
+#endif
+
diff --git a/Lab5.X/lab5_main.c b/Lab5.X/lab5_main.c
new file mode 100644
index 0000000..b133335
--- /dev/null
+++ b/Lab5.X/lab5_main.c
@@ -0,0 +1,37 @@
+#include "xc.h"
+#include "lab5_lcd.h"
+
+#pragma config ICS = PGx1 // Comm Channel Select (Emulator EMUC1/EMUD1 pins are shared with PGC1/PGD1)
+#pragma config FWDTEN = OFF // Watchdog Timer Enable (Watchdog Timer is disabled)
+#pragma config GWRP = OFF // General Code Segment Write Protect (Writes to program memory are allowed)
+#pragma config GCP = OFF // General Code Segment Code Protect (Code protection is disabled)
+#pragma config JTAGEN = OFF // JTAG Port Enable (JTAG port is disabled)
+
+// CW2: FLASH CONFIGURATION WORD 2 (see PIC24 Family Reference Manual 24.1)
+#pragma config I2C1SEL = PRI // I2C1 Pin Location Select (Use default SCL1/SDA1 pins)
+#pragma config IOL1WAY = OFF // IOLOCK Protection (IOLOCK may be changed via unlocking seq)
+#pragma config OSCIOFNC = ON // Primary Oscillator I/O Function (CLKO/RC15 functions as I/O pin)
+#pragma config FCKSM = CSECME // Clock Switching and Monitor (Clock switching is enabled,
+ // Fail-Safe Clock Monitor is enabled)
+#pragma config FNOSC = FRCPLL // Oscillator Select (Fast RC Oscillator with PLL module (FRCPLL))
+void setup(void) {
+ CLKDIVbits.RCDIV = 0;
+ AD1PCFG = 0x9fff; //all digital inputs and outputs
+ I2C2BRG = 0x9D;
+ I2C2CONbits.I2CEN = 1;
+ _I2CSIDL = 0;
+ IFS3bits.MI2C2IF=0;
+ lcd_init();
+}
+
+int main(void) {
+ setup();
+ lcd_setCursor(0, 0);
+ lcd_printStr("Hello");
+ lcd_setCursor(2,1);
+ lcd_printStr("World!");
+ while (1) {
+ delay(500000);
+ left();
+ }
+} \ No newline at end of file
diff --git a/Lab5.X/nbproject/Makefile-default.mk b/Lab5.X/nbproject/Makefile-default.mk
new file mode 100644
index 0000000..8d79eaa
--- /dev/null
+++ b/Lab5.X/nbproject/Makefile-default.mk
@@ -0,0 +1,175 @@
+#
+# Generated Makefile - do not edit!
+#
+# Edit the Makefile in the project folder instead (../Makefile). Each target
+# has a -pre and a -post target defined where you can add customized code.
+#
+# This makefile implements configuration specific macros and targets.
+
+
+# Include project Makefile
+ifeq "${IGNORE_LOCAL}" "TRUE"
+# do not include local makefile. User is passing all local related variables already
+else
+include Makefile
+# Include makefile containing local settings
+ifeq "$(wildcard nbproject/Makefile-local-default.mk)" "nbproject/Makefile-local-default.mk"
+include nbproject/Makefile-local-default.mk
+endif
+endif
+
+# Environment
+MKDIR=gnumkdir -p
+RM=rm -f
+MV=mv
+CP=cp
+
+# Macros
+CND_CONF=default
+ifeq ($(TYPE_IMAGE), DEBUG_RUN)
+IMAGE_TYPE=debug
+OUTPUT_SUFFIX=elf
+DEBUGGABLE_SUFFIX=elf
+FINAL_IMAGE=dist/${CND_CONF}/${IMAGE_TYPE}/Lab5.X.${IMAGE_TYPE}.${OUTPUT_SUFFIX}
+else
+IMAGE_TYPE=production
+OUTPUT_SUFFIX=hex
+DEBUGGABLE_SUFFIX=elf
+FINAL_IMAGE=dist/${CND_CONF}/${IMAGE_TYPE}/Lab5.X.${IMAGE_TYPE}.${OUTPUT_SUFFIX}
+endif
+
+ifeq ($(COMPARE_BUILD), true)
+COMPARISON_BUILD=-mafrlcsj
+else
+COMPARISON_BUILD=
+endif
+
+ifdef SUB_IMAGE_ADDRESS
+SUB_IMAGE_ADDRESS_COMMAND=--image-address $(SUB_IMAGE_ADDRESS)
+else
+SUB_IMAGE_ADDRESS_COMMAND=
+endif
+
+# Object Directory
+OBJECTDIR=build/${CND_CONF}/${IMAGE_TYPE}
+
+# Distribution Directory
+DISTDIR=dist/${CND_CONF}/${IMAGE_TYPE}
+
+# Source Files Quoted if spaced
+SOURCEFILES_QUOTED_IF_SPACED=lab5_main.c lab5_lcd.c
+
+# Object Files Quoted if spaced
+OBJECTFILES_QUOTED_IF_SPACED=${OBJECTDIR}/lab5_main.o ${OBJECTDIR}/lab5_lcd.o
+POSSIBLE_DEPFILES=${OBJECTDIR}/lab5_main.o.d ${OBJECTDIR}/lab5_lcd.o.d
+
+# Object Files
+OBJECTFILES=${OBJECTDIR}/lab5_main.o ${OBJECTDIR}/lab5_lcd.o
+
+# Source Files
+SOURCEFILES=lab5_main.c lab5_lcd.c
+
+
+
+CFLAGS=
+ASFLAGS=
+LDLIBSOPTIONS=
+
+############# Tool locations ##########################################
+# If you copy a project from one host to another, the path where the #
+# compiler is installed may be different. #
+# If you open this project with MPLAB X in the new host, this #
+# makefile will be regenerated and the paths will be corrected. #
+#######################################################################
+# fixDeps replaces a bunch of sed/cat/printf statements that slow down the build
+FIXDEPS=fixDeps
+
+.build-conf: ${BUILD_SUBPROJECTS}
+ifneq ($(INFORMATION_MESSAGE), )
+ @echo $(INFORMATION_MESSAGE)
+endif
+ ${MAKE} -f nbproject/Makefile-default.mk dist/${CND_CONF}/${IMAGE_TYPE}/Lab5.X.${IMAGE_TYPE}.${OUTPUT_SUFFIX}
+
+MP_PROCESSOR_OPTION=24FJ64GA002
+MP_LINKER_FILE_OPTION=,--script=p24FJ64GA002.gld
+# ------------------------------------------------------------------------------------
+# Rules for buildStep: compile
+ifeq ($(TYPE_IMAGE), DEBUG_RUN)
+${OBJECTDIR}/lab5_main.o: lab5_main.c nbproject/Makefile-${CND_CONF}.mk
+ @${MKDIR} "${OBJECTDIR}"
+ @${RM} ${OBJECTDIR}/lab5_main.o.d
+ @${RM} ${OBJECTDIR}/lab5_main.o
+ ${MP_CC} $(MP_EXTRA_CC_PRE) lab5_main.c -o ${OBJECTDIR}/lab5_main.o -c -mcpu=$(MP_PROCESSOR_OPTION) -MMD -MF "${OBJECTDIR}/lab5_main.o.d" -g -D__DEBUG -D__MPLAB_DEBUGGER_PK3=1 -omf=elf -DXPRJ_default=$(CND_CONF) -legacy-libc $(COMPARISON_BUILD) -O0 -msmart-io=1 -Wall -msfr-warn=off -mdfp=${DFP_DIR}/xc16
+ @${FIXDEPS} "${OBJECTDIR}/lab5_main.o.d" $(SILENT) -rsi ${MP_CC_DIR}../
+
+${OBJECTDIR}/lab5_lcd.o: lab5_lcd.c nbproject/Makefile-${CND_CONF}.mk
+ @${MKDIR} "${OBJECTDIR}"
+ @${RM} ${OBJECTDIR}/lab5_lcd.o.d
+ @${RM} ${OBJECTDIR}/lab5_lcd.o
+ ${MP_CC} $(MP_EXTRA_CC_PRE) lab5_lcd.c -o ${OBJECTDIR}/lab5_lcd.o -c -mcpu=$(MP_PROCESSOR_OPTION) -MMD -MF "${OBJECTDIR}/lab5_lcd.o.d" -g -D__DEBUG -D__MPLAB_DEBUGGER_PK3=1 -omf=elf -DXPRJ_default=$(CND_CONF) -legacy-libc $(COMPARISON_BUILD) -O0 -msmart-io=1 -Wall -msfr-warn=off -mdfp=${DFP_DIR}/xc16
+ @${FIXDEPS} "${OBJECTDIR}/lab5_lcd.o.d" $(SILENT) -rsi ${MP_CC_DIR}../
+
+else
+${OBJECTDIR}/lab5_main.o: lab5_main.c nbproject/Makefile-${CND_CONF}.mk
+ @${MKDIR} "${OBJECTDIR}"
+ @${RM} ${OBJECTDIR}/lab5_main.o.d
+ @${RM} ${OBJECTDIR}/lab5_main.o
+ ${MP_CC} $(MP_EXTRA_CC_PRE) lab5_main.c -o ${OBJECTDIR}/lab5_main.o -c -mcpu=$(MP_PROCESSOR_OPTION) -MMD -MF "${OBJECTDIR}/lab5_main.o.d" -g -omf=elf -DXPRJ_default=$(CND_CONF) -legacy-libc $(COMPARISON_BUILD) -O0 -msmart-io=1 -Wall -msfr-warn=off -mdfp=${DFP_DIR}/xc16
+ @${FIXDEPS} "${OBJECTDIR}/lab5_main.o.d" $(SILENT) -rsi ${MP_CC_DIR}../
+
+${OBJECTDIR}/lab5_lcd.o: lab5_lcd.c nbproject/Makefile-${CND_CONF}.mk
+ @${MKDIR} "${OBJECTDIR}"
+ @${RM} ${OBJECTDIR}/lab5_lcd.o.d
+ @${RM} ${OBJECTDIR}/lab5_lcd.o
+ ${MP_CC} $(MP_EXTRA_CC_PRE) lab5_lcd.c -o ${OBJECTDIR}/lab5_lcd.o -c -mcpu=$(MP_PROCESSOR_OPTION) -MMD -MF "${OBJECTDIR}/lab5_lcd.o.d" -g -omf=elf -DXPRJ_default=$(CND_CONF) -legacy-libc $(COMPARISON_BUILD) -O0 -msmart-io=1 -Wall -msfr-warn=off -mdfp=${DFP_DIR}/xc16
+ @${FIXDEPS} "${OBJECTDIR}/lab5_lcd.o.d" $(SILENT) -rsi ${MP_CC_DIR}../
+
+endif
+
+# ------------------------------------------------------------------------------------
+# Rules for buildStep: assemble
+ifeq ($(TYPE_IMAGE), DEBUG_RUN)
+else
+endif
+
+# ------------------------------------------------------------------------------------
+# Rules for buildStep: assemblePreproc
+ifeq ($(TYPE_IMAGE), DEBUG_RUN)
+else
+endif
+
+# ------------------------------------------------------------------------------------
+# Rules for buildStep: link
+ifeq ($(TYPE_IMAGE), DEBUG_RUN)
+dist/${CND_CONF}/${IMAGE_TYPE}/Lab5.X.${IMAGE_TYPE}.${OUTPUT_SUFFIX}: ${OBJECTFILES} nbproject/Makefile-${CND_CONF}.mk
+ @${MKDIR} dist/${CND_CONF}/${IMAGE_TYPE}
+ ${MP_CC} $(MP_EXTRA_LD_PRE) -o dist/${CND_CONF}/${IMAGE_TYPE}/Lab5.X.${IMAGE_TYPE}.${OUTPUT_SUFFIX} ${OBJECTFILES_QUOTED_IF_SPACED} -mcpu=$(MP_PROCESSOR_OPTION) -D__DEBUG=__DEBUG -D__MPLAB_DEBUGGER_PK3=1 -omf=elf -DXPRJ_default=$(CND_CONF) -legacy-libc $(COMPARISON_BUILD) -mreserve=data@0x800:0x81F -mreserve=data@0x820:0x821 -mreserve=data@0x822:0x823 -mreserve=data@0x824:0x825 -mreserve=data@0x826:0x84F -Wl,,,--defsym=__MPLAB_BUILD=1,--defsym=__MPLAB_DEBUG=1,--defsym=__DEBUG=1,-D__DEBUG=__DEBUG,--defsym=__MPLAB_DEBUGGER_PK3=1,$(MP_LINKER_FILE_OPTION),--stack=16,--check-sections,--data-init,--pack-data,--handles,--isr,--no-gc-sections,--fill-upper=0,--stackguard=16,--no-force-link,--smart-io,-Map="${DISTDIR}/${PROJECTNAME}.${IMAGE_TYPE}.map",--report-mem,--memorysummary,dist/${CND_CONF}/${IMAGE_TYPE}/memoryfile.xml$(MP_EXTRA_LD_POST) -mdfp=${DFP_DIR}/xc16
+
+else
+dist/${CND_CONF}/${IMAGE_TYPE}/Lab5.X.${IMAGE_TYPE}.${OUTPUT_SUFFIX}: ${OBJECTFILES} nbproject/Makefile-${CND_CONF}.mk
+ @${MKDIR} dist/${CND_CONF}/${IMAGE_TYPE}
+ ${MP_CC} $(MP_EXTRA_LD_PRE) -o dist/${CND_CONF}/${IMAGE_TYPE}/Lab5.X.${IMAGE_TYPE}.${DEBUGGABLE_SUFFIX} ${OBJECTFILES_QUOTED_IF_SPACED} -mcpu=$(MP_PROCESSOR_OPTION) -omf=elf -DXPRJ_default=$(CND_CONF) -legacy-libc $(COMPARISON_BUILD) -Wl,,,--defsym=__MPLAB_BUILD=1,$(MP_LINKER_FILE_OPTION),--stack=16,--check-sections,--data-init,--pack-data,--handles,--isr,--no-gc-sections,--fill-upper=0,--stackguard=16,--no-force-link,--smart-io,-Map="${DISTDIR}/${PROJECTNAME}.${IMAGE_TYPE}.map",--report-mem,--memorysummary,dist/${CND_CONF}/${IMAGE_TYPE}/memoryfile.xml$(MP_EXTRA_LD_POST) -mdfp=${DFP_DIR}/xc16
+ ${MP_CC_DIR}\\xc16-bin2hex dist/${CND_CONF}/${IMAGE_TYPE}/Lab5.X.${IMAGE_TYPE}.${DEBUGGABLE_SUFFIX} -a -omf=elf -mdfp=${DFP_DIR}/xc16
+
+endif
+
+
+# Subprojects
+.build-subprojects:
+
+
+# Subprojects
+.clean-subprojects:
+
+# Clean Targets
+.clean-conf: ${CLEAN_SUBPROJECTS}
+ ${RM} -r build/default
+ ${RM} -r dist/default
+
+# Enable dependency checking
+.dep.inc: .depcheck-impl
+
+DEPFILES=$(shell mplabwildcard ${POSSIBLE_DEPFILES})
+ifneq (${DEPFILES},)
+include ${DEPFILES}
+endif
diff --git a/Lab5.X/nbproject/Makefile-genesis.properties b/Lab5.X/nbproject/Makefile-genesis.properties
new file mode 100644
index 0000000..0376466
--- /dev/null
+++ b/Lab5.X/nbproject/Makefile-genesis.properties
@@ -0,0 +1,10 @@
+#
+#Wed Apr 08 10:43:03 CDT 2020
+default.Pack.dfplocation=C\:\\Program Files (x86)\\Microchip\\MPLABX\\v5.35\\packs\\Microchip\\PIC24F-GA-GB_DFP\\1.2.101
+default.com-microchip-mplab-nbide-toolchainXC16-XC16LanguageToolchain.md5=859fc649e7017fd01769e2187e1537a7
+default.languagetoolchain.dir=C\:\\Program Files\\Microchip\\xc16\\v1.50\\bin
+configurations-xml=26589ca1d802028c5a31cd15231825b7
+com-microchip-mplab-nbide-embedded-makeproject-MakeProject.md5=5db0f4d6bbe0ec2a1f1096ccfb9d7ad3
+default.languagetoolchain.version=1.50
+host.platform=windows
+conf.ids=default
diff --git a/Lab5.X/nbproject/Makefile-impl.mk b/Lab5.X/nbproject/Makefile-impl.mk
new file mode 100644
index 0000000..c7756b2
--- /dev/null
+++ b/Lab5.X/nbproject/Makefile-impl.mk
@@ -0,0 +1,69 @@
+#
+# Generated Makefile - do not edit!
+#
+# Edit the Makefile in the project folder instead (../Makefile). Each target
+# has a pre- and a post- target defined where you can add customization code.
+#
+# This makefile implements macros and targets common to all configurations.
+#
+# NOCDDL
+
+
+# Building and Cleaning subprojects are done by default, but can be controlled with the SUB
+# macro. If SUB=no, subprojects will not be built or cleaned. The following macro
+# statements set BUILD_SUB-CONF and CLEAN_SUB-CONF to .build-reqprojects-conf
+# and .clean-reqprojects-conf unless SUB has the value 'no'
+SUB_no=NO
+SUBPROJECTS=${SUB_${SUB}}
+BUILD_SUBPROJECTS_=.build-subprojects
+BUILD_SUBPROJECTS_NO=
+BUILD_SUBPROJECTS=${BUILD_SUBPROJECTS_${SUBPROJECTS}}
+CLEAN_SUBPROJECTS_=.clean-subprojects
+CLEAN_SUBPROJECTS_NO=
+CLEAN_SUBPROJECTS=${CLEAN_SUBPROJECTS_${SUBPROJECTS}}
+
+
+# Project Name
+PROJECTNAME=Lab5.X
+
+# Active Configuration
+DEFAULTCONF=default
+CONF=${DEFAULTCONF}
+
+# All Configurations
+ALLCONFS=default
+
+
+# build
+.build-impl: .build-pre
+ ${MAKE} -f nbproject/Makefile-${CONF}.mk SUBPROJECTS=${SUBPROJECTS} .build-conf
+
+
+# clean
+.clean-impl: .clean-pre
+ ${MAKE} -f nbproject/Makefile-${CONF}.mk SUBPROJECTS=${SUBPROJECTS} .clean-conf
+
+# clobber
+.clobber-impl: .clobber-pre .depcheck-impl
+ ${MAKE} SUBPROJECTS=${SUBPROJECTS} CONF=default clean
+
+
+
+# all
+.all-impl: .all-pre .depcheck-impl
+ ${MAKE} SUBPROJECTS=${SUBPROJECTS} CONF=default build
+
+
+
+# dependency checking support
+.depcheck-impl:
+# @echo "# This code depends on make tool being used" >.dep.inc
+# @if [ -n "${MAKE_VERSION}" ]; then \
+# echo "DEPFILES=\$$(wildcard \$$(addsuffix .d, \$${OBJECTFILES}))" >>.dep.inc; \
+# echo "ifneq (\$${DEPFILES},)" >>.dep.inc; \
+# echo "include \$${DEPFILES}" >>.dep.inc; \
+# echo "endif" >>.dep.inc; \
+# else \
+# echo ".KEEP_STATE:" >>.dep.inc; \
+# echo ".KEEP_STATE_FILE:.make.state.\$${CONF}" >>.dep.inc; \
+# fi
diff --git a/Lab5.X/nbproject/Makefile-local-default.mk b/Lab5.X/nbproject/Makefile-local-default.mk
new file mode 100644
index 0000000..c75d9df
--- /dev/null
+++ b/Lab5.X/nbproject/Makefile-local-default.mk
@@ -0,0 +1,38 @@
+#
+# Generated Makefile - do not edit!
+#
+#
+# This file contains information about the location of compilers and other tools.
+# If you commmit this file into your revision control server, you will be able to
+# to checkout the project and build it from the command line with make. However,
+# if more than one person works on the same project, then this file might show
+# conflicts since different users are bound to have compilers in different places.
+# In that case you might choose to not commit this file and let MPLAB X recreate this file
+# for each user. The disadvantage of not commiting this file is that you must run MPLAB X at
+# least once so the file gets created and the project can be built. Finally, you can also
+# avoid using this file at all if you are only building from the command line with make.
+# You can invoke make with the values of the macros:
+# $ makeMP_CC="/opt/microchip/mplabc30/v3.30c/bin/pic30-gcc" ...
+#
+SHELL=cmd.exe
+PATH_TO_IDE_BIN=C:/Program Files (x86)/Microchip/MPLABX/v5.35/mplab_platform/platform/../mplab_ide/modules/../../bin/
+# Adding MPLAB X bin directory to path.
+PATH:=C:/Program Files (x86)/Microchip/MPLABX/v5.35/mplab_platform/platform/../mplab_ide/modules/../../bin/:$(PATH)
+# Path to java used to run MPLAB X when this makefile was created
+MP_JAVA_PATH="C:\Program Files (x86)\Microchip\MPLABX\v5.35\sys\java\jre1.8.0_181/bin/"
+OS_CURRENT="$(shell uname -s)"
+MP_CC="C:\Program Files\Microchip\xc16\v1.50\bin\xc16-gcc.exe"
+# MP_CPPC is not defined
+# MP_BC is not defined
+MP_AS="C:\Program Files\Microchip\xc16\v1.50\bin\xc16-as.exe"
+MP_LD="C:\Program Files\Microchip\xc16\v1.50\bin\xc16-ld.exe"
+MP_AR="C:\Program Files\Microchip\xc16\v1.50\bin\xc16-ar.exe"
+DEP_GEN=${MP_JAVA_PATH}java -jar "C:/Program Files (x86)/Microchip/MPLABX/v5.35/mplab_platform/platform/../mplab_ide/modules/../../bin/extractobjectdependencies.jar"
+MP_CC_DIR="C:\Program Files\Microchip\xc16\v1.50\bin"
+# MP_CPPC_DIR is not defined
+# MP_BC_DIR is not defined
+MP_AS_DIR="C:\Program Files\Microchip\xc16\v1.50\bin"
+MP_LD_DIR="C:\Program Files\Microchip\xc16\v1.50\bin"
+MP_AR_DIR="C:\Program Files\Microchip\xc16\v1.50\bin"
+# MP_BC_DIR is not defined
+DFP_DIR="C:/Program Files (x86)/Microchip/MPLABX/v5.35/packs/Microchip/PIC24F-GA-GB_DFP/1.2.101"
diff --git a/Lab5.X/nbproject/Makefile-variables.mk b/Lab5.X/nbproject/Makefile-variables.mk
new file mode 100644
index 0000000..cf49f8e
--- /dev/null
+++ b/Lab5.X/nbproject/Makefile-variables.mk
@@ -0,0 +1,13 @@
+#
+# Generated - do not edit!
+#
+# NOCDDL
+#
+CND_BASEDIR=`pwd`
+# default configuration
+CND_ARTIFACT_DIR_default=dist/default/production
+CND_ARTIFACT_NAME_default=Lab5.X.production.hex
+CND_ARTIFACT_PATH_default=dist/default/production/Lab5.X.production.hex
+CND_PACKAGE_DIR_default=${CND_DISTDIR}/default/package
+CND_PACKAGE_NAME_default=lab5.x.tar
+CND_PACKAGE_PATH_default=${CND_DISTDIR}/default/package/lab5.x.tar
diff --git a/Lab5.X/nbproject/Package-default.bash b/Lab5.X/nbproject/Package-default.bash
new file mode 100644
index 0000000..264c140
--- /dev/null
+++ b/Lab5.X/nbproject/Package-default.bash
@@ -0,0 +1,73 @@
+#!/bin/bash -x
+
+#
+# Generated - do not edit!
+#
+
+# Macros
+TOP=`pwd`
+CND_CONF=default
+CND_DISTDIR=dist
+TMPDIR=build/${CND_CONF}/${IMAGE_TYPE}/tmp-packaging
+TMPDIRNAME=tmp-packaging
+OUTPUT_PATH=dist/${CND_CONF}/${IMAGE_TYPE}/Lab5.X.${IMAGE_TYPE}.${OUTPUT_SUFFIX}
+OUTPUT_BASENAME=Lab5.X.${IMAGE_TYPE}.${OUTPUT_SUFFIX}
+PACKAGE_TOP_DIR=lab5.x/
+
+# Functions
+function checkReturnCode
+{
+ rc=$?
+ if [ $rc != 0 ]
+ then
+ exit $rc
+ fi
+}
+function makeDirectory
+# $1 directory path
+# $2 permission (optional)
+{
+ mkdir -p "$1"
+ checkReturnCode
+ if [ "$2" != "" ]
+ then
+ chmod $2 "$1"
+ checkReturnCode
+ fi
+}
+function copyFileToTmpDir
+# $1 from-file path
+# $2 to-file path
+# $3 permission
+{
+ cp "$1" "$2"
+ checkReturnCode
+ if [ "$3" != "" ]
+ then
+ chmod $3 "$2"
+ checkReturnCode
+ fi
+}
+
+# Setup
+cd "${TOP}"
+mkdir -p ${CND_DISTDIR}/${CND_CONF}/package
+rm -rf ${TMPDIR}
+mkdir -p ${TMPDIR}
+
+# Copy files and create directories and links
+cd "${TOP}"
+makeDirectory ${TMPDIR}/lab5.x/bin
+copyFileToTmpDir "${OUTPUT_PATH}" "${TMPDIR}/${PACKAGE_TOP_DIR}bin/${OUTPUT_BASENAME}" 0755
+
+
+# Generate tar file
+cd "${TOP}"
+rm -f ${CND_DISTDIR}/${CND_CONF}/package/lab5.x.tar
+cd ${TMPDIR}
+tar -vcf ../../../../${CND_DISTDIR}/${CND_CONF}/package/lab5.x.tar *
+checkReturnCode
+
+# Cleanup
+cd "${TOP}"
+rm -rf ${TMPDIR}
diff --git a/HW3.X/nbproject/configurations.xml b/Lab5.X/nbproject/configurations.xml
index e666306..3ea7dfd 100644
--- a/HW3.X/nbproject/configurations.xml
+++ b/Lab5.X/nbproject/configurations.xml
@@ -1,657 +1,653 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<configurationDescriptor version="65">
- <logicalFolder name="root" displayName="root" projectFiles="true">
- <logicalFolder name="HeaderFiles"
- displayName="Header Files"
- projectFiles="true">
- </logicalFolder>
- <logicalFolder name="LinkerScript"
- displayName="Linker Files"
- projectFiles="true">
- </logicalFolder>
- <logicalFolder name="SourceFiles"
- displayName="Source Files"
- projectFiles="true">
- <itemPath>strap012_hw3prob2.c</itemPath>
- <itemPath>strap012_hw3prob3.c</itemPath>
- <itemPath>strap012_hw3prob1.c</itemPath>
- </logicalFolder>
- <logicalFolder name="ExternalFiles"
- displayName="Important Files"
- projectFiles="false">
- <itemPath>Makefile</itemPath>
- </logicalFolder>
- </logicalFolder>
- <sourceRootList>
- <Elem>.</Elem>
- </sourceRootList>
- <projectmakefile>Makefile</projectmakefile>
- <confs>
- <conf name="default" type="2">
- <toolsSet>
- <developmentServer>localhost</developmentServer>
- <targetDevice>PIC24FJ64GA002</targetDevice>
- <targetHeader></targetHeader>
- <targetPluginBoard></targetPluginBoard>
- <platformTool>Simulator</platformTool>
- <languageToolchain>XC16</languageToolchain>
- <languageToolchainVersion>1.50</languageToolchainVersion>
- <platform>3</platform>
- </toolsSet>
- <packs>
- <pack name="PIC24F-GA-GB_DFP" vendor="Microchip" version="1.2.101"/>
- </packs>
- <compileType>
- <linkerTool>
- <linkerLibItems>
- </linkerLibItems>
- </linkerTool>
- <archiverTool>
- </archiverTool>
- <loading>
- <useAlternateLoadableFile>false</useAlternateLoadableFile>
- <parseOnProdLoad>false</parseOnProdLoad>
- <alternateLoadableFile></alternateLoadableFile>
- </loading>
- <subordinates>
- </subordinates>
- </compileType>
- <makeCustomizationType>
- <makeCustomizationPreStepEnabled>false</makeCustomizationPreStepEnabled>
- <makeCustomizationPreStep></makeCustomizationPreStep>
- <makeCustomizationPostStepEnabled>false</makeCustomizationPostStepEnabled>
- <makeCustomizationPostStep></makeCustomizationPostStep>
- <makeCustomizationPutChecksumInUserID>false</makeCustomizationPutChecksumInUserID>
- <makeCustomizationEnableLongLines>false</makeCustomizationEnableLongLines>
- <makeCustomizationNormalizeHexFile>false</makeCustomizationNormalizeHexFile>
- </makeCustomizationType>
- <C30>
- <property key="code-model" value="default"/>
- <property key="const-model" value="default"/>
- <property key="data-model" value="default"/>
- <property key="disable-instruction-scheduling" value="false"/>
- <property key="enable-all-warnings" value="true"/>
- <property key="enable-ansi-std" value="false"/>
- <property key="enable-ansi-warnings" value="false"/>
- <property key="enable-fatal-warnings" value="false"/>
- <property key="enable-large-arrays" value="false"/>
- <property key="enable-omit-frame-pointer" value="false"/>
- <property key="enable-procedural-abstraction" value="false"/>
- <property key="enable-short-double" value="false"/>
- <property key="enable-symbols" value="true"/>
- <property key="enable-unroll-loops" value="false"/>
- <property key="extra-include-directories" value=""/>
- <property key="isolate-each-function" value="false"/>
- <property key="keep-inline" value="false"/>
- <property key="oXC16gcc-align-arr" value="false"/>
- <property key="oXC16gcc-cnsts-mauxflash" value="false"/>
- <property key="oXC16gcc-data-sects" value="false"/>
- <property key="oXC16gcc-errata" value=""/>
- <property key="oXC16gcc-fillupper" value=""/>
- <property key="oXC16gcc-large-aggregate" value="false"/>
- <property key="oXC16gcc-mauxflash" value="false"/>
- <property key="oXC16gcc-mpa-lvl" value=""/>
- <property key="oXC16gcc-name-text-sec" value=""/>
- <property key="oXC16gcc-near-chars" value="false"/>
- <property key="oXC16gcc-no-isr-warn" value="false"/>
- <property key="oXC16gcc-sfr-warn" value="false"/>
- <property key="oXC16gcc-smar-io-lvl" value="1"/>
- <property key="oXC16gcc-smart-io-fmt" value=""/>
- <property key="optimization-level" value="0"/>
- <property key="post-instruction-scheduling" value="default"/>
- <property key="pre-instruction-scheduling" value="default"/>
- <property key="preprocessor-macros" value=""/>
- <property key="scalar-model" value="default"/>
- <property key="use-cci" value="false"/>
- <property key="use-iar" value="false"/>
- </C30>
- <C30-AR>
- <property key="additional-options-chop-files" value="false"/>
- </C30-AR>
- <C30-AS>
- <property key="assembler-symbols" value=""/>
- <property key="expand-macros" value="false"/>
- <property key="extra-include-directories-for-assembler" value=""/>
- <property key="extra-include-directories-for-preprocessor" value=""/>
- <property key="false-conditionals" value="false"/>
- <property key="keep-locals" value="false"/>
- <property key="list-assembly" value="false"/>
- <property key="list-section-info" value="false"/>
- <property key="list-source" value="false"/>
- <property key="list-symbols" value="false"/>
- <property key="oXC16asm-extra-opts" value=""/>
- <property key="oXC16asm-list-to-file" value="false"/>
- <property key="omit-debug-dirs" value="false"/>
- <property key="omit-forms" value="false"/>
- <property key="preprocessor-macros" value=""/>
- <property key="relax" value="false"/>
- <property key="warning-level" value="emit-warnings"/>
- </C30-AS>
- <C30-CO>
- <property key="coverage-enable" value=""/>
- </C30-CO>
- <C30-LD>
- <property key="additional-options-use-response-files" value="false"/>
- <property key="boot-eeprom" value="no_eeprom"/>
- <property key="boot-flash" value="no_flash"/>
- <property key="boot-ram" value="no_ram"/>
- <property key="boot-write-protect" value="no_write_protect"/>
- <property key="enable-check-sections" value="false"/>
- <property key="enable-data-init" value="true"/>
- <property key="enable-default-isr" value="true"/>
- <property key="enable-handles" value="true"/>
- <property key="enable-pack-data" value="true"/>
- <property key="extra-lib-directories" value=""/>
- <property key="fill-flash-options-addr" value=""/>
- <property key="fill-flash-options-const" value=""/>
- <property key="fill-flash-options-how" value="0"/>
- <property key="fill-flash-options-inc-const" value="1"/>
- <property key="fill-flash-options-increment" value=""/>
- <property key="fill-flash-options-seq" value=""/>
- <property key="fill-flash-options-what" value="0"/>
- <property key="general-code-protect" value="no_code_protect"/>
- <property key="general-write-protect" value="no_write_protect"/>
- <property key="generate-cross-reference-file" value="false"/>
- <property key="heap-size" value=""/>
- <property key="input-libraries" value=""/>
- <property key="linker-stack" value="true"/>
- <property key="linker-symbols" value=""/>
- <property key="map-file" value="${DISTDIR}/${PROJECTNAME}.${IMAGE_TYPE}.map"/>
- <property key="no-ivt" value="false"/>
- <property key="oXC16ld-extra-opts" value=""/>
- <property key="oXC16ld-fill-upper" value="0"/>
- <property key="oXC16ld-force-link" value="false"/>
- <property key="oXC16ld-no-smart-io" value="false"/>
- <property key="oXC16ld-nostdlib" value="false"/>
- <property key="oXC16ld-stackguard" value="16"/>
- <property key="preprocessor-macros" value=""/>
- <property key="remove-unused-sections" value="false"/>
- <property key="report-memory-usage" value="true"/>
- <property key="secure-eeprom" value="no_eeprom"/>
- <property key="secure-flash" value="no_flash"/>
- <property key="secure-ram" value="no_ram"/>
- <property key="secure-write-protect" value="no_write_protect"/>
- <property key="stack-size" value="16"/>
- <property key="symbol-stripping" value=""/>
- <property key="trace-symbols" value=""/>
- <property key="warn-section-align" value="false"/>
- </C30-LD>
- <C30Global>
- <property key="common-include-directories" value=""/>
- <property key="dual-boot-partition" value="0"/>
- <property key="fast-math" value="false"/>
- <property key="generic-16-bit" value="false"/>
- <property key="legacy-libc" value="true"/>
- <property key="mpreserve-all" value="false"/>
- <property key="oXC16glb-macros" value=""/>
- <property key="omit-pack-options" value="1"/>
- <property key="output-file-format" value="elf"/>
- <property key="preserve-all" value="false"/>
- <property key="preserve-file" value=""/>
- <property key="relaxed-math" value="false"/>
- <property key="save-temps" value="false"/>
- </C30Global>
- <Simulator>
- <property key="codecoverage.enabled" value="Disable"/>
- <property key="codecoverage.enableoutputtofile" value="false"/>
- <property key="codecoverage.outputfile" value=""/>
- <property key="oscillator.auxfrequency" value="120"/>
- <property key="oscillator.auxfrequencyunit" value="Mega"/>
- <property key="oscillator.frequency" value="16"/>
- <property key="oscillator.frequencyunit" value="Mega"/>
- <property key="oscillator.rcfrequency" value="250"/>
- <property key="oscillator.rcfrequencyunit" value="Kilo"/>
- <property key="periphADC1.altscl" value="false"/>
- <property key="periphADC1.minTacq" value=""/>
- <property key="periphADC1.tacqunits" value="microseconds"/>
- <property key="periphADC2.altscl" value="false"/>
- <property key="periphADC2.minTacq" value=""/>
- <property key="periphADC2.tacqunits" value="microseconds"/>
- <property key="periphComp1.gte" value="gt"/>
- <property key="periphComp2.gte" value="gt"/>
- <property key="periphComp3.gte" value="gt"/>
- <property key="periphComp4.gte" value="gt"/>
- <property key="periphComp5.gte" value="gt"/>
- <property key="periphComp6.gte" value="gt"/>
- <property key="reset.scl" value="false"/>
- <property key="reset.type" value="MCLR"/>
- <property key="tracecontrol.include.timestamp" value="summarydataenabled"/>
- <property key="tracecontrol.select" value="0"/>
- <property key="tracecontrol.stallontracebufferfull" value="false"/>
- <property key="tracecontrol.timestamp" value="0"/>
- <property key="tracecontrol.tracebufmax" value="546000"/>
- <property key="tracecontrol.tracefile" value="defmplabxtrace.log"/>
- <property key="tracecontrol.traceresetonrun" value="false"/>
- <property key="uart0io.output" value="window"/>
- <property key="uart0io.outputfile" value=""/>
- <property key="uart0io.uartioenabled" value="false"/>
- <property key="uart10io.output" value="window"/>
- <property key="uart10io.outputfile" value=""/>
- <property key="uart10io.uartioenabled" value="false"/>
- <property key="uart1io.output" value="window"/>
- <property key="uart1io.outputfile" value=""/>
- <property key="uart1io.uartioenabled" value="false"/>
- <property key="uart2io.output" value="window"/>
- <property key="uart2io.outputfile" value=""/>
- <property key="uart2io.uartioenabled" value="false"/>
- <property key="uart3io.output" value="window"/>
- <property key="uart3io.outputfile" value=""/>
- <property key="uart3io.uartioenabled" value="false"/>
- <property key="uart4io.output" value="window"/>
- <property key="uart4io.outputfile" value=""/>
- <property key="uart4io.uartioenabled" value="false"/>
- <property key="uart5io.output" value="window"/>
- <property key="uart5io.outputfile" value=""/>
- <property key="uart5io.uartioenabled" value="false"/>
- <property key="uart6io.output" value="window"/>
- <property key="uart6io.outputfile" value=""/>
- <property key="uart6io.uartioenabled" value="false"/>
- <property key="uart7io.output" value="window"/>
- <property key="uart7io.outputfile" value=""/>
- <property key="uart7io.uartioenabled" value="false"/>
- <property key="uart8io.output" value="window"/>
- <property key="uart8io.outputfile" value=""/>
- <property key="uart8io.uartioenabled" value="false"/>
- <property key="uart9io.output" value="window"/>
- <property key="uart9io.outputfile" value=""/>
- <property key="uart9io.uartioenabled" value="false"/>
- <property key="warningmessagebreakoptions.W0001_CORE_BITREV_MODULO_EN"
- value="report"/>
- <property key="warningmessagebreakoptions.W0002_CORE_SECURE_MEMORYACCESS"
- value="report"/>
- <property key="warningmessagebreakoptions.W0003_CORE_SW_RESET" value="report"/>
- <property key="warningmessagebreakoptions.W0004_CORE_WDT_RESET" value="report"/>
- <property key="warningmessagebreakoptions.W0005_CORE_IOPUW_RESET"
- value="report"/>
- <property key="warningmessagebreakoptions.W0006_CORE_CODE_GUARD_PFC_RESET"
- value="report"/>
- <property key="warningmessagebreakoptions.W0007_CORE_DO_LOOP_STACK_UNDERFLOW"
- value="report"/>
- <property key="warningmessagebreakoptions.W0008_CORE_DO_LOOP_STACK_OVERFLOW"
- value="report"/>
- <property key="warningmessagebreakoptions.W0009_CORE_NESTED_DO_LOOP_RANGE"
- value="report"/>
- <property key="warningmessagebreakoptions.W0010_CORE_SIM32_ODD_WORDACCESS"
- value="report"/>
- <property key="warningmessagebreakoptions.W0011_CORE_SIM32_UNIMPLEMENTED_RAMACCESS"
- value="report"/>
- <property key="warningmessagebreakoptions.W0012_CORE_STACK_OVERFLOW_RESET"
- value="report"/>
- <property key="warningmessagebreakoptions.W0013_CORE_STACK_UNDERFLOW_RESET"
- value="report"/>
- <property key="warningmessagebreakoptions.W0014_CORE_INVALID_OPCODE"
- value="report"/>
- <property key="warningmessagebreakoptions.W0015_CORE_INVALID_ALT_WREG_SET"
- value="report"/>
- <property key="warningmessagebreakoptions.W0016_CORE_STACK_ERROR"
- value="report"/>
- <property key="warningmessagebreakoptions.W0017_CORE_ODD_RAMWORDACCESS"
- value="report"/>
- <property key="warningmessagebreakoptions.W0018_CORE_UNIMPLEMENTED_RAMACCESS"
- value="report"/>
- <property key="warningmessagebreakoptions.W0019_CORE_UNIMPLEMENTED_PROMACCESS"
- value="report"/>
- <property key="warningmessagebreakoptions.W0020_CORE_ACCESS_NOTIN_X_SPACE"
- value="report"/>
- <property key="warningmessagebreakoptions.W0021_CORE_ACCESS_NOTIN_Y_SPACE"
- value="report"/>
- <property key="warningmessagebreakoptions.W0022_CORE_XMODEND_LESS_XMODSRT"
- value="report"/>
- <property key="warningmessagebreakoptions.W0023_CORE_YMODEND_LESS_YMODSRT"
- value="report"/>
- <property key="warningmessagebreakoptions.W0024_CORE_BITREV_MOD_IS_ZERO"
- value="report"/>
- <property key="warningmessagebreakoptions.W0025_CORE_HARD_TRAP" value="report"/>
- <property key="warningmessagebreakoptions.W0026_CORE_UNIMPLEMENTED_MEMORYACCESS"
- value="report"/>
- <property key="warningmessagebreakoptions.W0027_CORE_UNIMPLEMENTED_EDSACCESS"
- value="report"/>
- <property key="warningmessagebreakoptions.W0028_TBLRD_WORM_CONFIG_MEMORY"
- value="report"/>
- <property key="warningmessagebreakoptions.W0029_TBLRD_DEVICE_ID" value="report"/>
- <property key="warningmessagebreakoptions.W0030_CORE_UNIMPLEMENTED_MEMORY_ACCESS"
- value="report"/>
- <property key="warningmessagebreakoptions.W0031_BSLIM_INSUFFICIENT_BOOT_SEGMENT"
- value="report"/>
- <property key="warningmessagebreakoptions.W0032_BSLIM_LIMITS_EXCEEDS_PROG_MEMORY"
- value="report"/>
- <property key="warningmessagebreakoptions.W0033_CORE_UNPREDICTABLE_OPCODE"
- value="report"/>
- <property key="warningmessagebreakoptions.W0034_CORE_UNALIGNED_MEMORY_ACCESS"
- value="report"/>
- <property key="warningmessagebreakoptions.W0035_CORE_UNIMPLEMENTED_RAMACCESS_NOTRAP"
- value="report"/>
- <property key="warningmessagebreakoptions.W0040_FPU_DIFF_CP10_CP11"
- value="report"/>
- <property key="warningmessagebreakoptions.W0041_FPU_ACCESS_DENIED"
- value="report"/>
- <property key="warningmessagebreakoptions.W0042_FPU_PRIVILEGED_ACCESS_ONLY"
- value="report"/>
- <property key="warningmessagebreakoptions.W0043_FPU_CP_RESERVED_VALUE"
- value="report"/>
- <property key="warningmessagebreakoptions.W0044_FPU_OUT_OF_RANGE"
- value="report"/>
- <property key="warningmessagebreakoptions.W0051_INSTRUCTION_DIV_NOT_ENOUGH_REPEAT"
- value="report"/>
- <property key="warningmessagebreakoptions.W0052_INSTRUCTION_DIV_TOO_MANY_REPEAT"
- value="report"/>
- <property key="warningmessagebreakoptions.W0053_INVALID_INTCON_VS_FIELD_VALUE"
- value="report"/>
- <property key="warningmessagebreakoptions.W0101_SIM_UPDATE_FAILED"
- value="report"/>
- <property key="warningmessagebreakoptions.W0102_SIM_PERIPH_MISSING"
- value="report"/>
- <property key="warningmessagebreakoptions.W0103_SIM_PERIPH_FAILED"
- value="report"/>
- <property key="warningmessagebreakoptions.W0104_SIM_FAILED_TO_INIT_TOOL"
- value="report"/>
- <property key="warningmessagebreakoptions.W0105_SIM_INVALID_FIELD"
- value="report"/>
- <property key="warningmessagebreakoptions.W0106_SIM_PERIPH_PARTIAL_SUPPORT"
- value="report"/>
- <property key="warningmessagebreakoptions.W0107_SIM_NOT_SUPPORTED"
- value="report"/>
- <property key="warningmessagebreakoptions.W0108_SIM_RESERVED_SETTING"
- value="report"/>
- <property key="warningmessagebreakoptions.W0109_SIM_PERIPHERAL_IN_DEVELOPMENT"
- value="report"/>
- <property key="warningmessagebreakoptions.W0110_SIM_UNEXPECTED_EVENT"
- value="report"/>
- <property key="warningmessagebreakoptions.W0111_SIM_UNSUPPORTED_SELECTION"
- value="report"/>
- <property key="warningmessagebreakoptions.W0112_SIM_INVALID_OPERATION"
- value="report"/>
- <property key="warningmessagebreakoptions.W0113_SIM_WRITE_TO_PROTECTED_SFR"
- value="report"/>
- <property key="warningmessagebreakoptions.W0114_SIM_INVALID_KEY" value="report"/>
- <property key="warningmessagebreakoptions.W0115_SIM_FAILED_TO_PARSE_DEVICE_FILE"
- value="report"/>
- <property key="warningmessagebreakoptions.W0116_SIM_STACK_OVERFLOW"
- value="report"/>
- <property key="warningmessagebreakoptions.W0117_SIM_STACK_UNDERFLOW"
- value="report"/>
- <property key="warningmessagebreakoptions.W0118_SIM_INVALID_FIELD_VALUE"
- value="report"/>
- <property key="warningmessagebreakoptions.W0119_SIM_SAMPLING_RATE_VIOLATION"
- value="report"/>
- <property key="warningmessagebreakoptions.W0201_ADC_NO_STIMULUS_FILE"
- value="report"/>
- <property key="warningmessagebreakoptions.W0202_ADC_GO_DONE_BIT" value="report"/>
- <property key="warningmessagebreakoptions.W0203_ADC_MINIMUM_2_TAD"
- value="report"/>
- <property key="warningmessagebreakoptions.W0204_ADC_TAD_TOO_SMALL"
- value="report"/>
- <property key="warningmessagebreakoptions.W0205_ADC_UNEXPECTED_TRANSITION"
- value="report"/>
- <property key="warningmessagebreakoptions.W0206_ADC_SAMP_TIME_TOO_SHORT"
- value="report"/>
- <property key="warningmessagebreakoptions.W0207_ADC_NO_PINS_SCANNED"
- value="report"/>
- <property key="warningmessagebreakoptions.W0208_ADC_UNSUPPORTED_CLOCK_SOURCE"
- value="report"/>
- <property key="warningmessagebreakoptions.W0209_ADC_ANALOG_CHANNEL_DIGITAL"
- value="report"/>
- <property key="warningmessagebreakoptions.W0210_ADC_ANALOG_CHANNEL_OUTPUT"
- value="report"/>
- <property key="warningmessagebreakoptions.W0211_ADC_PIN_INVALID_CHANNEL"
- value="report"/>
- <property key="warningmessagebreakoptions.W0212_ADC_BAND_GAP_NOT_SUPPORTED"
- value="report"/>
- <property key="warningmessagebreakoptions.W0213_ADC_RESERVED_SSRC"
- value="report"/>
- <property key="warningmessagebreakoptions.W0214_ADC_POSITIVE_INPUT_DIGITAL"
- value="report"/>
- <property key="warningmessagebreakoptions.W0215_ADC_POSITIVE_INPUT_OUTPUT"
- value="report"/>
- <property key="warningmessagebreakoptions.W0216_ADC_NEGATIVE_INPUT_DIGITAL"
- value="report"/>
- <property key="warningmessagebreakoptions.W0217_ADC_NEGATIVE_INPUT_OUTPUT"
- value="report"/>
- <property key="warningmessagebreakoptions.W0218_ADC_REFERENCE_HIGH_DIGITAL"
- value="report"/>
- <property key="warningmessagebreakoptions.W0219_ADC_REFERENCE_HIGH_OUTPUT"
- value="report"/>
- <property key="warningmessagebreakoptions.W0220_ADC_REFERENCE_LOW_DIGITAL"
- value="report"/>
- <property key="warningmessagebreakoptions.W0221_ADC_REFERENCE_LOW_OUTPUT"
- value="report"/>
- <property key="warningmessagebreakoptions.W0222_ADC_OVERFLOW" value="report"/>
- <property key="warningmessagebreakoptions.W0223_ADC_UNDERFLOW" value="report"/>
- <property key="warningmessagebreakoptions.W0224_ADC_CTMU_NOT_SUPPORTED"
- value="report"/>
- <property key="warningmessagebreakoptions.W0225_ADC_INVALID_CH0S"
- value="report"/>
- <property key="warningmessagebreakoptions.W0226_ADC_VBAT_NOT_SUPPORTED"
- value="report"/>
- <property key="warningmessagebreakoptions.W0227_ADC_INVALID_ADCS"
- value="report"/>
- <property key="warningmessagebreakoptions.W0228_ADC_INVALID_ADCS"
- value="report"/>
- <property key="warningmessagebreakoptions.W0229_ADC_INVALID_ADCS"
- value="report"/>
- <property key="warningmessagebreakoptions.W0230_ADC_TRIGSEL_NOT_SUPPORTED"
- value="report"/>
- <property key="warningmessagebreakoptions.W0231_ADC_NOT_WARMED" value="report"/>
- <property key="warningmessagebreakoptions.W0232_ADC_CALIBRATION_ABORTED"
- value="report"/>
- <property key="warningmessagebreakoptions.W0233_ADC_CORE_POWERED_EARLY"
- value="report"/>
- <property key="warningmessagebreakoptions.W0234_ADC_ALREADY_CALIBRATING"
- value="report"/>
- <property key="warningmessagebreakoptions.W0235_ADC_CAL_TYPE_CHANGED"
- value="report"/>
- <property key="warningmessagebreakoptions.W0236_ADC_CAL_INVALIDATED"
- value="report"/>
- <property key="warningmessagebreakoptions.W0237_ADC_UNKNOWN_DATASHEET"
- value="report"/>
- <property key="warningmessagebreakoptions.W0238_ADC_INVALID_SFR_FIELD_VALUE"
- value="report"/>
- <property key="warningmessagebreakoptions.W0239_ADC_UNSUPPORTED_INPUT"
- value="report"/>
- <property key="warningmessagebreakoptions.W0240_ADC_NOT_CALIBRATED"
- value="report"/>
- <property key="warningmessagebreakoptions.W0241_ADC_FRACTIONAL_NOT_ALLOWED"
- value="report"/>
- <property key="warningmessagebreakoptions.W0242_ADC_BG_INT_BEFORE_PWR"
- value="report"/>
- <property key="warningmessagebreakoptions.W0243_ADC_INVALID_TAD" value="report"/>
- <property key="warningmessagebreakoptions.W0244_ADC_CONVERSION_ABORTED"
- value="report"/>
- <property key="warningmessagebreakoptions.W0245_ADC_BUFREGEN_NOT_ALLOWED"
- value="report"/>
- <property key="warningmessagebreakoptions.W0246_ADC_ACCUMULATION_BAD_RESSEL"
- value="report"/>
- <property key="warningmessagebreakoptions.W0247_ADC_CONVERSION_BAD_RESSEL"
- value="report"/>
- <property key="warningmessagebreakoptions.W0400_PWM_PWM_FASTER_THAN_FOSC"
- value="report"/>
- <property key="warningmessagebreakoptions.W0600_WDT_2ND_WDT_MR_WRITE"
- value="report"/>
- <property key="warningmessagebreakoptions.W0601_WDT_EXPIRED" value="report"/>
- <property key="warningmessagebreakoptions.W0601_WDT_RESET_OUTSIDE_WINDOW"
- value="report"/>
- <property key="warningmessagebreakoptions.W0700_CLC_GENERAL_WARNING"
- value="report"/>
- <property key="warningmessagebreakoptions.W0701_CLC_CLCOUT_AS_INPUT"
- value="report"/>
- <property key="warningmessagebreakoptions.W0702_CLC_CIRCULAR_LOOP"
- value="report"/>
- <property key="warningmessagebreakoptions.W0800_ACC_INPUT_INVALID_CONFIG"
- value="report"/>
- <property key="warningmessagebreakoptions.W0801_ACC_INPUT_NOT_SUPPORTED"
- value="report"/>
- <property key="warningmessagebreakoptions.W0802_ACC_INVERTED_WINDOW_LIMITS"
- value="report"/>
- <property key="warningmessagebreakoptions.W0803_ACC_MISMATCHED_POS_INPUTS"
- value="report"/>
- <property key="warningmessagebreakoptions.W0804_ACC_WINDOW_COMP_DISABLED"
- value="report"/>
- <property key="warningmessagebreakoptions.W0805_ACC_WINDOW_COMPS_MODES"
- value="report"/>
- <property key="warningmessagebreakoptions.W0806_ACC_FEATURE_NOT_SUPPORTED"
- value="report"/>
- <property key="warningmessagebreakoptions.W10001_RESERVED_IRQ_HANDLER_INVOKED"
- value="report"/>
- <property key="warningmessagebreakoptions.W10002_UNSUPPORTED_CLK_SOURCE"
- value="report"/>
- <property key="warningmessagebreakoptions.W10101_UNSUPPORTED_CHANNEL_MODE"
- value="report"/>
- <property key="warningmessagebreakoptions.W10102_UNSUPPORTED_CLK_SOURCE"
- value="report"/>
- <property key="warningmessagebreakoptions.W10103_UNSUPPORTED_RECEIVER_FILTER"
- value="report"/>
- <property key="warningmessagebreakoptions.W10301_NO_PORT_PINS_FOUND"
- value="report"/>
- <property key="warningmessagebreakoptions.W10500_UNSUPPORTED_SOURCE"
- value="report"/>
- <property key="warningmessagebreakoptions.W1201_DATAFLASH_MEM_OUTSIDE_RANGE"
- value="report"/>
- <property key="warningmessagebreakoptions.W1202_DATAFLASH_ERASE_WHILE_LOCKED"
- value="report"/>
- <property key="warningmessagebreakoptions.W1203_DATAFLASH_WRITE_WHILE_LOCKED"
- value="report"/>
- <property key="warningmessagebreakoptions.W1401_DMA_PERIPH_NOT_AVAIL"
- value="report"/>
- <property key="warningmessagebreakoptions.W1402_DMA_INVALID_IRQ" value="report"/>
- <property key="warningmessagebreakoptions.W1403_DMA_INVALID_SFR" value="report"/>
- <property key="warningmessagebreakoptions.W1404_DMA_INVALID_DMA_ADDR"
- value="report"/>
- <property key="warningmessagebreakoptions.W1405_DMA_IRQ_DIR_MISMATCH"
- value="report"/>
- <property key="warningmessagebreakoptions.W1600_PPS_INVALID_MAP" value="report"/>
- <property key="warningmessagebreakoptions.W1601_PPS_INVALID_PIN_DESCRIPTION"
- value="report"/>
- <property key="warningmessagebreakoptions.W1800_PWM_TIMER_SELECTION_NOT_AVIALABLE"
- value="report"/>
- <property key="warningmessagebreakoptions.W1801_PWM_TIMER_SELECTION_BAD_CLOCK_INPUT"
- value="report"/>
- <property key="warningmessagebreakoptions.W1802_PWM_TIMER_MISSING_PERSCALER_INFO"
- value="report"/>
- <property key="warningmessagebreakoptions.W2001_INPUTCAPTURE_TMR3_UNAVAILABLE"
- value="report"/>
- <property key="warningmessagebreakoptions.W2002_INPUTCAPTURE_CAPTURE_EMPTY"
- value="report"/>
- <property key="warningmessagebreakoptions.W2003_INPUTCAPTURE_SYNCSEL_NOT_AVIALABLE"
- value="report"/>
- <property key="warningmessagebreakoptions.W2004_INPUTCAPTURE_BAD_SYNC_SOURCE"
- value="report"/>
- <property key="warningmessagebreakoptions.W2501_OUTPUTCOMPARE_SYNCSEL_NOT_AVIALABLE"
- value="report"/>
- <property key="warningmessagebreakoptions.W2502_OUTPUTCOMPARE_BAD_SYNC_SOURCE"
- value="report"/>
- <property key="warningmessagebreakoptions.W2503_OUTPUTCOMPARE_BAD_TRIGGER_SOURCE"
- value="report"/>
- <property key="warningmessagebreakoptions.W2700_MPU_ILLEGAL_DREGION"
- value="report"/>
- <property key="warningmessagebreakoptions.W2701_MPU_INVALID_REGION"
- value="report"/>
- <property key="warningmessagebreakoptions.W3000_LPM_READ_PROTECTION_SECTION"
- value="report"/>
- <property key="warningmessagebreakoptions.W3010_SPM_WRITE_PROTECTION_SECTION"
- value="report"/>
- <property key="warningmessagebreakoptions.W6001_RTT_FORBIDDEN_RTPRES"
- value="report"/>
- <property key="warningmessagebreakoptions.W6002_RTT_BAD_WRITING_ALMV"
- value="report"/>
- <property key="warningmessagebreakoptions.W6003_RTT_BAD_WRITING_RTPRES"
- value="report"/>
- <property key="warningmessagebreakoptions.W7001_SMT_CLK_SELECTION_NOT_SUPPORT"
- value="report"/>
- <property key="warningmessagebreakoptions.W7002_SMT_SIG_SELECTION_NOT_SUPPORT"
- value="report"/>
- <property key="warningmessagebreakoptions.W7003_SMT_WIN_SELECTION_NOT_SUPPORT"
- value="report"/>
- <property key="warningmessagebreakoptions.W8001_OSC_INVALID_CLOCK_SOURCE"
- value="report"/>
- <property key="warningmessagebreakoptions.W8002_OSC_RESERVED_FEXTOSC"
- value="report"/>
- <property key="warningmessagebreakoptions.W9001_TMR_GATE_AND_EXTCLOCK_ENABLED"
- value="report"/>
- <property key="warningmessagebreakoptions.W9002_TMR_NO_PIN_AVAILABLE"
- value="report"/>
- <property key="warningmessagebreakoptions.W9003_TMR_INVALID_CLOCK_SOURCE"
- value="report"/>
- <property key="warningmessagebreakoptions.W9201_UART_TX_OVERFLOW"
- value="report"/>
- <property key="warningmessagebreakoptions.W9202_UART_TX_CAPTUREFILE"
- value="report"/>
- <property key="warningmessagebreakoptions.W9203_UART_TX_INVALIDINTERRUPTMODE"
- value="report"/>
- <property key="warningmessagebreakoptions.W9204_UART_RX_EMPTY_QUEUE"
- value="report"/>
- <property key="warningmessagebreakoptions.W9205_UART_TX_BADFILE" value="report"/>
- <property key="warningmessagebreakoptions.W9206_UART_RESERVED_MODE"
- value="report"/>
- <property key="warningmessagebreakoptions.W9207_UART_UNABLETOCLOSE_FILE"
- value="report"/>
- <property key="warningmessagebreakoptions.W9401_CVREF_INVALIDSOURCESELECTION"
- value="report"/>
- <property key="warningmessagebreakoptions.W9402_CVREF_INPUT_OUTPUTPINCONFLICT"
- value="report"/>
- <property key="warningmessagebreakoptions.W9601_COMP_FVR_SOURCE_UNAVAILABLE"
- value="report"/>
- <property key="warningmessagebreakoptions.W9602_COMP_DAC_SOURCE_UNAVAILABLE"
- value="report"/>
- <property key="warningmessagebreakoptions.W9603_COMP_CVREF_SOURCE_UNAVAILABLE"
- value="report"/>
- <property key="warningmessagebreakoptions.W9604_COMP_SLOPE_SOURCE_UNAVAILABLE"
- value="report"/>
- <property key="warningmessagebreakoptions.W9605_COMP_PRG_SOURCE_UNAVAILABLE"
- value="report"/>
- <property key="warningmessagebreakoptions.W9607_COMP_DGTL_FLTR_OPTION_UNAVAILABLE"
- value="report"/>
- <property key="warningmessagebreakoptions.W9609_COMP_DGTL_FLTR_CLK_UNAVAILABLE"
- value="report"/>
- <property key="warningmessagebreakoptions.W9801_FVR_INVALID_MODE_SELECTION"
- value="report"/>
- <property key="warningmessagebreakoptions.W9801_SCL_BAD_SUBTYPE_INDICATION"
- value="report"/>
- <property key="warningmessagebreakoptions.W9802_SCL_FILE_NOT_FOUND"
- value="report"/>
- <property key="warningmessagebreakoptions.W9803_SCL_FAILED_TO_READ_FILE"
- value="report"/>
- <property key="warningmessagebreakoptions.W9804_SCL_UNRECOGNIZED_LABEL"
- value="report"/>
- <property key="warningmessagebreakoptions.W9805_SCL_UNRECOGNIZED_VAR"
- value="report"/>
- <property key="warningmessagebreakoptions.W9901_RTSP_INVALID_OPERATION_SELECTION"
- value="report"/>
- <property key="warningmessagebreakoptions.W9902_RTSP_FLASH_PROGRAM_WRITE_PROTECTED"
- value="report"/>
- <property key="warningmessagebreakoptions.displaywarningmessagesoption"
- value=""/>
- <property key="warningmessagebreakoptions.warningmessages" value="holdstate"/>
- </Simulator>
- <item path="strap012_hw3prob1.c" ex="true" overriding="false">
- </item>
- <item path="strap012_hw3prob2.c" ex="false" overriding="false">
- <C30>
- </C30>
- <C30-AR>
- </C30-AR>
- <C30-AS>
- </C30-AS>
- <C30-CO>
- </C30-CO>
- <C30-LD>
- </C30-LD>
- <C30Global>
- </C30Global>
- </item>
- <item path="strap012_hw3prob3.c" ex="true" overriding="false">
- <C30>
- </C30>
- <C30-AR>
- </C30-AR>
- <C30-AS>
- </C30-AS>
- <C30-CO>
- </C30-CO>
- <C30-LD>
- </C30-LD>
- <C30Global>
- </C30Global>
- </item>
- </conf>
- </confs>
-</configurationDescriptor>
+<?xml version="1.0" encoding="UTF-8"?>
+<configurationDescriptor version="65">
+ <logicalFolder name="root" displayName="root" projectFiles="true">
+ <logicalFolder name="HeaderFiles"
+ displayName="Header Files"
+ projectFiles="true">
+ <itemPath>lab5_lcd.h</itemPath>
+ </logicalFolder>
+ <logicalFolder name="LinkerScript"
+ displayName="Linker Files"
+ projectFiles="true">
+ </logicalFolder>
+ <logicalFolder name="SourceFiles"
+ displayName="Source Files"
+ projectFiles="true">
+ <itemPath>lab5_main.c</itemPath>
+ <itemPath>lab5_lcd.c</itemPath>
+ </logicalFolder>
+ <logicalFolder name="ExternalFiles"
+ displayName="Important Files"
+ projectFiles="false">
+ <itemPath>Makefile</itemPath>
+ </logicalFolder>
+ </logicalFolder>
+ <projectmakefile>Makefile</projectmakefile>
+ <confs>
+ <conf name="default" type="2">
+ <toolsSet>
+ <developmentServer>localhost</developmentServer>
+ <targetDevice>PIC24FJ64GA002</targetDevice>
+ <targetHeader></targetHeader>
+ <targetPluginBoard></targetPluginBoard>
+ <platformTool>PK3OBPlatformTool</platformTool>
+ <languageToolchain>XC16</languageToolchain>
+ <languageToolchainVersion>1.50</languageToolchainVersion>
+ <platform>3</platform>
+ </toolsSet>
+ <packs>
+ <pack name="PIC24F-GA-GB_DFP" vendor="Microchip" version="1.2.101"/>
+ </packs>
+ <compileType>
+ <linkerTool>
+ <linkerLibItems>
+ </linkerLibItems>
+ </linkerTool>
+ <archiverTool>
+ </archiverTool>
+ <loading>
+ <useAlternateLoadableFile>false</useAlternateLoadableFile>
+ <parseOnProdLoad>false</parseOnProdLoad>
+ <alternateLoadableFile></alternateLoadableFile>
+ </loading>
+ <subordinates>
+ </subordinates>
+ </compileType>
+ <makeCustomizationType>
+ <makeCustomizationPreStepEnabled>false</makeCustomizationPreStepEnabled>
+ <makeCustomizationPreStep></makeCustomizationPreStep>
+ <makeCustomizationPostStepEnabled>false</makeCustomizationPostStepEnabled>
+ <makeCustomizationPostStep></makeCustomizationPostStep>
+ <makeCustomizationPutChecksumInUserID>false</makeCustomizationPutChecksumInUserID>
+ <makeCustomizationEnableLongLines>false</makeCustomizationEnableLongLines>
+ <makeCustomizationNormalizeHexFile>false</makeCustomizationNormalizeHexFile>
+ </makeCustomizationType>
+ <C30>
+ <property key="code-model" value="default"/>
+ <property key="const-model" value="default"/>
+ <property key="data-model" value="default"/>
+ <property key="disable-instruction-scheduling" value="false"/>
+ <property key="enable-all-warnings" value="true"/>
+ <property key="enable-ansi-std" value="false"/>
+ <property key="enable-ansi-warnings" value="false"/>
+ <property key="enable-fatal-warnings" value="false"/>
+ <property key="enable-large-arrays" value="false"/>
+ <property key="enable-omit-frame-pointer" value="false"/>
+ <property key="enable-procedural-abstraction" value="false"/>
+ <property key="enable-short-double" value="false"/>
+ <property key="enable-symbols" value="true"/>
+ <property key="enable-unroll-loops" value="false"/>
+ <property key="extra-include-directories" value=""/>
+ <property key="isolate-each-function" value="false"/>
+ <property key="keep-inline" value="false"/>
+ <property key="oXC16gcc-align-arr" value="false"/>
+ <property key="oXC16gcc-cnsts-mauxflash" value="false"/>
+ <property key="oXC16gcc-data-sects" value="false"/>
+ <property key="oXC16gcc-errata" value=""/>
+ <property key="oXC16gcc-fillupper" value=""/>
+ <property key="oXC16gcc-large-aggregate" value="false"/>
+ <property key="oXC16gcc-mauxflash" value="false"/>
+ <property key="oXC16gcc-mpa-lvl" value=""/>
+ <property key="oXC16gcc-name-text-sec" value=""/>
+ <property key="oXC16gcc-near-chars" value="false"/>
+ <property key="oXC16gcc-no-isr-warn" value="false"/>
+ <property key="oXC16gcc-sfr-warn" value="false"/>
+ <property key="oXC16gcc-smar-io-lvl" value="1"/>
+ <property key="oXC16gcc-smart-io-fmt" value=""/>
+ <property key="optimization-level" value="0"/>
+ <property key="post-instruction-scheduling" value="default"/>
+ <property key="pre-instruction-scheduling" value="default"/>
+ <property key="preprocessor-macros" value=""/>
+ <property key="scalar-model" value="default"/>
+ <property key="use-cci" value="false"/>
+ <property key="use-iar" value="false"/>
+ </C30>
+ <C30-AR>
+ <property key="additional-options-chop-files" value="false"/>
+ </C30-AR>
+ <C30-AS>
+ <property key="assembler-symbols" value=""/>
+ <property key="expand-macros" value="false"/>
+ <property key="extra-include-directories-for-assembler" value=""/>
+ <property key="extra-include-directories-for-preprocessor" value=""/>
+ <property key="false-conditionals" value="false"/>
+ <property key="keep-locals" value="false"/>
+ <property key="list-assembly" value="false"/>
+ <property key="list-section-info" value="false"/>
+ <property key="list-source" value="false"/>
+ <property key="list-symbols" value="false"/>
+ <property key="oXC16asm-extra-opts" value=""/>
+ <property key="oXC16asm-list-to-file" value="false"/>
+ <property key="omit-debug-dirs" value="false"/>
+ <property key="omit-forms" value="false"/>
+ <property key="preprocessor-macros" value=""/>
+ <property key="relax" value="false"/>
+ <property key="warning-level" value="emit-warnings"/>
+ </C30-AS>
+ <C30-CO>
+ <property key="coverage-enable" value=""/>
+ </C30-CO>
+ <C30-LD>
+ <property key="additional-options-use-response-files" value="false"/>
+ <property key="boot-eeprom" value="no_eeprom"/>
+ <property key="boot-flash" value="no_flash"/>
+ <property key="boot-ram" value="no_ram"/>
+ <property key="boot-write-protect" value="no_write_protect"/>
+ <property key="enable-check-sections" value="false"/>
+ <property key="enable-data-init" value="true"/>
+ <property key="enable-default-isr" value="true"/>
+ <property key="enable-handles" value="true"/>
+ <property key="enable-pack-data" value="true"/>
+ <property key="extra-lib-directories" value=""/>
+ <property key="fill-flash-options-addr" value=""/>
+ <property key="fill-flash-options-const" value=""/>
+ <property key="fill-flash-options-how" value="0"/>
+ <property key="fill-flash-options-inc-const" value="1"/>
+ <property key="fill-flash-options-increment" value=""/>
+ <property key="fill-flash-options-seq" value=""/>
+ <property key="fill-flash-options-what" value="0"/>
+ <property key="general-code-protect" value="no_code_protect"/>
+ <property key="general-write-protect" value="no_write_protect"/>
+ <property key="generate-cross-reference-file" value="false"/>
+ <property key="heap-size" value=""/>
+ <property key="input-libraries" value=""/>
+ <property key="linker-stack" value="true"/>
+ <property key="linker-symbols" value=""/>
+ <property key="map-file" value="${DISTDIR}/${PROJECTNAME}.${IMAGE_TYPE}.map"/>
+ <property key="no-ivt" value="false"/>
+ <property key="oXC16ld-extra-opts" value=""/>
+ <property key="oXC16ld-fill-upper" value="0"/>
+ <property key="oXC16ld-force-link" value="false"/>
+ <property key="oXC16ld-no-smart-io" value="false"/>
+ <property key="oXC16ld-nostdlib" value="false"/>
+ <property key="oXC16ld-stackguard" value="16"/>
+ <property key="preprocessor-macros" value=""/>
+ <property key="remove-unused-sections" value="false"/>
+ <property key="report-memory-usage" value="true"/>
+ <property key="secure-eeprom" value="no_eeprom"/>
+ <property key="secure-flash" value="no_flash"/>
+ <property key="secure-ram" value="no_ram"/>
+ <property key="secure-write-protect" value="no_write_protect"/>
+ <property key="stack-size" value="16"/>
+ <property key="symbol-stripping" value=""/>
+ <property key="trace-symbols" value=""/>
+ <property key="warn-section-align" value="false"/>
+ </C30-LD>
+ <C30Global>
+ <property key="common-include-directories" value=""/>
+ <property key="dual-boot-partition" value="0"/>
+ <property key="fast-math" value="false"/>
+ <property key="generic-16-bit" value="false"/>
+ <property key="legacy-libc" value="true"/>
+ <property key="mpreserve-all" value="false"/>
+ <property key="oXC16glb-macros" value=""/>
+ <property key="omit-pack-options" value="1"/>
+ <property key="output-file-format" value="elf"/>
+ <property key="preserve-all" value="false"/>
+ <property key="preserve-file" value=""/>
+ <property key="relaxed-math" value="false"/>
+ <property key="save-temps" value="false"/>
+ </C30Global>
+ <PK3OBPlatformTool>
+ <property key="AutoSelectMemRanges" value="auto"/>
+ <property key="SecureSegment.SegmentProgramming" value="FullChipProgramming"/>
+ <property key="ToolFirmwareFilePath"
+ value="Press to browse for a specific firmware version"/>
+ <property key="ToolFirmwareOption.UseLatestFirmware" value="true"/>
+ <property key="memories.bootflash" value="true"/>
+ <property key="memories.configurationmemory" value="true"/>
+ <property key="memories.dataflash" value="true"/>
+ <property key="memories.eeprom" value="true"/>
+ <property key="memories.id" value="true"/>
+ <property key="memories.programmemory" value="true"/>
+ <property key="memories.programmemory.ranges"
+ value="${memories.programmemory.ranges}"/>
+ <property key="memories.userotp" value="true"/>
+ <property key="poweroptions.powerenable" value="false"/>
+ <property key="programoptions.eraseb4program" value="true"/>
+ <property key="programoptions.preservedataflash" value="false"/>
+ <property key="programoptions.preservedataflash.ranges"
+ value="${programoptions.preservedataflash.ranges}"/>
+ <property key="programoptions.preserveeeprom" value="false"/>
+ <property key="programoptions.preserveeeprom.ranges"
+ value="${programoptions.preserveeeprom.ranges}"/>
+ <property key="programoptions.preserveprogram.ranges" value=""/>
+ <property key="programoptions.preserveprogramrange" value="false"/>
+ <property key="programoptions.usehighvoltageonmclr" value="false"/>
+ <property key="programoptions.uselvpprogramming" value="false"/>
+ <property key="voltagevalue" value="3.25"/>
+ </PK3OBPlatformTool>
+ <Simulator>
+ <property key="codecoverage.enabled" value="Disable"/>
+ <property key="codecoverage.enableoutputtofile" value="false"/>
+ <property key="codecoverage.outputfile" value=""/>
+ <property key="oscillator.auxfrequency" value="120"/>
+ <property key="oscillator.auxfrequencyunit" value="Mega"/>
+ <property key="oscillator.frequency" value="16"/>
+ <property key="oscillator.frequencyunit" value="Mega"/>
+ <property key="oscillator.rcfrequency" value="250"/>
+ <property key="oscillator.rcfrequencyunit" value="Kilo"/>
+ <property key="periphADC1.altscl" value="false"/>
+ <property key="periphADC1.minTacq" value=""/>
+ <property key="periphADC1.tacqunits" value="microseconds"/>
+ <property key="periphADC2.altscl" value="false"/>
+ <property key="periphADC2.minTacq" value=""/>
+ <property key="periphADC2.tacqunits" value="microseconds"/>
+ <property key="periphComp1.gte" value="gt"/>
+ <property key="periphComp2.gte" value="gt"/>
+ <property key="periphComp3.gte" value="gt"/>
+ <property key="periphComp4.gte" value="gt"/>
+ <property key="periphComp5.gte" value="gt"/>
+ <property key="periphComp6.gte" value="gt"/>
+ <property key="reset.scl" value="false"/>
+ <property key="reset.type" value="MCLR"/>
+ <property key="tracecontrol.include.timestamp" value="summarydataenabled"/>
+ <property key="tracecontrol.select" value="0"/>
+ <property key="tracecontrol.stallontracebufferfull" value="false"/>
+ <property key="tracecontrol.timestamp" value="0"/>
+ <property key="tracecontrol.tracebufmax" value="546000"/>
+ <property key="tracecontrol.tracefile" value="defmplabxtrace.log"/>
+ <property key="tracecontrol.traceresetonrun" value="false"/>
+ <property key="uart0io.output" value="window"/>
+ <property key="uart0io.outputfile" value=""/>
+ <property key="uart0io.uartioenabled" value="false"/>
+ <property key="uart10io.output" value="window"/>
+ <property key="uart10io.outputfile" value=""/>
+ <property key="uart10io.uartioenabled" value="false"/>
+ <property key="uart1io.output" value="window"/>
+ <property key="uart1io.outputfile" value=""/>
+ <property key="uart1io.uartioenabled" value="false"/>
+ <property key="uart2io.output" value="window"/>
+ <property key="uart2io.outputfile" value=""/>
+ <property key="uart2io.uartioenabled" value="false"/>
+ <property key="uart3io.output" value="window"/>
+ <property key="uart3io.outputfile" value=""/>
+ <property key="uart3io.uartioenabled" value="false"/>
+ <property key="uart4io.output" value="window"/>
+ <property key="uart4io.outputfile" value=""/>
+ <property key="uart4io.uartioenabled" value="false"/>
+ <property key="uart5io.output" value="window"/>
+ <property key="uart5io.outputfile" value=""/>
+ <property key="uart5io.uartioenabled" value="false"/>
+ <property key="uart6io.output" value="window"/>
+ <property key="uart6io.outputfile" value=""/>
+ <property key="uart6io.uartioenabled" value="false"/>
+ <property key="uart7io.output" value="window"/>
+ <property key="uart7io.outputfile" value=""/>
+ <property key="uart7io.uartioenabled" value="false"/>
+ <property key="uart8io.output" value="window"/>
+ <property key="uart8io.outputfile" value=""/>
+ <property key="uart8io.uartioenabled" value="false"/>
+ <property key="uart9io.output" value="window"/>
+ <property key="uart9io.outputfile" value=""/>
+ <property key="uart9io.uartioenabled" value="false"/>
+ <property key="warningmessagebreakoptions.W0001_CORE_BITREV_MODULO_EN"
+ value="report"/>
+ <property key="warningmessagebreakoptions.W0002_CORE_SECURE_MEMORYACCESS"
+ value="report"/>
+ <property key="warningmessagebreakoptions.W0003_CORE_SW_RESET" value="report"/>
+ <property key="warningmessagebreakoptions.W0004_CORE_WDT_RESET" value="report"/>
+ <property key="warningmessagebreakoptions.W0005_CORE_IOPUW_RESET"
+ value="report"/>
+ <property key="warningmessagebreakoptions.W0006_CORE_CODE_GUARD_PFC_RESET"
+ value="report"/>
+ <property key="warningmessagebreakoptions.W0007_CORE_DO_LOOP_STACK_UNDERFLOW"
+ value="report"/>
+ <property key="warningmessagebreakoptions.W0008_CORE_DO_LOOP_STACK_OVERFLOW"
+ value="report"/>
+ <property key="warningmessagebreakoptions.W0009_CORE_NESTED_DO_LOOP_RANGE"
+ value="report"/>
+ <property key="warningmessagebreakoptions.W0010_CORE_SIM32_ODD_WORDACCESS"
+ value="report"/>
+ <property key="warningmessagebreakoptions.W0011_CORE_SIM32_UNIMPLEMENTED_RAMACCESS"
+ value="report"/>
+ <property key="warningmessagebreakoptions.W0012_CORE_STACK_OVERFLOW_RESET"
+ value="report"/>
+ <property key="warningmessagebreakoptions.W0013_CORE_STACK_UNDERFLOW_RESET"
+ value="report"/>
+ <property key="warningmessagebreakoptions.W0014_CORE_INVALID_OPCODE"
+ value="report"/>
+ <property key="warningmessagebreakoptions.W0015_CORE_INVALID_ALT_WREG_SET"
+ value="report"/>
+ <property key="warningmessagebreakoptions.W0016_CORE_STACK_ERROR"
+ value="report"/>
+ <property key="warningmessagebreakoptions.W0017_CORE_ODD_RAMWORDACCESS"
+ value="report"/>
+ <property key="warningmessagebreakoptions.W0018_CORE_UNIMPLEMENTED_RAMACCESS"
+ value="report"/>
+ <property key="warningmessagebreakoptions.W0019_CORE_UNIMPLEMENTED_PROMACCESS"
+ value="report"/>
+ <property key="warningmessagebreakoptions.W0020_CORE_ACCESS_NOTIN_X_SPACE"
+ value="report"/>
+ <property key="warningmessagebreakoptions.W0021_CORE_ACCESS_NOTIN_Y_SPACE"
+ value="report"/>
+ <property key="warningmessagebreakoptions.W0022_CORE_XMODEND_LESS_XMODSRT"
+ value="report"/>
+ <property key="warningmessagebreakoptions.W0023_CORE_YMODEND_LESS_YMODSRT"
+ value="report"/>
+ <property key="warningmessagebreakoptions.W0024_CORE_BITREV_MOD_IS_ZERO"
+ value="report"/>
+ <property key="warningmessagebreakoptions.W0025_CORE_HARD_TRAP" value="report"/>
+ <property key="warningmessagebreakoptions.W0026_CORE_UNIMPLEMENTED_MEMORYACCESS"
+ value="report"/>
+ <property key="warningmessagebreakoptions.W0027_CORE_UNIMPLEMENTED_EDSACCESS"
+ value="report"/>
+ <property key="warningmessagebreakoptions.W0028_TBLRD_WORM_CONFIG_MEMORY"
+ value="report"/>
+ <property key="warningmessagebreakoptions.W0029_TBLRD_DEVICE_ID" value="report"/>
+ <property key="warningmessagebreakoptions.W0030_CORE_UNIMPLEMENTED_MEMORY_ACCESS"
+ value="report"/>
+ <property key="warningmessagebreakoptions.W0031_BSLIM_INSUFFICIENT_BOOT_SEGMENT"
+ value="report"/>
+ <property key="warningmessagebreakoptions.W0032_BSLIM_LIMITS_EXCEEDS_PROG_MEMORY"
+ value="report"/>
+ <property key="warningmessagebreakoptions.W0033_CORE_UNPREDICTABLE_OPCODE"
+ value="report"/>
+ <property key="warningmessagebreakoptions.W0034_CORE_UNALIGNED_MEMORY_ACCESS"
+ value="report"/>
+ <property key="warningmessagebreakoptions.W0035_CORE_UNIMPLEMENTED_RAMACCESS_NOTRAP"
+ value="report"/>
+ <property key="warningmessagebreakoptions.W0040_FPU_DIFF_CP10_CP11"
+ value="report"/>
+ <property key="warningmessagebreakoptions.W0041_FPU_ACCESS_DENIED"
+ value="report"/>
+ <property key="warningmessagebreakoptions.W0042_FPU_PRIVILEGED_ACCESS_ONLY"
+ value="report"/>
+ <property key="warningmessagebreakoptions.W0043_FPU_CP_RESERVED_VALUE"
+ value="report"/>
+ <property key="warningmessagebreakoptions.W0044_FPU_OUT_OF_RANGE"
+ value="report"/>
+ <property key="warningmessagebreakoptions.W0051_INSTRUCTION_DIV_NOT_ENOUGH_REPEAT"
+ value="report"/>
+ <property key="warningmessagebreakoptions.W0052_INSTRUCTION_DIV_TOO_MANY_REPEAT"
+ value="report"/>
+ <property key="warningmessagebreakoptions.W0053_INVALID_INTCON_VS_FIELD_VALUE"
+ value="report"/>
+ <property key="warningmessagebreakoptions.W0101_SIM_UPDATE_FAILED"
+ value="report"/>
+ <property key="warningmessagebreakoptions.W0102_SIM_PERIPH_MISSING"
+ value="report"/>
+ <property key="warningmessagebreakoptions.W0103_SIM_PERIPH_FAILED"
+ value="report"/>
+ <property key="warningmessagebreakoptions.W0104_SIM_FAILED_TO_INIT_TOOL"
+ value="report"/>
+ <property key="warningmessagebreakoptions.W0105_SIM_INVALID_FIELD"
+ value="report"/>
+ <property key="warningmessagebreakoptions.W0106_SIM_PERIPH_PARTIAL_SUPPORT"
+ value="report"/>
+ <property key="warningmessagebreakoptions.W0107_SIM_NOT_SUPPORTED"
+ value="report"/>
+ <property key="warningmessagebreakoptions.W0108_SIM_RESERVED_SETTING"
+ value="report"/>
+ <property key="warningmessagebreakoptions.W0109_SIM_PERIPHERAL_IN_DEVELOPMENT"
+ value="report"/>
+ <property key="warningmessagebreakoptions.W0110_SIM_UNEXPECTED_EVENT"
+ value="report"/>
+ <property key="warningmessagebreakoptions.W0111_SIM_UNSUPPORTED_SELECTION"
+ value="report"/>
+ <property key="warningmessagebreakoptions.W0112_SIM_INVALID_OPERATION"
+ value="report"/>
+ <property key="warningmessagebreakoptions.W0113_SIM_WRITE_TO_PROTECTED_SFR"
+ value="report"/>
+ <property key="warningmessagebreakoptions.W0114_SIM_INVALID_KEY" value="report"/>
+ <property key="warningmessagebreakoptions.W0115_SIM_FAILED_TO_PARSE_DEVICE_FILE"
+ value="report"/>
+ <property key="warningmessagebreakoptions.W0116_SIM_STACK_OVERFLOW"
+ value="report"/>
+ <property key="warningmessagebreakoptions.W0117_SIM_STACK_UNDERFLOW"
+ value="report"/>
+ <property key="warningmessagebreakoptions.W0118_SIM_INVALID_FIELD_VALUE"
+ value="report"/>
+ <property key="warningmessagebreakoptions.W0119_SIM_SAMPLING_RATE_VIOLATION"
+ value="report"/>
+ <property key="warningmessagebreakoptions.W0201_ADC_NO_STIMULUS_FILE"
+ value="report"/>
+ <property key="warningmessagebreakoptions.W0202_ADC_GO_DONE_BIT" value="report"/>
+ <property key="warningmessagebreakoptions.W0203_ADC_MINIMUM_2_TAD"
+ value="report"/>
+ <property key="warningmessagebreakoptions.W0204_ADC_TAD_TOO_SMALL"
+ value="report"/>
+ <property key="warningmessagebreakoptions.W0205_ADC_UNEXPECTED_TRANSITION"
+ value="report"/>
+ <property key="warningmessagebreakoptions.W0206_ADC_SAMP_TIME_TOO_SHORT"
+ value="report"/>
+ <property key="warningmessagebreakoptions.W0207_ADC_NO_PINS_SCANNED"
+ value="report"/>
+ <property key="warningmessagebreakoptions.W0208_ADC_UNSUPPORTED_CLOCK_SOURCE"
+ value="report"/>
+ <property key="warningmessagebreakoptions.W0209_ADC_ANALOG_CHANNEL_DIGITAL"
+ value="report"/>
+ <property key="warningmessagebreakoptions.W0210_ADC_ANALOG_CHANNEL_OUTPUT"
+ value="report"/>
+ <property key="warningmessagebreakoptions.W0211_ADC_PIN_INVALID_CHANNEL"
+ value="report"/>
+ <property key="warningmessagebreakoptions.W0212_ADC_BAND_GAP_NOT_SUPPORTED"
+ value="report"/>
+ <property key="warningmessagebreakoptions.W0213_ADC_RESERVED_SSRC"
+ value="report"/>
+ <property key="warningmessagebreakoptions.W0214_ADC_POSITIVE_INPUT_DIGITAL"
+ value="report"/>
+ <property key="warningmessagebreakoptions.W0215_ADC_POSITIVE_INPUT_OUTPUT"
+ value="report"/>
+ <property key="warningmessagebreakoptions.W0216_ADC_NEGATIVE_INPUT_DIGITAL"
+ value="report"/>
+ <property key="warningmessagebreakoptions.W0217_ADC_NEGATIVE_INPUT_OUTPUT"
+ value="report"/>
+ <property key="warningmessagebreakoptions.W0218_ADC_REFERENCE_HIGH_DIGITAL"
+ value="report"/>
+ <property key="warningmessagebreakoptions.W0219_ADC_REFERENCE_HIGH_OUTPUT"
+ value="report"/>
+ <property key="warningmessagebreakoptions.W0220_ADC_REFERENCE_LOW_DIGITAL"
+ value="report"/>
+ <property key="warningmessagebreakoptions.W0221_ADC_REFERENCE_LOW_OUTPUT"
+ value="report"/>
+ <property key="warningmessagebreakoptions.W0222_ADC_OVERFLOW" value="report"/>
+ <property key="warningmessagebreakoptions.W0223_ADC_UNDERFLOW" value="report"/>
+ <property key="warningmessagebreakoptions.W0224_ADC_CTMU_NOT_SUPPORTED"
+ value="report"/>
+ <property key="warningmessagebreakoptions.W0225_ADC_INVALID_CH0S"
+ value="report"/>
+ <property key="warningmessagebreakoptions.W0226_ADC_VBAT_NOT_SUPPORTED"
+ value="report"/>
+ <property key="warningmessagebreakoptions.W0227_ADC_INVALID_ADCS"
+ value="report"/>
+ <property key="warningmessagebreakoptions.W0228_ADC_INVALID_ADCS"
+ value="report"/>
+ <property key="warningmessagebreakoptions.W0229_ADC_INVALID_ADCS"
+ value="report"/>
+ <property key="warningmessagebreakoptions.W0230_ADC_TRIGSEL_NOT_SUPPORTED"
+ value="report"/>
+ <property key="warningmessagebreakoptions.W0231_ADC_NOT_WARMED" value="report"/>
+ <property key="warningmessagebreakoptions.W0232_ADC_CALIBRATION_ABORTED"
+ value="report"/>
+ <property key="warningmessagebreakoptions.W0233_ADC_CORE_POWERED_EARLY"
+ value="report"/>
+ <property key="warningmessagebreakoptions.W0234_ADC_ALREADY_CALIBRATING"
+ value="report"/>
+ <property key="warningmessagebreakoptions.W0235_ADC_CAL_TYPE_CHANGED"
+ value="report"/>
+ <property key="warningmessagebreakoptions.W0236_ADC_CAL_INVALIDATED"
+ value="report"/>
+ <property key="warningmessagebreakoptions.W0237_ADC_UNKNOWN_DATASHEET"
+ value="report"/>
+ <property key="warningmessagebreakoptions.W0238_ADC_INVALID_SFR_FIELD_VALUE"
+ value="report"/>
+ <property key="warningmessagebreakoptions.W0239_ADC_UNSUPPORTED_INPUT"
+ value="report"/>
+ <property key="warningmessagebreakoptions.W0240_ADC_NOT_CALIBRATED"
+ value="report"/>
+ <property key="warningmessagebreakoptions.W0241_ADC_FRACTIONAL_NOT_ALLOWED"
+ value="report"/>
+ <property key="warningmessagebreakoptions.W0242_ADC_BG_INT_BEFORE_PWR"
+ value="report"/>
+ <property key="warningmessagebreakoptions.W0243_ADC_INVALID_TAD" value="report"/>
+ <property key="warningmessagebreakoptions.W0244_ADC_CONVERSION_ABORTED"
+ value="report"/>
+ <property key="warningmessagebreakoptions.W0245_ADC_BUFREGEN_NOT_ALLOWED"
+ value="report"/>
+ <property key="warningmessagebreakoptions.W0246_ADC_ACCUMULATION_BAD_RESSEL"
+ value="report"/>
+ <property key="warningmessagebreakoptions.W0247_ADC_CONVERSION_BAD_RESSEL"
+ value="report"/>
+ <property key="warningmessagebreakoptions.W0400_PWM_PWM_FASTER_THAN_FOSC"
+ value="report"/>
+ <property key="warningmessagebreakoptions.W0600_WDT_2ND_WDT_MR_WRITE"
+ value="report"/>
+ <property key="warningmessagebreakoptions.W0601_WDT_EXPIRED" value="report"/>
+ <property key="warningmessagebreakoptions.W0601_WDT_RESET_OUTSIDE_WINDOW"
+ value="report"/>
+ <property key="warningmessagebreakoptions.W0700_CLC_GENERAL_WARNING"
+ value="report"/>
+ <property key="warningmessagebreakoptions.W0701_CLC_CLCOUT_AS_INPUT"
+ value="report"/>
+ <property key="warningmessagebreakoptions.W0702_CLC_CIRCULAR_LOOP"
+ value="report"/>
+ <property key="warningmessagebreakoptions.W0800_ACC_INPUT_INVALID_CONFIG"
+ value="report"/>
+ <property key="warningmessagebreakoptions.W0801_ACC_INPUT_NOT_SUPPORTED"
+ value="report"/>
+ <property key="warningmessagebreakoptions.W0802_ACC_INVERTED_WINDOW_LIMITS"
+ value="report"/>
+ <property key="warningmessagebreakoptions.W0803_ACC_MISMATCHED_POS_INPUTS"
+ value="report"/>
+ <property key="warningmessagebreakoptions.W0804_ACC_WINDOW_COMP_DISABLED"
+ value="report"/>
+ <property key="warningmessagebreakoptions.W0805_ACC_WINDOW_COMPS_MODES"
+ value="report"/>
+ <property key="warningmessagebreakoptions.W0806_ACC_FEATURE_NOT_SUPPORTED"
+ value="report"/>
+ <property key="warningmessagebreakoptions.W10001_RESERVED_IRQ_HANDLER_INVOKED"
+ value="report"/>
+ <property key="warningmessagebreakoptions.W10002_UNSUPPORTED_CLK_SOURCE"
+ value="report"/>
+ <property key="warningmessagebreakoptions.W10101_UNSUPPORTED_CHANNEL_MODE"
+ value="report"/>
+ <property key="warningmessagebreakoptions.W10102_UNSUPPORTED_CLK_SOURCE"
+ value="report"/>
+ <property key="warningmessagebreakoptions.W10103_UNSUPPORTED_RECEIVER_FILTER"
+ value="report"/>
+ <property key="warningmessagebreakoptions.W10301_NO_PORT_PINS_FOUND"
+ value="report"/>
+ <property key="warningmessagebreakoptions.W10500_UNSUPPORTED_SOURCE"
+ value="report"/>
+ <property key="warningmessagebreakoptions.W1201_DATAFLASH_MEM_OUTSIDE_RANGE"
+ value="report"/>
+ <property key="warningmessagebreakoptions.W1202_DATAFLASH_ERASE_WHILE_LOCKED"
+ value="report"/>
+ <property key="warningmessagebreakoptions.W1203_DATAFLASH_WRITE_WHILE_LOCKED"
+ value="report"/>
+ <property key="warningmessagebreakoptions.W1401_DMA_PERIPH_NOT_AVAIL"
+ value="report"/>
+ <property key="warningmessagebreakoptions.W1402_DMA_INVALID_IRQ" value="report"/>
+ <property key="warningmessagebreakoptions.W1403_DMA_INVALID_SFR" value="report"/>
+ <property key="warningmessagebreakoptions.W1404_DMA_INVALID_DMA_ADDR"
+ value="report"/>
+ <property key="warningmessagebreakoptions.W1405_DMA_IRQ_DIR_MISMATCH"
+ value="report"/>
+ <property key="warningmessagebreakoptions.W1600_PPS_INVALID_MAP" value="report"/>
+ <property key="warningmessagebreakoptions.W1601_PPS_INVALID_PIN_DESCRIPTION"
+ value="report"/>
+ <property key="warningmessagebreakoptions.W1800_PWM_TIMER_SELECTION_NOT_AVIALABLE"
+ value="report"/>
+ <property key="warningmessagebreakoptions.W1801_PWM_TIMER_SELECTION_BAD_CLOCK_INPUT"
+ value="report"/>
+ <property key="warningmessagebreakoptions.W1802_PWM_TIMER_MISSING_PERSCALER_INFO"
+ value="report"/>
+ <property key="warningmessagebreakoptions.W2001_INPUTCAPTURE_TMR3_UNAVAILABLE"
+ value="report"/>
+ <property key="warningmessagebreakoptions.W2002_INPUTCAPTURE_CAPTURE_EMPTY"
+ value="report"/>
+ <property key="warningmessagebreakoptions.W2003_INPUTCAPTURE_SYNCSEL_NOT_AVIALABLE"
+ value="report"/>
+ <property key="warningmessagebreakoptions.W2004_INPUTCAPTURE_BAD_SYNC_SOURCE"
+ value="report"/>
+ <property key="warningmessagebreakoptions.W2501_OUTPUTCOMPARE_SYNCSEL_NOT_AVIALABLE"
+ value="report"/>
+ <property key="warningmessagebreakoptions.W2502_OUTPUTCOMPARE_BAD_SYNC_SOURCE"
+ value="report"/>
+ <property key="warningmessagebreakoptions.W2503_OUTPUTCOMPARE_BAD_TRIGGER_SOURCE"
+ value="report"/>
+ <property key="warningmessagebreakoptions.W2700_MPU_ILLEGAL_DREGION"
+ value="report"/>
+ <property key="warningmessagebreakoptions.W2701_MPU_INVALID_REGION"
+ value="report"/>
+ <property key="warningmessagebreakoptions.W3000_LPM_READ_PROTECTION_SECTION"
+ value="report"/>
+ <property key="warningmessagebreakoptions.W3010_SPM_WRITE_PROTECTION_SECTION"
+ value="report"/>
+ <property key="warningmessagebreakoptions.W6001_RTT_FORBIDDEN_RTPRES"
+ value="report"/>
+ <property key="warningmessagebreakoptions.W6002_RTT_BAD_WRITING_ALMV"
+ value="report"/>
+ <property key="warningmessagebreakoptions.W6003_RTT_BAD_WRITING_RTPRES"
+ value="report"/>
+ <property key="warningmessagebreakoptions.W7001_SMT_CLK_SELECTION_NOT_SUPPORT"
+ value="report"/>
+ <property key="warningmessagebreakoptions.W7002_SMT_SIG_SELECTION_NOT_SUPPORT"
+ value="report"/>
+ <property key="warningmessagebreakoptions.W7003_SMT_WIN_SELECTION_NOT_SUPPORT"
+ value="report"/>
+ <property key="warningmessagebreakoptions.W8001_OSC_INVALID_CLOCK_SOURCE"
+ value="report"/>
+ <property key="warningmessagebreakoptions.W8002_OSC_RESERVED_FEXTOSC"
+ value="report"/>
+ <property key="warningmessagebreakoptions.W9001_TMR_GATE_AND_EXTCLOCK_ENABLED"
+ value="report"/>
+ <property key="warningmessagebreakoptions.W9002_TMR_NO_PIN_AVAILABLE"
+ value="report"/>
+ <property key="warningmessagebreakoptions.W9003_TMR_INVALID_CLOCK_SOURCE"
+ value="report"/>
+ <property key="warningmessagebreakoptions.W9201_UART_TX_OVERFLOW"
+ value="report"/>
+ <property key="warningmessagebreakoptions.W9202_UART_TX_CAPTUREFILE"
+ value="report"/>
+ <property key="warningmessagebreakoptions.W9203_UART_TX_INVALIDINTERRUPTMODE"
+ value="report"/>
+ <property key="warningmessagebreakoptions.W9204_UART_RX_EMPTY_QUEUE"
+ value="report"/>
+ <property key="warningmessagebreakoptions.W9205_UART_TX_BADFILE" value="report"/>
+ <property key="warningmessagebreakoptions.W9206_UART_RESERVED_MODE"
+ value="report"/>
+ <property key="warningmessagebreakoptions.W9207_UART_UNABLETOCLOSE_FILE"
+ value="report"/>
+ <property key="warningmessagebreakoptions.W9401_CVREF_INVALIDSOURCESELECTION"
+ value="report"/>
+ <property key="warningmessagebreakoptions.W9402_CVREF_INPUT_OUTPUTPINCONFLICT"
+ value="report"/>
+ <property key="warningmessagebreakoptions.W9601_COMP_FVR_SOURCE_UNAVAILABLE"
+ value="report"/>
+ <property key="warningmessagebreakoptions.W9602_COMP_DAC_SOURCE_UNAVAILABLE"
+ value="report"/>
+ <property key="warningmessagebreakoptions.W9603_COMP_CVREF_SOURCE_UNAVAILABLE"
+ value="report"/>
+ <property key="warningmessagebreakoptions.W9604_COMP_SLOPE_SOURCE_UNAVAILABLE"
+ value="report"/>
+ <property key="warningmessagebreakoptions.W9605_COMP_PRG_SOURCE_UNAVAILABLE"
+ value="report"/>
+ <property key="warningmessagebreakoptions.W9607_COMP_DGTL_FLTR_OPTION_UNAVAILABLE"
+ value="report"/>
+ <property key="warningmessagebreakoptions.W9609_COMP_DGTL_FLTR_CLK_UNAVAILABLE"
+ value="report"/>
+ <property key="warningmessagebreakoptions.W9801_FVR_INVALID_MODE_SELECTION"
+ value="report"/>
+ <property key="warningmessagebreakoptions.W9801_SCL_BAD_SUBTYPE_INDICATION"
+ value="report"/>
+ <property key="warningmessagebreakoptions.W9802_SCL_FILE_NOT_FOUND"
+ value="report"/>
+ <property key="warningmessagebreakoptions.W9803_SCL_FAILED_TO_READ_FILE"
+ value="report"/>
+ <property key="warningmessagebreakoptions.W9804_SCL_UNRECOGNIZED_LABEL"
+ value="report"/>
+ <property key="warningmessagebreakoptions.W9805_SCL_UNRECOGNIZED_VAR"
+ value="report"/>
+ <property key="warningmessagebreakoptions.W9901_RTSP_INVALID_OPERATION_SELECTION"
+ value="report"/>
+ <property key="warningmessagebreakoptions.W9902_RTSP_FLASH_PROGRAM_WRITE_PROTECTED"
+ value="report"/>
+ <property key="warningmessagebreakoptions.displaywarningmessagesoption"
+ value=""/>
+ <property key="warningmessagebreakoptions.warningmessages" value="holdstate"/>
+ </Simulator>
+ </conf>
+ </confs>
+</configurationDescriptor>
diff --git a/Lab5.X/nbproject/private/configurations.xml b/Lab5.X/nbproject/private/configurations.xml
new file mode 100644
index 0000000..099de7b
--- /dev/null
+++ b/Lab5.X/nbproject/private/configurations.xml
@@ -0,0 +1,25 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<configurationDescriptor version="65">
+ <projectmakefile>Makefile</projectmakefile>
+ <defaultConf>0</defaultConf>
+ <confs>
+ <conf name="default" type="2">
+ <platformToolSN>:=MPLABComm-USB-Microchip:=&lt;vid>04D8:=&lt;pid>8108:=&lt;rev>0002:=&lt;man>Digilent:=&lt;prod>chipKitProgrammer:=&lt;sn>DA63CA1:=&lt;drv>x:=&lt;xpt>h:=end</platformToolSN>
+ <languageToolchainDir>C:\Program Files\Microchip\xc16\v1.50\bin</languageToolchainDir>
+ <mdbdebugger version="1">
+ <placeholder1>place holder 1</placeholder1>
+ <placeholder2>place holder 2</placeholder2>
+ </mdbdebugger>
+ <runprofile version="6">
+ <args></args>
+ <rundir></rundir>
+ <buildfirst>true</buildfirst>
+ <console-type>0</console-type>
+ <terminal-type>0</terminal-type>
+ <remove-instrumentation>0</remove-instrumentation>
+ <environment>
+ </environment>
+ </runprofile>
+ </conf>
+ </confs>
+</configurationDescriptor>
diff --git a/Lab5.X/nbproject/private/private.xml b/Lab5.X/nbproject/private/private.xml
new file mode 100644
index 0000000..f2aa828
--- /dev/null
+++ b/Lab5.X/nbproject/private/private.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<project-private xmlns="http://www.netbeans.org/ns/project-private/1">
+ <editor-bookmarks xmlns="http://www.netbeans.org/ns/editor-bookmarks/2" lastBookmarkId="0"/>
+ <open-files xmlns="http://www.netbeans.org/ns/projectui-open-files/2">
+ <group>
+ <file>file:/C:/Users/Ross/MPLABXProjects/EE2361Projects/Lab5.X/lab5_main.c</file>
+ <file>file:/C:/Users/Ross/MPLABXProjects/EE2361Projects/Lab5.X/lab5_lcd.c</file>
+ <file>file:/C:/Users/Ross/MPLABXProjects/EE2361Projects/Lab5.X/lab5_lcd.h</file>
+ </group>
+ </open-files>
+</project-private>
diff --git a/Lab5.X/nbproject/project.xml b/Lab5.X/nbproject/project.xml
new file mode 100644
index 0000000..44060a4
--- /dev/null
+++ b/Lab5.X/nbproject/project.xml
@@ -0,0 +1,27 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<project xmlns="http://www.netbeans.org/ns/project/1">
+ <type>com.microchip.mplab.nbide.embedded.makeproject</type>
+ <configuration>
+ <data xmlns="http://www.netbeans.org/ns/make-project/1">
+ <name>Lab5</name>
+ <creation-uuid>9a7e41ce-a872-4768-be87-e2ba495e715e</creation-uuid>
+ <make-project-type>0</make-project-type>
+ <c-extensions>c</c-extensions>
+ <cpp-extensions/>
+ <header-extensions>h</header-extensions>
+ <asminc-extensions/>
+ <sourceEncoding>ISO-8859-1</sourceEncoding>
+ <make-dep-projects/>
+ <sourceRootList/>
+ <confList>
+ <confElem>
+ <name>default</name>
+ <type>2</type>
+ </confElem>
+ </confList>
+ <formatting>
+ <project-formatting-style>false</project-formatting-style>
+ </formatting>
+ </data>
+ </configuration>
+</project>