更新
This commit is contained in:
parent
56eac8b4b4
commit
e67cf34413
File diff suppressed because one or more lines are too long
380
M12.mtpj
380
M12.mtpj
@ -99,20 +99,6 @@
|
|||||||
<TreeImageGuid>941832c1-fc3b-4e1b-94e8-01ea17128b42</TreeImageGuid>
|
<TreeImageGuid>941832c1-fc3b-4e1b-94e8-01ea17128b42</TreeImageGuid>
|
||||||
<ParentItem>b8348788-df17-4b71-a9fa-eab0f1824fb1</ParentItem>
|
<ParentItem>b8348788-df17-4b71-a9fa-eab0f1824fb1</ParentItem>
|
||||||
</Instance>
|
</Instance>
|
||||||
<Instance Guid="8f1e6eec-4b7f-4341-b1e8-4926ad613367">
|
|
||||||
<Name>r_cg_serial.c</Name>
|
|
||||||
<Type>File</Type>
|
|
||||||
<RelativePath>r_cg_serial.c</RelativePath>
|
|
||||||
<TreeImageGuid>941832c1-fc3b-4e1b-94e8-01ea17128b42</TreeImageGuid>
|
|
||||||
<ParentItem>b8348788-df17-4b71-a9fa-eab0f1824fb1</ParentItem>
|
|
||||||
</Instance>
|
|
||||||
<Instance Guid="2fb9854e-0c4e-4e50-933a-8dbfc7361db6">
|
|
||||||
<Name>r_cg_serial_user.c</Name>
|
|
||||||
<Type>File</Type>
|
|
||||||
<RelativePath>r_cg_serial_user.c</RelativePath>
|
|
||||||
<TreeImageGuid>941832c1-fc3b-4e1b-94e8-01ea17128b42</TreeImageGuid>
|
|
||||||
<ParentItem>b8348788-df17-4b71-a9fa-eab0f1824fb1</ParentItem>
|
|
||||||
</Instance>
|
|
||||||
<Instance Guid="a5a564d3-265c-402e-bbdf-b00f72a73a90">
|
<Instance Guid="a5a564d3-265c-402e-bbdf-b00f72a73a90">
|
||||||
<Name>r_cg_adc.c</Name>
|
<Name>r_cg_adc.c</Name>
|
||||||
<Type>File</Type>
|
<Type>File</Type>
|
||||||
@ -183,13 +169,6 @@
|
|||||||
<TreeImageGuid>03cad1e8-2eb3-4cde-a8a3-982423631122</TreeImageGuid>
|
<TreeImageGuid>03cad1e8-2eb3-4cde-a8a3-982423631122</TreeImageGuid>
|
||||||
<ParentItem>b8348788-df17-4b71-a9fa-eab0f1824fb1</ParentItem>
|
<ParentItem>b8348788-df17-4b71-a9fa-eab0f1824fb1</ParentItem>
|
||||||
</Instance>
|
</Instance>
|
||||||
<Instance Guid="d9aeaef1-be6e-4e78-834a-acead618859d">
|
|
||||||
<Name>r_cg_serial.h</Name>
|
|
||||||
<Type>File</Type>
|
|
||||||
<RelativePath>r_cg_serial.h</RelativePath>
|
|
||||||
<TreeImageGuid>03cad1e8-2eb3-4cde-a8a3-982423631122</TreeImageGuid>
|
|
||||||
<ParentItem>b8348788-df17-4b71-a9fa-eab0f1824fb1</ParentItem>
|
|
||||||
</Instance>
|
|
||||||
<Instance Guid="ef62db96-9522-46a1-bbad-5670f2d693c3">
|
<Instance Guid="ef62db96-9522-46a1-bbad-5670f2d693c3">
|
||||||
<Name>r_cg_adc.h</Name>
|
<Name>r_cg_adc.h</Name>
|
||||||
<Type>File</Type>
|
<Type>File</Type>
|
||||||
@ -279,23 +258,19 @@
|
|||||||
<SourceItemType9>CSource</SourceItemType9>
|
<SourceItemType9>CSource</SourceItemType9>
|
||||||
<SourceItemGuid10>972ac83e-76a7-415d-b08f-e9f159072a4d</SourceItemGuid10>
|
<SourceItemGuid10>972ac83e-76a7-415d-b08f-e9f159072a4d</SourceItemGuid10>
|
||||||
<SourceItemType10>CSource</SourceItemType10>
|
<SourceItemType10>CSource</SourceItemType10>
|
||||||
<SourceItemGuid11>8f1e6eec-4b7f-4341-b1e8-4926ad613367</SourceItemGuid11>
|
<SourceItemGuid11>a5a564d3-265c-402e-bbdf-b00f72a73a90</SourceItemGuid11>
|
||||||
<SourceItemType11>CSource</SourceItemType11>
|
<SourceItemType11>CSource</SourceItemType11>
|
||||||
<SourceItemGuid12>2fb9854e-0c4e-4e50-933a-8dbfc7361db6</SourceItemGuid12>
|
<SourceItemGuid12>46c44ec5-f131-4c65-a43c-c9792f452a06</SourceItemGuid12>
|
||||||
<SourceItemType12>CSource</SourceItemType12>
|
<SourceItemType12>CSource</SourceItemType12>
|
||||||
<SourceItemGuid13>a5a564d3-265c-402e-bbdf-b00f72a73a90</SourceItemGuid13>
|
<SourceItemGuid13>41c873f3-1cf2-4c8f-a9bd-b2729e459155</SourceItemGuid13>
|
||||||
<SourceItemType13>CSource</SourceItemType13>
|
<SourceItemType13>CSource</SourceItemType13>
|
||||||
<SourceItemGuid14>46c44ec5-f131-4c65-a43c-c9792f452a06</SourceItemGuid14>
|
<SourceItemGuid14>d16ded25-28dd-46bb-ae07-8b6312c80600</SourceItemGuid14>
|
||||||
<SourceItemType14>CSource</SourceItemType14>
|
<SourceItemType14>CSource</SourceItemType14>
|
||||||
<SourceItemGuid15>41c873f3-1cf2-4c8f-a9bd-b2729e459155</SourceItemGuid15>
|
<SourceItemGuid15>eb80bee3-e714-4a3e-b8ed-56456ea256a9</SourceItemGuid15>
|
||||||
<SourceItemType15>CSource</SourceItemType15>
|
<SourceItemType15>CSource</SourceItemType15>
|
||||||
<SourceItemGuid16>d16ded25-28dd-46bb-ae07-8b6312c80600</SourceItemGuid16>
|
<SourceItemGuid16>ecd17489-356b-4667-a2ea-7262a0474482</SourceItemGuid16>
|
||||||
<SourceItemType16>CSource</SourceItemType16>
|
<SourceItemType16>CSource</SourceItemType16>
|
||||||
<SourceItemGuid17>eb80bee3-e714-4a3e-b8ed-56456ea256a9</SourceItemGuid17>
|
<SourceItemCount>17</SourceItemCount>
|
||||||
<SourceItemType17>CSource</SourceItemType17>
|
|
||||||
<SourceItemGuid18>ecd17489-356b-4667-a2ea-7262a0474482</SourceItemGuid18>
|
|
||||||
<SourceItemType18>CSource</SourceItemType18>
|
|
||||||
<SourceItemCount>19</SourceItemCount>
|
|
||||||
<LastDeviceChangedCounter>0</LastDeviceChangedCounter>
|
<LastDeviceChangedCounter>0</LastDeviceChangedCounter>
|
||||||
</Instance>
|
</Instance>
|
||||||
<Instance Guid="6bb7060d-7e24-4135-bd9b-7db166417523">
|
<Instance Guid="6bb7060d-7e24-4135-bd9b-7db166417523">
|
||||||
@ -681,7 +656,7 @@
|
|||||||
<LinkOptionShowCFI-DefaultValue>False</LinkOptionShowCFI-DefaultValue>
|
<LinkOptionShowCFI-DefaultValue>False</LinkOptionShowCFI-DefaultValue>
|
||||||
<LinkOptionRrmValue-DefaultValue />
|
<LinkOptionRrmValue-DefaultValue />
|
||||||
<IsLockedByUser>False</IsLockedByUser>
|
<IsLockedByUser>False</IsLockedByUser>
|
||||||
<TimeTagModified--0>-8585485822306798036</TimeTagModified--0>
|
<TimeTagModified--0>-8585233597725506747</TimeTagModified--0>
|
||||||
<LinkOptionAutoSectionLayout-0>True</LinkOptionAutoSectionLayout-0>
|
<LinkOptionAutoSectionLayout-0>True</LinkOptionAutoSectionLayout-0>
|
||||||
<LinkOptionCpu-0>False</LinkOptionCpu-0>
|
<LinkOptionCpu-0>False</LinkOptionCpu-0>
|
||||||
<LinkOptionDebug-0>Debug</LinkOptionDebug-0>
|
<LinkOptionDebug-0>Debug</LinkOptionDebug-0>
|
||||||
@ -877,7 +852,7 @@
|
|||||||
<LibOptionChangeMessageError-DefaultValue>None</LibOptionChangeMessageError-DefaultValue>
|
<LibOptionChangeMessageError-DefaultValue>None</LibOptionChangeMessageError-DefaultValue>
|
||||||
<LibOptionChangeMessageErrorNumber-DefaultValue />
|
<LibOptionChangeMessageErrorNumber-DefaultValue />
|
||||||
<IsLockedByUser>False</IsLockedByUser>
|
<IsLockedByUser>False</IsLockedByUser>
|
||||||
<TimeTagModified--0>-8585485822312130922</TimeTagModified--0>
|
<TimeTagModified--0>-8585233597725506747</TimeTagModified--0>
|
||||||
<LibOptionDebug-0>Debug</LibOptionDebug-0>
|
<LibOptionDebug-0>Debug</LibOptionDebug-0>
|
||||||
<LibOptionForm-0>LibraryU</LibOptionForm-0>
|
<LibOptionForm-0>LibraryU</LibOptionForm-0>
|
||||||
<LibOptionInput-0 />
|
<LibOptionInput-0 />
|
||||||
@ -977,14 +952,6 @@
|
|||||||
<ItemAddTime>637886502547907963</ItemAddTime>
|
<ItemAddTime>637886502547907963</ItemAddTime>
|
||||||
<ItemAddTimeCount>5</ItemAddTimeCount>
|
<ItemAddTimeCount>5</ItemAddTimeCount>
|
||||||
</Instance>
|
</Instance>
|
||||||
<Instance Guid="8f1e6eec-4b7f-4341-b1e8-4926ad613367">
|
|
||||||
<ItemAddTime>637886502547907963</ItemAddTime>
|
|
||||||
<ItemAddTimeCount>6</ItemAddTimeCount>
|
|
||||||
</Instance>
|
|
||||||
<Instance Guid="2fb9854e-0c4e-4e50-933a-8dbfc7361db6">
|
|
||||||
<ItemAddTime>637886502547907963</ItemAddTime>
|
|
||||||
<ItemAddTimeCount>7</ItemAddTimeCount>
|
|
||||||
</Instance>
|
|
||||||
<Instance Guid="a5a564d3-265c-402e-bbdf-b00f72a73a90">
|
<Instance Guid="a5a564d3-265c-402e-bbdf-b00f72a73a90">
|
||||||
<ItemAddTime>637886502547907963</ItemAddTime>
|
<ItemAddTime>637886502547907963</ItemAddTime>
|
||||||
<ItemAddTimeCount>8</ItemAddTimeCount>
|
<ItemAddTimeCount>8</ItemAddTimeCount>
|
||||||
@ -1025,10 +992,6 @@
|
|||||||
<ItemAddTime>637886502547907963</ItemAddTime>
|
<ItemAddTime>637886502547907963</ItemAddTime>
|
||||||
<ItemAddTimeCount>17</ItemAddTimeCount>
|
<ItemAddTimeCount>17</ItemAddTimeCount>
|
||||||
</Instance>
|
</Instance>
|
||||||
<Instance Guid="d9aeaef1-be6e-4e78-834a-acead618859d">
|
|
||||||
<ItemAddTime>637886502547907963</ItemAddTime>
|
|
||||||
<ItemAddTimeCount>18</ItemAddTimeCount>
|
|
||||||
</Instance>
|
|
||||||
<Instance Guid="ef62db96-9522-46a1-bbad-5670f2d693c3">
|
<Instance Guid="ef62db96-9522-46a1-bbad-5670f2d693c3">
|
||||||
<ItemAddTime>637886502547907963</ItemAddTime>
|
<ItemAddTime>637886502547907963</ItemAddTime>
|
||||||
<ItemAddTimeCount>19</ItemAddTimeCount>
|
<ItemAddTimeCount>19</ItemAddTimeCount>
|
||||||
@ -1116,22 +1079,14 @@
|
|||||||
<SourceItem14-IsLockedByUser>False</SourceItem14-IsLockedByUser>
|
<SourceItem14-IsLockedByUser>False</SourceItem14-IsLockedByUser>
|
||||||
<SourceItem14-BuildingTarget-0>True</SourceItem14-BuildingTarget-0>
|
<SourceItem14-BuildingTarget-0>True</SourceItem14-BuildingTarget-0>
|
||||||
<SourceItem14-IndividualCompileOption-0>False</SourceItem14-IndividualCompileOption-0>
|
<SourceItem14-IndividualCompileOption-0>False</SourceItem14-IndividualCompileOption-0>
|
||||||
<TimeTagModified-SourceItem15--0>-8585485822306847900</TimeTagModified-SourceItem15--0>
|
<TimeTagModified-SourceItem15--0>-8585485822306837928</TimeTagModified-SourceItem15--0>
|
||||||
<SourceItem15-IsLockedByUser>False</SourceItem15-IsLockedByUser>
|
<SourceItem15-IsLockedByUser>False</SourceItem15-IsLockedByUser>
|
||||||
<SourceItem15-BuildingTarget-0>True</SourceItem15-BuildingTarget-0>
|
<SourceItem15-BuildingTarget-0>True</SourceItem15-BuildingTarget-0>
|
||||||
<SourceItem15-IndividualCompileOption-0>False</SourceItem15-IndividualCompileOption-0>
|
<SourceItem15-IndividualCompileOption-0>False</SourceItem15-IndividualCompileOption-0>
|
||||||
<TimeTagModified-SourceItem16--0>-8585485822306847900</TimeTagModified-SourceItem16--0>
|
<TimeTagModified-SourceItem16--0>-8585485822306837928</TimeTagModified-SourceItem16--0>
|
||||||
<SourceItem16-IsLockedByUser>False</SourceItem16-IsLockedByUser>
|
<SourceItem16-IsLockedByUser>False</SourceItem16-IsLockedByUser>
|
||||||
<SourceItem16-BuildingTarget-0>True</SourceItem16-BuildingTarget-0>
|
<SourceItem16-BuildingTarget-0>True</SourceItem16-BuildingTarget-0>
|
||||||
<SourceItem16-IndividualCompileOption-0>False</SourceItem16-IndividualCompileOption-0>
|
<SourceItem16-IndividualCompileOption-0>False</SourceItem16-IndividualCompileOption-0>
|
||||||
<TimeTagModified-SourceItem17--0>-8585485822306837928</TimeTagModified-SourceItem17--0>
|
|
||||||
<SourceItem17-IsLockedByUser>False</SourceItem17-IsLockedByUser>
|
|
||||||
<SourceItem17-BuildingTarget-0>True</SourceItem17-BuildingTarget-0>
|
|
||||||
<SourceItem17-IndividualCompileOption-0>False</SourceItem17-IndividualCompileOption-0>
|
|
||||||
<TimeTagModified-SourceItem18--0>-8585485822306837928</TimeTagModified-SourceItem18--0>
|
|
||||||
<SourceItem18-IsLockedByUser>False</SourceItem18-IsLockedByUser>
|
|
||||||
<SourceItem18-BuildingTarget-0>True</SourceItem18-BuildingTarget-0>
|
|
||||||
<SourceItem18-IndividualCompileOption-0>False</SourceItem18-IndividualCompileOption-0>
|
|
||||||
</Instance>
|
</Instance>
|
||||||
</Class>
|
</Class>
|
||||||
<Class Guid="44fa27c9-0aa0-4297-bd3b-2c5c5bdb8881">
|
<Class Guid="44fa27c9-0aa0-4297-bd3b-2c5c5bdb8881">
|
||||||
@ -1248,94 +1203,10 @@
|
|||||||
<PinConfigTopViewPropertyFunctionDisplay>DisplayAll</PinConfigTopViewPropertyFunctionDisplay>
|
<PinConfigTopViewPropertyFunctionDisplay>DisplayAll</PinConfigTopViewPropertyFunctionDisplay>
|
||||||
</Instance>
|
</Instance>
|
||||||
<Instance Guid="ba6251f6-617d-42ff-9ebd-1dd7a0d34100">
|
<Instance Guid="ba6251f6-617d-42ff-9ebd-1dd7a0d34100">
|
||||||
<KeyDatasRowCount>20,17,66,0,0</KeyDatasRowCount>
|
<KEY_SAVE_CREATED_PROJECT_DATA>True</KEY_SAVE_CREATED_PROJECT_DATA>
|
||||||
<KeyUserAddedColumnCount>0</KeyUserAddedColumnCount>
|
<KEY_SAVE_DEVICE_CHANGED_COUNTER>0</KEY_SAVE_DEVICE_CHANGED_COUNTER>
|
||||||
<KeyPinGridData0>Free,-,-,,</KeyPinGridData0>
|
<FormatVersion>1.0</FormatVersion>
|
||||||
<KeyPinGridData1>Free,-,-,,</KeyPinGridData1>
|
<KeyExtPartsCount>0</KeyExtPartsCount>
|
||||||
<KeyPinGridData2>Free,-,-,,</KeyPinGridData2>
|
|
||||||
<KeyPinGridData3>Free,-,-,,</KeyPinGridData3>
|
|
||||||
<KeyPinGridData4>Free,-,-,,</KeyPinGridData4>
|
|
||||||
<KeyPinGridData5>Free,-,-,,</KeyPinGridData5>
|
|
||||||
<KeyPinGridData6>Free,-,-,,</KeyPinGridData6>
|
|
||||||
<KeyPinGridData7>Free,-,-,,</KeyPinGridData7>
|
|
||||||
<KeyPinGridData8>Free,-,-,,</KeyPinGridData8>
|
|
||||||
<KeyPinGridData9>Free,-,-,,</KeyPinGridData9>
|
|
||||||
<KeyPinGridData10>Free,-,-,,</KeyPinGridData10>
|
|
||||||
<KeyPinGridData11>Free,-,-,,</KeyPinGridData11>
|
|
||||||
<KeyPinGridData12>Free,-,-,,</KeyPinGridData12>
|
|
||||||
<KeyPinGridData13>Free,-,-,,</KeyPinGridData13>
|
|
||||||
<KeyPinGridData14>Free,-,-,,</KeyPinGridData14>
|
|
||||||
<KeyPinGridData15>Free,-,-,,</KeyPinGridData15>
|
|
||||||
<KeyPinGridData16>Free,-,-,,</KeyPinGridData16>
|
|
||||||
<KeyPinGridData17>Free,-,-,,</KeyPinGridData17>
|
|
||||||
<KeyPinGridData18>Free,-,-,,</KeyPinGridData18>
|
|
||||||
<KeyPinGridData19>Free,-,-,,</KeyPinGridData19>
|
|
||||||
<KeyMacGridData0>Free,-,-,,</KeyMacGridData0>
|
|
||||||
<KeyMacGridData1>Free,-,-,,</KeyMacGridData1>
|
|
||||||
<KeyMacGridData2>Free,-,-,,</KeyMacGridData2>
|
|
||||||
<KeyMacGridData3>Free,-,-,,</KeyMacGridData3>
|
|
||||||
<KeyMacGridData4>Free,-,-,,</KeyMacGridData4>
|
|
||||||
<KeyMacGridData5>Free,-,-,,</KeyMacGridData5>
|
|
||||||
<KeyMacGridData6>Free,-,-,,</KeyMacGridData6>
|
|
||||||
<KeyMacGridData7>Free,-,-,,</KeyMacGridData7>
|
|
||||||
<KeyMacGridData8>Free,-,-,,</KeyMacGridData8>
|
|
||||||
<KeyMacGridData9>Free,-,-,,</KeyMacGridData9>
|
|
||||||
<KeyMacGridData10>Free,-,-,,</KeyMacGridData10>
|
|
||||||
<KeyMacGridData11>Free,-,-,,</KeyMacGridData11>
|
|
||||||
<KeyMacGridData12>Free,-,-,,</KeyMacGridData12>
|
|
||||||
<KeyMacGridData13>Free,-,-,,</KeyMacGridData13>
|
|
||||||
<KeyMacGridData14>Free,-,-,,</KeyMacGridData14>
|
|
||||||
<KeyMacGridData15>Free,-,-,,</KeyMacGridData15>
|
|
||||||
<KeyMacGridData16>Free,-,-,,</KeyMacGridData16>
|
|
||||||
<KeyMacGridData17>Free,-,-,,</KeyMacGridData17>
|
|
||||||
<KeyMacGridData18>Free,-,-,,</KeyMacGridData18>
|
|
||||||
<KeyMacGridData19>Free,-,-,,</KeyMacGridData19>
|
|
||||||
<KeyMacGridData20>Free,-,-,,</KeyMacGridData20>
|
|
||||||
<KeyMacGridData21>Free,-,-,,</KeyMacGridData21>
|
|
||||||
<KeyMacGridData22>Free,-,-,,</KeyMacGridData22>
|
|
||||||
<KeyMacGridData23>Free,-,-,,</KeyMacGridData23>
|
|
||||||
<KeyMacGridData24>Free,-,-,,</KeyMacGridData24>
|
|
||||||
<KeyMacGridData25>Free,-,-,,</KeyMacGridData25>
|
|
||||||
<KeyMacGridData26>Free,-,-,,</KeyMacGridData26>
|
|
||||||
<KeyMacGridData27>Free,-,-,,</KeyMacGridData27>
|
|
||||||
<KeyMacGridData28>Free,-,-,,</KeyMacGridData28>
|
|
||||||
<KeyMacGridData29>Free,-,-,,</KeyMacGridData29>
|
|
||||||
<KeyMacGridData30>Free,-,-,,</KeyMacGridData30>
|
|
||||||
<KeyMacGridData31>Free,-,-,,</KeyMacGridData31>
|
|
||||||
<KeyMacGridData32>Free,-,-,,</KeyMacGridData32>
|
|
||||||
<KeyMacGridData33>Free,-,-,,</KeyMacGridData33>
|
|
||||||
<KeyMacGridData34>Free,-,-,,</KeyMacGridData34>
|
|
||||||
<KeyMacGridData35>Free,-,-,,</KeyMacGridData35>
|
|
||||||
<KeyMacGridData36>Free,-,-,,</KeyMacGridData36>
|
|
||||||
<KeyMacGridData37>Free,-,-,,</KeyMacGridData37>
|
|
||||||
<KeyMacGridData38>Free,-,-,,</KeyMacGridData38>
|
|
||||||
<KeyMacGridData39>Free,-,-,,</KeyMacGridData39>
|
|
||||||
<KeyMacGridData40>Free,-,-,,</KeyMacGridData40>
|
|
||||||
<KeyMacGridData41>Free,-,-,,</KeyMacGridData41>
|
|
||||||
<KeyMacGridData42>Free,-,-,,</KeyMacGridData42>
|
|
||||||
<KeyMacGridData43>Free,-,-,,</KeyMacGridData43>
|
|
||||||
<KeyMacGridData44>Free,-,-,,</KeyMacGridData44>
|
|
||||||
<KeyMacGridData45>Free,-,-,,</KeyMacGridData45>
|
|
||||||
<KeyMacGridData46>Free,-,-,,</KeyMacGridData46>
|
|
||||||
<KeyMacGridData47>Free,-,-,,</KeyMacGridData47>
|
|
||||||
<KeyMacGridData48>Free,-,-,,</KeyMacGridData48>
|
|
||||||
<KeyMacGridData49>Free,-,-,,</KeyMacGridData49>
|
|
||||||
<KeyMacGridData50>Free,-,-,,</KeyMacGridData50>
|
|
||||||
<KeyMacGridData51>Free,-,-,,</KeyMacGridData51>
|
|
||||||
<KeyMacGridData52>Free,-,-,,</KeyMacGridData52>
|
|
||||||
<KeyMacGridData53>Free,-,-,,</KeyMacGridData53>
|
|
||||||
<KeyMacGridData54>Free,-,-,,</KeyMacGridData54>
|
|
||||||
<KeyMacGridData55>Free,-,-,,</KeyMacGridData55>
|
|
||||||
<KeyMacGridData56>Free,-,-,,</KeyMacGridData56>
|
|
||||||
<KeyMacGridData57>Free,-,-,,</KeyMacGridData57>
|
|
||||||
<KeyMacGridData58>Free,-,-,,</KeyMacGridData58>
|
|
||||||
<KeyMacGridData59>Free,-,-,,</KeyMacGridData59>
|
|
||||||
<KeyMacGridData60>Free,-,-,,</KeyMacGridData60>
|
|
||||||
<KeyMacGridData61>Free,-,-,,</KeyMacGridData61>
|
|
||||||
<KeyMacGridData62>Free,-,-,,</KeyMacGridData62>
|
|
||||||
<KeyMacGridData63>Free,-,-,,</KeyMacGridData63>
|
|
||||||
<KeyMacGridData64>Free,-,-,,</KeyMacGridData64>
|
|
||||||
<KeyMacGridData65>Free,-,-,,</KeyMacGridData65>
|
|
||||||
<KeyPinGridLayout><SOAP-ENV:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/" xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:clr="http://schemas.microsoft.com/soap/encoding/clr/1.0" SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
|
<KeyPinGridLayout><SOAP-ENV:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/" xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:clr="http://schemas.microsoft.com/soap/encoding/clr/1.0" SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
|
||||||
<SOAP-ENV:Body>
|
<SOAP-ENV:Body>
|
||||||
<a1:UltraGridDisplayLayout id="ref-1" xmlns:a1="http://schemas.microsoft.com/clr/nsassem/Infragistics.Win.UltraWinGrid/Infragistics4.Win.UltraWinGrid.v12.2">
|
<a1:UltraGridDisplayLayout id="ref-1" xmlns:a1="http://schemas.microsoft.com/clr/nsassem/Infragistics.Win.UltraWinGrid/Infragistics4.Win.UltraWinGrid.v12.2">
|
||||||
@ -2337,7 +2208,6 @@
|
|||||||
</SOAP-ENV:Body>
|
</SOAP-ENV:Body>
|
||||||
</SOAP-ENV:Envelope>
|
</SOAP-ENV:Envelope>
|
||||||
</KeyMacGridLayout>
|
</KeyMacGridLayout>
|
||||||
<KeyExtPartsCount>0</KeyExtPartsCount>
|
|
||||||
<KeyExtGridLayout><SOAP-ENV:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/" xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:clr="http://schemas.microsoft.com/soap/encoding/clr/1.0" SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
|
<KeyExtGridLayout><SOAP-ENV:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/" xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:clr="http://schemas.microsoft.com/soap/encoding/clr/1.0" SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
|
||||||
<SOAP-ENV:Body>
|
<SOAP-ENV:Body>
|
||||||
<a1:UltraGridDisplayLayout id="ref-1" xmlns:a1="http://schemas.microsoft.com/clr/nsassem/Infragistics.Win.UltraWinGrid/Infragistics4.Win.UltraWinGrid.v12.2">
|
<a1:UltraGridDisplayLayout id="ref-1" xmlns:a1="http://schemas.microsoft.com/clr/nsassem/Infragistics.Win.UltraWinGrid/Infragistics4.Win.UltraWinGrid.v12.2">
|
||||||
@ -2803,9 +2673,94 @@
|
|||||||
</SOAP-ENV:Body>
|
</SOAP-ENV:Body>
|
||||||
</SOAP-ENV:Envelope>
|
</SOAP-ENV:Envelope>
|
||||||
</KeyExtGridLayout>
|
</KeyExtGridLayout>
|
||||||
<KeyTopViewZoom />
|
<KeyDatasRowCount>20,17,66,0,0</KeyDatasRowCount>
|
||||||
<KeyTopViewAngle />
|
<KeyUserAddedColumnCount>0</KeyUserAddedColumnCount>
|
||||||
<KeyTopViewPartsCollapsed />
|
<KeyPinGridData0>Free,-,-,,</KeyPinGridData0>
|
||||||
|
<KeyPinGridData1>Free,-,-,,</KeyPinGridData1>
|
||||||
|
<KeyPinGridData2>Free,-,-,,</KeyPinGridData2>
|
||||||
|
<KeyPinGridData3>Free,-,-,,</KeyPinGridData3>
|
||||||
|
<KeyPinGridData4>Free,-,-,,</KeyPinGridData4>
|
||||||
|
<KeyPinGridData5>Free,-,-,,</KeyPinGridData5>
|
||||||
|
<KeyPinGridData6>Free,-,-,,</KeyPinGridData6>
|
||||||
|
<KeyPinGridData7>Free,-,-,,</KeyPinGridData7>
|
||||||
|
<KeyPinGridData8>Free,-,-,,</KeyPinGridData8>
|
||||||
|
<KeyPinGridData9>Free,-,-,,</KeyPinGridData9>
|
||||||
|
<KeyPinGridData10>Free,-,-,,</KeyPinGridData10>
|
||||||
|
<KeyPinGridData11>Free,-,-,,</KeyPinGridData11>
|
||||||
|
<KeyPinGridData12>Free,-,-,,</KeyPinGridData12>
|
||||||
|
<KeyPinGridData13>Free,-,-,,</KeyPinGridData13>
|
||||||
|
<KeyPinGridData14>Free,-,-,,</KeyPinGridData14>
|
||||||
|
<KeyPinGridData15>Free,-,-,,</KeyPinGridData15>
|
||||||
|
<KeyPinGridData16>Free,-,-,,</KeyPinGridData16>
|
||||||
|
<KeyPinGridData17>Free,-,-,,</KeyPinGridData17>
|
||||||
|
<KeyPinGridData18>Free,-,-,,</KeyPinGridData18>
|
||||||
|
<KeyPinGridData19>Free,-,-,,</KeyPinGridData19>
|
||||||
|
<KeyMacGridData0>Free,-,-,,</KeyMacGridData0>
|
||||||
|
<KeyMacGridData1>Free,-,-,,</KeyMacGridData1>
|
||||||
|
<KeyMacGridData2>Free,-,-,,</KeyMacGridData2>
|
||||||
|
<KeyMacGridData3>Free,-,-,,</KeyMacGridData3>
|
||||||
|
<KeyMacGridData4>Free,-,-,,</KeyMacGridData4>
|
||||||
|
<KeyMacGridData5>Free,-,-,,</KeyMacGridData5>
|
||||||
|
<KeyMacGridData6>Free,-,-,,</KeyMacGridData6>
|
||||||
|
<KeyMacGridData7>Free,-,-,,</KeyMacGridData7>
|
||||||
|
<KeyMacGridData8>Free,-,-,,</KeyMacGridData8>
|
||||||
|
<KeyMacGridData9>Free,-,-,,</KeyMacGridData9>
|
||||||
|
<KeyMacGridData10>Free,-,-,,</KeyMacGridData10>
|
||||||
|
<KeyMacGridData11>Free,-,-,,</KeyMacGridData11>
|
||||||
|
<KeyMacGridData12>Free,-,-,,</KeyMacGridData12>
|
||||||
|
<KeyMacGridData13>Free,-,-,,</KeyMacGridData13>
|
||||||
|
<KeyMacGridData14>Free,-,-,,</KeyMacGridData14>
|
||||||
|
<KeyMacGridData15>Free,-,-,,</KeyMacGridData15>
|
||||||
|
<KeyMacGridData16>Free,-,-,,</KeyMacGridData16>
|
||||||
|
<KeyMacGridData17>Free,-,-,,</KeyMacGridData17>
|
||||||
|
<KeyMacGridData18>Free,-,-,,</KeyMacGridData18>
|
||||||
|
<KeyMacGridData19>Free,-,-,,</KeyMacGridData19>
|
||||||
|
<KeyMacGridData20>Free,-,-,,</KeyMacGridData20>
|
||||||
|
<KeyMacGridData21>Free,-,-,,</KeyMacGridData21>
|
||||||
|
<KeyMacGridData22>Free,-,-,,</KeyMacGridData22>
|
||||||
|
<KeyMacGridData23>Free,-,-,,</KeyMacGridData23>
|
||||||
|
<KeyMacGridData24>Free,-,-,,</KeyMacGridData24>
|
||||||
|
<KeyMacGridData25>Free,-,-,,</KeyMacGridData25>
|
||||||
|
<KeyMacGridData26>Free,-,-,,</KeyMacGridData26>
|
||||||
|
<KeyMacGridData27>Free,-,-,,</KeyMacGridData27>
|
||||||
|
<KeyMacGridData28>Free,-,-,,</KeyMacGridData28>
|
||||||
|
<KeyMacGridData29>Free,-,-,,</KeyMacGridData29>
|
||||||
|
<KeyMacGridData30>Free,-,-,,</KeyMacGridData30>
|
||||||
|
<KeyMacGridData31>Free,-,-,,</KeyMacGridData31>
|
||||||
|
<KeyMacGridData32>Free,-,-,,</KeyMacGridData32>
|
||||||
|
<KeyMacGridData33>Free,-,-,,</KeyMacGridData33>
|
||||||
|
<KeyMacGridData34>Free,-,-,,</KeyMacGridData34>
|
||||||
|
<KeyMacGridData35>Free,-,-,,</KeyMacGridData35>
|
||||||
|
<KeyMacGridData36>Free,-,-,,</KeyMacGridData36>
|
||||||
|
<KeyMacGridData37>Free,-,-,,</KeyMacGridData37>
|
||||||
|
<KeyMacGridData38>Free,-,-,,</KeyMacGridData38>
|
||||||
|
<KeyMacGridData39>Free,-,-,,</KeyMacGridData39>
|
||||||
|
<KeyMacGridData40>Free,-,-,,</KeyMacGridData40>
|
||||||
|
<KeyMacGridData41>Free,-,-,,</KeyMacGridData41>
|
||||||
|
<KeyMacGridData42>Free,-,-,,</KeyMacGridData42>
|
||||||
|
<KeyMacGridData43>Free,-,-,,</KeyMacGridData43>
|
||||||
|
<KeyMacGridData44>Free,-,-,,</KeyMacGridData44>
|
||||||
|
<KeyMacGridData45>Free,-,-,,</KeyMacGridData45>
|
||||||
|
<KeyMacGridData46>Free,-,-,,</KeyMacGridData46>
|
||||||
|
<KeyMacGridData47>Free,-,-,,</KeyMacGridData47>
|
||||||
|
<KeyMacGridData48>Free,-,-,,</KeyMacGridData48>
|
||||||
|
<KeyMacGridData49>Free,-,-,,</KeyMacGridData49>
|
||||||
|
<KeyMacGridData50>Free,-,-,,</KeyMacGridData50>
|
||||||
|
<KeyMacGridData51>Free,-,-,,</KeyMacGridData51>
|
||||||
|
<KeyMacGridData52>Free,-,-,,</KeyMacGridData52>
|
||||||
|
<KeyMacGridData53>Free,-,-,,</KeyMacGridData53>
|
||||||
|
<KeyMacGridData54>Free,-,-,,</KeyMacGridData54>
|
||||||
|
<KeyMacGridData55>Free,-,-,,</KeyMacGridData55>
|
||||||
|
<KeyMacGridData56>Free,-,-,,</KeyMacGridData56>
|
||||||
|
<KeyMacGridData57>Free,-,-,,</KeyMacGridData57>
|
||||||
|
<KeyMacGridData58>Free,-,-,,</KeyMacGridData58>
|
||||||
|
<KeyMacGridData59>Free,-,-,,</KeyMacGridData59>
|
||||||
|
<KeyMacGridData60>Free,-,-,,</KeyMacGridData60>
|
||||||
|
<KeyMacGridData61>Free,-,-,,</KeyMacGridData61>
|
||||||
|
<KeyMacGridData62>Free,-,-,,</KeyMacGridData62>
|
||||||
|
<KeyMacGridData63>Free,-,-,,</KeyMacGridData63>
|
||||||
|
<KeyMacGridData64>Free,-,-,,</KeyMacGridData64>
|
||||||
|
<KeyMacGridData65>Free,-,-,,</KeyMacGridData65>
|
||||||
<KEY_SAVE_ALLOCATED_FUNCTION>True</KEY_SAVE_ALLOCATED_FUNCTION>
|
<KEY_SAVE_ALLOCATED_FUNCTION>True</KEY_SAVE_ALLOCATED_FUNCTION>
|
||||||
<KEY_SAVE_ALLOCATED_FUNCTION_TERMINAL_NUMBER_COLLECTION>7,8,15,16</KEY_SAVE_ALLOCATED_FUNCTION_TERMINAL_NUMBER_COLLECTION>
|
<KEY_SAVE_ALLOCATED_FUNCTION_TERMINAL_NUMBER_COLLECTION>7,8,15,16</KEY_SAVE_ALLOCATED_FUNCTION_TERMINAL_NUMBER_COLLECTION>
|
||||||
<KEY_SAVE_ALLOCATED_FCUNTION_COLLECTION7>7,P122,KR2,X2,EXCLK</KEY_SAVE_ALLOCATED_FCUNTION_COLLECTION7>
|
<KEY_SAVE_ALLOCATED_FCUNTION_COLLECTION7>7,P122,KR2,X2,EXCLK</KEY_SAVE_ALLOCATED_FCUNTION_COLLECTION7>
|
||||||
@ -2813,13 +2768,16 @@
|
|||||||
<KEY_SAVE_ALLOCATED_FCUNTION_COLLECTION15>15,P12,ANI18,SO00,TOOLTxD</KEY_SAVE_ALLOCATED_FCUNTION_COLLECTION15>
|
<KEY_SAVE_ALLOCATED_FCUNTION_COLLECTION15>15,P12,ANI18,SO00,TOOLTxD</KEY_SAVE_ALLOCATED_FCUNTION_COLLECTION15>
|
||||||
<KEY_SAVE_ALLOCATED_FCUNTION_COLLECTION16>16,P11,ANI17,SI00,SDA00,TOOLRxD</KEY_SAVE_ALLOCATED_FCUNTION_COLLECTION16>
|
<KEY_SAVE_ALLOCATED_FCUNTION_COLLECTION16>16,P11,ANI17,SI00,SDA00,TOOLRxD</KEY_SAVE_ALLOCATED_FCUNTION_COLLECTION16>
|
||||||
<KEY_SAVE_DEVICE_PIN_LIST_ZOOM>100</KEY_SAVE_DEVICE_PIN_LIST_ZOOM>
|
<KEY_SAVE_DEVICE_PIN_LIST_ZOOM>100</KEY_SAVE_DEVICE_PIN_LIST_ZOOM>
|
||||||
<KEY_SAVE_COLUMN_WIDTH_PIN_NUMBER>0:78:78,1:77:77,2:216:216,3:61:61,4:40:40,5:50:50,6:160:160,7:210:210,8:210:210,9:210:210,10:100:100</KEY_SAVE_COLUMN_WIDTH_PIN_NUMBER>
|
<KEY_SAVE_COLUMN_WIDTH_PIN_NUMBER>0:78:78,1:77:77,2:216:216,3:61:61,4:40:40,5:50:50,6:160:160,7:210:210,8:219:210,9:210:210,10:100:100</KEY_SAVE_COLUMN_WIDTH_PIN_NUMBER>
|
||||||
<KEY_SAVE_COLUMN_WIDTH_MACRO_PARENT>0:98:98,1:245:245,2:42:42,3:44:44,4:121:121,5:120:120,6:85:85</KEY_SAVE_COLUMN_WIDTH_MACRO_PARENT>
|
<KEY_SAVE_COLUMN_WIDTH_MACRO_PARENT>0:112:98,1:245:245,2:42:42,3:44:44,4:121:121,5:114:120,6:96:85</KEY_SAVE_COLUMN_WIDTH_MACRO_PARENT>
|
||||||
<KEY_SAVE_COLUMN_WIDTH_MACRO_CHILD>0:98:98,1:77:77,2:77:77,3:216:216,4:61:61,5:40:40,6:50:50,7:160:160,8:210:210,9:210:210,10:210:210,11:100:100</KEY_SAVE_COLUMN_WIDTH_MACRO_CHILD>
|
<KEY_SAVE_COLUMN_WIDTH_MACRO_CHILD>0:112:98,1:77:77,2:77:77,3:216:216,4:61:61,5:40:40,6:50:50,7:160:160,8:210:210,9:219:210,10:210:210,11:100:100</KEY_SAVE_COLUMN_WIDTH_MACRO_CHILD>
|
||||||
<KEY_SAVE_COLUMN_WIDTH_EXTERNAL_PARENT>0:98:98,1:100:100,2:43:43,3:150:150</KEY_SAVE_COLUMN_WIDTH_EXTERNAL_PARENT>
|
<KEY_SAVE_COLUMN_WIDTH_EXTERNAL_PARENT>0:112:98,1:100:100,2:43:43,3:182:150</KEY_SAVE_COLUMN_WIDTH_EXTERNAL_PARENT>
|
||||||
<KEY_SAVE_COLUMN_WIDTH_EXTERNAL_CHILD>0:98:98,1:78:78,2:77:77,3:216:216,4:61:61,5:40:40,6:50:50,7:160:160,8:210:210,9:210:210,10:210:210</KEY_SAVE_COLUMN_WIDTH_EXTERNAL_CHILD>
|
<KEY_SAVE_COLUMN_WIDTH_EXTERNAL_CHILD>0:112:98,1:78:78,2:77:77,3:216:216,4:61:61,5:40:40,6:50:50,7:160:160,8:210:210,9:219:210,10:210:210</KEY_SAVE_COLUMN_WIDTH_EXTERNAL_CHILD>
|
||||||
<KEY_SAVE_CREATED_PROJECT_DATA>True</KEY_SAVE_CREATED_PROJECT_DATA>
|
</Instance>
|
||||||
<KEY_SAVE_DEVICE_CHANGED_COUNTER>0</KEY_SAVE_DEVICE_CHANGED_COUNTER>
|
<Instance Guid="aacae7da-f24b-4709-81fa-541016e73641">
|
||||||
|
<KeyTopViewZoom>1</KeyTopViewZoom>
|
||||||
|
<KeyTopViewAngle>0</KeyTopViewAngle>
|
||||||
|
<KeyTopViewPartsCollapsed>False</KeyTopViewPartsCollapsed>
|
||||||
</Instance>
|
</Instance>
|
||||||
</Class>
|
</Class>
|
||||||
<Class Guid="100f3761-3d7e-4559-b1d8-375a0c7bf682">
|
<Class Guid="100f3761-3d7e-4559-b1d8-375a0c7bf682">
|
||||||
@ -3068,7 +3026,7 @@
|
|||||||
<PORT Forcible="" />
|
<PORT Forcible="" />
|
||||||
</Effect>
|
</Effect>
|
||||||
</IICA0>
|
</IICA0>
|
||||||
<ProjectName Name="PrjName" Text="K67LR" />
|
<ProjectName Name="PrjName" Text="M12" />
|
||||||
<ProjectPath Name="PrjPath" Text="F:\FCB_project\temp\M12\k67" />
|
<ProjectPath Name="PrjPath" Text="F:\FCB_project\temp\M12\k67" />
|
||||||
<ProjectKind Name="PrjKind" Text="Project78K0R" />
|
<ProjectKind Name="PrjKind" Text="Project78K0R" />
|
||||||
<DeviceName Name="DeviceName" Fixed="" Text="RL78G12" />
|
<DeviceName Name="DeviceName" Fixed="" Text="RL78G12" />
|
||||||
@ -3139,20 +3097,20 @@
|
|||||||
<Port2 ADIN="true">
|
<Port2 ADIN="true">
|
||||||
<P20 Name="P20/ANI0/AVREFP" AltFunc="ANALOG_0" Point="I/O" />
|
<P20 Name="P20/ANI0/AVREFP" AltFunc="ANALOG_0" Point="I/O" />
|
||||||
<P21 Name="P21/ANI1/AVREFM" AltFunc="ANI1" Point="I/O" />
|
<P21 Name="P21/ANI1/AVREFM" AltFunc="ANI1" Point="I/O" />
|
||||||
<P22 Name="P22/ANI2" AltFunc="" Point="I/O" />
|
<P22 Name="P22/ANI2" AltFunc="P22" Point="I/O" />
|
||||||
<P23 Name="P23/ANI3" AltFunc="P23" Point="I/O" />
|
<P23 Name="P23/ANI3" AltFunc="" Point="I/O" />
|
||||||
</Port2>
|
</Port2>
|
||||||
<Port4 Chip="RL78G12_20pin,RL78G12_24pin" Pullup="true">
|
<Port4 Chip="RL78G12_20pin,RL78G12_24pin" Pullup="true">
|
||||||
<P40 Name="P40/KR0/TOOL0" AltFunc="" Point="I/O" />
|
<P40 Name="P40/KR0/TOOL0" AltFunc="" Point="I/O" />
|
||||||
<P41 Name="P41/ANI22/SO01/SDA01/TI02/TO02/INTP1" DIN="true" Nch="true" AltFunc="P41" Point="I/O" />
|
<P41 Name="P41/ANI22/SO01/SDA01/TI02/TO02/INTP1" DIN="true" Nch="true" AltFunc="" Point="I/O" />
|
||||||
<P42 Name="P42/ANI21/_SCK01/SCL01/TI03/TO03" DIN="true" AltFunc="P42" Point="I/O" />
|
<P42 Name="P42/ANI21/_SCK01/SCL01/TI03/TO03" DIN="true" AltFunc="" Point="I/O" />
|
||||||
</Port4>
|
</Port4>
|
||||||
<Port6 Chip="RL78G12_20pin,RL78G12_24pin">
|
<Port6 Chip="RL78G12_20pin,RL78G12_24pin">
|
||||||
<P60 Name="P60/KR4/SCLA0" AltFunc="" Point="I/O" />
|
<P60 Name="P60/KR4/SCLA0" AltFunc="" Point="I/O" />
|
||||||
<P61 Name="P61/KR5/SDAA0" AltFunc="P61" Point="I/O" />
|
<P61 Name="P61/KR5/SDAA0" AltFunc="P61" Point="I/O" />
|
||||||
</Port6>
|
</Port6>
|
||||||
<Port12 Chip="RL78G12_20pin,RL78G12_24pin">
|
<Port12 Chip="RL78G12_20pin,RL78G12_24pin">
|
||||||
<P121 Name="P121/KR3/X1" AltFunc="P121" Point="I" />
|
<P121 Name="P121/KR3/X1" AltFunc="" Point="I" />
|
||||||
<P122 Name="P122/KR2/X2/EXCLK" AltFunc="" Point="I" />
|
<P122 Name="P122/KR2/X2/EXCLK" AltFunc="" Point="I" />
|
||||||
<P125 Name="P125/KR1/SI01/_RESET" Pullup="true" AltFunc="" Point="I" />
|
<P125 Name="P125/KR1/SI01/_RESET" Pullup="true" AltFunc="" Point="I" />
|
||||||
</Port12>
|
</Port12>
|
||||||
@ -3434,25 +3392,25 @@
|
|||||||
<r_cg_port.h UserName="r_cg_port.h" LibName=".h" InUse="1" />
|
<r_cg_port.h UserName="r_cg_port.h" LibName=".h" InUse="1" />
|
||||||
</PORT>
|
</PORT>
|
||||||
<INTC>
|
<INTC>
|
||||||
<r_cg_intc.c UserName="r_cg_intc.c" LibName=".c" InUse="">
|
<r_cg_intc.c UserName="r_cg_intc.c" LibName=".c" InUse="0">
|
||||||
<Type R_INTC_Create="void R_INTC_Create(void)" R_INTCn_Start="void R_INTCn_Start(void)" R_INTCn_Stop="void R_INTCn_Stop(void)" R_KEY_Create="void R_KEY_Create(void)" R_KEY_Start="void R_KEY_Start(void)" R_KEY_Stop="void R_KEY_Stop(void)" />
|
<Type R_INTC_Create="void R_INTC_Create(void)" R_INTCn_Start="void R_INTCn_Start(void)" R_INTCn_Stop="void R_INTCn_Stop(void)" R_KEY_Create="void R_KEY_Create(void)" R_KEY_Start="void R_KEY_Start(void)" R_KEY_Stop="void R_KEY_Stop(void)" />
|
||||||
<INTP>
|
<INTP>
|
||||||
<R_INTC_Create UserName="R_INTC_Create" LibName="R_INTC_Create" InUse="" Init="2" InitMode="" />
|
<R_INTC_Create UserName="R_INTC_Create" LibName="R_INTC_Create" InUse="0" Init="2" InitMode="" />
|
||||||
<INTP0>
|
<INTP0>
|
||||||
<R_INTC0_Start UserName="R_INTC0_Start" LibName="R_INTCn_Start" InUse="" />
|
<R_INTC0_Start UserName="R_INTC0_Start" LibName="R_INTCn_Start" InUse="0" />
|
||||||
<R_INTC0_Stop UserName="R_INTC0_Stop" LibName="R_INTCn_Stop" InUse="" />
|
<R_INTC0_Stop UserName="R_INTC0_Stop" LibName="R_INTCn_Stop" InUse="0" />
|
||||||
</INTP0>
|
</INTP0>
|
||||||
<INTP1>
|
<INTP1>
|
||||||
<R_INTC1_Start UserName="R_INTC1_Start" LibName="R_INTCn_Start" InUse="" />
|
<R_INTC1_Start UserName="R_INTC1_Start" LibName="R_INTCn_Start" InUse="0" />
|
||||||
<R_INTC1_Stop UserName="R_INTC1_Stop" LibName="R_INTCn_Stop" InUse="" />
|
<R_INTC1_Stop UserName="R_INTC1_Stop" LibName="R_INTCn_Stop" InUse="0" />
|
||||||
</INTP1>
|
</INTP1>
|
||||||
<INTP2>
|
<INTP2>
|
||||||
<R_INTC2_Start UserName="R_INTC2_Start" LibName="R_INTCn_Start" InUse="" />
|
<R_INTC2_Start UserName="R_INTC2_Start" LibName="R_INTCn_Start" InUse="0" />
|
||||||
<R_INTC2_Stop UserName="R_INTC2_Stop" LibName="R_INTCn_Stop" InUse="" />
|
<R_INTC2_Stop UserName="R_INTC2_Stop" LibName="R_INTCn_Stop" InUse="0" />
|
||||||
</INTP2>
|
</INTP2>
|
||||||
<INTP3>
|
<INTP3>
|
||||||
<R_INTC3_Start UserName="R_INTC3_Start" LibName="R_INTCn_Start" InUse="" />
|
<R_INTC3_Start UserName="R_INTC3_Start" LibName="R_INTCn_Start" InUse="0" />
|
||||||
<R_INTC3_Stop UserName="R_INTC3_Stop" LibName="R_INTCn_Stop" InUse="" />
|
<R_INTC3_Stop UserName="R_INTC3_Stop" LibName="R_INTCn_Stop" InUse="0" />
|
||||||
</INTP3>
|
</INTP3>
|
||||||
</INTP>
|
</INTP>
|
||||||
<KEY Chip="RL78G12_20pin,RL78G12_24pin,">
|
<KEY Chip="RL78G12_20pin,RL78G12_24pin,">
|
||||||
@ -3461,21 +3419,21 @@
|
|||||||
<R_KEY_Stop UserName="R_KEY_Stop" LibName="R_KEY_Stop" InUse="" />
|
<R_KEY_Stop UserName="R_KEY_Stop" LibName="R_KEY_Stop" InUse="" />
|
||||||
</KEY>
|
</KEY>
|
||||||
</r_cg_intc.c>
|
</r_cg_intc.c>
|
||||||
<r_cg_intc_user.c UserName="r_cg_intc_user.c" LibName="_user.c" InUse="">
|
<r_cg_intc_user.c UserName="r_cg_intc_user.c" LibName="_user.c" InUse="0">
|
||||||
<Type R_INTC_Create_UserInit="void R_INTC_Create_UserInit(void)" R_INTC0_Interrupt="__interrupt static void r_intc0_interrupt(void)" R_INTC1_Interrupt="__interrupt static void r_intc1_interrupt(void)" R_INTC2_Interrupt="__interrupt static void r_intc2_interrupt(void)" R_INTC3_Interrupt="__interrupt static void r_intc3_interrupt(void)" R_INTC4_Interrupt="__interrupt static void r_intc4_interrupt(void)" R_INTC5_Interrupt="__interrupt static void r_intc5_interrupt(void)" R_KEY_Create_UserInit="void R_KEY_Create_UserInit(void)" R_KEY_Interrupt="__interrupt static void r_key_interrupt(void)" />
|
<Type R_INTC_Create_UserInit="void R_INTC_Create_UserInit(void)" R_INTC0_Interrupt="__interrupt static void r_intc0_interrupt(void)" R_INTC1_Interrupt="__interrupt static void r_intc1_interrupt(void)" R_INTC2_Interrupt="__interrupt static void r_intc2_interrupt(void)" R_INTC3_Interrupt="__interrupt static void r_intc3_interrupt(void)" R_INTC4_Interrupt="__interrupt static void r_intc4_interrupt(void)" R_INTC5_Interrupt="__interrupt static void r_intc5_interrupt(void)" R_KEY_Create_UserInit="void R_KEY_Create_UserInit(void)" R_KEY_Interrupt="__interrupt static void r_key_interrupt(void)" />
|
||||||
<INTP>
|
<INTP>
|
||||||
<R_INTC_Create_UserInit UserName="R_INTC_Create_UserInit" LibName="R_INTC_Create_UserInit" InUse="" />
|
<R_INTC_Create_UserInit UserName="R_INTC_Create_UserInit" LibName="R_INTC_Create_UserInit" InUse="0" />
|
||||||
<r_intc0_interrupt UserName="r_intc0_interrupt" LibName="R_INTC0_Interrupt" INTHandle="" InUse="" />
|
<r_intc0_interrupt UserName="r_intc0_interrupt" LibName="R_INTC0_Interrupt" INTHandle="" InUse="0" />
|
||||||
<r_intc1_interrupt UserName="r_intc1_interrupt" LibName="R_INTC1_Interrupt" INTHandle="" InUse="" />
|
<r_intc1_interrupt UserName="r_intc1_interrupt" LibName="R_INTC1_Interrupt" INTHandle="" InUse="0" />
|
||||||
<r_intc2_interrupt UserName="r_intc2_interrupt" LibName="R_INTC2_Interrupt" INTHandle="" InUse="" />
|
<r_intc2_interrupt UserName="r_intc2_interrupt" LibName="R_INTC2_Interrupt" INTHandle="" InUse="0" />
|
||||||
<r_intc3_interrupt UserName="r_intc3_interrupt" LibName="R_INTC3_Interrupt" INTHandle="" InUse="" />
|
<r_intc3_interrupt UserName="r_intc3_interrupt" LibName="R_INTC3_Interrupt" INTHandle="" InUse="0" />
|
||||||
</INTP>
|
</INTP>
|
||||||
<KEY Chip="RL78G12_20pin,RL78G12_24pin,">
|
<KEY Chip="RL78G12_20pin,RL78G12_24pin,">
|
||||||
<R_KEY_Create_UserInit UserName="R_KEY_Create_UserInit" LibName="R_KEY_Create_UserInit" InUse="" />
|
<R_KEY_Create_UserInit UserName="R_KEY_Create_UserInit" LibName="R_KEY_Create_UserInit" InUse="" />
|
||||||
<r_key_interrupt UserName="r_key_interrupt" LibName="R_KEY_Interrupt" INTHandle="" InUse="" />
|
<r_key_interrupt UserName="r_key_interrupt" LibName="R_KEY_Interrupt" INTHandle="" InUse="" />
|
||||||
</KEY>
|
</KEY>
|
||||||
</r_cg_intc_user.c>
|
</r_cg_intc_user.c>
|
||||||
<r_cg_intc.h UserName="r_cg_intc.h" LibName=".h" InUse="" />
|
<r_cg_intc.h UserName="r_cg_intc.h" LibName=".h" InUse="0" />
|
||||||
</INTC>
|
</INTC>
|
||||||
<Serial>
|
<Serial>
|
||||||
<r_cg_serial.c UserName="r_cg_serial.c" LibName=".c" InUse="0">
|
<r_cg_serial.c UserName="r_cg_serial.c" LibName=".c" InUse="0">
|
||||||
@ -3790,9 +3748,9 @@
|
|||||||
<PORT HelpID="port" Prepared="true" SetFlag="True" NeedRefresh="False">
|
<PORT HelpID="port" Prepared="true" SetFlag="True" NeedRefresh="False">
|
||||||
<PORT SetFlag="True" MacroName="PORT" />
|
<PORT SetFlag="True" MacroName="PORT" />
|
||||||
</PORT>
|
</PORT>
|
||||||
<INTC SetFlag="" HelpID="int" NeedRefresh="False">
|
<INTC SetFlag="False" HelpID="int" NeedRefresh="False">
|
||||||
<INTP Accelerate="No" MacroName="INTP" />
|
<INTP Accelerate="No" MacroName="INTP" SetFlag="False" TabEnable="True" />
|
||||||
<KEY Chip="RL78G12_20pin,RL78G12_24pin," MacroName="KEY" />
|
<KEY Chip="RL78G12_20pin,RL78G12_24pin," MacroName="KEY" TabEnable="True" />
|
||||||
</INTC>
|
</INTC>
|
||||||
<Serial SetFlag="False" HelpID="serial" NeedRefresh="False">
|
<Serial SetFlag="False" HelpID="serial" NeedRefresh="False">
|
||||||
<SAU0 Chip="RL78G12_20pin,RL78G12_24pin" Accelerate="No" MacroName="SAU" Channel="0" SetFlag="False" TabEnable="True">
|
<SAU0 Chip="RL78G12_20pin,RL78G12_24pin" Accelerate="No" MacroName="SAU" Channel="0" SetFlag="False" TabEnable="True">
|
||||||
@ -3930,14 +3888,14 @@
|
|||||||
<setting name="Output_value" value="0" />
|
<setting name="Output_value" value="0" />
|
||||||
</P21>
|
</P21>
|
||||||
<P22>
|
<P22>
|
||||||
<setting name="Operation" value="unused" />
|
<setting name="Operation" value="input" />
|
||||||
<setting name="Pull_up" value="unused" />
|
<setting name="Pull_up" value="unused" />
|
||||||
<setting name="TTL_buffer" value="unused" />
|
<setting name="TTL_buffer" value="unused" />
|
||||||
<setting name="N-ch_open-drain" value="unused" />
|
<setting name="N-ch_open-drain" value="unused" />
|
||||||
<setting name="Output_value" value="0" />
|
<setting name="Output_value" value="0" />
|
||||||
</P22>
|
</P22>
|
||||||
<P23>
|
<P23>
|
||||||
<setting name="Operation" value="input" />
|
<setting name="Operation" value="unused" />
|
||||||
<setting name="Pull_up" value="unused" />
|
<setting name="Pull_up" value="unused" />
|
||||||
<setting name="TTL_buffer" value="unused" />
|
<setting name="TTL_buffer" value="unused" />
|
||||||
<setting name="N-ch_open-drain" value="unused" />
|
<setting name="N-ch_open-drain" value="unused" />
|
||||||
@ -3947,20 +3905,20 @@
|
|||||||
<PortP4>
|
<PortP4>
|
||||||
<P40>
|
<P40>
|
||||||
<setting name="Operation" value="unused" />
|
<setting name="Operation" value="unused" />
|
||||||
<setting name="Pull_up" value="used" />
|
<setting name="Pull_up" value="unused" />
|
||||||
<setting name="TTL_buffer" value="unused" />
|
<setting name="TTL_buffer" value="unused" />
|
||||||
<setting name="N-ch_open-drain" value="unused" />
|
<setting name="N-ch_open-drain" value="unused" />
|
||||||
<setting name="Output_value" value="0" />
|
<setting name="Output_value" value="0" />
|
||||||
</P40>
|
</P40>
|
||||||
<P41>
|
<P41>
|
||||||
<setting name="Operation" value="output" />
|
<setting name="Operation" value="unused" />
|
||||||
<setting name="Pull_up" value="unused" />
|
<setting name="Pull_up" value="unused" />
|
||||||
<setting name="TTL_buffer" value="unused" />
|
<setting name="TTL_buffer" value="unused" />
|
||||||
<setting name="N-ch_open-drain" value="unused" />
|
<setting name="N-ch_open-drain" value="unused" />
|
||||||
<setting name="Output_value" value="1" />
|
<setting name="Output_value" value="1" />
|
||||||
</P41>
|
</P41>
|
||||||
<P42>
|
<P42>
|
||||||
<setting name="Operation" value="output" />
|
<setting name="Operation" value="unused" />
|
||||||
<setting name="Pull_up" value="unused" />
|
<setting name="Pull_up" value="unused" />
|
||||||
<setting name="TTL_buffer" value="unused" />
|
<setting name="TTL_buffer" value="unused" />
|
||||||
<setting name="N-ch_open-drain" value="unused" />
|
<setting name="N-ch_open-drain" value="unused" />
|
||||||
@ -3985,7 +3943,7 @@
|
|||||||
</PortP6>
|
</PortP6>
|
||||||
<PortP12>
|
<PortP12>
|
||||||
<P121>
|
<P121>
|
||||||
<setting name="Operation" value="input" />
|
<setting name="Operation" value="unused" />
|
||||||
<setting name="Pull_up" value="unused" />
|
<setting name="Pull_up" value="unused" />
|
||||||
<setting name="TTL_buffer" value="unused" />
|
<setting name="TTL_buffer" value="unused" />
|
||||||
<setting name="N-ch_open-drain" value="unused" />
|
<setting name="N-ch_open-drain" value="unused" />
|
||||||
@ -4025,7 +3983,7 @@
|
|||||||
<setting name="AD_Trigger" value="hardtrinowait" />
|
<setting name="AD_Trigger" value="hardtrinowait" />
|
||||||
<setting name="AD_Trigger_Timer" value="0" />
|
<setting name="AD_Trigger_Timer" value="0" />
|
||||||
<setting name="Mode" value="ONESELECT" />
|
<setting name="Mode" value="ONESELECT" />
|
||||||
<setting name="InputPins" value="1" />
|
<setting name="InputPins" value="0" />
|
||||||
<setting name="InputPinsAttach" value="ANI0 - ANI1" />
|
<setting name="InputPinsAttach" value="ANI0 - ANI1" />
|
||||||
<setting name="AD_Inputpin16" value="unused" />
|
<setting name="AD_Inputpin16" value="unused" />
|
||||||
<setting name="AD_Inputpin17" value="unused" />
|
<setting name="AD_Inputpin17" value="unused" />
|
||||||
@ -4176,10 +4134,56 @@
|
|||||||
<IICA0>
|
<IICA0>
|
||||||
<setting name="Mode" value="Unused" />
|
<setting name="Mode" value="Unused" />
|
||||||
</IICA0>
|
</IICA0>
|
||||||
|
<INTP>
|
||||||
|
<INTP0>
|
||||||
|
<setting name="Valid_edge" value="falling" />
|
||||||
|
<setting name="Operation" value="unused" />
|
||||||
|
<setting name="ValidEdge" value="0" />
|
||||||
|
<setting name="Interrupt_priority" value="3" />
|
||||||
|
<setting name="pinsel" value="-1" />
|
||||||
|
</INTP0>
|
||||||
|
<INTP1>
|
||||||
|
<setting name="Valid_edge" value="falling" />
|
||||||
|
<setting name="Operation" value="unused" />
|
||||||
|
<setting name="ValidEdge" value="0" />
|
||||||
|
<setting name="Interrupt_priority" value="3" />
|
||||||
|
<setting name="pinsel" value="-1" />
|
||||||
|
</INTP1>
|
||||||
|
<INTP2>
|
||||||
|
<setting name="Valid_edge" value="falling" />
|
||||||
|
<setting name="Operation" value="unused" />
|
||||||
|
<setting name="ValidEdge" value="0" />
|
||||||
|
<setting name="Interrupt_priority" value="3" />
|
||||||
|
<setting name="pinsel" value="-1" />
|
||||||
|
</INTP2>
|
||||||
|
<INTP3>
|
||||||
|
<setting name="Valid_edge" value="falling" />
|
||||||
|
<setting name="Operation" value="unused" />
|
||||||
|
<setting name="ValidEdge" value="0" />
|
||||||
|
<setting name="Interrupt_priority" value="3" />
|
||||||
|
<setting name="pinsel" value="-1" />
|
||||||
|
</INTP3>
|
||||||
|
</INTP>
|
||||||
|
<KEY>
|
||||||
|
<setting name="Interrupt_priority" value="3" />
|
||||||
|
<setting name="KR0" value="unused" />
|
||||||
|
<setting name="KR1" value="unused" />
|
||||||
|
<setting name="KR2" value="unused" />
|
||||||
|
<setting name="KR3" value="unused" />
|
||||||
|
<setting name="KR4" value="unused" />
|
||||||
|
<setting name="KR5" value="unused" />
|
||||||
|
<setting name="KR6" value="unused" />
|
||||||
|
<setting name="KR7" value="unused" />
|
||||||
|
<setting name="KR8" value="unused" />
|
||||||
|
<setting name="KR9" value="unused" />
|
||||||
|
<setting name="EdgeSelection" value="0" />
|
||||||
|
<setting name="FlagUse" value="0" />
|
||||||
|
</KEY>
|
||||||
</SETTING>
|
</SETTING>
|
||||||
</RL78G12></CodeGenerator>
|
</RL78G12></CodeGenerator>
|
||||||
<FormatVersion>1.0</FormatVersion>
|
<FormatVersion>1.0</FormatVersion>
|
||||||
<ToolGUID>6c6bb60a-ffe1-4884-8dec-f255a2e58155</ToolGUID>
|
<ToolGUID>6c6bb60a-ffe1-4884-8dec-f255a2e58155</ToolGUID>
|
||||||
|
<CodeGeneratorItem>b8348788-df17-4b71-a9fa-eab0f1824fb1</CodeGeneratorItem>
|
||||||
</Instance>
|
</Instance>
|
||||||
</Class>
|
</Class>
|
||||||
<Class Guid="2a2c2a43-ecdb-4e88-80bd-e75f3e33db90">
|
<Class Guid="2a2c2a43-ecdb-4e88-80bd-e75f3e33db90">
|
||||||
|
116
M12.rcpe
116
M12.rcpe
@ -17,8 +17,6 @@
|
|||||||
<Path>r_cg_cgc_user.c</Path>
|
<Path>r_cg_cgc_user.c</Path>
|
||||||
<Path>r_cg_port.c</Path>
|
<Path>r_cg_port.c</Path>
|
||||||
<Path>r_cg_port_user.c</Path>
|
<Path>r_cg_port_user.c</Path>
|
||||||
<Path>r_cg_serial.c</Path>
|
|
||||||
<Path>r_cg_serial_user.c</Path>
|
|
||||||
<Path>r_cg_adc.c</Path>
|
<Path>r_cg_adc.c</Path>
|
||||||
<Path>r_cg_adc_user.c</Path>
|
<Path>r_cg_adc_user.c</Path>
|
||||||
<Path>r_cg_timer.c</Path>
|
<Path>r_cg_timer.c</Path>
|
||||||
@ -29,7 +27,6 @@
|
|||||||
<Path>r_cg_userdefine.h</Path>
|
<Path>r_cg_userdefine.h</Path>
|
||||||
<Path>r_cg_cgc.h</Path>
|
<Path>r_cg_cgc.h</Path>
|
||||||
<Path>r_cg_port.h</Path>
|
<Path>r_cg_port.h</Path>
|
||||||
<Path>r_cg_serial.h</Path>
|
|
||||||
<Path>r_cg_adc.h</Path>
|
<Path>r_cg_adc.h</Path>
|
||||||
<Path>r_cg_timer.h</Path>
|
<Path>r_cg_timer.h</Path>
|
||||||
<Path>r_cg_wdt.h</Path>
|
<Path>r_cg_wdt.h</Path>
|
||||||
@ -57,8 +54,6 @@
|
|||||||
<Path>DefaultBuild\r_cg_cgc_user.obj</Path>
|
<Path>DefaultBuild\r_cg_cgc_user.obj</Path>
|
||||||
<Path>DefaultBuild\r_cg_port.obj</Path>
|
<Path>DefaultBuild\r_cg_port.obj</Path>
|
||||||
<Path>DefaultBuild\r_cg_port_user.obj</Path>
|
<Path>DefaultBuild\r_cg_port_user.obj</Path>
|
||||||
<Path>DefaultBuild\r_cg_serial.obj</Path>
|
|
||||||
<Path>DefaultBuild\r_cg_serial_user.obj</Path>
|
|
||||||
<Path>DefaultBuild\r_cg_adc.obj</Path>
|
<Path>DefaultBuild\r_cg_adc.obj</Path>
|
||||||
<Path>DefaultBuild\r_cg_adc_user.obj</Path>
|
<Path>DefaultBuild\r_cg_adc_user.obj</Path>
|
||||||
<Path>DefaultBuild\r_cg_timer.obj</Path>
|
<Path>DefaultBuild\r_cg_timer.obj</Path>
|
||||||
@ -230,7 +225,7 @@
|
|||||||
<PORT Forcible="" />
|
<PORT Forcible="" />
|
||||||
</Effect>
|
</Effect>
|
||||||
</IICA0>
|
</IICA0>
|
||||||
<ProjectName Name="PrjName" Text="K67LR" />
|
<ProjectName Name="PrjName" Text="M12" />
|
||||||
<ProjectPath Name="PrjPath" Text="F:\FCB_project\temp\M12\k67" />
|
<ProjectPath Name="PrjPath" Text="F:\FCB_project\temp\M12\k67" />
|
||||||
<ProjectKind Name="PrjKind" Text="Project78K0R" />
|
<ProjectKind Name="PrjKind" Text="Project78K0R" />
|
||||||
<DeviceName Name="DeviceName" Fixed="" Text="RL78G12" />
|
<DeviceName Name="DeviceName" Fixed="" Text="RL78G12" />
|
||||||
@ -301,20 +296,20 @@
|
|||||||
<Port2 ADIN="true">
|
<Port2 ADIN="true">
|
||||||
<P20 Name="P20/ANI0/AVREFP" AltFunc="ANALOG_0" Point="I/O" />
|
<P20 Name="P20/ANI0/AVREFP" AltFunc="ANALOG_0" Point="I/O" />
|
||||||
<P21 Name="P21/ANI1/AVREFM" AltFunc="ANI1" Point="I/O" />
|
<P21 Name="P21/ANI1/AVREFM" AltFunc="ANI1" Point="I/O" />
|
||||||
<P22 Name="P22/ANI2" AltFunc="" Point="I/O" />
|
<P22 Name="P22/ANI2" AltFunc="P22" Point="I/O" />
|
||||||
<P23 Name="P23/ANI3" AltFunc="P23" Point="I/O" />
|
<P23 Name="P23/ANI3" AltFunc="" Point="I/O" />
|
||||||
</Port2>
|
</Port2>
|
||||||
<Port4 Chip="RL78G12_20pin,RL78G12_24pin" Pullup="true">
|
<Port4 Chip="RL78G12_20pin,RL78G12_24pin" Pullup="true">
|
||||||
<P40 Name="P40/KR0/TOOL0" AltFunc="" Point="I/O" />
|
<P40 Name="P40/KR0/TOOL0" AltFunc="" Point="I/O" />
|
||||||
<P41 Name="P41/ANI22/SO01/SDA01/TI02/TO02/INTP1" DIN="true" Nch="true" AltFunc="P41" Point="I/O" />
|
<P41 Name="P41/ANI22/SO01/SDA01/TI02/TO02/INTP1" DIN="true" Nch="true" AltFunc="" Point="I/O" />
|
||||||
<P42 Name="P42/ANI21/_SCK01/SCL01/TI03/TO03" DIN="true" AltFunc="P42" Point="I/O" />
|
<P42 Name="P42/ANI21/_SCK01/SCL01/TI03/TO03" DIN="true" AltFunc="" Point="I/O" />
|
||||||
</Port4>
|
</Port4>
|
||||||
<Port6 Chip="RL78G12_20pin,RL78G12_24pin">
|
<Port6 Chip="RL78G12_20pin,RL78G12_24pin">
|
||||||
<P60 Name="P60/KR4/SCLA0" AltFunc="" Point="I/O" />
|
<P60 Name="P60/KR4/SCLA0" AltFunc="" Point="I/O" />
|
||||||
<P61 Name="P61/KR5/SDAA0" AltFunc="P61" Point="I/O" />
|
<P61 Name="P61/KR5/SDAA0" AltFunc="P61" Point="I/O" />
|
||||||
</Port6>
|
</Port6>
|
||||||
<Port12 Chip="RL78G12_20pin,RL78G12_24pin">
|
<Port12 Chip="RL78G12_20pin,RL78G12_24pin">
|
||||||
<P121 Name="P121/KR3/X1" AltFunc="P121" Point="I" />
|
<P121 Name="P121/KR3/X1" AltFunc="" Point="I" />
|
||||||
<P122 Name="P122/KR2/X2/EXCLK" AltFunc="" Point="I" />
|
<P122 Name="P122/KR2/X2/EXCLK" AltFunc="" Point="I" />
|
||||||
<P125 Name="P125/KR1/SI01/_RESET" Pullup="true" AltFunc="" Point="I" />
|
<P125 Name="P125/KR1/SI01/_RESET" Pullup="true" AltFunc="" Point="I" />
|
||||||
</Port12>
|
</Port12>
|
||||||
@ -596,25 +591,25 @@
|
|||||||
<r_cg_port.h UserName="r_cg_port.h" LibName=".h" InUse="1" />
|
<r_cg_port.h UserName="r_cg_port.h" LibName=".h" InUse="1" />
|
||||||
</PORT>
|
</PORT>
|
||||||
<INTC>
|
<INTC>
|
||||||
<r_cg_intc.c UserName="r_cg_intc.c" LibName=".c" InUse="">
|
<r_cg_intc.c UserName="r_cg_intc.c" LibName=".c" InUse="0">
|
||||||
<Type R_INTC_Create="void R_INTC_Create(void)" R_INTCn_Start="void R_INTCn_Start(void)" R_INTCn_Stop="void R_INTCn_Stop(void)" R_KEY_Create="void R_KEY_Create(void)" R_KEY_Start="void R_KEY_Start(void)" R_KEY_Stop="void R_KEY_Stop(void)" />
|
<Type R_INTC_Create="void R_INTC_Create(void)" R_INTCn_Start="void R_INTCn_Start(void)" R_INTCn_Stop="void R_INTCn_Stop(void)" R_KEY_Create="void R_KEY_Create(void)" R_KEY_Start="void R_KEY_Start(void)" R_KEY_Stop="void R_KEY_Stop(void)" />
|
||||||
<INTP>
|
<INTP>
|
||||||
<R_INTC_Create UserName="R_INTC_Create" LibName="R_INTC_Create" InUse="" Init="2" InitMode="" />
|
<R_INTC_Create UserName="R_INTC_Create" LibName="R_INTC_Create" InUse="0" Init="2" InitMode="" />
|
||||||
<INTP0>
|
<INTP0>
|
||||||
<R_INTC0_Start UserName="R_INTC0_Start" LibName="R_INTCn_Start" InUse="" />
|
<R_INTC0_Start UserName="R_INTC0_Start" LibName="R_INTCn_Start" InUse="0" />
|
||||||
<R_INTC0_Stop UserName="R_INTC0_Stop" LibName="R_INTCn_Stop" InUse="" />
|
<R_INTC0_Stop UserName="R_INTC0_Stop" LibName="R_INTCn_Stop" InUse="0" />
|
||||||
</INTP0>
|
</INTP0>
|
||||||
<INTP1>
|
<INTP1>
|
||||||
<R_INTC1_Start UserName="R_INTC1_Start" LibName="R_INTCn_Start" InUse="" />
|
<R_INTC1_Start UserName="R_INTC1_Start" LibName="R_INTCn_Start" InUse="0" />
|
||||||
<R_INTC1_Stop UserName="R_INTC1_Stop" LibName="R_INTCn_Stop" InUse="" />
|
<R_INTC1_Stop UserName="R_INTC1_Stop" LibName="R_INTCn_Stop" InUse="0" />
|
||||||
</INTP1>
|
</INTP1>
|
||||||
<INTP2>
|
<INTP2>
|
||||||
<R_INTC2_Start UserName="R_INTC2_Start" LibName="R_INTCn_Start" InUse="" />
|
<R_INTC2_Start UserName="R_INTC2_Start" LibName="R_INTCn_Start" InUse="0" />
|
||||||
<R_INTC2_Stop UserName="R_INTC2_Stop" LibName="R_INTCn_Stop" InUse="" />
|
<R_INTC2_Stop UserName="R_INTC2_Stop" LibName="R_INTCn_Stop" InUse="0" />
|
||||||
</INTP2>
|
</INTP2>
|
||||||
<INTP3>
|
<INTP3>
|
||||||
<R_INTC3_Start UserName="R_INTC3_Start" LibName="R_INTCn_Start" InUse="" />
|
<R_INTC3_Start UserName="R_INTC3_Start" LibName="R_INTCn_Start" InUse="0" />
|
||||||
<R_INTC3_Stop UserName="R_INTC3_Stop" LibName="R_INTCn_Stop" InUse="" />
|
<R_INTC3_Stop UserName="R_INTC3_Stop" LibName="R_INTCn_Stop" InUse="0" />
|
||||||
</INTP3>
|
</INTP3>
|
||||||
</INTP>
|
</INTP>
|
||||||
<KEY Chip="RL78G12_20pin,RL78G12_24pin,">
|
<KEY Chip="RL78G12_20pin,RL78G12_24pin,">
|
||||||
@ -623,21 +618,21 @@
|
|||||||
<R_KEY_Stop UserName="R_KEY_Stop" LibName="R_KEY_Stop" InUse="" />
|
<R_KEY_Stop UserName="R_KEY_Stop" LibName="R_KEY_Stop" InUse="" />
|
||||||
</KEY>
|
</KEY>
|
||||||
</r_cg_intc.c>
|
</r_cg_intc.c>
|
||||||
<r_cg_intc_user.c UserName="r_cg_intc_user.c" LibName="_user.c" InUse="">
|
<r_cg_intc_user.c UserName="r_cg_intc_user.c" LibName="_user.c" InUse="0">
|
||||||
<Type R_INTC_Create_UserInit="void R_INTC_Create_UserInit(void)" R_INTC0_Interrupt="__interrupt static void r_intc0_interrupt(void)" R_INTC1_Interrupt="__interrupt static void r_intc1_interrupt(void)" R_INTC2_Interrupt="__interrupt static void r_intc2_interrupt(void)" R_INTC3_Interrupt="__interrupt static void r_intc3_interrupt(void)" R_INTC4_Interrupt="__interrupt static void r_intc4_interrupt(void)" R_INTC5_Interrupt="__interrupt static void r_intc5_interrupt(void)" R_KEY_Create_UserInit="void R_KEY_Create_UserInit(void)" R_KEY_Interrupt="__interrupt static void r_key_interrupt(void)" />
|
<Type R_INTC_Create_UserInit="void R_INTC_Create_UserInit(void)" R_INTC0_Interrupt="__interrupt static void r_intc0_interrupt(void)" R_INTC1_Interrupt="__interrupt static void r_intc1_interrupt(void)" R_INTC2_Interrupt="__interrupt static void r_intc2_interrupt(void)" R_INTC3_Interrupt="__interrupt static void r_intc3_interrupt(void)" R_INTC4_Interrupt="__interrupt static void r_intc4_interrupt(void)" R_INTC5_Interrupt="__interrupt static void r_intc5_interrupt(void)" R_KEY_Create_UserInit="void R_KEY_Create_UserInit(void)" R_KEY_Interrupt="__interrupt static void r_key_interrupt(void)" />
|
||||||
<INTP>
|
<INTP>
|
||||||
<R_INTC_Create_UserInit UserName="R_INTC_Create_UserInit" LibName="R_INTC_Create_UserInit" InUse="" />
|
<R_INTC_Create_UserInit UserName="R_INTC_Create_UserInit" LibName="R_INTC_Create_UserInit" InUse="0" />
|
||||||
<r_intc0_interrupt UserName="r_intc0_interrupt" LibName="R_INTC0_Interrupt" INTHandle="" InUse="" />
|
<r_intc0_interrupt UserName="r_intc0_interrupt" LibName="R_INTC0_Interrupt" INTHandle="" InUse="0" />
|
||||||
<r_intc1_interrupt UserName="r_intc1_interrupt" LibName="R_INTC1_Interrupt" INTHandle="" InUse="" />
|
<r_intc1_interrupt UserName="r_intc1_interrupt" LibName="R_INTC1_Interrupt" INTHandle="" InUse="0" />
|
||||||
<r_intc2_interrupt UserName="r_intc2_interrupt" LibName="R_INTC2_Interrupt" INTHandle="" InUse="" />
|
<r_intc2_interrupt UserName="r_intc2_interrupt" LibName="R_INTC2_Interrupt" INTHandle="" InUse="0" />
|
||||||
<r_intc3_interrupt UserName="r_intc3_interrupt" LibName="R_INTC3_Interrupt" INTHandle="" InUse="" />
|
<r_intc3_interrupt UserName="r_intc3_interrupt" LibName="R_INTC3_Interrupt" INTHandle="" InUse="0" />
|
||||||
</INTP>
|
</INTP>
|
||||||
<KEY Chip="RL78G12_20pin,RL78G12_24pin,">
|
<KEY Chip="RL78G12_20pin,RL78G12_24pin,">
|
||||||
<R_KEY_Create_UserInit UserName="R_KEY_Create_UserInit" LibName="R_KEY_Create_UserInit" InUse="" />
|
<R_KEY_Create_UserInit UserName="R_KEY_Create_UserInit" LibName="R_KEY_Create_UserInit" InUse="" />
|
||||||
<r_key_interrupt UserName="r_key_interrupt" LibName="R_KEY_Interrupt" INTHandle="" InUse="" />
|
<r_key_interrupt UserName="r_key_interrupt" LibName="R_KEY_Interrupt" INTHandle="" InUse="" />
|
||||||
</KEY>
|
</KEY>
|
||||||
</r_cg_intc_user.c>
|
</r_cg_intc_user.c>
|
||||||
<r_cg_intc.h UserName="r_cg_intc.h" LibName=".h" InUse="" />
|
<r_cg_intc.h UserName="r_cg_intc.h" LibName=".h" InUse="0" />
|
||||||
</INTC>
|
</INTC>
|
||||||
<Serial>
|
<Serial>
|
||||||
<r_cg_serial.c UserName="r_cg_serial.c" LibName=".c" InUse="0">
|
<r_cg_serial.c UserName="r_cg_serial.c" LibName=".c" InUse="0">
|
||||||
@ -952,9 +947,9 @@
|
|||||||
<PORT HelpID="port" Prepared="true" SetFlag="True" NeedRefresh="False">
|
<PORT HelpID="port" Prepared="true" SetFlag="True" NeedRefresh="False">
|
||||||
<PORT SetFlag="True" MacroName="PORT" />
|
<PORT SetFlag="True" MacroName="PORT" />
|
||||||
</PORT>
|
</PORT>
|
||||||
<INTC SetFlag="" HelpID="int" NeedRefresh="False">
|
<INTC SetFlag="False" HelpID="int" NeedRefresh="False">
|
||||||
<INTP Accelerate="No" MacroName="INTP" />
|
<INTP Accelerate="No" MacroName="INTP" SetFlag="False" TabEnable="True" />
|
||||||
<KEY Chip="RL78G12_20pin,RL78G12_24pin," MacroName="KEY" />
|
<KEY Chip="RL78G12_20pin,RL78G12_24pin," MacroName="KEY" TabEnable="True" />
|
||||||
</INTC>
|
</INTC>
|
||||||
<Serial SetFlag="False" HelpID="serial" NeedRefresh="False">
|
<Serial SetFlag="False" HelpID="serial" NeedRefresh="False">
|
||||||
<SAU0 Chip="RL78G12_20pin,RL78G12_24pin" Accelerate="No" MacroName="SAU" Channel="0" SetFlag="False" TabEnable="True">
|
<SAU0 Chip="RL78G12_20pin,RL78G12_24pin" Accelerate="No" MacroName="SAU" Channel="0" SetFlag="False" TabEnable="True">
|
||||||
@ -1092,14 +1087,14 @@
|
|||||||
<setting name="Output_value" value="0" />
|
<setting name="Output_value" value="0" />
|
||||||
</P21>
|
</P21>
|
||||||
<P22>
|
<P22>
|
||||||
<setting name="Operation" value="unused" />
|
<setting name="Operation" value="input" />
|
||||||
<setting name="Pull_up" value="unused" />
|
<setting name="Pull_up" value="unused" />
|
||||||
<setting name="TTL_buffer" value="unused" />
|
<setting name="TTL_buffer" value="unused" />
|
||||||
<setting name="N-ch_open-drain" value="unused" />
|
<setting name="N-ch_open-drain" value="unused" />
|
||||||
<setting name="Output_value" value="0" />
|
<setting name="Output_value" value="0" />
|
||||||
</P22>
|
</P22>
|
||||||
<P23>
|
<P23>
|
||||||
<setting name="Operation" value="input" />
|
<setting name="Operation" value="unused" />
|
||||||
<setting name="Pull_up" value="unused" />
|
<setting name="Pull_up" value="unused" />
|
||||||
<setting name="TTL_buffer" value="unused" />
|
<setting name="TTL_buffer" value="unused" />
|
||||||
<setting name="N-ch_open-drain" value="unused" />
|
<setting name="N-ch_open-drain" value="unused" />
|
||||||
@ -1109,20 +1104,20 @@
|
|||||||
<PortP4>
|
<PortP4>
|
||||||
<P40>
|
<P40>
|
||||||
<setting name="Operation" value="unused" />
|
<setting name="Operation" value="unused" />
|
||||||
<setting name="Pull_up" value="used" />
|
<setting name="Pull_up" value="unused" />
|
||||||
<setting name="TTL_buffer" value="unused" />
|
<setting name="TTL_buffer" value="unused" />
|
||||||
<setting name="N-ch_open-drain" value="unused" />
|
<setting name="N-ch_open-drain" value="unused" />
|
||||||
<setting name="Output_value" value="0" />
|
<setting name="Output_value" value="0" />
|
||||||
</P40>
|
</P40>
|
||||||
<P41>
|
<P41>
|
||||||
<setting name="Operation" value="output" />
|
<setting name="Operation" value="unused" />
|
||||||
<setting name="Pull_up" value="unused" />
|
<setting name="Pull_up" value="unused" />
|
||||||
<setting name="TTL_buffer" value="unused" />
|
<setting name="TTL_buffer" value="unused" />
|
||||||
<setting name="N-ch_open-drain" value="unused" />
|
<setting name="N-ch_open-drain" value="unused" />
|
||||||
<setting name="Output_value" value="1" />
|
<setting name="Output_value" value="1" />
|
||||||
</P41>
|
</P41>
|
||||||
<P42>
|
<P42>
|
||||||
<setting name="Operation" value="output" />
|
<setting name="Operation" value="unused" />
|
||||||
<setting name="Pull_up" value="unused" />
|
<setting name="Pull_up" value="unused" />
|
||||||
<setting name="TTL_buffer" value="unused" />
|
<setting name="TTL_buffer" value="unused" />
|
||||||
<setting name="N-ch_open-drain" value="unused" />
|
<setting name="N-ch_open-drain" value="unused" />
|
||||||
@ -1147,7 +1142,7 @@
|
|||||||
</PortP6>
|
</PortP6>
|
||||||
<PortP12>
|
<PortP12>
|
||||||
<P121>
|
<P121>
|
||||||
<setting name="Operation" value="input" />
|
<setting name="Operation" value="unused" />
|
||||||
<setting name="Pull_up" value="unused" />
|
<setting name="Pull_up" value="unused" />
|
||||||
<setting name="TTL_buffer" value="unused" />
|
<setting name="TTL_buffer" value="unused" />
|
||||||
<setting name="N-ch_open-drain" value="unused" />
|
<setting name="N-ch_open-drain" value="unused" />
|
||||||
@ -1187,7 +1182,7 @@
|
|||||||
<setting name="AD_Trigger" value="hardtrinowait" />
|
<setting name="AD_Trigger" value="hardtrinowait" />
|
||||||
<setting name="AD_Trigger_Timer" value="0" />
|
<setting name="AD_Trigger_Timer" value="0" />
|
||||||
<setting name="Mode" value="ONESELECT" />
|
<setting name="Mode" value="ONESELECT" />
|
||||||
<setting name="InputPins" value="1" />
|
<setting name="InputPins" value="0" />
|
||||||
<setting name="InputPinsAttach" value="ANI0 - ANI1" />
|
<setting name="InputPinsAttach" value="ANI0 - ANI1" />
|
||||||
<setting name="AD_Inputpin16" value="unused" />
|
<setting name="AD_Inputpin16" value="unused" />
|
||||||
<setting name="AD_Inputpin17" value="unused" />
|
<setting name="AD_Inputpin17" value="unused" />
|
||||||
@ -1338,6 +1333,51 @@
|
|||||||
<IICA0>
|
<IICA0>
|
||||||
<setting name="Mode" value="Unused" />
|
<setting name="Mode" value="Unused" />
|
||||||
</IICA0>
|
</IICA0>
|
||||||
|
<INTP>
|
||||||
|
<INTP0>
|
||||||
|
<setting name="Valid_edge" value="falling" />
|
||||||
|
<setting name="Operation" value="unused" />
|
||||||
|
<setting name="ValidEdge" value="0" />
|
||||||
|
<setting name="Interrupt_priority" value="3" />
|
||||||
|
<setting name="pinsel" value="-1" />
|
||||||
|
</INTP0>
|
||||||
|
<INTP1>
|
||||||
|
<setting name="Valid_edge" value="falling" />
|
||||||
|
<setting name="Operation" value="unused" />
|
||||||
|
<setting name="ValidEdge" value="0" />
|
||||||
|
<setting name="Interrupt_priority" value="3" />
|
||||||
|
<setting name="pinsel" value="-1" />
|
||||||
|
</INTP1>
|
||||||
|
<INTP2>
|
||||||
|
<setting name="Valid_edge" value="falling" />
|
||||||
|
<setting name="Operation" value="unused" />
|
||||||
|
<setting name="ValidEdge" value="0" />
|
||||||
|
<setting name="Interrupt_priority" value="3" />
|
||||||
|
<setting name="pinsel" value="-1" />
|
||||||
|
</INTP2>
|
||||||
|
<INTP3>
|
||||||
|
<setting name="Valid_edge" value="falling" />
|
||||||
|
<setting name="Operation" value="unused" />
|
||||||
|
<setting name="ValidEdge" value="0" />
|
||||||
|
<setting name="Interrupt_priority" value="3" />
|
||||||
|
<setting name="pinsel" value="-1" />
|
||||||
|
</INTP3>
|
||||||
|
</INTP>
|
||||||
|
<KEY>
|
||||||
|
<setting name="Interrupt_priority" value="3" />
|
||||||
|
<setting name="KR0" value="unused" />
|
||||||
|
<setting name="KR1" value="unused" />
|
||||||
|
<setting name="KR2" value="unused" />
|
||||||
|
<setting name="KR3" value="unused" />
|
||||||
|
<setting name="KR4" value="unused" />
|
||||||
|
<setting name="KR5" value="unused" />
|
||||||
|
<setting name="KR6" value="unused" />
|
||||||
|
<setting name="KR7" value="unused" />
|
||||||
|
<setting name="KR8" value="unused" />
|
||||||
|
<setting name="KR9" value="unused" />
|
||||||
|
<setting name="EdgeSelection" value="0" />
|
||||||
|
<setting name="FlagUse" value="0" />
|
||||||
|
</KEY>
|
||||||
</SETTING>
|
</SETTING>
|
||||||
</RL78G12></CodeGeneratorData>
|
</RL78G12></CodeGeneratorData>
|
||||||
</Extension_CodePart2>
|
</Extension_CodePart2>
|
||||||
|
272
QualityReport(M12,DefaultBuild).txt
Normal file
272
QualityReport(M12,DefaultBuild).txt
Normal file
@ -0,0 +1,272 @@
|
|||||||
|
QualityReport
|
||||||
|
2023年3月8日 11:53:47
|
||||||
|
|
||||||
|
------ Start build(M12, DefaultBuild) ------
|
||||||
|
E:\Program Files (x86)\renesas\CS+\CC\CC-RL\V1.11.00\Bin\ccrl.exe appTask.c -cpu=S2 -o DefaultBuild\appTask.obj "-dev=E:\Program Files (x86)\renesas\CS+\CC\Device\RL78\Devicefile\DR5F10268.DVF" -g -g_line -I . -far_rom -c -msg_lang=english
|
||||||
|
appTask.c(57):W0520550:Variable "keep_count" was set but never used
|
||||||
|
appTask.c(105):W0523077:Called function should have prototype
|
||||||
|
appTask.c(86):W0520177:Variable "ledno" was declared but never referenced
|
||||||
|
appTask.c(86):W0520177:Variable "last" was declared but never referenced
|
||||||
|
E:\Program Files (x86)\renesas\CS+\CC\CC-RL\V1.11.00\Bin\rlink.exe -subcommand=DefaultBuild\M12.clnk
|
||||||
|
W0561017:The evaluation period of CC-RL V1 has expired. Please consider purchasing the product.
|
||||||
|
W0561017:The evaluation period of CC-RL V1 has expired. Please consider purchasing the product.
|
||||||
|
Renesas Optimizing Linker Completed
|
||||||
|
------ Build ended(Error:0, Warning:6)(M12, DefaultBuild) ------
|
||||||
|
|
||||||
|
--- CommandFile 1 ---
|
||||||
|
DefaultBuild\M12.clnk :
|
||||||
|
-Input=DefaultBuild\cstart.obj
|
||||||
|
-Input=DefaultBuild\stkinit.obj
|
||||||
|
-Input=DefaultBuild\r_main.obj
|
||||||
|
-Input=DefaultBuild\r_systeminit.obj
|
||||||
|
-Input=DefaultBuild\r_cg_cgc.obj
|
||||||
|
-Input=DefaultBuild\r_cg_cgc_user.obj
|
||||||
|
-Input=DefaultBuild\r_cg_port.obj
|
||||||
|
-Input=DefaultBuild\r_cg_port_user.obj
|
||||||
|
-Input=DefaultBuild\r_cg_adc.obj
|
||||||
|
-Input=DefaultBuild\r_cg_adc_user.obj
|
||||||
|
-Input=DefaultBuild\r_cg_timer.obj
|
||||||
|
-Input=DefaultBuild\r_cg_timer_user.obj
|
||||||
|
-Input=DefaultBuild\r_cg_wdt.obj
|
||||||
|
-Input=DefaultBuild\r_cg_wdt_user.obj
|
||||||
|
-Input=DefaultBuild\appTask.obj
|
||||||
|
-Input=DefaultBuild\event.obj
|
||||||
|
-Input=DefaultBuild\hwCtrl.obj
|
||||||
|
-SECURITY_ID=00000000000000000000
|
||||||
|
-DEVICE=E:\Program Files (x86)\renesas\CS+\CC\Device\RL78\Devicefile\DR5F10268.DVF
|
||||||
|
-DEBug
|
||||||
|
-NOCOmpress
|
||||||
|
-NOOPtimize
|
||||||
|
-OUtput=DefaultBuild\M12.abs
|
||||||
|
-LIBrary=E:\Program Files (x86)\renesas\CS+\CC\CC-RL\V1.11.00\lib\rl78cm4s.lib
|
||||||
|
-LIBrary=E:\Program Files (x86)\renesas\CS+\CC\CC-RL\V1.11.00\lib\malloc_n.lib
|
||||||
|
-LIBrary=E:\Program Files (x86)\renesas\CS+\CC\CC-RL\V1.11.00\lib\rl78cm4r.lib
|
||||||
|
-OCDBG=04
|
||||||
|
-USER_OPT_BYTE=7A47E0
|
||||||
|
-LISt=DefaultBuild\M12.map
|
||||||
|
-AUTO_SECTION_LAYOUT
|
||||||
|
-ROm=.data=.dataR
|
||||||
|
-ROm=.sdata=.sdataR
|
||||||
|
-NOMessage
|
||||||
|
-MEMory=High
|
||||||
|
-NOLOgo
|
||||||
|
-end
|
||||||
|
-Input=DefaultBuild\M12.abs
|
||||||
|
-DEVICE=E:\Program Files (x86)\renesas\CS+\CC\Device\RL78\Devicefile\DR5F10268.DVF
|
||||||
|
-OUtput=DefaultBuild\M12.mot
|
||||||
|
-FOrm=Stype
|
||||||
|
-NOMessage
|
||||||
|
-exit
|
||||||
|
|
||||||
|
|
||||||
|
--- SHA1 hash value of output files ---
|
||||||
|
F:\FCB_project\temp\M12\k67\DefaultBuild\M12.abs: 535a54b05cc38aad4eee78b072d573d0e91143b7
|
||||||
|
F:\FCB_project\temp\M12\k67\DefaultBuild\M12.mot: a1605fdccddb0508f137604e4fd83f9a735edc3e
|
||||||
|
|
||||||
|
|
||||||
|
--- System Information ---
|
||||||
|
*OS Version
|
||||||
|
Microsoft Windows 10 专业版 (-, 10.0.19044, WOW64)
|
||||||
|
*Language
|
||||||
|
中文(中国)
|
||||||
|
*.NET Framework Version
|
||||||
|
Microsoft .NET Framework 4 [.NET 4.6 or later] (4.0.30319.42000)
|
||||||
|
|
||||||
|
--- Application Information ---
|
||||||
|
*Product Name
|
||||||
|
CS+ for CC
|
||||||
|
*Package Version
|
||||||
|
V8.07.00 [01 Dec 2021]
|
||||||
|
*Version
|
||||||
|
V9.07.00.06 [15 Nov 2021]
|
||||||
|
*Assembly Version
|
||||||
|
3.12.10.1
|
||||||
|
*Sales Area
|
||||||
|
Japan
|
||||||
|
*Product License
|
||||||
|
|
||||||
|
*Execution Place
|
||||||
|
E:\Program Files (x86)\renesas\CS+\CC
|
||||||
|
*Memory Usage
|
||||||
|
*Private Working Set
|
||||||
|
273 MB
|
||||||
|
*Number of GDI Objects
|
||||||
|
2047
|
||||||
|
*Number of USER Objects
|
||||||
|
1006
|
||||||
|
*Opened Files
|
||||||
|
4 editors, 4 files, 11 KB
|
||||||
|
|
||||||
|
--- Build Tool Plug-in Information ---
|
||||||
|
RH850 Build tool CC-RH Plug-in
|
||||||
|
*Version
|
||||||
|
V8.02.00.00 [25 Mar 2019]
|
||||||
|
*Assembly Version
|
||||||
|
1.1.10.12
|
||||||
|
*DLL File Name
|
||||||
|
BuildToolCCRH.dll
|
||||||
|
RL78 Build tool CC-RL Plug-in
|
||||||
|
*Version
|
||||||
|
V8.05.00.00 [08 Oct 2020]
|
||||||
|
*Assembly Version
|
||||||
|
1.0.0.0
|
||||||
|
*DLL File Name
|
||||||
|
BuildToolCCRL.dll
|
||||||
|
RX Build tool CC-RX Plug-in
|
||||||
|
*Version
|
||||||
|
V8.02.00.00 [25 Mar 2019]
|
||||||
|
*Assembly Version
|
||||||
|
3.12.10.1
|
||||||
|
*DLL File Name
|
||||||
|
BuildToolCCRX.dll
|
||||||
|
RH850 Build tool GHS CCRH850 Plug-in
|
||||||
|
*Version
|
||||||
|
V1.05.00.00 [08 Oct 2020]
|
||||||
|
*Assembly Version
|
||||||
|
1.0.0.0
|
||||||
|
*DLL File Name
|
||||||
|
BuildToolGHSCCRH850.dll
|
||||||
|
|
||||||
|
--- Debug Tool Plug-in Information ---
|
||||||
|
Debugger Collection Plug-in
|
||||||
|
*Version
|
||||||
|
V8.07.00.05 [01 Dec 2021]
|
||||||
|
*Assembly Version
|
||||||
|
2.12.10.1
|
||||||
|
*DLL File Name
|
||||||
|
DebugToolCollection.dll
|
||||||
|
|
||||||
|
--- Other Plug-in Information ---
|
||||||
|
Code Generator Plug-in
|
||||||
|
*Version
|
||||||
|
V4.08.05.01 [14 Aug 2020]
|
||||||
|
*Assembly Version
|
||||||
|
3.0.0.0
|
||||||
|
*DLL File Name
|
||||||
|
CodePart.dll
|
||||||
|
Code Generator/PinView Plug-in
|
||||||
|
*Version
|
||||||
|
V2.10.07.02 [08 Nov 2021]
|
||||||
|
*Assembly Version
|
||||||
|
1.0.0.0
|
||||||
|
*DLL File Name
|
||||||
|
CodePart2.dll
|
||||||
|
Debug Console Plug-in
|
||||||
|
*Version
|
||||||
|
V7.00.00.01 [06 Apr 2018]
|
||||||
|
*Assembly Version
|
||||||
|
7.0.0.0
|
||||||
|
*DLL File Name
|
||||||
|
DebugConsole.dll
|
||||||
|
Quick and Effective tool solution - QE
|
||||||
|
*Version
|
||||||
|
V9.06.00.04 [25 May 2021]
|
||||||
|
*Assembly Version
|
||||||
|
1.15.10.16
|
||||||
|
*DLL File Name
|
||||||
|
InCarTools.dll
|
||||||
|
Pin Configurator Plug-in
|
||||||
|
*Version
|
||||||
|
V1.54.01.01 [31 Jul 2014]
|
||||||
|
*Assembly Version
|
||||||
|
1.6.10.23
|
||||||
|
*DLL File Name
|
||||||
|
PinConfig.dll
|
||||||
|
Program Analyzer Plug-in
|
||||||
|
*Version
|
||||||
|
V4.12.00.01 [14 Apr 2021]
|
||||||
|
*Assembly Version
|
||||||
|
3.12.11.9
|
||||||
|
*DLL File Name
|
||||||
|
ProgramAnalyzer.dll
|
||||||
|
IronPython Console Plug-in
|
||||||
|
*Version
|
||||||
|
V1.43.00.02 [29 Oct 2021]
|
||||||
|
*Assembly Version
|
||||||
|
1.6.10.23
|
||||||
|
*DLL File Name
|
||||||
|
PythonConsole.dll
|
||||||
|
Editor plug-in DLL
|
||||||
|
*Version
|
||||||
|
V1.17.00.01 [15 Oct 2020]
|
||||||
|
*Assembly Version
|
||||||
|
1.1.0.0
|
||||||
|
*DLL File Name
|
||||||
|
SEditor.dll
|
||||||
|
Stack Usage Tracer
|
||||||
|
*Version
|
||||||
|
V1.05.00.02 [30 Jul 2014]
|
||||||
|
*Assembly Version
|
||||||
|
1.30.11.15
|
||||||
|
*DLL File Name
|
||||||
|
Stk.dll
|
||||||
|
Update Manager Plug-in
|
||||||
|
*Version
|
||||||
|
V2.03.00.02 [29 Oct 2018]
|
||||||
|
*Assembly Version
|
||||||
|
1.13.6.20
|
||||||
|
*DLL File Name
|
||||||
|
Update.dll
|
||||||
|
|
||||||
|
Debug Tool Common Interface
|
||||||
|
*Version
|
||||||
|
V8.07.00.05 [01 Dec 2021]
|
||||||
|
*Assembly Version
|
||||||
|
3.12.10.1
|
||||||
|
*DLL File Name
|
||||||
|
CommonDebuggerInterface.dll
|
||||||
|
Device Information Common Interface
|
||||||
|
*Version
|
||||||
|
V9.07.00.01 [14 Oct 2021]
|
||||||
|
*Assembly Version
|
||||||
|
3.0.0.0
|
||||||
|
*DLL File Name
|
||||||
|
DeviceInformation.dll
|
||||||
|
|
||||||
|
--- Main Project Information ---
|
||||||
|
F:\FCB_project\temp\M12\k67\M12.mtpj
|
||||||
|
Microcontroller Information
|
||||||
|
*R5F10268
|
||||||
|
*File Name: Version
|
||||||
|
RL78_Productlist.xml: V8.070000
|
||||||
|
R5F10268_common.xml: V1.10.00.XX.01
|
||||||
|
DR5F10268.DVF: V1.12
|
||||||
|
g12_26xasp_flash.ti: V1.00
|
||||||
|
-: -
|
||||||
|
|
||||||
|
|
||||||
|
Build Tool Information
|
||||||
|
*CC-RL
|
||||||
|
* Version of plug-in(*.dll)
|
||||||
|
V8.07.00.03 [11 Nov 2021]
|
||||||
|
* The Version of the Compiler Package
|
||||||
|
V1.11.00
|
||||||
|
|
||||||
|
* The version of SMS Assembler
|
||||||
|
V1.00.00.01 [29 May 2020]
|
||||||
|
|
||||||
|
|
||||||
|
Debug Tool Information
|
||||||
|
*RL78 Simulator
|
||||||
|
Debugger Library V8.07.00.05 [01 Dec 2021]
|
||||||
|
|
||||||
|
|
||||||
|
Other Tool Information
|
||||||
|
*None
|
||||||
|
|
||||||
|
*None
|
||||||
|
|
||||||
|
*Pin Configurator
|
||||||
|
*Program Analyzer
|
||||||
|
*Version
|
||||||
|
V4.12.00.01 [14 Apr 2021]
|
||||||
|
|
||||||
|
*Code Generator
|
||||||
|
Other Information
|
||||||
|
*RL78/G12 Code Library
|
||||||
|
*Version
|
||||||
|
V2.04.06.02 [08 Nov 2021]
|
||||||
|
*Description
|
||||||
|
Code library for RL78/G12 code generation plugin.
|
||||||
|
|
||||||
|
|
444
appTask.c
444
appTask.c
@ -15,297 +15,38 @@ extern uint16_t g_AdVal[3];
|
|||||||
|
|
||||||
void HardWare_Init(void)
|
void HardWare_Init(void)
|
||||||
{
|
{
|
||||||
//时基初始化
|
//时基初始化
|
||||||
R_TAU0_Channel0_Start();
|
R_TAU0_Channel0_Start();
|
||||||
|
|
||||||
//LED初始化
|
//LED初始化
|
||||||
FanLED_Ctrl(0);
|
|
||||||
HeatLED_Ctrl(0);
|
|
||||||
AnmoLED_Ctrl(0);
|
|
||||||
|
|
||||||
//AD 初始化
|
|
||||||
|
//AD 初始化
|
||||||
R_ADC_Start();
|
R_ADC_Start();
|
||||||
R_ADC_Set_OperationOn();
|
R_ADC_Set_OperationOn();
|
||||||
R_TAU0_Channel1_Start();
|
R_TAU0_Channel1_Start();
|
||||||
|
|
||||||
//UART初始化
|
//UART初始化
|
||||||
R_UART0_Start();
|
MotorCtrl(MOTOR_NOACT);
|
||||||
R_UART0_Receive(g_rx_buf,1);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void Variable_Init(void)
|
void Variable_Init(void)
|
||||||
{
|
{
|
||||||
|
|
||||||
}
|
}
|
||||||
static uint8_t heat_state=0,fan_state=0,motor_state=0;
|
|
||||||
uint8_t g_tx_buf[7] = {0};
|
|
||||||
void UART_Tx_Pro(uint8_t keyid)
|
|
||||||
{
|
|
||||||
uint8_t uart_buf[7] = {0x5a,0xa5,0x04,0x00,0x00,0x00,0x00};
|
|
||||||
uint8_t i;
|
|
||||||
|
|
||||||
switch (keyid)
|
|
||||||
{
|
|
||||||
case KEY_KB_QIAN:
|
|
||||||
uart_buf[5] = 0x12;
|
|
||||||
break;
|
|
||||||
case KEY_KB_HOU:
|
|
||||||
uart_buf[5] = 0x14;
|
|
||||||
break;
|
|
||||||
case KEY_HG_QIAN:
|
|
||||||
uart_buf[5] = 0x16;
|
|
||||||
break;
|
|
||||||
case KEY_HG_HOU:
|
|
||||||
uart_buf[5] = 0x18;
|
|
||||||
break;
|
|
||||||
case KEY_TT_SHENG:
|
|
||||||
uart_buf[5] = 0x22;
|
|
||||||
break;
|
|
||||||
case KEY_TT_JIANG:
|
|
||||||
uart_buf[5] = 0x24;
|
|
||||||
break;
|
|
||||||
case KEY_AM:
|
|
||||||
uart_buf[4] = motor_state?0x0a:0x0b;
|
|
||||||
break;
|
|
||||||
case KEY_FAN:
|
|
||||||
uart_buf[3] = fan_state + 0x03;
|
|
||||||
break;
|
|
||||||
case KEY_HEAT:
|
|
||||||
uart_buf[3] = (heat_state + 0x03) << 4;
|
|
||||||
break;
|
|
||||||
default:
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
//checksum
|
|
||||||
uart_buf[6] = uart_buf[3] + uart_buf[5] + uart_buf[4];
|
|
||||||
|
|
||||||
for ( i = 0; i < 7; i++)
|
|
||||||
{
|
|
||||||
g_tx_buf[i] = uart_buf[i];
|
|
||||||
}
|
|
||||||
|
|
||||||
R_UART0_Send(g_tx_buf,7);
|
|
||||||
}
|
|
||||||
|
|
||||||
uint8_t datacount=0;
|
|
||||||
uint8_t RxTimeoutCount=0;
|
|
||||||
static uint8_t Rxdata[10];
|
|
||||||
uint8_t RxFlag=0;
|
|
||||||
void UART_Rx_Pro(uint8_t data)
|
|
||||||
{
|
|
||||||
static uint8_t last_data=0,datalen=0;
|
|
||||||
if (last_data == 0x5A && data == 0xA5)
|
|
||||||
{
|
|
||||||
RxFlag = 1;
|
|
||||||
datacount = 0;
|
|
||||||
datalen=0;
|
|
||||||
g_tx_buf[0] = 1;
|
|
||||||
//R_UART0_Send(g_tx_buf,1);
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
if (RxFlag == 1)
|
|
||||||
{
|
|
||||||
datalen = data;
|
|
||||||
RxFlag = 2;
|
|
||||||
g_tx_buf[0] = 2;
|
|
||||||
//R_UART0_Send(g_tx_buf,1);
|
|
||||||
}
|
|
||||||
else if (RxFlag == 2)
|
|
||||||
{
|
|
||||||
Rxdata[datacount++] = data;
|
|
||||||
if (datacount >= datalen)
|
|
||||||
{
|
|
||||||
MsgPro(datalen);
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
|
||||||
}
|
|
||||||
last_data = data;
|
|
||||||
RxTimeoutCount = 0;
|
|
||||||
|
|
||||||
}
|
|
||||||
void MsgPro(uint8_t len)
|
|
||||||
{
|
|
||||||
uint8_t i;
|
|
||||||
#ifdef USE_DAPING
|
|
||||||
uint16_t crc,crcRx;
|
|
||||||
if (len <= 7)
|
|
||||||
{
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
crc = crc16_make(Rxdata,len-2);
|
|
||||||
crcRx = Rxdata[len-1];
|
|
||||||
crcRx <<= 8;
|
|
||||||
crcRx |= Rxdata[len-2];
|
|
||||||
if (crc == crcRx)
|
|
||||||
{
|
|
||||||
if (Rxdata[2] == 0x60)//加热
|
|
||||||
{
|
|
||||||
switch (Rxdata[5])
|
|
||||||
{
|
|
||||||
case 1:
|
|
||||||
heat_state = 0;
|
|
||||||
fan_state = 0;
|
|
||||||
break;
|
|
||||||
case 2:
|
|
||||||
heat_state = 3;
|
|
||||||
fan_state = 0;
|
|
||||||
break;
|
|
||||||
case 3:
|
|
||||||
heat_state = 2;
|
|
||||||
fan_state = 0;
|
|
||||||
break;
|
|
||||||
case 4:
|
|
||||||
heat_state = 1;
|
|
||||||
fan_state = 0;
|
|
||||||
break;
|
|
||||||
|
|
||||||
default:
|
|
||||||
break;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
else if(Rxdata[2] == 0x50)//fan
|
|
||||||
{
|
|
||||||
switch (Rxdata[5])
|
|
||||||
{
|
|
||||||
case 1:
|
|
||||||
fan_state = 0;
|
|
||||||
heat_state = 0;
|
|
||||||
break;
|
|
||||||
case 2:
|
|
||||||
fan_state = 3;
|
|
||||||
heat_state = 0;
|
|
||||||
break;
|
|
||||||
case 3:
|
|
||||||
fan_state = 2;
|
|
||||||
heat_state = 0;
|
|
||||||
break;
|
|
||||||
case 4:
|
|
||||||
fan_state = 1;
|
|
||||||
heat_state = 0;
|
|
||||||
break;
|
|
||||||
|
|
||||||
default:
|
|
||||||
break;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
}
|
|
||||||
#else
|
|
||||||
//不用大屏协议
|
|
||||||
uint8_t crc,crcRx;
|
|
||||||
if (len <= 3)
|
|
||||||
{
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
crc = 0;
|
|
||||||
for(i=0;i<3;i++)
|
|
||||||
{
|
|
||||||
crc += Rxdata[i];
|
|
||||||
}
|
|
||||||
crcRx = Rxdata[3];
|
|
||||||
|
|
||||||
if (crc == crcRx)
|
|
||||||
{
|
|
||||||
|
|
||||||
switch (Rxdata[0])
|
|
||||||
{
|
|
||||||
case 0x10:
|
|
||||||
heat_state = 0;
|
|
||||||
fan_state = 0;
|
|
||||||
break;
|
|
||||||
case 0x20:
|
|
||||||
heat_state = 1;
|
|
||||||
fan_state = 0;
|
|
||||||
break;
|
|
||||||
case 0x70:
|
|
||||||
heat_state = 2;
|
|
||||||
fan_state = 0;
|
|
||||||
break;
|
|
||||||
case 0x80:
|
|
||||||
heat_state = 3;
|
|
||||||
fan_state = 0;
|
|
||||||
break;
|
|
||||||
case 0x01:
|
|
||||||
fan_state = 0;
|
|
||||||
heat_state = 0;
|
|
||||||
break;
|
|
||||||
case 0x02:
|
|
||||||
fan_state = 1;
|
|
||||||
heat_state = 0;
|
|
||||||
break;
|
|
||||||
case 0x07:
|
|
||||||
fan_state = 2;
|
|
||||||
heat_state = 0;
|
|
||||||
break;
|
|
||||||
case 0x08:
|
|
||||||
fan_state = 3;
|
|
||||||
heat_state = 0;
|
|
||||||
break;
|
|
||||||
|
|
||||||
default:
|
|
||||||
break;
|
|
||||||
}
|
|
||||||
switch (Rxdata[1])
|
|
||||||
{
|
|
||||||
case 0x0C:
|
|
||||||
motor_state = 1;
|
|
||||||
break;
|
|
||||||
case 0x0D:
|
|
||||||
motor_state = 0;
|
|
||||||
break;
|
|
||||||
default:
|
|
||||||
break;
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
|
||||||
#endif
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
RxFlag = 0;
|
|
||||||
RxTimeoutCount = 0;
|
|
||||||
datacount = 0;
|
|
||||||
}
|
|
||||||
void keyLogic(uint8_t keyno)
|
void keyLogic(uint8_t keyno)
|
||||||
{
|
{
|
||||||
switch (keyno)
|
switch (keyno)
|
||||||
{
|
{
|
||||||
case KEY_AM:
|
case KEY_RESET:
|
||||||
if (motor_state == 0)
|
MotorStart();
|
||||||
{
|
|
||||||
motor_state = 1;
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
motor_state = 0;
|
|
||||||
}
|
|
||||||
break;
|
|
||||||
case KEY_HEAT:
|
|
||||||
heat_state++;
|
|
||||||
if (heat_state > 3)
|
|
||||||
{
|
|
||||||
heat_state = 0;
|
|
||||||
}
|
|
||||||
fan_state = 0;
|
|
||||||
|
|
||||||
break;
|
|
||||||
case KEY_FAN:
|
|
||||||
fan_state++;
|
|
||||||
if (fan_state > 3)
|
|
||||||
{
|
|
||||||
fan_state = 0;
|
|
||||||
}
|
|
||||||
heat_state = 0;
|
|
||||||
|
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
UART_Tx_Pro(keyno);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
#define KEY_DELAY_TIME 6
|
#define KEY_DELAY_TIME 6
|
||||||
@ -337,36 +78,9 @@ void keyScan(void)//5ms
|
|||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
//持续发送
|
|
||||||
for (i = 0; i < 6; i++)
|
|
||||||
{
|
|
||||||
if (keyflag[i] == 1)
|
|
||||||
{
|
|
||||||
keep_count[i]++;
|
|
||||||
if (keep_count[i] > 20)
|
|
||||||
{
|
|
||||||
keep_count[i] = 0;
|
|
||||||
keyLogic(i);
|
|
||||||
break;
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
keep_count[i] = 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void LED_Ctrl(void)
|
|
||||||
{
|
|
||||||
FanLED_Ctrl(fan_state);
|
|
||||||
HeatLED_Ctrl(heat_state);
|
|
||||||
AnmoLED_Ctrl(motor_state);
|
|
||||||
}
|
|
||||||
|
|
||||||
void AppTask(void)
|
void AppTask(void)
|
||||||
{
|
{
|
||||||
static uint8_t ledno = 1,last = 0;
|
static uint8_t ledno = 1,last = 0;
|
||||||
@ -374,19 +88,6 @@ void AppTask(void)
|
|||||||
{
|
{
|
||||||
TimeBase5msFlag = 0;
|
TimeBase5msFlag = 0;
|
||||||
keyScan();
|
keyScan();
|
||||||
if (RxFlag)
|
|
||||||
{
|
|
||||||
RxTimeoutCount++;
|
|
||||||
if (RxTimeoutCount > 6)
|
|
||||||
{
|
|
||||||
RxFlag = 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
RxTimeoutCount = 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -394,7 +95,7 @@ void AppTask(void)
|
|||||||
if (TimeBase10msFlag == 1)
|
if (TimeBase10msFlag == 1)
|
||||||
{
|
{
|
||||||
TimeBase10msFlag = 0;
|
TimeBase10msFlag = 0;
|
||||||
LED_Ctrl();
|
MotorTask();
|
||||||
}
|
}
|
||||||
|
|
||||||
if (TimeBase100msFlag == 1)
|
if (TimeBase100msFlag == 1)
|
||||||
@ -408,47 +109,94 @@ void AppTask(void)
|
|||||||
if (TimeBase1000msFlag == 1)
|
if (TimeBase1000msFlag == 1)
|
||||||
{
|
{
|
||||||
TimeBase1000msFlag = 0;
|
TimeBase1000msFlag = 0;
|
||||||
/*
|
|
||||||
LED_Ctrl1LED(ledno,LED_ON);
|
|
||||||
LED_Ctrl1LED(last,LED_OFF);
|
|
||||||
last = ledno;
|
|
||||||
ledno++;
|
|
||||||
if (ledno > 9)
|
|
||||||
{
|
|
||||||
ledno = 1;
|
|
||||||
}
|
|
||||||
*/
|
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
uint8_t flagMotorStart;
|
||||||
#define POLYNOMINAL 0xA001
|
uint8_t MotorState;
|
||||||
#define PRESET_VALUE 0xFFFF
|
uint16_t MotorCounter;
|
||||||
|
#define MOTOR_IDLE 0
|
||||||
unsigned int crc16_make(unsigned char *Buffer, unsigned char size)
|
#define MOTOR_START 1
|
||||||
|
#define MOTOR_STEP1 2
|
||||||
|
#define MOTOR_STEP2 3
|
||||||
|
#define MOTOR_STEP3 4
|
||||||
|
#define MOTOR_STOP 5
|
||||||
|
void MotorStart(void)
|
||||||
{
|
{
|
||||||
unsigned int Cur_CRC_Value;
|
flagMotorStart = 1;
|
||||||
unsigned char i,j;
|
|
||||||
|
|
||||||
Cur_CRC_Value = PRESET_VALUE;
|
|
||||||
|
|
||||||
for(i = 0x00; i < size; i++)
|
|
||||||
{
|
|
||||||
Cur_CRC_Value ^= *Buffer++;
|
|
||||||
|
|
||||||
for(j = 0x00; j < 8; j++)
|
|
||||||
{
|
|
||||||
if(Cur_CRC_Value & 0x0001)
|
|
||||||
{
|
|
||||||
Cur_CRC_Value = (Cur_CRC_Value >> 1) ^ POLYNOMINAL;
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
Cur_CRC_Value = (Cur_CRC_Value >> 1);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
return Cur_CRC_Value;
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
const uint16_t MotorTimeArr[3] = {3000,3000,3000};
|
||||||
|
#define MOTOR_TASK_TIMEBASE 10
|
||||||
|
void MotorTask(void)//10ms
|
||||||
|
{
|
||||||
|
switch (MotorState)
|
||||||
|
{
|
||||||
|
case MOTOR_IDLE:
|
||||||
|
if (flagMotorStart == 1)
|
||||||
|
{
|
||||||
|
flagMotorStart = 0;
|
||||||
|
MotorState = MOTOR_START;
|
||||||
|
}
|
||||||
|
break;
|
||||||
|
case MOTOR_START:
|
||||||
|
MotorCounter = 0;
|
||||||
|
MotorState = MOTOR_STEP1;
|
||||||
|
break;
|
||||||
|
case MOTOR_STEP1:
|
||||||
|
MotorCounter++;
|
||||||
|
if (MotorCounter*MOTOR_TASK_TIMEBASE > MotorTimeArr[0])
|
||||||
|
{
|
||||||
|
MotorCounter = 0;
|
||||||
|
MotorState++;
|
||||||
|
}
|
||||||
|
MotorCtrl(MOTOR_FZ);
|
||||||
|
/*
|
||||||
|
if (flagMotorStart == 1)
|
||||||
|
{
|
||||||
|
flagMotorStart = 0;
|
||||||
|
MotorState = MOTOR_STOP;
|
||||||
|
}
|
||||||
|
*/
|
||||||
|
break;
|
||||||
|
case MOTOR_STEP2:
|
||||||
|
MotorCounter++;
|
||||||
|
if (MotorCounter*MOTOR_TASK_TIMEBASE > MotorTimeArr[1])
|
||||||
|
{
|
||||||
|
MotorCounter = 0;
|
||||||
|
MotorState++;
|
||||||
|
}
|
||||||
|
MotorCtrl(MOTOR_NOACT);
|
||||||
|
/*
|
||||||
|
if (flagMotorStart == 1)
|
||||||
|
{
|
||||||
|
flagMotorStart = 0;
|
||||||
|
MotorState = MOTOR_STOP;
|
||||||
|
}
|
||||||
|
*/
|
||||||
|
break;
|
||||||
|
case MOTOR_STEP3:
|
||||||
|
MotorCounter++;
|
||||||
|
if (MotorCounter*MOTOR_TASK_TIMEBASE > MotorTimeArr[2])
|
||||||
|
{
|
||||||
|
MotorCounter = 0;
|
||||||
|
MotorState++;
|
||||||
|
}
|
||||||
|
MotorCtrl(MOTOR_ZZ);
|
||||||
|
/*
|
||||||
|
if (flagMotorStart == 1)
|
||||||
|
{
|
||||||
|
flagMotorStart = 0;
|
||||||
|
MotorState = MOTOR_STOP;
|
||||||
|
}
|
||||||
|
*/
|
||||||
|
break;
|
||||||
|
case MOTOR_STOP:
|
||||||
|
MotorCtrl(MOTOR_NOACT);
|
||||||
|
MotorState = MOTOR_IDLE;
|
||||||
|
break;
|
||||||
|
default:
|
||||||
|
MotorState = MOTOR_STOP;
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
18
appTask.h
18
appTask.h
@ -1,23 +1,15 @@
|
|||||||
#ifndef __APPTASK_H__
|
#ifndef __APPTASK_H__
|
||||||
#define __APPTASK_H__
|
#define __APPTASK_H__
|
||||||
|
|
||||||
#define KEY_NUM 9
|
#define KEY_NUM 1
|
||||||
|
|
||||||
#define KEY_KB_QIAN 0
|
#define KEY_RESET 0
|
||||||
#define KEY_KB_HOU 1
|
|
||||||
#define KEY_HG_QIAN 2
|
|
||||||
#define KEY_HG_HOU 3
|
|
||||||
#define KEY_TT_SHENG 4
|
|
||||||
#define KEY_TT_JIANG 5
|
|
||||||
#define KEY_AM 6
|
|
||||||
#define KEY_FAN 7
|
|
||||||
#define KEY_HEAT 8
|
|
||||||
|
|
||||||
void HardWare_Init(void);
|
void HardWare_Init(void);
|
||||||
void Variable_Init(void);
|
void Variable_Init(void);
|
||||||
void AppTask(void);
|
void AppTask(void);
|
||||||
void UART_Rx_Pro(uint8_t data);
|
void MotorStart(void);
|
||||||
void MsgPro(uint8_t len);
|
void MotorTask(void);
|
||||||
unsigned int crc16_make(unsigned char *Buffer, unsigned char size);
|
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
159
hwCtrl.c
159
hwCtrl.c
@ -4,152 +4,45 @@
|
|||||||
#include "iodefine.h"
|
#include "iodefine.h"
|
||||||
#include "appTask.h"
|
#include "appTask.h"
|
||||||
|
|
||||||
#define K67L 1
|
|
||||||
#define K67R 2
|
|
||||||
#define BOARD K67L
|
|
||||||
|
|
||||||
#if BOARD == K67R
|
#define IO_KEY_RESET P2_bit.no2
|
||||||
//×ó°å
|
#define IO_RLY_CTRL1 P1_bit.no0
|
||||||
#define LEDH3 P1_bit.no2
|
#define IO_RLY_CTRL2 P6_bit.no1
|
||||||
#define LEDH2 P1_bit.no4
|
|
||||||
#define LEDH1 P1_bit.no3
|
|
||||||
|
|
||||||
#define LEDF3 P4_bit.no1
|
|
||||||
#define LEDF2 P1_bit.no1
|
|
||||||
#define LEDF1 P1_bit.no0
|
|
||||||
|
|
||||||
#define LEDAM P4_bit.no2
|
|
||||||
|
|
||||||
#define IO_KEY_ANMO P12_bit.no1
|
|
||||||
#define IO_KEY_HEAT P12_bit.no2
|
|
||||||
#define IO_KEY_FAN P2_bit.no3
|
|
||||||
|
|
||||||
#else
|
|
||||||
//ÓÒ°å
|
|
||||||
#define LEDF1 P1_bit.no2
|
|
||||||
#define LEDF3 P1_bit.no4
|
|
||||||
#define LEDF2 P1_bit.no3
|
|
||||||
|
|
||||||
#define LEDH3 P4_bit.no1
|
|
||||||
#define LEDH2 P1_bit.no1
|
|
||||||
#define LEDH1 P1_bit.no0
|
|
||||||
|
|
||||||
#define LEDAM P4_bit.no2
|
|
||||||
|
|
||||||
#define IO_KEY_ANMO P12_bit.no1
|
|
||||||
#define IO_KEY_FAN P12_bit.no2
|
|
||||||
#define IO_KEY_HEAT P2_bit.no3
|
|
||||||
|
|
||||||
#endif
|
|
||||||
|
|
||||||
extern uint16_t g_AdVal[3];
|
extern uint16_t g_AdVal[3];
|
||||||
|
|
||||||
void FanLED_Ctrl(uint8_t state)
|
|
||||||
{
|
|
||||||
switch (state)
|
|
||||||
{
|
|
||||||
case 0:
|
|
||||||
LEDF1 = LED_OFF;
|
|
||||||
LEDF2 = LED_OFF;
|
|
||||||
LEDF3 = LED_OFF;
|
|
||||||
break;
|
|
||||||
case 1:
|
|
||||||
LEDF1 = LED_ON;
|
|
||||||
LEDF2 = LED_OFF;
|
|
||||||
LEDF3 = LED_OFF;
|
|
||||||
break;
|
|
||||||
case 2:
|
|
||||||
LEDF1 = LED_ON;
|
|
||||||
LEDF2 = LED_ON;
|
|
||||||
LEDF3 = LED_OFF;
|
|
||||||
break;
|
|
||||||
case 3:
|
|
||||||
LEDF1 = LED_ON;
|
|
||||||
LEDF2 = LED_ON;
|
|
||||||
LEDF3 = LED_ON;
|
|
||||||
break;
|
|
||||||
default:
|
|
||||||
break;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
void HeatLED_Ctrl(uint8_t state)
|
|
||||||
{
|
|
||||||
switch (state)
|
|
||||||
{
|
|
||||||
case 0:
|
|
||||||
LEDH1 = LED_OFF;
|
|
||||||
LEDH2 = LED_OFF;
|
|
||||||
LEDH3 = LED_OFF;
|
|
||||||
break;
|
|
||||||
case 1:
|
|
||||||
LEDH1 = LED_ON;
|
|
||||||
LEDH2 = LED_OFF;
|
|
||||||
LEDH3 = LED_OFF;
|
|
||||||
break;
|
|
||||||
case 2:
|
|
||||||
LEDH1 = LED_ON;
|
|
||||||
LEDH2 = LED_ON;
|
|
||||||
LEDH3 = LED_OFF;
|
|
||||||
break;
|
|
||||||
case 3:
|
|
||||||
LEDH1 = LED_ON;
|
|
||||||
LEDH2 = LED_ON;
|
|
||||||
LEDH3 = LED_ON;
|
|
||||||
break;
|
|
||||||
default:
|
|
||||||
break;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
void AnmoLED_Ctrl(uint8_t state)
|
|
||||||
{
|
|
||||||
if (state == 0)
|
|
||||||
{
|
|
||||||
LEDAM = LED_OFF;
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
LEDAM = LED_ON;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
#define KEY_AD_V1 690
|
|
||||||
#define KEY_AD_V2 510
|
|
||||||
#define KEY_AD_TH 50
|
|
||||||
|
|
||||||
uint8_t GetKeyState(uint8_t keyno)
|
uint8_t GetKeyState(uint8_t keyno)
|
||||||
{
|
{
|
||||||
switch (keyno)
|
switch (keyno)
|
||||||
{
|
{
|
||||||
case KEY_KB_QIAN:
|
case KEY_RESET:
|
||||||
return (g_AdVal[0]<(KEY_AD_V1+KEY_AD_TH) && g_AdVal[0]>(KEY_AD_V1-KEY_AD_TH))?1:0 ;
|
return IO_KEY_RESET==0?1:0;
|
||||||
break;
|
|
||||||
case KEY_KB_HOU:
|
|
||||||
return (g_AdVal[0]<(KEY_AD_V2+KEY_AD_TH) && g_AdVal[0]>(KEY_AD_V2-KEY_AD_TH))?1:0;
|
|
||||||
break;
|
|
||||||
case KEY_HG_QIAN:
|
|
||||||
return (g_AdVal[1]<(KEY_AD_V1+KEY_AD_TH) && g_AdVal[1]>(KEY_AD_V1-KEY_AD_TH))?1:0;
|
|
||||||
break;
|
|
||||||
case KEY_HG_HOU:
|
|
||||||
return (g_AdVal[1]<(KEY_AD_V2+KEY_AD_TH) && g_AdVal[1]>(KEY_AD_V2-KEY_AD_TH))?1:0;
|
|
||||||
break;
|
|
||||||
case KEY_TT_SHENG:
|
|
||||||
return (g_AdVal[2]<(KEY_AD_V1+KEY_AD_TH) && g_AdVal[2]>(KEY_AD_V1-KEY_AD_TH))?1:0;
|
|
||||||
break;
|
|
||||||
case KEY_TT_JIANG:
|
|
||||||
return (g_AdVal[2]<(KEY_AD_V2+KEY_AD_TH) && g_AdVal[2]>(KEY_AD_V2-KEY_AD_TH))?1:0;
|
|
||||||
break;
|
|
||||||
|
|
||||||
case KEY_AM:
|
|
||||||
return IO_KEY_ANMO==0?1:0;
|
|
||||||
break;
|
|
||||||
case KEY_FAN:
|
|
||||||
return IO_KEY_FAN==0?1:0;
|
|
||||||
break;
|
|
||||||
case KEY_HEAT:
|
|
||||||
return IO_KEY_HEAT==0?1:0;
|
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
return 0;
|
return 0;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
void MotorCtrl(uint8_t act)
|
||||||
|
{
|
||||||
|
switch (act)
|
||||||
|
{
|
||||||
|
case MOTOR_ZZ:
|
||||||
|
IO_RLY_CTRL1 = 1;
|
||||||
|
IO_RLY_CTRL2 = 0;
|
||||||
|
break;
|
||||||
|
case MOTOR_FZ:
|
||||||
|
IO_RLY_CTRL1 = 0;
|
||||||
|
IO_RLY_CTRL2 = 1;
|
||||||
|
break;
|
||||||
|
|
||||||
|
default:
|
||||||
|
IO_RLY_CTRL1 = 0;
|
||||||
|
IO_RLY_CTRL2 = 0;
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
10
hwCtrl.h
10
hwCtrl.h
@ -6,11 +6,13 @@
|
|||||||
#define LED_ON 0
|
#define LED_ON 0
|
||||||
#define LED_OFF 1
|
#define LED_OFF 1
|
||||||
|
|
||||||
|
#define MOTOR_NOACT 0
|
||||||
|
#define MOTOR_ZZ 1
|
||||||
|
#define MOTOR_FZ 2
|
||||||
|
#define MOTOR_BREAK 3
|
||||||
|
|
||||||
|
|
||||||
uint8_t GetKeyState(uint8_t keyno);
|
uint8_t GetKeyState(uint8_t keyno);
|
||||||
|
void MotorCtrl(uint8_t act);
|
||||||
void FanLED_Ctrl(uint8_t state);
|
|
||||||
void HeatLED_Ctrl(uint8_t state);
|
|
||||||
void AnmoLED_Ctrl(uint8_t state);
|
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
@ -23,7 +23,7 @@
|
|||||||
* Device(s) : R5F10268
|
* Device(s) : R5F10268
|
||||||
* Tool-Chain : CCRL
|
* Tool-Chain : CCRL
|
||||||
* Description : This file implements device driver for ADC module.
|
* Description : This file implements device driver for ADC module.
|
||||||
* Creation Date: 2022/5/20
|
* Creation Date: 2023-03-08
|
||||||
***********************************************************************************************************************/
|
***********************************************************************************************************************/
|
||||||
|
|
||||||
/***********************************************************************************************************************
|
/***********************************************************************************************************************
|
||||||
@ -63,14 +63,14 @@ void R_ADC_Create(void)
|
|||||||
ADPR1 = 1U;
|
ADPR1 = 1U;
|
||||||
ADPR0 = 1U;
|
ADPR0 = 1U;
|
||||||
/* The reset status of ADPC is analog input, so it's unnecessary to set. */
|
/* The reset status of ADPC is analog input, so it's unnecessary to set. */
|
||||||
/* Set ANI0 - ANI2 pin as analog input */
|
/* Set ANI0 - ANI1 pin as analog input */
|
||||||
PM2 |= 0x07U;
|
PM2 |= 0x03U;
|
||||||
ADM0 = _08_AD_CONVERSION_CLOCK_32 | _00_AD_TIME_MODE_NORMAL_1 | _00_AD_OPERMODE_SELECT;
|
ADM0 = _08_AD_CONVERSION_CLOCK_32 | _00_AD_TIME_MODE_NORMAL_1 | _00_AD_OPERMODE_SELECT;
|
||||||
ADM1 = _80_AD_TRIGGER_HARDWARE_NOWAIT | _20_AD_CONVMODE_ONESELECT | _00_AD_TRIGGER_INTTM01;
|
ADM1 = _80_AD_TRIGGER_HARDWARE_NOWAIT | _20_AD_CONVMODE_ONESELECT | _00_AD_TRIGGER_INTTM01;
|
||||||
ADM2 = _00_AD_POSITIVE_VDD | _00_AD_NEGATIVE_VSS | _00_AD_AREA_MODE_1 | _00_AD_RESOLUTION_10BIT;
|
ADM2 = _00_AD_POSITIVE_VDD | _00_AD_NEGATIVE_VSS | _00_AD_AREA_MODE_1 | _00_AD_RESOLUTION_10BIT;
|
||||||
ADUL = _FF_AD_ADUL_VALUE;
|
ADUL = _FF_AD_ADUL_VALUE;
|
||||||
ADLL = _00_AD_ADLL_VALUE;
|
ADLL = _00_AD_ADLL_VALUE;
|
||||||
ADS = _00_AD_INPUT_CHANNEL_0;
|
ADS = _01_AD_INPUT_CHANNEL_1;
|
||||||
ADCE = 1U; /* enable AD comparator */
|
ADCE = 1U; /* enable AD comparator */
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -23,7 +23,7 @@
|
|||||||
* Device(s) : R5F10268
|
* Device(s) : R5F10268
|
||||||
* Tool-Chain : CCRL
|
* Tool-Chain : CCRL
|
||||||
* Description : This file implements device driver for ADC module.
|
* Description : This file implements device driver for ADC module.
|
||||||
* Creation Date: 2022/5/20
|
* Creation Date: 2023-03-08
|
||||||
***********************************************************************************************************************/
|
***********************************************************************************************************************/
|
||||||
|
|
||||||
#ifndef ADC_H
|
#ifndef ADC_H
|
||||||
|
@ -23,7 +23,7 @@
|
|||||||
* Device(s) : R5F10268
|
* Device(s) : R5F10268
|
||||||
* Tool-Chain : CCRL
|
* Tool-Chain : CCRL
|
||||||
* Description : This file implements device driver for ADC module.
|
* Description : This file implements device driver for ADC module.
|
||||||
* Creation Date: 2022/5/20
|
* Creation Date: 2023-03-08
|
||||||
***********************************************************************************************************************/
|
***********************************************************************************************************************/
|
||||||
|
|
||||||
/***********************************************************************************************************************
|
/***********************************************************************************************************************
|
||||||
@ -58,6 +58,8 @@ uint16_t g_AdVal[3];
|
|||||||
static void __near r_adc_interrupt(void)
|
static void __near r_adc_interrupt(void)
|
||||||
{
|
{
|
||||||
/* Start user code. Do not edit comment generated here */
|
/* Start user code. Do not edit comment generated here */
|
||||||
|
R_ADC_Get_Result(g_AdVal);
|
||||||
|
/*
|
||||||
switch (ADS)
|
switch (ADS)
|
||||||
{
|
{
|
||||||
case _02_AD_INPUT_CHANNEL_2:
|
case _02_AD_INPUT_CHANNEL_2:
|
||||||
@ -76,6 +78,7 @@ static void __near r_adc_interrupt(void)
|
|||||||
ADS = _00_AD_INPUT_CHANNEL_0;
|
ADS = _00_AD_INPUT_CHANNEL_0;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
*/
|
||||||
/* End user code. Do not edit comment generated here */
|
/* End user code. Do not edit comment generated here */
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -23,7 +23,7 @@
|
|||||||
* Device(s) : R5F10268
|
* Device(s) : R5F10268
|
||||||
* Tool-Chain : CCRL
|
* Tool-Chain : CCRL
|
||||||
* Description : This file implements device driver for CGC module.
|
* Description : This file implements device driver for CGC module.
|
||||||
* Creation Date: 2022/5/20
|
* Creation Date: 2023-03-08
|
||||||
***********************************************************************************************************************/
|
***********************************************************************************************************************/
|
||||||
|
|
||||||
/***********************************************************************************************************************
|
/***********************************************************************************************************************
|
||||||
|
@ -23,7 +23,7 @@
|
|||||||
* Device(s) : R5F10268
|
* Device(s) : R5F10268
|
||||||
* Tool-Chain : CCRL
|
* Tool-Chain : CCRL
|
||||||
* Description : This file implements device driver for CGC module.
|
* Description : This file implements device driver for CGC module.
|
||||||
* Creation Date: 2022/5/20
|
* Creation Date: 2023-03-08
|
||||||
***********************************************************************************************************************/
|
***********************************************************************************************************************/
|
||||||
|
|
||||||
#ifndef CGC_H
|
#ifndef CGC_H
|
||||||
|
@ -23,7 +23,7 @@
|
|||||||
* Device(s) : R5F10268
|
* Device(s) : R5F10268
|
||||||
* Tool-Chain : CCRL
|
* Tool-Chain : CCRL
|
||||||
* Description : This file implements device driver for CGC module.
|
* Description : This file implements device driver for CGC module.
|
||||||
* Creation Date: 2022/5/20
|
* Creation Date: 2023-03-08
|
||||||
***********************************************************************************************************************/
|
***********************************************************************************************************************/
|
||||||
|
|
||||||
/***********************************************************************************************************************
|
/***********************************************************************************************************************
|
||||||
|
@ -23,7 +23,7 @@
|
|||||||
* Device(s) : R5F10268
|
* Device(s) : R5F10268
|
||||||
* Tool-Chain : CCRL
|
* Tool-Chain : CCRL
|
||||||
* Description : This file implements general head file.
|
* Description : This file implements general head file.
|
||||||
* Creation Date: 2022/5/20
|
* Creation Date: 2023-03-08
|
||||||
***********************************************************************************************************************/
|
***********************************************************************************************************************/
|
||||||
|
|
||||||
#ifndef STATUS_H
|
#ifndef STATUS_H
|
||||||
|
21
r_cg_port.c
21
r_cg_port.c
@ -23,7 +23,7 @@
|
|||||||
* Device(s) : R5F10268
|
* Device(s) : R5F10268
|
||||||
* Tool-Chain : CCRL
|
* Tool-Chain : CCRL
|
||||||
* Description : This file implements device driver for PORT module.
|
* Description : This file implements device driver for PORT module.
|
||||||
* Creation Date: 2022/5/20
|
* Creation Date: 2023-03-08
|
||||||
***********************************************************************************************************************/
|
***********************************************************************************************************************/
|
||||||
|
|
||||||
/***********************************************************************************************************************
|
/***********************************************************************************************************************
|
||||||
@ -55,15 +55,16 @@ Global variables and functions
|
|||||||
***********************************************************************************************************************/
|
***********************************************************************************************************************/
|
||||||
void R_PORT_Create(void)
|
void R_PORT_Create(void)
|
||||||
{
|
{
|
||||||
P1 = _01_Pn0_OUTPUT_1 | _02_Pn1_OUTPUT_1 | _04_Pn2_OUTPUT_1 | _08_Pn3_OUTPUT_1 | _10_Pn4_OUTPUT_1;
|
P1 = _01_Pn0_OUTPUT_1;
|
||||||
P4 = _02_Pn1_OUTPUT_1 | _04_Pn2_OUTPUT_1;
|
P6 = _00_Pn1_OUTPUT_0;
|
||||||
PMC1 = _00_PMCn0_DI_ON | _00_PMCn1_DI_ON | _00_PMCn2_DI_ON | _00_PMCn3_DI_ON | _00_PMCn4_DI_ON | _E0_PMC1_DEFAULT;
|
PU4 = _00_PUn0_PULLUP_OFF;
|
||||||
PMC4 = _00_PMCn1_DI_ON | _00_PMCn2_DI_ON | _F9_PMC4_DEFAULT;
|
PMC1 = _00_PMCn0_DI_ON | _02_PMCn1_NOT_USE | _04_PMCn2_NOT_USE | _08_PMCn3_NOT_USE | _10_PMCn4_NOT_USE |
|
||||||
ADPC = _04_ADPC_DI_ON;
|
_E0_PMC1_DEFAULT;
|
||||||
PM1 = _00_PMn0_MODE_OUTPUT | _00_PMn1_MODE_OUTPUT | _00_PMn2_MODE_OUTPUT | _00_PMn3_MODE_OUTPUT |
|
ADPC = _03_ADPC_DI_ON;
|
||||||
_00_PMn4_MODE_OUTPUT | _E0_PM1_DEFAULT;
|
PM1 = _00_PMn0_MODE_OUTPUT | _02_PMn1_NOT_USE | _04_PMn2_NOT_USE | _08_PMn3_NOT_USE | _10_PMn4_NOT_USE |
|
||||||
PM2 = _01_PMn0_NOT_USE | _02_PMn1_NOT_USE | _04_PMn2_NOT_USE | _08_PMn3_MODE_INPUT | _F0_PM2_DEFAULT;
|
_E0_PM1_DEFAULT;
|
||||||
PM4 = _01_PMn0_NOT_USE | _00_PMn1_MODE_OUTPUT | _00_PMn2_MODE_OUTPUT | _F8_PM4_DEFAULT;
|
PM2 = _01_PMn0_NOT_USE | _02_PMn1_NOT_USE | _04_PMn2_MODE_INPUT | _08_PMn3_NOT_USE | _F0_PM2_DEFAULT;
|
||||||
|
PM6 = _01_PMn0_NOT_USE | _00_PMn1_MODE_OUTPUT | _FC_PM6_DEFAULT;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Start user code for adding. Do not edit comment generated here */
|
/* Start user code for adding. Do not edit comment generated here */
|
||||||
|
@ -23,7 +23,7 @@
|
|||||||
* Device(s) : R5F10268
|
* Device(s) : R5F10268
|
||||||
* Tool-Chain : CCRL
|
* Tool-Chain : CCRL
|
||||||
* Description : This file implements device driver for PORT module.
|
* Description : This file implements device driver for PORT module.
|
||||||
* Creation Date: 2022/5/20
|
* Creation Date: 2023-03-08
|
||||||
***********************************************************************************************************************/
|
***********************************************************************************************************************/
|
||||||
|
|
||||||
#ifndef PORT_H
|
#ifndef PORT_H
|
||||||
|
@ -23,7 +23,7 @@
|
|||||||
* Device(s) : R5F10268
|
* Device(s) : R5F10268
|
||||||
* Tool-Chain : CCRL
|
* Tool-Chain : CCRL
|
||||||
* Description : This file implements device driver for PORT module.
|
* Description : This file implements device driver for PORT module.
|
||||||
* Creation Date: 2022/5/20
|
* Creation Date: 2023-03-08
|
||||||
***********************************************************************************************************************/
|
***********************************************************************************************************************/
|
||||||
|
|
||||||
/***********************************************************************************************************************
|
/***********************************************************************************************************************
|
||||||
|
@ -23,7 +23,7 @@
|
|||||||
* Device(s) : R5F10268
|
* Device(s) : R5F10268
|
||||||
* Tool-Chain : CCRL
|
* Tool-Chain : CCRL
|
||||||
* Description : This file implements device driver for TAU module.
|
* Description : This file implements device driver for TAU module.
|
||||||
* Creation Date: 2022/5/20
|
* Creation Date: 2023-03-08
|
||||||
***********************************************************************************************************************/
|
***********************************************************************************************************************/
|
||||||
|
|
||||||
/***********************************************************************************************************************
|
/***********************************************************************************************************************
|
||||||
|
@ -23,7 +23,7 @@
|
|||||||
* Device(s) : R5F10268
|
* Device(s) : R5F10268
|
||||||
* Tool-Chain : CCRL
|
* Tool-Chain : CCRL
|
||||||
* Description : This file implements device driver for TAU module.
|
* Description : This file implements device driver for TAU module.
|
||||||
* Creation Date: 2022/5/20
|
* Creation Date: 2023-03-08
|
||||||
***********************************************************************************************************************/
|
***********************************************************************************************************************/
|
||||||
|
|
||||||
#ifndef TAU_H
|
#ifndef TAU_H
|
||||||
|
@ -23,7 +23,7 @@
|
|||||||
* Device(s) : R5F10268
|
* Device(s) : R5F10268
|
||||||
* Tool-Chain : CCRL
|
* Tool-Chain : CCRL
|
||||||
* Description : This file implements device driver for TAU module.
|
* Description : This file implements device driver for TAU module.
|
||||||
* Creation Date: 2022/5/20
|
* Creation Date: 2023-03-08
|
||||||
***********************************************************************************************************************/
|
***********************************************************************************************************************/
|
||||||
|
|
||||||
/***********************************************************************************************************************
|
/***********************************************************************************************************************
|
||||||
|
@ -23,7 +23,7 @@
|
|||||||
* Device(s) : R5F10268
|
* Device(s) : R5F10268
|
||||||
* Tool-Chain : CCRL
|
* Tool-Chain : CCRL
|
||||||
* Description : This file includes user definition.
|
* Description : This file includes user definition.
|
||||||
* Creation Date: 2022/5/20
|
* Creation Date: 2023-03-08
|
||||||
***********************************************************************************************************************/
|
***********************************************************************************************************************/
|
||||||
|
|
||||||
#ifndef _USER_DEF_H
|
#ifndef _USER_DEF_H
|
||||||
|
@ -23,7 +23,7 @@
|
|||||||
* Device(s) : R5F10268
|
* Device(s) : R5F10268
|
||||||
* Tool-Chain : CCRL
|
* Tool-Chain : CCRL
|
||||||
* Description : This file implements device driver for WDT module.
|
* Description : This file implements device driver for WDT module.
|
||||||
* Creation Date: 2022/5/20
|
* Creation Date: 2023-03-08
|
||||||
***********************************************************************************************************************/
|
***********************************************************************************************************************/
|
||||||
|
|
||||||
/***********************************************************************************************************************
|
/***********************************************************************************************************************
|
||||||
|
@ -23,7 +23,7 @@
|
|||||||
* Device(s) : R5F10268
|
* Device(s) : R5F10268
|
||||||
* Tool-Chain : CCRL
|
* Tool-Chain : CCRL
|
||||||
* Description : This file implements device driver for WDT module.
|
* Description : This file implements device driver for WDT module.
|
||||||
* Creation Date: 2022/5/20
|
* Creation Date: 2023-03-08
|
||||||
***********************************************************************************************************************/
|
***********************************************************************************************************************/
|
||||||
|
|
||||||
#ifndef WDT_H
|
#ifndef WDT_H
|
||||||
|
@ -23,7 +23,7 @@
|
|||||||
* Device(s) : R5F10268
|
* Device(s) : R5F10268
|
||||||
* Tool-Chain : CCRL
|
* Tool-Chain : CCRL
|
||||||
* Description : This file implements device driver for WDT module.
|
* Description : This file implements device driver for WDT module.
|
||||||
* Creation Date: 2022/5/20
|
* Creation Date: 2023-03-08
|
||||||
***********************************************************************************************************************/
|
***********************************************************************************************************************/
|
||||||
|
|
||||||
/***********************************************************************************************************************
|
/***********************************************************************************************************************
|
||||||
|
3
r_main.c
3
r_main.c
@ -23,7 +23,7 @@
|
|||||||
* Device(s) : R5F10268
|
* Device(s) : R5F10268
|
||||||
* Tool-Chain : CCRL
|
* Tool-Chain : CCRL
|
||||||
* Description : This file implements main function.
|
* Description : This file implements main function.
|
||||||
* Creation Date: 2022/5/20
|
* Creation Date: 2023-03-08
|
||||||
***********************************************************************************************************************/
|
***********************************************************************************************************************/
|
||||||
|
|
||||||
/***********************************************************************************************************************
|
/***********************************************************************************************************************
|
||||||
@ -32,7 +32,6 @@ Includes
|
|||||||
#include "r_cg_macrodriver.h"
|
#include "r_cg_macrodriver.h"
|
||||||
#include "r_cg_cgc.h"
|
#include "r_cg_cgc.h"
|
||||||
#include "r_cg_port.h"
|
#include "r_cg_port.h"
|
||||||
#include "r_cg_serial.h"
|
|
||||||
#include "r_cg_adc.h"
|
#include "r_cg_adc.h"
|
||||||
#include "r_cg_timer.h"
|
#include "r_cg_timer.h"
|
||||||
#include "r_cg_wdt.h"
|
#include "r_cg_wdt.h"
|
||||||
|
@ -23,7 +23,7 @@
|
|||||||
* Device(s) : R5F10268
|
* Device(s) : R5F10268
|
||||||
* Tool-Chain : CCRL
|
* Tool-Chain : CCRL
|
||||||
* Description : This file implements system initializing function.
|
* Description : This file implements system initializing function.
|
||||||
* Creation Date: 2022/5/20
|
* Creation Date: 2023-03-08
|
||||||
***********************************************************************************************************************/
|
***********************************************************************************************************************/
|
||||||
|
|
||||||
/***********************************************************************************************************************
|
/***********************************************************************************************************************
|
||||||
@ -32,7 +32,6 @@ Includes
|
|||||||
#include "r_cg_macrodriver.h"
|
#include "r_cg_macrodriver.h"
|
||||||
#include "r_cg_cgc.h"
|
#include "r_cg_cgc.h"
|
||||||
#include "r_cg_port.h"
|
#include "r_cg_port.h"
|
||||||
#include "r_cg_serial.h"
|
|
||||||
#include "r_cg_adc.h"
|
#include "r_cg_adc.h"
|
||||||
#include "r_cg_timer.h"
|
#include "r_cg_timer.h"
|
||||||
#include "r_cg_wdt.h"
|
#include "r_cg_wdt.h"
|
||||||
@ -64,7 +63,6 @@ void R_Systeminit(void)
|
|||||||
R_CGC_Get_ResetSource();
|
R_CGC_Get_ResetSource();
|
||||||
R_CGC_Create();
|
R_CGC_Create();
|
||||||
R_PORT_Create();
|
R_PORT_Create();
|
||||||
R_SAU0_Create();
|
|
||||||
R_ADC_Create();
|
R_ADC_Create();
|
||||||
R_TAU0_Create();
|
R_TAU0_Create();
|
||||||
R_WDT_Create();
|
R_WDT_Create();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user