diff --git a/MyConfig.mc3 b/MyConfig.mc3 index 767bb4be00d7ef5b5456bea43e25e1e83277b0b7..96ee67903290aaef0e0ecd4f507e005241a65601 100644 --- a/MyConfig.mc3 +++ b/MyConfig.mc3 @@ -16,14 +16,14 @@ <string>SPI1</string> <string>class com.microchip.mcc.mcu16.modules.spi_upb.SPI</string> </entry> - <entry> - <string>Pin Module</string> - <string>class com.microchip.mcc.mcu16.pinManager.PinManager</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>ICD</string> <string>class com.microchip.mcc.mcu16.systemManager.icd.Icd</string> @@ -44,20 +44,16 @@ <string>System Module</string> <string>class com.microchip.mcc.mcu16.systemManager.DefaultSystemManagerMcu16</string> </entry> - <entry> - <string>CMP3</string> - <string>class com.microchip.mcc.mcu16.modules.cmp.CMP</string> - </entry> <entry> <string>JTAG</string> <string>class com.microchip.mcc.mcu16.systemManager.jtag.JTAG</string> </entry> <entry> - <string>CMP2</string> + <string>CMP3</string> <string>class com.microchip.mcc.mcu16.modules.cmp.CMP</string> </entry> <entry> - <string>CMP1</string> + <string>CMP2</string> <string>class com.microchip.mcc.mcu16.modules.cmp.CMP</string> </entry> <entry> @@ -65,13 +61,17 @@ <string>class com.microchip.mcc.mcu16.systemManager.clk.Clock</string> </entry> <entry> - <string>IC1</string> - <string>class com.microchip.mcc.mcu16.modules.ic.IC</string> + <string>CMP1</string> + <string>class com.microchip.mcc.mcu16.modules.cmp.CMP</string> </entry> <entry> <string>I2C1</string> <string>class com.microchip.mcc.mcu16.modules.i2c.I2C</string> </entry> + <entry> + <string>IC1</string> + <string>class com.microchip.mcc.mcu16.modules.ic.IC</string> + </entry> <entry> <string>IC3</string> <string>class com.microchip.mcc.mcu16.modules.ic.IC</string> @@ -185,6 +185,10 @@ <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="Pin Module" registerAlias="IOCPDA" settingAlias="IOCPDA1" alias="enabled"/> <value>1</value> </entry> + <entry> + <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="IC3" registerAlias="ICCON1" settingAlias="ICSIDL" alias="disabled"/> + <value>0</value> + </entry> <entry> <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="SPI3" registerAlias="SPICON1L" settingAlias="MODE16" alias="enabled"/> <value>1</value> @@ -193,10 +197,6 @@ <key class="com.microchip.mcc.core.tokenManager.SettingKey" moduleName="SPI2" registerAlias="SPIIMSKL" settingAlias="SRMTEN"/> <value>disabled</value> </entry> - <entry> - <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="IC3" registerAlias="ICCON1" settingAlias="ICSIDL" alias="disabled"/> - <value>0</value> - </entry> <entry> <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="Pin Module" registerAlias="IOCPDA" settingAlias="IOCPDA3" alias="disabled"/> <value>0</value> @@ -601,14 +601,14 @@ <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="Pin Module" registerAlias="IOCPDB" settingAlias="IOCPDB0" alias="disabled"/> <value>0</value> </entry> - <entry> - <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="CMP2" registerAlias="CMSTAT" settingAlias="C3EVT" alias="disabled"/> - <value>0</value> - </entry> <entry> <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="IC2" registerAlias="ICCON2" settingAlias="SYNCSEL" alias="TMR3"/> <value>13</value> </entry> + <entry> + <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="CMP2" registerAlias="CMSTAT" settingAlias="C3EVT" alias="disabled"/> + <value>0</value> + </entry> <entry> <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="Pin Module" registerAlias="LATB" settingAlias="LATB15" alias="clear"/> <value>0</value> @@ -643,7 +643,7 @@ </entry> <entry> <key class="com.microchip.mcc.core.tokenManager.SettingKey" moduleName="I2C1" registerAlias="I2CADD" settingAlias="I2CADD"/> - <value>64</value> + <value>32</value> </entry> <entry> <key class="com.microchip.mcc.core.tokenManager.CustomKey" moduleName="I2C1" name="I2C1_SICIISRFunction"/> @@ -693,14 +693,14 @@ <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="Pin Module" registerAlias="IOCPDA" settingAlias="IOCPDA1" alias="disabled"/> <value>0</value> </entry> - <entry> - <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="CMP1" registerAlias="CMSTAT" settingAlias="C1OUT" alias="disabled"/> - <value>0</value> - </entry> <entry> <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="IC2" registerAlias="ICCON2" settingAlias="SYNCSEL" alias="IC2"/> <value>17</value> </entry> + <entry> + <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="CMP1" registerAlias="CMSTAT" settingAlias="C1OUT" alias="disabled"/> + <value>0</value> + </entry> <entry> <key class="com.microchip.mcc.core.tokenManager.CustomKey" moduleName="Pin Module" name="iocUserSet AVSS"/> <value>disabled</value> @@ -985,14 +985,14 @@ <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="SPI2" registerAlias="SPICON1L" settingAlias="MCLKEN" alias="FOSC/2"/> - <value>0</value> - </entry> <entry> <key class="com.microchip.mcc.core.tokenManager.SettingKey" moduleName="IC3" registerAlias="ICCON2" settingAlias="SYNCSEL"/> <value>TMR3</value> </entry> + <entry> + <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="SPI2" registerAlias="SPICON1L" settingAlias="MCLKEN" alias="FOSC/2"/> + <value>0</value> + </entry> <entry> <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="Pin Module" registerAlias="IOCPA" settingAlias="IOCPA0" alias="disabled"/> <value>0</value> @@ -1005,14 +1005,14 @@ <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="CMP3" registerAlias="CMCON" settingAlias="CPOL" alias="Inverted"/> - <value>1</value> - </entry> <entry> <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="SPI3" registerAlias="SPICON1L" settingAlias="MODE16" alias="disabled"/> <value>0</value> </entry> + <entry> + <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="CMP3" registerAlias="CMCON" settingAlias="CPOL" alias="Inverted"/> + <value>1</value> + </entry> <entry> <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="CMP3" registerAlias="CMCON" settingAlias="CREF" alias="CVREF"/> <value>1</value> @@ -1149,14 +1149,14 @@ <key class="com.microchip.mcc.core.tokenManager.RegisterKey" moduleName="Pin Module" registerAlias="RPINR12"/> <value>16191</value> </entry> - <entry> - <key class="com.microchip.mcc.core.tokenManager.SettingKey" moduleName="CMP3" registerAlias="CMI" settingAlias="priority"/> - <value>1</value> - </entry> <entry> <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="IC3" registerAlias="ICCON1" settingAlias="ICI" alias="Every"/> <value>0</value> </entry> + <entry> + <key class="com.microchip.mcc.core.tokenManager.SettingKey" moduleName="CMP3" registerAlias="CMI" settingAlias="priority"/> + <value>1</value> + </entry> <entry> <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="System Module" registerAlias="FOSCSEL" settingAlias="IESO" alias="ON"/> <value>128</value> @@ -1477,14 +1477,14 @@ <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.RegisterKey" moduleName="TMR3" registerAlias="TCON"/> - <value>32784</value> - </entry> <entry> <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="SPI1" registerAlias="SPIIMSKH" settingAlias="TXWIEN" alias="disabled"/> <value>0</value> </entry> + <entry> + <key class="com.microchip.mcc.core.tokenManager.RegisterKey" moduleName="TMR3" registerAlias="TCON"/> + <value>32784</value> + </entry> <entry> <key class="com.microchip.mcc.core.tokenManager.SettingKey" moduleName="SPI1" registerAlias="SPITXI" settingAlias="flag"/> <value>disabled</value> @@ -1526,15 +1526,15 @@ <value>3</value> </entry> <entry> - <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="CMP3" registerAlias="CMCON" settingAlias="CEVT" alias="enabled"/> + <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="SPI1" registerAlias="SPICON1H" settingAlias="SPISGNEXT" alias="sign-extended"/> <value>1</value> </entry> <entry> - <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="SPI2" registerAlias="SPICON1L" settingAlias="SPIEN" alias="enabled"/> + <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="CMP3" registerAlias="CMCON" settingAlias="CEVT" alias="enabled"/> <value>1</value> </entry> <entry> - <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="SPI1" registerAlias="SPICON1H" settingAlias="SPISGNEXT" alias="sign-extended"/> + <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="SPI2" registerAlias="SPICON1L" settingAlias="SPIEN" alias="enabled"/> <value>1</value> </entry> <entry> @@ -1597,14 +1597,14 @@ <key class="com.microchip.mcc.core.tokenManager.SettingKey" moduleName="Pin Module" registerAlias="IOCNA" settingAlias="IOCNA0"/> <value>disabled</value> </entry> - <entry> - <key class="com.microchip.mcc.core.tokenManager.CustomKey" moduleName="SPI2" name="combinedMode"/> - <value>MASTER</value> - </entry> <entry> <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="SPI1" registerAlias="SPICON1H" settingAlias="AUDMONO" alias="stereo"/> <value>0</value> </entry> + <entry> + <key class="com.microchip.mcc.core.tokenManager.CustomKey" moduleName="SPI2" name="combinedMode"/> + <value>MASTER</value> + </entry> <entry> <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="IC2" registerAlias="ICCON1" settingAlias="ICTSEL" alias="FOSC/2"/> <value>7</value> @@ -1641,14 +1641,14 @@ <key class="com.microchip.mcc.core.tokenManager.SettingKey" moduleName="Pin Module" registerAlias="RPINR7" settingAlias="IC1R"/> <value>3</value> </entry> - <entry> - <key class="com.microchip.mcc.core.tokenManager.SettingKey" moduleName="TMR3" registerAlias="TCON" settingAlias="TECS"/> - <value>SOSC</value> - </entry> <entry> <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="IC1" registerAlias="ICCON1" settingAlias="ICM" alias="Prescaler Capture mode: Every 16th rising"/> <value>5</value> </entry> + <entry> + <key class="com.microchip.mcc.core.tokenManager.SettingKey" moduleName="TMR3" registerAlias="TCON" settingAlias="TECS"/> + <value>SOSC</value> + </entry> <entry> <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="Pin Module" registerAlias="IOCNB" settingAlias="IOCNB10" alias="disabled"/> <value>0</value> @@ -1761,14 +1761,14 @@ <key class="com.microchip.mcc.core.tokenManager.SettingKey" moduleName="I2C1" registerAlias="I2CSTAT" settingAlias="D_nA"/> <value>disabled</value> </entry> - <entry> - <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="TMR3" registerAlias="TCON" settingAlias="TCS" alias="External"/> - <value>1</value> - </entry> <entry> <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="SPI2" registerAlias="SPICON1H" settingAlias="AUDMOD" alias="I2S"/> <value>0</value> </entry> + <entry> + <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="TMR3" registerAlias="TCON" settingAlias="TCS" alias="External"/> + <value>1</value> + </entry> <entry> <key class="com.microchip.mcc.core.tokenManager.SettingKey" moduleName="Pin Module" registerAlias="IOCPUA" settingAlias="IOCPUA3"/> <value>disabled</value> @@ -2163,7 +2163,7 @@ </entry> <entry> <key class="com.microchip.mcc.core.tokenManager.CustomKey" moduleName="Pin Module" name="Custom Name RA3"/> - <value/> + <value>IO_RA3</value> </entry> <entry> <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="INTERNAL OSCILLATOR" registerAlias="PMD3" settingAlias="PMPMD" alias="disabled"/> @@ -2175,7 +2175,7 @@ </entry> <entry> <key class="com.microchip.mcc.core.tokenManager.CustomKey" moduleName="Pin Module" name="Custom Name RA4"/> - <value/> + <value>IO_RA4</value> </entry> <entry> <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="Pin Module" registerAlias="IOCPA" settingAlias="IOCPA4" alias="enabled"/> @@ -2393,14 +2393,14 @@ <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="SPI3" registerAlias="SPICON1H" settingAlias="IGNTUR" alias="disabled"/> <value>0</value> </entry> - <entry> - <key class="com.microchip.mcc.core.tokenManager.CustomKey" moduleName="TMR3" name="TimerFrequency"/> - <value>4000000</value> - </entry> <entry> <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="SPI3" registerAlias="SPICON1L" settingAlias="MSTEN" alias="Slave"/> <value>0</value> </entry> + <entry> + <key class="com.microchip.mcc.core.tokenManager.CustomKey" moduleName="TMR3" name="TimerFrequency"/> + <value>4000000</value> + </entry> <entry> <key class="com.microchip.mcc.core.tokenManager.RegisterKey" moduleName="INTERNAL OSCILLATOR" registerAlias="OSCFDIV"/> <value>0</value> @@ -2533,14 +2533,14 @@ <key class="com.microchip.mcc.core.tokenManager.SettingKey" moduleName="SPI2" registerAlias="SPICON1L" settingAlias="CKE"/> <value>Idle to Active</value> </entry> - <entry> - <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="CMP1" registerAlias="CMCON" settingAlias="CPOL" alias="Not Inverted"/> - <value>0</value> - </entry> <entry> <key class="com.microchip.mcc.core.tokenManager.SettingKey" moduleName="SPI1" registerAlias="SPISTATL" settingAlias="SPITBF"/> <value>disabled</value> </entry> + <entry> + <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="CMP1" registerAlias="CMCON" settingAlias="CPOL" alias="Not Inverted"/> + <value>0</value> + </entry> <entry> <key class="com.microchip.mcc.core.tokenManager.RegisterKey" moduleName="Pin Module" registerAlias="ANSB"/> <value>53764</value> @@ -2577,14 +2577,14 @@ <key class="com.microchip.mcc.core.tokenManager.SettingKey" moduleName="Pin Module" registerAlias="RPINR19" settingAlias="U2CTSR"/> <value>63</value> </entry> - <entry> - <key class="com.microchip.mcc.core.tokenManager.SettingKey" moduleName="CVR" registerAlias="CVRCON" settingAlias="CVREFM"/> - <value>Band gap voltage</value> - </entry> <entry> <key class="com.microchip.mcc.core.tokenManager.CustomKey" moduleName="TMR3" name="customPR"/> <value>65535</value> </entry> + <entry> + <key class="com.microchip.mcc.core.tokenManager.SettingKey" moduleName="CVR" registerAlias="CVRCON" settingAlias="CVREFM"/> + <value>Band gap voltage</value> + </entry> <entry> <key class="com.microchip.mcc.core.tokenManager.CustomKey" moduleName="SPI3" name="combinedMode"/> <value>MASTER</value> @@ -3049,14 +3049,14 @@ <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="INTERNAL OSCILLATOR" registerAlias="OSCTUN" settingAlias="TUN" alias="Center Frequency+0.094%"/> <value>2</value> </entry> - <entry> - <key class="com.microchip.mcc.core.tokenManager.SettingKey" moduleName="SPI1" registerAlias="SPICON1L" settingAlias="MODE32"/> - <value>disabled</value> - </entry> <entry> <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="IC2" registerAlias="ICCON2" settingAlias="ICTRIG" alias="Trigger"/> <value>1</value> </entry> + <entry> + <key class="com.microchip.mcc.core.tokenManager.SettingKey" moduleName="SPI1" registerAlias="SPICON1L" settingAlias="MODE32"/> + <value>disabled</value> + </entry> <entry> <key class="com.microchip.mcc.core.tokenManager.SettingKey" moduleName="Pin Module" registerAlias="IOCFB" settingAlias="IOCFB4"/> <value>disabled</value> @@ -3194,25 +3194,25 @@ <value>0</value> </entry> <entry> - <key class="com.microchip.mcc.core.tokenManager.SettingKey" moduleName="TMR3" registerAlias="TCON" settingAlias="TGATE"/> + <key class="com.microchip.mcc.core.tokenManager.SettingKey" moduleName="IC3" registerAlias="ICCON1" settingAlias="ICBNE"/> <value>disabled</value> </entry> <entry> - <key class="com.microchip.mcc.core.tokenManager.SettingKey" moduleName="IC3" registerAlias="ICCON1" settingAlias="ICBNE"/> + <key class="com.microchip.mcc.core.tokenManager.SettingKey" moduleName="TMR3" registerAlias="TCON" settingAlias="TGATE"/> <value>disabled</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.OptionKey" moduleName="CVR" registerAlias="CVRCON" settingAlias="CVREN" alias="Powered Off"/> - <value>0</value> - </entry> <entry> <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="IC3" registerAlias="ICCON1" settingAlias="ICM" alias="Prescaler Capture mode: Every 16th rising"/> <value>5</value> </entry> + <entry> + <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="CVR" registerAlias="CVRCON" settingAlias="CVREN" alias="Powered Off"/> + <value>0</value> + </entry> <entry> <key class="com.microchip.mcc.core.tokenManager.SettingKey" moduleName="IC1" registerAlias="ICCON1" settingAlias="ICBNE"/> <value>disabled</value> @@ -3306,11 +3306,11 @@ <value>1</value> </entry> <entry> - <key class="com.microchip.mcc.core.tokenManager.CustomKey" moduleName="SPI1" name="OpMode"/> + <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="IC2" registerAlias="ICCON1" settingAlias="ICOV" alias="enabled"/> <value>1</value> </entry> <entry> - <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="IC2" registerAlias="ICCON1" settingAlias="ICOV" alias="enabled"/> + <key class="com.microchip.mcc.core.tokenManager.CustomKey" moduleName="SPI1" name="OpMode"/> <value>1</value> </entry> <entry> @@ -3469,14 +3469,14 @@ <key class="com.microchip.mcc.core.tokenManager.CustomKey" moduleName="Pin Module" name="Custom Name VSS2"/> <value/> </entry> - <entry> - <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="SPI2" registerAlias="SPISTATL" settingAlias="SPIROV" alias="enabled"/> - <value>1</value> - </entry> <entry> <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="IC2" registerAlias="ICCON2" settingAlias="SYNCSEL" alias="CMP1"/> <value>24</value> </entry> + <entry> + <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="SPI2" registerAlias="SPISTATL" settingAlias="SPIROV" alias="enabled"/> + <value>1</value> + </entry> <entry> <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="Pin Module" registerAlias="ODCB" settingAlias="ODCB14" alias="enabled"/> <value>1</value> @@ -3585,14 +3585,14 @@ <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="INTERNAL OSCILLATOR" registerAlias="OSCTUN" settingAlias="TUN" alias="Center Frequency+0.188%"/> <value>4</value> </entry> - <entry> - <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="SPI1" registerAlias="SPISTATL" settingAlias="SPITUR" alias="enabled"/> - <value>1</value> - </entry> <entry> <key class="com.microchip.mcc.core.tokenManager.SettingKey" moduleName="IC2" registerAlias="ICCON1" settingAlias="ICI"/> <value>Every</value> </entry> + <entry> + <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="SPI1" registerAlias="SPISTATL" settingAlias="SPITUR" alias="enabled"/> + <value>1</value> + </entry> <entry> <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="SPI2" registerAlias="SPICON1H" settingAlias="AUDMONO" alias="stereo"/> <value>0</value> @@ -3605,14 +3605,14 @@ <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="SPI2" registerAlias="SPICON1L" settingAlias="CKE" alias="Idle to Active"/> <value>0</value> </entry> - <entry> - <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="SPI3" registerAlias="SPICON1H" settingAlias="IGNROV" alias="disabled"/> - <value>0</value> - </entry> <entry> <key class="com.microchip.mcc.core.tokenManager.SettingKey" moduleName="IC3" registerAlias="ICCON1" settingAlias="ICI"/> <value>Every</value> </entry> + <entry> + <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="SPI3" registerAlias="SPICON1H" settingAlias="IGNROV" alias="disabled"/> + <value>0</value> + </entry> <entry> <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="Pin Module" registerAlias="IOCPB" settingAlias="IOCPB9" alias="disabled"/> <value>0</value> @@ -3629,14 +3629,14 @@ <key class="com.microchip.mcc.core.tokenManager.SettingKey" moduleName="System Module" registerAlias="FWDT" settingAlias="WINDIS"/> <value>OFF</value> </entry> - <entry> - <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="CVR" registerAlias="CVRCON" settingAlias="CVREFM" alias="Band gap voltage"/> - <value>0</value> - </entry> <entry> <key class="com.microchip.mcc.core.tokenManager.SettingKey" moduleName="SPI2" registerAlias="SPISTATL" settingAlias="SPIROV"/> <value>disabled</value> </entry> + <entry> + <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="CVR" registerAlias="CVRCON" settingAlias="CVREFM" alias="Band gap voltage"/> + <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> @@ -3685,6 +3685,10 @@ <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="IC3" registerAlias="ICI_INT" settingAlias="enable"/> + <value>disabled</value> + </entry> <entry> <key class="com.microchip.mcc.core.tokenManager.SettingKey" moduleName="SPI2" registerAlias="SPICON1H" settingAlias="SPISGNEXT"/> <value>not sign-extended</value> @@ -3693,10 +3697,6 @@ <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="SPI2" registerAlias="SPIIMSKL" settingAlias="SPIRBEN" alias="enabled"/> <value>1</value> </entry> - <entry> - <key class="com.microchip.mcc.core.tokenManager.SettingKey" moduleName="IC3" registerAlias="ICI_INT" settingAlias="enable"/> - <value>disabled</value> - </entry> <entry> <key class="com.microchip.mcc.core.tokenManager.SettingKey" moduleName="SPI1" registerAlias="SPICON1H" settingAlias="SPISGNEXT"/> <value>not sign-extended</value> @@ -4257,14 +4257,14 @@ <key class="com.microchip.mcc.core.tokenManager.SettingKey" moduleName="SPI2" registerAlias="SPIRXI" settingAlias="enable"/> <value>disabled</value> </entry> - <entry> - <key class="com.microchip.mcc.core.tokenManager.SettingKey" moduleName="SPI1" registerAlias="SPIRXI" settingAlias="enable"/> - <value>disabled</value> - </entry> <entry> <key class="com.microchip.mcc.core.tokenManager.RegisterKey" moduleName="FLASH" registerAlias="NVMCON"/> <value>1</value> </entry> + <entry> + <key class="com.microchip.mcc.core.tokenManager.SettingKey" moduleName="SPI1" registerAlias="SPIRXI" settingAlias="enable"/> + <value>disabled</value> + </entry> <entry> <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="System Module" registerAlias="FOSCSEL" settingAlias="FNOSC" alias="FRC"/> <value>0</value> @@ -4353,14 +4353,14 @@ <key class="com.microchip.mcc.core.tokenManager.CustomKey" moduleName="Pin Module" name="iocUserSet VCAP1"/> <value>disabled</value> </entry> - <entry> - <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="SPI2" registerAlias="SPICON1H" settingAlias="IGNTUR" alias="enabled"/> - <value>1</value> - </entry> <entry> <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="IC3" registerAlias="ICCON2" settingAlias="SYNCSEL" alias="MCCP3 Sync\Trigger"/> <value>6</value> </entry> + <entry> + <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="SPI2" registerAlias="SPICON1H" settingAlias="IGNTUR" alias="enabled"/> + <value>1</value> + </entry> <entry> <key class="com.microchip.mcc.core.tokenManager.SettingKey" moduleName="Pin Module" registerAlias="IOCPB" settingAlias="IOCPB3"/> <value>disabled</value> @@ -4375,7 +4375,7 @@ </entry> <entry> <key class="com.microchip.mcc.core.tokenManager.SettingKey" moduleName="Pin Module" registerAlias="TRISA" settingAlias="TRISA4"/> - <value>input</value> + <value>output</value> </entry> <entry> <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="SPI3" registerAlias="SPICON1H" settingAlias="FRMSYNC" alias="disabled"/> @@ -4465,14 +4465,14 @@ <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="Pin Module" registerAlias="IOCPDB" settingAlias="IOCPDB3" alias="enabled"/> <value>1</value> </entry> - <entry> - <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="SPI2" registerAlias="SPICON1L" settingAlias="DISSDO" alias="disabled"/> - <value>0</value> - </entry> <entry> <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="SPI1" registerAlias="SPICON1L" settingAlias="SMP" alias="End"/> <value>1</value> </entry> + <entry> + <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="SPI2" registerAlias="SPICON1L" settingAlias="DISSDO" alias="disabled"/> + <value>0</value> + </entry> <entry> <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="Pin Module" registerAlias="IOCPDB" settingAlias="IOCPDB5" alias="disabled"/> <value>0</value> @@ -4643,7 +4643,7 @@ </entry> <entry> <key class="com.microchip.mcc.core.tokenManager.CustomKey" moduleName="Pin Module" name="RB4"/> - <value>disabled</value> + <value>output</value> </entry> <entry> <key class="com.microchip.mcc.core.tokenManager.CustomKey" moduleName="Pin Module" name="RB7"/> @@ -4693,14 +4693,14 @@ <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="SPI3" registerAlias="SPISTATL" settingAlias="FRMERR" alias="enabled"/> <value>1</value> </entry> - <entry> - <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="SPI2" registerAlias="SPICON1H" settingAlias="AUDEN" alias="disabled"/> - <value>0</value> - </entry> <entry> <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="SPI1" registerAlias="SPICON1L" settingAlias="SSEN" alias="enabled"/> <value>1</value> </entry> + <entry> + <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="SPI2" registerAlias="SPICON1H" settingAlias="AUDEN" alias="disabled"/> + <value>0</value> + </entry> <entry> <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="SPI1" registerAlias="SPICON1L" settingAlias="SPISIDL" alias="enabled"/> <value>1</value> @@ -4729,6 +4729,10 @@ <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="IC3" registerAlias="ICCON2" settingAlias="SYNCSEL" alias="OC1"/> <value>1</value> </entry> + <entry> + <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="IC3" registerAlias="ICCON2" settingAlias="SYNCSEL" alias="OC2"/> + <value>2</value> + </entry> <entry> <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="SPI3" registerAlias="SPICON1L" settingAlias="DISSCK" alias="enabled"/> <value>1</value> @@ -4737,10 +4741,6 @@ <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="CMP2" registerAlias="CMCON" settingAlias="CCH" alias="Internal selectable reference voltage"/> <value>3</value> </entry> - <entry> - <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="IC3" registerAlias="ICCON2" settingAlias="SYNCSEL" alias="OC2"/> - <value>2</value> - </entry> <entry> <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="Pin Module" registerAlias="IOCPDA" settingAlias="IOCPDA4" alias="enabled"/> <value>1</value> @@ -4817,14 +4817,14 @@ <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="CVR" registerAlias="CVRCON" settingAlias="CVROE" alias="enabled"/> - <value>1</value> - </entry> <entry> <key class="com.microchip.mcc.core.tokenManager.SettingKey" moduleName="SPI3" registerAlias="SPIIMSKL" settingAlias="FRMERREN"/> <value>disabled</value> </entry> + <entry> + <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="CVR" registerAlias="CVRCON" settingAlias="CVROE" alias="enabled"/> + <value>1</value> + </entry> <entry> <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="Pin Module" registerAlias="IOCFA" settingAlias="IOCFA1" alias="enabled"/> <value>1</value> @@ -4875,11 +4875,11 @@ </entry> <entry> <key class="com.microchip.mcc.core.tokenManager.CustomKey" moduleName="Pin Module" name="RA4"/> - <value>disabled</value> + <value>output</value> </entry> <entry> <key class="com.microchip.mcc.core.tokenManager.CustomKey" moduleName="Pin Module" name="RA3"/> - <value>disabled</value> + <value>output</value> </entry> <entry> <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="RESET" registerAlias="RCON" settingAlias="WDTO" alias="enabled"/> @@ -4909,14 +4909,14 @@ <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.OptionKey" moduleName="IC1" registerAlias="ICCON1" settingAlias="ICTSEL" alias="FOSC/2"/> - <value>7</value> - </entry> <entry> <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="IC2" registerAlias="ICCON1" settingAlias="ICM" alias="Prescaler Capture mode: Every 4th rising"/> <value>4</value> </entry> + <entry> + <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="IC1" registerAlias="ICCON1" settingAlias="ICTSEL" alias="FOSC/2"/> + <value>7</value> + </entry> <entry> <key class="com.microchip.mcc.core.tokenManager.SettingKey" moduleName="CVR" registerAlias="CVRCON" settingAlias="CVROE"/> <value>disabled</value> @@ -4933,14 +4933,14 @@ <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="Pin Module" registerAlias="IOCFB" settingAlias="IOCFB0" alias="enabled"/> <value>1</value> </entry> - <entry> - <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="SPI2" registerAlias="SPICON1L" settingAlias="CKP" alias="Idle:High, Active:Low"/> - <value>1</value> - </entry> <entry> <key class="com.microchip.mcc.core.tokenManager.SettingKey" moduleName="FLASH" registerAlias="NVMCON" settingAlias="SFTSWP"/> <value>Awaiting panel swap using BOOTSWP instruction</value> </entry> + <entry> + <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="SPI2" registerAlias="SPICON1L" settingAlias="CKP" alias="Idle:High, Active:Low"/> + <value>1</value> + </entry> <entry> <key class="com.microchip.mcc.core.tokenManager.CustomKey" moduleName="Pin Module" name="Custom Name AVDD"/> <value/> @@ -5233,14 +5233,14 @@ <key class="com.microchip.mcc.core.tokenManager.RegisterKey" moduleName="IC1" registerAlias="ICCON1"/> <value>2</value> </entry> - <entry> - <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="SPI1" registerAlias="SPICON1L" settingAlias="SSEN" alias="disabled"/> - <value>0</value> - </entry> <entry> <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="IC1" registerAlias="ICCON2" settingAlias="SYNCSEL" alias="TMR2"/> <value>12</value> </entry> + <entry> + <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="SPI1" registerAlias="SPICON1L" settingAlias="SSEN" alias="disabled"/> + <value>0</value> + </entry> <entry> <key class="com.microchip.mcc.core.tokenManager.SettingKey" moduleName="System Module" registerAlias="FOSC" settingAlias="PLLSS"/> <value>PLL_FRC</value> @@ -5379,7 +5379,7 @@ </entry> <entry> <key class="com.microchip.mcc.core.tokenManager.RegisterKey" moduleName="Pin Module" registerAlias="TRISB"/> - <value>27515</value> + <value>27499</value> </entry> <entry> <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="FLASH" registerAlias="NVMCON" settingAlias="NVMSIDL" alias="Flash voltage regulator is active during Idle mode"/> @@ -5462,19 +5462,19 @@ <value>0</value> </entry> <entry> - <key class="com.microchip.mcc.core.tokenManager.SettingKey" moduleName="SPI1" registerAlias="SPIIMSKL" settingAlias="SPITUREN"/> + <key class="com.microchip.mcc.core.tokenManager.SettingKey" moduleName="IC2" registerAlias="ICCON2" settingAlias="TRIGSTAT"/> <value>disabled</value> </entry> <entry> - <key class="com.microchip.mcc.core.tokenManager.SettingKey" moduleName="IC2" registerAlias="ICCON2" settingAlias="TRIGSTAT"/> + <key class="com.microchip.mcc.core.tokenManager.SettingKey" moduleName="SPI1" registerAlias="SPIIMSKL" settingAlias="SPITUREN"/> <value>disabled</value> </entry> <entry> - <key class="com.microchip.mcc.core.tokenManager.SettingKey" moduleName="SPI2" registerAlias="SPIIMSKL" settingAlias="SPITUREN"/> + <key class="com.microchip.mcc.core.tokenManager.SettingKey" moduleName="IC1" registerAlias="ICCON2" settingAlias="TRIGSTAT"/> <value>disabled</value> </entry> <entry> - <key class="com.microchip.mcc.core.tokenManager.SettingKey" moduleName="IC1" registerAlias="ICCON2" settingAlias="TRIGSTAT"/> + <key class="com.microchip.mcc.core.tokenManager.SettingKey" moduleName="SPI2" registerAlias="SPIIMSKL" settingAlias="SPITUREN"/> <value>disabled</value> </entry> <entry> @@ -5489,14 +5489,14 @@ <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="CVR" registerAlias="ANCFG" settingAlias="VBG2EN" alias="disabled"/> <value>0</value> </entry> - <entry> - <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="CMP3" registerAlias="CMCON" settingAlias="CON" alias="disabled"/> - <value>0</value> - </entry> <entry> <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="IC1" registerAlias="ICCON2" settingAlias="SYNCSEL" alias="CMP3"/> <value>26</value> </entry> + <entry> + <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="CMP3" registerAlias="CMCON" settingAlias="CON" 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.094%"/> <value>62</value> @@ -5545,14 +5545,14 @@ <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="CMP2" registerAlias="CMCON" settingAlias="EVPOL" alias="Disabled"/> <value>0</value> </entry> - <entry> - <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="SPI1" registerAlias="SPISTATL" settingAlias="SPIROV" alias="enabled"/> - <value>1</value> - </entry> <entry> <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="IC1" registerAlias="ICCON2" settingAlias="SYNCSEL" alias="MCCP3 Sync\Trigger"/> <value>6</value> </entry> + <entry> + <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="SPI1" registerAlias="SPISTATL" settingAlias="SPIROV" alias="enabled"/> + <value>1</value> + </entry> <entry> <key class="com.microchip.mcc.core.tokenManager.SettingKey" moduleName="SPI1" registerAlias="SPISTATL" settingAlias="SPITUR"/> <value>disabled</value> @@ -5597,14 +5597,14 @@ <key class="com.microchip.mcc.core.tokenManager.SettingKey" moduleName="INTERNAL OSCILLATOR" registerAlias="OSCTUN" settingAlias="STORPOL"/> <value>Interrupt when STOR is 1</value> </entry> - <entry> - <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="CMP3" registerAlias="CMCON" settingAlias="EVPOL" alias="Low to High : Inverted"/> - <value>2</value> - </entry> <entry> <key class="com.microchip.mcc.core.tokenManager.RegisterKey" moduleName="SPI1" registerAlias="SPIBUFH"/> <value>0</value> </entry> + <entry> + <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="CMP3" registerAlias="CMCON" settingAlias="EVPOL" alias="Low to High : Inverted"/> + <value>2</value> + </entry> <entry> <key class="com.microchip.mcc.core.tokenManager.RegisterKey" moduleName="SPI2" registerAlias="SPIBUFH"/> <value>0</value> @@ -5641,14 +5641,14 @@ <key class="com.microchip.mcc.core.tokenManager.RegisterKey" moduleName="CMP2" registerAlias="CMCON"/> <value>57361</value> </entry> - <entry> - <key class="com.microchip.mcc.core.tokenManager.RegisterKey" moduleName="CMP3" registerAlias="CMCON"/> - <value>57360</value> - </entry> <entry> <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="IC1" registerAlias="ICCON2" settingAlias="ICTRIG" alias="Trigger"/> <value>1</value> </entry> + <entry> + <key class="com.microchip.mcc.core.tokenManager.RegisterKey" moduleName="CMP3" registerAlias="CMCON"/> + <value>57360</value> + </entry> <entry> <key class="com.microchip.mcc.core.tokenManager.SettingKey" moduleName="Pin Module" registerAlias="RPINR21" settingAlias="SS1R"/> <value>63</value> @@ -5803,7 +5803,7 @@ </entry> <entry> <key class="com.microchip.mcc.core.tokenManager.RegisterKey" moduleName="Pin Module" registerAlias="TRISA"/> - <value>20</value> + <value>4</value> </entry> <entry> <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="I2C1" registerAlias="I2CCONH" settingAlias="PCIE" alias="disabled"/> @@ -5905,14 +5905,14 @@ <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.CustomKey" moduleName="SPI2" name="SPI2_SPITXIISRFunction"/> - <value>ISR_SPI2_SPITXI</value> - </entry> <entry> <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="IC3" registerAlias="ICCON1" settingAlias="ICI" alias="Every 4th event"/> <value>3</value> </entry> + <entry> + <key class="com.microchip.mcc.core.tokenManager.CustomKey" moduleName="SPI2" name="SPI2_SPITXIISRFunction"/> + <value>ISR_SPI2_SPITXI</value> + </entry> <entry> <key class="com.microchip.mcc.core.tokenManager.SettingKey" moduleName="RESET" registerAlias="RCON" settingAlias="BOR"/> <value>disabled</value> @@ -6198,11 +6198,11 @@ <value>1</value> </entry> <entry> - <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="SPI2" registerAlias="SPIIMSKL" settingAlias="SPIROVEN" alias="enabled"/> + <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="SPI1" registerAlias="SPISTATL" settingAlias="SPIRBF" alias="enabled"/> <value>1</value> </entry> <entry> - <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="SPI1" registerAlias="SPISTATL" settingAlias="SPIRBF" alias="enabled"/> + <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="SPI2" registerAlias="SPIIMSKL" settingAlias="SPIROVEN" alias="enabled"/> <value>1</value> </entry> <entry> @@ -6321,14 +6321,14 @@ <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="Pin Module" registerAlias="IOCFB" settingAlias="IOCFB3" alias="enabled"/> <value>1</value> </entry> - <entry> - <key class="com.microchip.mcc.core.tokenManager.SettingKey" moduleName="CVR" registerAlias="CVRCON" settingAlias="CVREN"/> - <value>Powered On</value> - </entry> <entry> <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="SPI2" registerAlias="SPICON1L" settingAlias="SMP" alias="Middle"/> <value>0</value> </entry> + <entry> + <key class="com.microchip.mcc.core.tokenManager.SettingKey" moduleName="CVR" registerAlias="CVRCON" settingAlias="CVREN"/> + <value>Powered On</value> + </entry> <entry> <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="CMP1" registerAlias="CMCON" settingAlias="EVPOL" alias="High to Low : Not Inverted"/> <value>2</value> @@ -6501,14 +6501,14 @@ <key class="com.microchip.mcc.core.tokenManager.SettingKey" moduleName="System Module" registerAlias="FOSCSEL" settingAlias="FNOSC"/> <value>FRC</value> </entry> - <entry> - <key class="com.microchip.mcc.core.tokenManager.CustomKey" moduleName="SPI2" name="SPI2_SPIRXIISRFunction"/> - <value>ISR_SPI2_SPIRXI</value> - </entry> <entry> <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="SPI1" registerAlias="SPICON1H" settingAlias="IGNTUR" alias="enabled"/> <value>1</value> </entry> + <entry> + <key class="com.microchip.mcc.core.tokenManager.CustomKey" moduleName="SPI2" name="SPI2_SPIRXIISRFunction"/> + <value>ISR_SPI2_SPIRXI</value> + </entry> <entry> <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="Pin Module" registerAlias="IOCPUB" settingAlias="IOCPUB8" alias="disabled"/> <value>0</value> @@ -6801,22 +6801,22 @@ <key class="com.microchip.mcc.core.tokenManager.RegisterKey" moduleName="CMP2" registerAlias="CMSTAT"/> <value>0</value> </entry> - <entry> - <key class="com.microchip.mcc.core.tokenManager.RegisterKey" moduleName="CMP1" registerAlias="CMSTAT"/> - <value>0</value> - </entry> <entry> <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="SPI1" registerAlias="SPIIMSKL" settingAlias="BUSYEN" alias="enabled"/> <value>1</value> </entry> <entry> - <key class="com.microchip.mcc.core.tokenManager.RegisterKey" moduleName="CMP3" registerAlias="CMSTAT"/> + <key class="com.microchip.mcc.core.tokenManager.RegisterKey" moduleName="CMP1" registerAlias="CMSTAT"/> <value>0</value> </entry> <entry> <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="SPI3" registerAlias="SPIIMSKL" settingAlias="SPIROVEN" alias="enabled"/> <value>1</value> </entry> + <entry> + <key class="com.microchip.mcc.core.tokenManager.RegisterKey" moduleName="CMP3" registerAlias="CMSTAT"/> + <value>0</value> + </entry> <entry> <key class="com.microchip.mcc.core.tokenManager.SettingKey" moduleName="Pin Module" registerAlias="ODCB" settingAlias="ODCB6"/> <value>disabled</value> @@ -7266,11 +7266,11 @@ <value>1</value> </entry> <entry> - <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="CMP2" registerAlias="CMSTAT" settingAlias="C2OUT" alias="disabled"/> + <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="IC1" registerAlias="ICCON2" settingAlias="IC32" alias="disabled"/> <value>0</value> </entry> <entry> - <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="IC1" registerAlias="ICCON2" settingAlias="IC32" alias="disabled"/> + <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="CMP2" registerAlias="CMSTAT" settingAlias="C2OUT" alias="disabled"/> <value>0</value> </entry> <entry> @@ -7657,14 +7657,14 @@ <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="I2C1" registerAlias="I2CCONH" settingAlias="AHEN" alias="enabled"/> <value>1</value> </entry> - <entry> - <key class="com.microchip.mcc.core.tokenManager.SettingKey" moduleName="SPI3" registerAlias="SPICON1H" settingAlias="FRMPOL"/> - <value>disabled</value> - </entry> <entry> <key class="com.microchip.mcc.core.tokenManager.CustomKey" moduleName="IC3" name="Trigger Source Mode"/> <value/> </entry> + <entry> + <key class="com.microchip.mcc.core.tokenManager.SettingKey" moduleName="SPI3" registerAlias="SPICON1H" settingAlias="FRMPOL"/> + <value>disabled</value> + </entry> <entry> <key class="com.microchip.mcc.core.tokenManager.SettingKey" moduleName="Pin Module" registerAlias="IOCPA" settingAlias="IOCPA2"/> <value>disabled</value> @@ -7786,11 +7786,11 @@ <value>enabled</value> </entry> <entry> - <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="SPI1" registerAlias="SPICON1H" settingAlias="FRMPOL" alias="disabled"/> + <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="FLASH" registerAlias="NVMCON" settingAlias="SFTSWP" alias="Awaiting panel swap using BOOTSWP instruction"/> <value>0</value> </entry> <entry> - <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="FLASH" registerAlias="NVMCON" settingAlias="SFTSWP" alias="Awaiting panel swap using BOOTSWP instruction"/> + <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="SPI1" registerAlias="SPICON1H" settingAlias="FRMPOL" alias="disabled"/> <value>0</value> </entry> <entry> @@ -7805,14 +7805,14 @@ <key class="com.microchip.mcc.core.tokenManager.RegisterKey" moduleName="INTERNAL OSCILLATOR" registerAlias="CLKDIV"/> <value>12288</value> </entry> - <entry> - <key class="com.microchip.mcc.core.tokenManager.CustomKey" moduleName="TMR3" name="prescaleDivisor"/> - <value>8</value> - </entry> <entry> <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="SPI2" registerAlias="SPICON1L" settingAlias="MCLKEN" alias="MCLK"/> <value>1</value> </entry> + <entry> + <key class="com.microchip.mcc.core.tokenManager.CustomKey" moduleName="TMR3" name="prescaleDivisor"/> + <value>8</value> + </entry> <entry> <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="SPI1" registerAlias="SPIIMSKL" settingAlias="SPIRBFEN" alias="enabled"/> <value>1</value> @@ -7889,14 +7889,14 @@ <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="TMR3" registerAlias="TCON" settingAlias="TECS" alias="TMRCK"/> - <value>3</value> - </entry> <entry> <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="SPI3" registerAlias="SPICON1H" settingAlias="URDTEN" alias="enabled"/> <value>1</value> </entry> + <entry> + <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="TMR3" registerAlias="TCON" settingAlias="TECS" alias="TMRCK"/> + <value>3</value> + </entry> <entry> <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="Pin Module" registerAlias="ANSB" settingAlias="ANSELB15" alias="digital"/> <value>0</value> @@ -7982,11 +7982,11 @@ <value>disabled</value> </entry> <entry> - <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="CMP2" registerAlias="CMCON" settingAlias="CEVT" alias="disabled"/> + <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="SPI1" registerAlias="SPICON1L" settingAlias="DISSCK" alias="disabled"/> <value>0</value> </entry> <entry> - <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="SPI1" registerAlias="SPICON1L" settingAlias="DISSCK" alias="disabled"/> + <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="CMP2" registerAlias="CMCON" settingAlias="CEVT" alias="disabled"/> <value>0</value> </entry> <entry> @@ -8137,26 +8137,26 @@ <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="System Module" registerAlias="FOSC" settingAlias="POSCMOD" alias="EC"/> <value>0</value> </entry> - <entry> - <key class="com.microchip.mcc.core.tokenManager.SettingKey" moduleName="SPI3" registerAlias="SPITXI" settingAlias="context"/> - <value>OFF</value> - </entry> <entry> <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="IC3" registerAlias="ICCON2" settingAlias="SYNCSEL" alias="TMR1"/> <value>11</value> </entry> <entry> - <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="System Module" registerAlias="FWDT" settingAlias="WDTPS" alias="PS128"/> - <value>7</value> + <key class="com.microchip.mcc.core.tokenManager.SettingKey" moduleName="SPI3" registerAlias="SPITXI" settingAlias="context"/> + <value>OFF</value> </entry> <entry> - <key class="com.microchip.mcc.core.tokenManager.SettingKey" moduleName="SPI2" registerAlias="SPITXI" settingAlias="context"/> - <value>OFF</value> + <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="System Module" registerAlias="FWDT" settingAlias="WDTPS" alias="PS128"/> + <value>7</value> </entry> <entry> <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="IC3" registerAlias="ICCON2" settingAlias="SYNCSEL" alias="TMR2"/> <value>12</value> </entry> + <entry> + <key class="com.microchip.mcc.core.tokenManager.SettingKey" moduleName="SPI2" registerAlias="SPITXI" settingAlias="context"/> + <value>OFF</value> + </entry> <entry> <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="Pin Module" registerAlias="IOCPUB" settingAlias="IOCPUB10" alias="enabled"/> <value>1</value> @@ -8165,14 +8165,14 @@ <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.SettingKey" moduleName="SPI1" registerAlias="SPITXI" settingAlias="context"/> - <value>OFF</value> - </entry> <entry> <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="IC3" registerAlias="ICCON2" settingAlias="SYNCSEL" alias="TMR3"/> <value>13</value> </entry> + <entry> + <key class="com.microchip.mcc.core.tokenManager.SettingKey" moduleName="SPI1" registerAlias="SPITXI" settingAlias="context"/> + <value>OFF</value> + </entry> <entry> <key class="com.microchip.mcc.core.tokenManager.RegisterKey" moduleName="SPI1" registerAlias="SPIURDTH"/> <value>0</value> @@ -8293,14 +8293,14 @@ <key class="com.microchip.mcc.core.tokenManager.SettingKey" moduleName="System Module" registerAlias="FSEC" settingAlias="GSS"/> <value>DISABLED</value> </entry> - <entry> - <key class="com.microchip.mcc.core.tokenManager.RegisterKey" moduleName="SPI2" registerAlias="SPIIMSKH"/> - <value>0</value> - </entry> <entry> <key class="com.microchip.mcc.core.tokenManager.SettingKey" moduleName="IC1" registerAlias="ICI_INT" settingAlias="priority"/> <value>1</value> </entry> + <entry> + <key class="com.microchip.mcc.core.tokenManager.RegisterKey" moduleName="SPI2" registerAlias="SPIIMSKH"/> + <value>0</value> + </entry> <entry> <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="System Module" registerAlias="FOSCSEL" settingAlias="PLLMODE" alias="PLL96DIV12"/> <value>56</value> @@ -8373,14 +8373,14 @@ <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="I2C1" registerAlias="I2CSTAT" settingAlias="ACKSTAT" alias="disabled"/> <value>0</value> </entry> - <entry> - <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="IC1" registerAlias="ICCON2" settingAlias="SYNCSEL" alias="ADC1"/> - <value>27</value> - </entry> <entry> <key class="com.microchip.mcc.core.tokenManager.SettingKey" moduleName="IC3" registerAlias="ICI_INT" settingAlias="priority"/> <value>1</value> </entry> + <entry> + <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="IC1" registerAlias="ICCON2" settingAlias="SYNCSEL" alias="ADC1"/> + <value>27</value> + </entry> <entry> <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="INTERNAL OSCILLATOR" registerAlias="REFOCONL" settingAlias="ROSSLP" alias="enabled"/> <value>1</value> @@ -8519,7 +8519,7 @@ </entry> <entry> <key class="com.microchip.mcc.core.tokenManager.CustomKey" moduleName="Pin Module" name="Custom Name RB4"/> - <value/> + <value>IO_RB4</value> </entry> <entry> <key class="com.microchip.mcc.core.tokenManager.CustomKey" moduleName="Pin Module" name="Custom Name RB5"/> @@ -8606,11 +8606,11 @@ <value>0</value> </entry> <entry> - <key class="com.microchip.mcc.core.tokenManager.SettingKey" moduleName="SPI2" registerAlias="SPIURDTH" settingAlias="SPIURDTH"/> + <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="IC1" registerAlias="ICCON2" settingAlias="SYNCSEL" alias="None"/> <value>0</value> </entry> <entry> - <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="IC1" registerAlias="ICCON2" settingAlias="SYNCSEL" alias="None"/> + <key class="com.microchip.mcc.core.tokenManager.SettingKey" moduleName="SPI2" registerAlias="SPIURDTH" settingAlias="SPIURDTH"/> <value>0</value> </entry> <entry> @@ -8621,14 +8621,14 @@ <key class="com.microchip.mcc.core.tokenManager.RegisterKey" moduleName="SPI2" registerAlias="SPIURDTL"/> <value>0</value> </entry> - <entry> - <key class="com.microchip.mcc.core.tokenManager.RegisterKey" moduleName="SPI1" registerAlias="SPIURDTL"/> - <value>0</value> - </entry> <entry> <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="FLASH" registerAlias="NVMCON" settingAlias="SFTSWP" alias="Partitions successfully swapped using BOOTSWP instruction"/> <value>1</value> </entry> + <entry> + <key class="com.microchip.mcc.core.tokenManager.RegisterKey" moduleName="SPI1" registerAlias="SPIURDTL"/> + <value>0</value> + </entry> <entry> <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="INTERNAL OSCILLATOR" registerAlias="OSCTUN" settingAlias="TUN" alias="Center Frequency-1.175%"/> <value>39</value> @@ -8673,14 +8673,14 @@ <key class="com.microchip.mcc.core.tokenManager.SettingKey" moduleName="RESET" registerAlias="RCON" settingAlias="RETEN"/> <value>disabled</value> </entry> - <entry> - <key class="com.microchip.mcc.core.tokenManager.SettingKey" moduleName="TMR3" registerAlias="PR" settingAlias="PR"/> - <value>65535</value> - </entry> <entry> <key class="com.microchip.mcc.core.tokenManager.RegisterKey" moduleName="FLASH" registerAlias="NVMKEY"/> <value>0</value> </entry> + <entry> + <key class="com.microchip.mcc.core.tokenManager.SettingKey" moduleName="TMR3" registerAlias="PR" settingAlias="PR"/> + <value>65535</value> + </entry> <entry> <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="FLASH" registerAlias="NVMCON" settingAlias="WR" alias="Initiates a Flash memory program or erase operation"/> <value>1</value> @@ -8843,7 +8843,7 @@ </entry> <entry> <key class="com.microchip.mcc.core.tokenManager.RegisterKey" moduleName="I2C1" registerAlias="I2CADD"/> - <value>64</value> + <value>32</value> </entry> <entry> <key class="com.microchip.mcc.core.tokenManager.SettingKey" moduleName="Pin Module" registerAlias="RPINR6" settingAlias="ICM3R"/> @@ -8997,14 +8997,14 @@ <key class="com.microchip.mcc.core.tokenManager.SettingKey" moduleName="IC2" registerAlias="ICI_INT" settingAlias="context"/> <value>OFF</value> </entry> - <entry> - <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="SPI2" registerAlias="SPICON1H" settingAlias="FRMEN" alias="disabled"/> - <value>0</value> - </entry> <entry> <key class="com.microchip.mcc.core.tokenManager.SettingKey" moduleName="IC3" registerAlias="ICI_INT" settingAlias="context"/> <value>OFF</value> </entry> + <entry> + <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="SPI2" registerAlias="SPICON1H" settingAlias="FRMEN" alias="disabled"/> + <value>0</value> + </entry> <entry> <key class="com.microchip.mcc.core.tokenManager.SettingKey" moduleName="CVR" registerAlias="CVRCON" settingAlias="CVR"/> <value>8</value> @@ -9013,14 +9013,14 @@ <key class="com.microchip.mcc.core.tokenManager.CustomKey" moduleName="SPI3" name="SPI3_SPIRXIISRFunction"/> <value>ISR_SPI3_SPIRXI</value> </entry> - <entry> - <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="IC2" registerAlias="ICCON2" settingAlias="SYNCSEL" alias="MCCP4 Capture\Compare"/> - <value>22</value> - </entry> <entry> <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="IC3" registerAlias="ICCON2" settingAlias="SYNCSEL" alias="IC3"/> <value>18</value> </entry> + <entry> + <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="IC2" registerAlias="ICCON2" settingAlias="SYNCSEL" alias="MCCP4 Capture\Compare"/> + <value>22</value> + </entry> <entry> <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="Pin Module" registerAlias="IOCPUB" settingAlias="IOCPUB14" alias="disabled"/> <value>0</value> @@ -9183,7 +9183,7 @@ </entry> <entry> <key class="com.microchip.mcc.core.tokenManager.SettingKey" moduleName="Pin Module" registerAlias="TRISB" settingAlias="TRISB4"/> - <value>input</value> + <value>output</value> </entry> <entry> <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="Pin Module" registerAlias="IOCPUB" settingAlias="IOCPUB13" alias="disabled"/> @@ -9565,14 +9565,14 @@ <key class="com.microchip.mcc.core.tokenManager.CustomKey" moduleName="ICD" name="customMasterSlaveViewerEnable"/> <value>enabled</value> </entry> - <entry> - <key class="com.microchip.mcc.core.tokenManager.RegisterKey" moduleName="SPI1" registerAlias="SPICON1L"/> - <value>32801</value> - </entry> <entry> <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="IC1" registerAlias="ICCON1" settingAlias="ICTSEL" alias="TMR3"/> <value>0</value> </entry> + <entry> + <key class="com.microchip.mcc.core.tokenManager.RegisterKey" moduleName="SPI1" registerAlias="SPICON1L"/> + <value>32801</value> + </entry> <entry> <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="IC1" registerAlias="ICCON1" settingAlias="ICTSEL" alias="TMR2"/> <value>1</value> @@ -10186,20 +10186,20 @@ <value>disabled</value> </entry> <entry> - <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="SPI1" registerAlias="SPIIMSKL" settingAlias="SPIROVEN" alias="disabled"/> - <value>0</value> - </entry> - <entry> - <key class="com.microchip.mcc.core.tokenManager.SettingKey" moduleName="IC1" registerAlias="ICCON2" settingAlias="IC32"/> - <value>disabled</value> + <key class="com.microchip.mcc.core.tokenManager.CustomKey" moduleName="FLASH" name="FLASH_NVMIISRFunction"/> + <value>ISR_FLASH_NVMI</value> </entry> <entry> <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="IC3" registerAlias="ICCON2" settingAlias="SYNCSEL" alias="MCCP4 Capture\Compare"/> <value>22</value> </entry> <entry> - <key class="com.microchip.mcc.core.tokenManager.CustomKey" moduleName="FLASH" name="FLASH_NVMIISRFunction"/> - <value>ISR_FLASH_NVMI</value> + <key class="com.microchip.mcc.core.tokenManager.SettingKey" moduleName="IC1" registerAlias="ICCON2" settingAlias="IC32"/> + <value>disabled</value> + </entry> + <entry> + <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="SPI1" registerAlias="SPIIMSKL" settingAlias="SPIROVEN" alias="disabled"/> + <value>0</value> </entry> <entry> <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="Pin Module" registerAlias="TRISB" settingAlias="TRISB0" alias="output"/> @@ -10265,14 +10265,14 @@ <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="Pin Module" registerAlias="IOCNB" settingAlias="IOCNB15" alias="enabled"/> <value>1</value> </entry> - <entry> - <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="CMP1" registerAlias="CMCON" settingAlias="COUT" alias="disabled"/> - <value>0</value> - </entry> <entry> <key class="com.microchip.mcc.core.tokenManager.CustomKey" moduleName="SPI1" name="SPIFunctionMode"/> <value>SPI</value> </entry> + <entry> + <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="CMP1" registerAlias="CMCON" settingAlias="COUT" 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> @@ -10377,14 +10377,14 @@ <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.SettingKey" moduleName="SPI2" registerAlias="SPICON1L" settingAlias="DISSDO"/> - <value>disabled</value> - </entry> <entry> <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="SPI1" registerAlias="SPICON1H" settingAlias="AUDMOD" alias="I2S"/> <value>0</value> </entry> + <entry> + <key class="com.microchip.mcc.core.tokenManager.SettingKey" moduleName="SPI2" registerAlias="SPICON1L" settingAlias="DISSDO"/> + <value>disabled</value> + </entry> <entry> <key class="com.microchip.mcc.core.tokenManager.OptionKey" moduleName="I2C1" registerAlias="I2CSTAT" settingAlias="BCL" alias="enabled"/> <value>1</value> @@ -10605,7 +10605,7 @@ </entry> <entry> <file>mcc_generated_files/system.c</file> - <hash>87c3aef719c0f4297a6c61aaef69ccedb699a6d0a8374a5b318bfc5c6195b3cb</hash> + <hash>3da4c9931e5813fb2edddd2540fe87a014224d2d157c5980a3c1ee810cba30ec</hash> </entry> <entry> <file>mcc_generated_files/cvr.c</file> @@ -10615,29 +10615,29 @@ <file>mcc_generated_files/ic3.c</file> <hash>3764e13f4249f6f58000db5853986d77d21c7f66817a0ea2a0ca9a1173d178b4</hash> </entry> - <entry> - <file>mcc_generated_files/ic1.h</file> - <hash>162d1e2c8bbf7509b51767f1859ce7c7accae35c4d5be96382407a75ab24fb00</hash> - </entry> <entry> <file>mcc_generated_files/clock.h</file> <hash>6845815bd8b9e99fbe2985f85b93b24ae3bd449aeb6d62b72c7cfae8d8488bde</hash> </entry> + <entry> + <file>mcc_generated_files/ic1.h</file> + <hash>162d1e2c8bbf7509b51767f1859ce7c7accae35c4d5be96382407a75ab24fb00</hash> + </entry> <entry> <file>mcc_generated_files/spi2.h</file> <hash>772bc2a709a7574521f680157e635896fe730dec028deb9a82368388707952d6</hash> </entry> <entry> - <file>mcc_generated_files/cvr.h</file> - <hash>200e0fbb6eeb69076edb12a7e5f4bbdbcc49928e87e3bce6cbb27ba6bc1279b0</hash> + <file>mcc_generated_files/clock.c</file> + <hash>80b4a35eedfda13ac2dbed95c49dc597fc8086b1109a4a8e7d6503675eb17720</hash> </entry> <entry> <file>mcc_generated_files/spi3.h</file> <hash>0f5fe0bdeaebb328121bff673460958275d01520857f5ad595b8cab032d237d9</hash> </entry> <entry> - <file>mcc_generated_files/clock.c</file> - <hash>80b4a35eedfda13ac2dbed95c49dc597fc8086b1109a4a8e7d6503675eb17720</hash> + <file>mcc_generated_files/cvr.h</file> + <hash>200e0fbb6eeb69076edb12a7e5f4bbdbcc49928e87e3bce6cbb27ba6bc1279b0</hash> </entry> <entry> <file>mcc_generated_files/ic2.c</file> @@ -10660,12 +10660,12 @@ <hash>79e6fd4538d4a85e982799ed5ca0741343158fec4596e37e79196f59feb25597</hash> </entry> <entry> - <file>mcc_generated_files/cmp1.c</file> - <hash>128393ea22691205983ed3fa2b94bfd6304b5c4852cfdb691732a4a0584ce7e7</hash> + <file>mcc_generated_files/mcc.h</file> + <hash>9ed81b13667d80f968aa863f7789f5875f311338d54e7849a2763590ddd683d6</hash> </entry> <entry> - <file>mcc_generated_files/mcc.h</file> - <hash>fb292d57bbd29484b4ba4da4304ae51e919a376b45655fb45bb0c33e851d35b3</hash> + <file>mcc_generated_files/cmp1.c</file> + <hash>128393ea22691205983ed3fa2b94bfd6304b5c4852cfdb691732a4a0584ce7e7</hash> </entry> <entry> <file>mcc_generated_files/cmp3.c</file> @@ -10675,17 +10675,17 @@ <file>mcc_generated_files/interrupt_manager.c</file> <hash>b1a0fd5ed491179147e0d4f4fab6486ab46b778a266d52a04c931b5308c6110e</hash> </entry> - <entry> - <file>mcc_generated_files/cmp1.h</file> - <hash>a7fc5bdff3397b57225720005414f80ec469e8a9275d0b32d613dea9a324f817</hash> - </entry> <entry> <file>mcc_generated_files/mcc.c</file> <hash>4cd451457eeb87c886b2748c0499c003d1bff9df25a0af95abb475bef79b276c</hash> </entry> + <entry> + <file>mcc_generated_files/cmp1.h</file> + <hash>a7fc5bdff3397b57225720005414f80ec469e8a9275d0b32d613dea9a324f817</hash> + </entry> <entry> <file>mcc_generated_files/pin_manager.c</file> - <hash>043cf36ed20b091629509bd9ffba151b9f6c922c6eace9d93fd004696064feef</hash> + <hash>570e039ce6bfab44cb1eed987dfdff5a59f2c45f7fc91d18ace74ddcd15d438e</hash> </entry> <entry> <file>mcc_generated_files/cmp3.h</file> @@ -10697,7 +10697,7 @@ </entry> <entry> <file>mcc_generated_files/pin_manager.h</file> - <hash>44ee376ad9d176501bb36b64ec0700865f674b408d5275480f9925232482b45f</hash> + <hash>1e398a987079608bb8bb5af95ebbf814b4595c7baeeb3607a68aada1cf1fc1f4</hash> </entry> <entry> <file>main.c</file> @@ -10707,22 +10707,22 @@ <file>mcc_generated_files/memory/flash.s</file> <hash>891740d9afbab1b02190a17ab0195e7114ece8a87d1162ec7dac73ab33fb2657</hash> </entry> - <entry> - <file>mcc_generated_files/traps.h</file> - <hash>02be6083ec328672191dc464d5ed23795133e2a1fb81d31ba7df2d370b60f9cc</hash> - </entry> <entry> <file>mcc_generated_files/tmr3.h</file> <hash>03443e960a4e3cbd72db0fbf1ef96600b4f5498ec14c25d2e9be1c4c014e97ba</hash> </entry> <entry> - <file>mcc_generated_files/traps.c</file> - <hash>3041ea94f8f48c5b08344703ac2f7dc459f4e8a5edde76802e45a8e29137e213</hash> + <file>mcc_generated_files/traps.h</file> + <hash>02be6083ec328672191dc464d5ed23795133e2a1fb81d31ba7df2d370b60f9cc</hash> </entry> <entry> <file>mcc_generated_files/tmr3.c</file> <hash>2ae33a25ad97f183b239a03edfa7870e64d299aec00893befc50105e879ffbb0</hash> </entry> + <entry> + <file>mcc_generated_files/traps.c</file> + <hash>3041ea94f8f48c5b08344703ac2f7dc459f4e8a5edde76802e45a8e29137e213</hash> + </entry> <entry> <file>mcc_generated_files/i2c1.h</file> <hash>7c892bc798cf98ebf0e206f3ad72863a6b70c024329987cf57b10b68f4a6f8df</hash> @@ -10733,7 +10733,7 @@ </entry> <entry> <file>mcc_generated_files/i2c1.c</file> - <hash>2c7231002e1b1263630a3ccb644a088a9911b3a72a97caaf2fbde4b8c5c8203d</hash> + <hash>766ecaedc27d028a228a0facc97db47afb4f2672b076f686c694faa6ace7a6d9</hash> </entry> </generatedFileHashHistoryMap> <mc3libFileHashHistoryMap class="java.util.HashMap"/> diff --git a/mcc_generated_files/pin_manager.c b/mcc_generated_files/pin_manager.c index 9ab2b6acf1532ecc8acdf83003a48f7a6a138479..de918928f58fe1c12153825085dce35bb0c85644 100644 --- a/mcc_generated_files/pin_manager.c +++ b/mcc_generated_files/pin_manager.c @@ -67,8 +67,8 @@ void PIN_MANAGER_Initialize (void) /**************************************************************************** * Setting the GPIO Direction SFR(s) ***************************************************************************/ - TRISA = 0x0014; - TRISB = 0x6B7B; + TRISA = 0x0004; + TRISB = 0x6B6B; /**************************************************************************** * Setting the Weak Pull Up and Weak Pull Down SFR(s) @@ -95,14 +95,14 @@ void PIN_MANAGER_Initialize (void) ***************************************************************************/ __builtin_write_OSCCONL(OSCCON & 0xbf); // unlock PPS - RPINR7bits.IC2R = 0x0008; //RB8->IC2:IC2 - RPINR7bits.IC1R = 0x0003; //RB3->IC1:IC1 + RPOR5bits.RP10R = 0x000A; //RB10->SPI2:SDO2 + RPOR6bits.RP12R = 0x001A; //RB12->CMP3:C3OUT RPOR3bits.RP7R = 0x0002; //RB7->CMP2:C2OUT - RPOR7bits.RP15R = 0x0017; //RB15->SPI3:SDO3 - RPOR1bits.RP2R = 0x0001; //RB2->CMP1:C1OUT RPINR8bits.IC3R = 0x000D; //RB13->IC3:IC3 - RPOR6bits.RP12R = 0x001A; //RB12->CMP3:C3OUT - RPOR5bits.RP10R = 0x000A; //RB10->SPI2:SDO2 + RPOR1bits.RP2R = 0x0001; //RB2->CMP1:C1OUT + RPOR7bits.RP15R = 0x0017; //RB15->SPI3:SDO3 + RPINR7bits.IC1R = 0x0003; //RB3->IC1:IC1 + RPINR7bits.IC2R = 0x0008; //RB8->IC2:IC2 RPOR13bits.RP27R = 0x0007; //RA1->SPI1:SDO1 __builtin_write_OSCCONL(OSCCON | 0x40); // lock PPS diff --git a/mcc_generated_files/pin_manager.h b/mcc_generated_files/pin_manager.h index 6453662f20a15750580ae814b189471b6c501c85..99581a66a0d88551b3a1e4aff1c3e3e249f4fe3c 100644 --- a/mcc_generated_files/pin_manager.h +++ b/mcc_generated_files/pin_manager.h @@ -346,6 +346,298 @@ */ #define SDO1_SetDigitalOutput() (_TRISA1 = 0) +/** + @Summary + Sets the GPIO pin, RA3, high using LATA3. + + @Description + Sets the GPIO pin, RA3, high using LATA3. + + @Preconditions + The RA3 must be set to an output. + + @Returns + None. + + @Param + None. + + @Example + <code> + // Set RA3 high (1) + IO_RA3_SetHigh(); + </code> + +*/ +#define IO_RA3_SetHigh() (_LATA3 = 1) +/** + @Summary + Sets the GPIO pin, RA3, low using LATA3. + + @Description + Sets the GPIO pin, RA3, low using LATA3. + + @Preconditions + The RA3 must be set to an output. + + @Returns + None. + + @Param + None. + + @Example + <code> + // Set RA3 low (0) + IO_RA3_SetLow(); + </code> + +*/ +#define IO_RA3_SetLow() (_LATA3 = 0) +/** + @Summary + Toggles the GPIO pin, RA3, using LATA3. + + @Description + Toggles the GPIO pin, RA3, using LATA3. + + @Preconditions + The RA3 must be set to an output. + + @Returns + None. + + @Param + None. + + @Example + <code> + // Toggle RA3 + IO_RA3_Toggle(); + </code> + +*/ +#define IO_RA3_Toggle() (_LATA3 ^= 1) +/** + @Summary + Reads the value of the GPIO pin, RA3. + + @Description + Reads the value of the GPIO pin, RA3. + + @Preconditions + None. + + @Returns + None. + + @Param + None. + + @Example + <code> + uint16_t portValue; + + // Read RA3 + postValue = IO_RA3_GetValue(); + </code> + +*/ +#define IO_RA3_GetValue() _RA3 +/** + @Summary + Configures the GPIO pin, RA3, as an input. + + @Description + Configures the GPIO pin, RA3, as an input. + + @Preconditions + None. + + @Returns + None. + + @Param + None. + + @Example + <code> + // Sets the RA3 as an input + IO_RA3_SetDigitalInput(); + </code> + +*/ +#define IO_RA3_SetDigitalInput() (_TRISA3 = 1) +/** + @Summary + Configures the GPIO pin, RA3, as an output. + + @Description + Configures the GPIO pin, RA3, as an output. + + @Preconditions + None. + + @Returns + None. + + @Param + None. + + @Example + <code> + // Sets the RA3 as an output + IO_RA3_SetDigitalOutput(); + </code> + +*/ +#define IO_RA3_SetDigitalOutput() (_TRISA3 = 0) +/** + @Summary + Sets the GPIO pin, RA4, high using LATA4. + + @Description + Sets the GPIO pin, RA4, high using LATA4. + + @Preconditions + The RA4 must be set to an output. + + @Returns + None. + + @Param + None. + + @Example + <code> + // Set RA4 high (1) + IO_RA4_SetHigh(); + </code> + +*/ +#define IO_RA4_SetHigh() (_LATA4 = 1) +/** + @Summary + Sets the GPIO pin, RA4, low using LATA4. + + @Description + Sets the GPIO pin, RA4, low using LATA4. + + @Preconditions + The RA4 must be set to an output. + + @Returns + None. + + @Param + None. + + @Example + <code> + // Set RA4 low (0) + IO_RA4_SetLow(); + </code> + +*/ +#define IO_RA4_SetLow() (_LATA4 = 0) +/** + @Summary + Toggles the GPIO pin, RA4, using LATA4. + + @Description + Toggles the GPIO pin, RA4, using LATA4. + + @Preconditions + The RA4 must be set to an output. + + @Returns + None. + + @Param + None. + + @Example + <code> + // Toggle RA4 + IO_RA4_Toggle(); + </code> + +*/ +#define IO_RA4_Toggle() (_LATA4 ^= 1) +/** + @Summary + Reads the value of the GPIO pin, RA4. + + @Description + Reads the value of the GPIO pin, RA4. + + @Preconditions + None. + + @Returns + None. + + @Param + None. + + @Example + <code> + uint16_t portValue; + + // Read RA4 + postValue = IO_RA4_GetValue(); + </code> + +*/ +#define IO_RA4_GetValue() _RA4 +/** + @Summary + Configures the GPIO pin, RA4, as an input. + + @Description + Configures the GPIO pin, RA4, as an input. + + @Preconditions + None. + + @Returns + None. + + @Param + None. + + @Example + <code> + // Sets the RA4 as an input + IO_RA4_SetDigitalInput(); + </code> + +*/ +#define IO_RA4_SetDigitalInput() (_TRISA4 = 1) +/** + @Summary + Configures the GPIO pin, RA4, as an output. + + @Description + Configures the GPIO pin, RA4, as an output. + + @Preconditions + None. + + @Returns + None. + + @Param + None. + + @Example + <code> + // Sets the RA4 as an output + IO_RA4_SetDigitalOutput(); + </code> + +*/ +#define IO_RA4_SetDigitalOutput() (_TRISA4 = 0) /** @Summary Sets the GPIO pin, RB10, high using LATB10. @@ -638,6 +930,152 @@ */ #define SDO3_SetDigitalOutput() (_TRISB15 = 0) +/** + @Summary + Sets the GPIO pin, RB4, high using LATB4. + + @Description + Sets the GPIO pin, RB4, high using LATB4. + + @Preconditions + The RB4 must be set to an output. + + @Returns + None. + + @Param + None. + + @Example + <code> + // Set RB4 high (1) + IO_RB4_SetHigh(); + </code> + +*/ +#define IO_RB4_SetHigh() (_LATB4 = 1) +/** + @Summary + Sets the GPIO pin, RB4, low using LATB4. + + @Description + Sets the GPIO pin, RB4, low using LATB4. + + @Preconditions + The RB4 must be set to an output. + + @Returns + None. + + @Param + None. + + @Example + <code> + // Set RB4 low (0) + IO_RB4_SetLow(); + </code> + +*/ +#define IO_RB4_SetLow() (_LATB4 = 0) +/** + @Summary + Toggles the GPIO pin, RB4, using LATB4. + + @Description + Toggles the GPIO pin, RB4, using LATB4. + + @Preconditions + The RB4 must be set to an output. + + @Returns + None. + + @Param + None. + + @Example + <code> + // Toggle RB4 + IO_RB4_Toggle(); + </code> + +*/ +#define IO_RB4_Toggle() (_LATB4 ^= 1) +/** + @Summary + Reads the value of the GPIO pin, RB4. + + @Description + Reads the value of the GPIO pin, RB4. + + @Preconditions + None. + + @Returns + None. + + @Param + None. + + @Example + <code> + uint16_t portValue; + + // Read RB4 + postValue = IO_RB4_GetValue(); + </code> + +*/ +#define IO_RB4_GetValue() _RB4 +/** + @Summary + Configures the GPIO pin, RB4, as an input. + + @Description + Configures the GPIO pin, RB4, as an input. + + @Preconditions + None. + + @Returns + None. + + @Param + None. + + @Example + <code> + // Sets the RB4 as an input + IO_RB4_SetDigitalInput(); + </code> + +*/ +#define IO_RB4_SetDigitalInput() (_TRISB4 = 1) +/** + @Summary + Configures the GPIO pin, RB4, as an output. + + @Description + Configures the GPIO pin, RB4, as an output. + + @Preconditions + None. + + @Returns + None. + + @Param + None. + + @Example + <code> + // Sets the RB4 as an output + IO_RB4_SetDigitalOutput(); + </code> + +*/ +#define IO_RB4_SetDigitalOutput() (_TRISB4 = 0) /** Section: Function Prototypes