标定OK
This commit is contained in:
parent
d33e5bf7c2
commit
3b306b9101
File diff suppressed because one or more lines are too long
429
M12.mtpj
429
M12.mtpj
@ -36,24 +36,31 @@
|
|||||||
<Type>Category</Type>
|
<Type>Category</Type>
|
||||||
<ParentItem>b2ecf786-e190-4e61-9fd3-7e096982a1e7</ParentItem>
|
<ParentItem>b2ecf786-e190-4e61-9fd3-7e096982a1e7</ParentItem>
|
||||||
</Instance>
|
</Instance>
|
||||||
<Instance Guid="342c7692-bb86-4f28-b7e5-fc0e022851a8">
|
<Instance Guid="1cef361f-614b-41de-abe6-75d6d7f284f2">
|
||||||
<Name>appTask.c</Name>
|
<Name>appTask.c</Name>
|
||||||
<Type>File</Type>
|
<Type>File</Type>
|
||||||
<RelativePath>appTask.c</RelativePath>
|
<RelativePath>user\appTask.c</RelativePath>
|
||||||
<TreeImageGuid>941832c1-fc3b-4e1b-94e8-01ea17128b42</TreeImageGuid>
|
<TreeImageGuid>941832c1-fc3b-4e1b-94e8-01ea17128b42</TreeImageGuid>
|
||||||
<ParentItem>b2ecf786-e190-4e61-9fd3-7e096982a1e7</ParentItem>
|
<ParentItem>b2ecf786-e190-4e61-9fd3-7e096982a1e7</ParentItem>
|
||||||
</Instance>
|
</Instance>
|
||||||
<Instance Guid="b53083cb-5d88-4085-9e94-4029bb936c85">
|
<Instance Guid="ae745cce-6555-4bc5-b02c-e9b70b278ac3">
|
||||||
<Name>event.c</Name>
|
<Name>event.c</Name>
|
||||||
<Type>File</Type>
|
<Type>File</Type>
|
||||||
<RelativePath>event.c</RelativePath>
|
<RelativePath>user\event.c</RelativePath>
|
||||||
<TreeImageGuid>941832c1-fc3b-4e1b-94e8-01ea17128b42</TreeImageGuid>
|
<TreeImageGuid>941832c1-fc3b-4e1b-94e8-01ea17128b42</TreeImageGuid>
|
||||||
<ParentItem>b2ecf786-e190-4e61-9fd3-7e096982a1e7</ParentItem>
|
<ParentItem>b2ecf786-e190-4e61-9fd3-7e096982a1e7</ParentItem>
|
||||||
</Instance>
|
</Instance>
|
||||||
<Instance Guid="47be1d1c-aca3-4427-b0d6-aaf249fc83c8">
|
<Instance Guid="eb915dc2-4c62-4ecd-959e-e604b0f7623c">
|
||||||
<Name>hwCtrl.c</Name>
|
<Name>hwCtrl.c</Name>
|
||||||
<Type>File</Type>
|
<Type>File</Type>
|
||||||
<RelativePath>hwCtrl.c</RelativePath>
|
<RelativePath>user\hwCtrl.c</RelativePath>
|
||||||
|
<TreeImageGuid>941832c1-fc3b-4e1b-94e8-01ea17128b42</TreeImageGuid>
|
||||||
|
<ParentItem>b2ecf786-e190-4e61-9fd3-7e096982a1e7</ParentItem>
|
||||||
|
</Instance>
|
||||||
|
<Instance Guid="1c5391f6-dba5-4c90-84f2-04a55a7bc7e2">
|
||||||
|
<Name>MotorCtrl.c</Name>
|
||||||
|
<Type>File</Type>
|
||||||
|
<RelativePath>user\MotorCtrl.c</RelativePath>
|
||||||
<TreeImageGuid>941832c1-fc3b-4e1b-94e8-01ea17128b42</TreeImageGuid>
|
<TreeImageGuid>941832c1-fc3b-4e1b-94e8-01ea17128b42</TreeImageGuid>
|
||||||
<ParentItem>b2ecf786-e190-4e61-9fd3-7e096982a1e7</ParentItem>
|
<ParentItem>b2ecf786-e190-4e61-9fd3-7e096982a1e7</ParentItem>
|
||||||
</Instance>
|
</Instance>
|
||||||
@ -190,6 +197,27 @@
|
|||||||
<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="f2fe4204-46bd-4f9d-943a-cd21a734e1be">
|
||||||
|
<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="cdfbc4af-932a-435e-a8a7-17511b175300">
|
||||||
|
<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="447ffd9b-e9cf-4603-ae3c-76853a464e6d">
|
||||||
|
<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>
|
||||||
</Class>
|
</Class>
|
||||||
<Class Guid="fb98844b-2c27-4275-9804-f6e63e204da0">
|
<Class Guid="fb98844b-2c27-4275-9804-f6e63e204da0">
|
||||||
<Instance Guid="fb98844b-2c27-4275-9804-f6e63e204da0">
|
<Instance Guid="fb98844b-2c27-4275-9804-f6e63e204da0">
|
||||||
@ -240,37 +268,43 @@
|
|||||||
<SourceItemType0>AsmSource</SourceItemType0>
|
<SourceItemType0>AsmSource</SourceItemType0>
|
||||||
<SourceItemGuid1>8031a32c-ef62-4564-a76a-95604fd914b8</SourceItemGuid1>
|
<SourceItemGuid1>8031a32c-ef62-4564-a76a-95604fd914b8</SourceItemGuid1>
|
||||||
<SourceItemType1>AsmSource</SourceItemType1>
|
<SourceItemType1>AsmSource</SourceItemType1>
|
||||||
<SourceItemGuid2>342c7692-bb86-4f28-b7e5-fc0e022851a8</SourceItemGuid2>
|
<SourceItemGuid2>1c5391f6-dba5-4c90-84f2-04a55a7bc7e2</SourceItemGuid2>
|
||||||
<SourceItemType2>CSource</SourceItemType2>
|
<SourceItemType2>CSource</SourceItemType2>
|
||||||
<SourceItemGuid3>b53083cb-5d88-4085-9e94-4029bb936c85</SourceItemGuid3>
|
<SourceItemGuid3>3a8bdb55-c122-4735-9349-e31bc68b13b1</SourceItemGuid3>
|
||||||
<SourceItemType3>CSource</SourceItemType3>
|
<SourceItemType3>CSource</SourceItemType3>
|
||||||
<SourceItemGuid4>47be1d1c-aca3-4427-b0d6-aaf249fc83c8</SourceItemGuid4>
|
<SourceItemGuid4>049d9623-1f0c-4448-aed7-b6f05d823294</SourceItemGuid4>
|
||||||
<SourceItemType4>CSource</SourceItemType4>
|
<SourceItemType4>CSource</SourceItemType4>
|
||||||
<SourceItemGuid5>3a8bdb55-c122-4735-9349-e31bc68b13b1</SourceItemGuid5>
|
<SourceItemGuid5>278bbbc6-5343-4321-a327-1e64e960d202</SourceItemGuid5>
|
||||||
<SourceItemType5>CSource</SourceItemType5>
|
<SourceItemType5>CSource</SourceItemType5>
|
||||||
<SourceItemGuid6>049d9623-1f0c-4448-aed7-b6f05d823294</SourceItemGuid6>
|
<SourceItemGuid6>17f20166-02fc-4f9d-b2dd-5678606c671f</SourceItemGuid6>
|
||||||
<SourceItemType6>CSource</SourceItemType6>
|
<SourceItemType6>CSource</SourceItemType6>
|
||||||
<SourceItemGuid7>278bbbc6-5343-4321-a327-1e64e960d202</SourceItemGuid7>
|
<SourceItemGuid7>834d3576-6535-4ae9-b3c6-e0076a175256</SourceItemGuid7>
|
||||||
<SourceItemType7>CSource</SourceItemType7>
|
<SourceItemType7>CSource</SourceItemType7>
|
||||||
<SourceItemGuid8>17f20166-02fc-4f9d-b2dd-5678606c671f</SourceItemGuid8>
|
<SourceItemGuid8>972ac83e-76a7-415d-b08f-e9f159072a4d</SourceItemGuid8>
|
||||||
<SourceItemType8>CSource</SourceItemType8>
|
<SourceItemType8>CSource</SourceItemType8>
|
||||||
<SourceItemGuid9>834d3576-6535-4ae9-b3c6-e0076a175256</SourceItemGuid9>
|
<SourceItemGuid9>a5a564d3-265c-402e-bbdf-b00f72a73a90</SourceItemGuid9>
|
||||||
<SourceItemType9>CSource</SourceItemType9>
|
<SourceItemType9>CSource</SourceItemType9>
|
||||||
<SourceItemGuid10>972ac83e-76a7-415d-b08f-e9f159072a4d</SourceItemGuid10>
|
<SourceItemGuid10>46c44ec5-f131-4c65-a43c-c9792f452a06</SourceItemGuid10>
|
||||||
<SourceItemType10>CSource</SourceItemType10>
|
<SourceItemType10>CSource</SourceItemType10>
|
||||||
<SourceItemGuid11>a5a564d3-265c-402e-bbdf-b00f72a73a90</SourceItemGuid11>
|
<SourceItemGuid11>41c873f3-1cf2-4c8f-a9bd-b2729e459155</SourceItemGuid11>
|
||||||
<SourceItemType11>CSource</SourceItemType11>
|
<SourceItemType11>CSource</SourceItemType11>
|
||||||
<SourceItemGuid12>46c44ec5-f131-4c65-a43c-c9792f452a06</SourceItemGuid12>
|
<SourceItemGuid12>d16ded25-28dd-46bb-ae07-8b6312c80600</SourceItemGuid12>
|
||||||
<SourceItemType12>CSource</SourceItemType12>
|
<SourceItemType12>CSource</SourceItemType12>
|
||||||
<SourceItemGuid13>41c873f3-1cf2-4c8f-a9bd-b2729e459155</SourceItemGuid13>
|
<SourceItemGuid13>eb80bee3-e714-4a3e-b8ed-56456ea256a9</SourceItemGuid13>
|
||||||
<SourceItemType13>CSource</SourceItemType13>
|
<SourceItemType13>CSource</SourceItemType13>
|
||||||
<SourceItemGuid14>d16ded25-28dd-46bb-ae07-8b6312c80600</SourceItemGuid14>
|
<SourceItemGuid14>ecd17489-356b-4667-a2ea-7262a0474482</SourceItemGuid14>
|
||||||
<SourceItemType14>CSource</SourceItemType14>
|
<SourceItemType14>CSource</SourceItemType14>
|
||||||
<SourceItemGuid15>eb80bee3-e714-4a3e-b8ed-56456ea256a9</SourceItemGuid15>
|
<SourceItemGuid15>f2fe4204-46bd-4f9d-943a-cd21a734e1be</SourceItemGuid15>
|
||||||
<SourceItemType15>CSource</SourceItemType15>
|
<SourceItemType15>CSource</SourceItemType15>
|
||||||
<SourceItemGuid16>ecd17489-356b-4667-a2ea-7262a0474482</SourceItemGuid16>
|
<SourceItemGuid16>cdfbc4af-932a-435e-a8a7-17511b175300</SourceItemGuid16>
|
||||||
<SourceItemType16>CSource</SourceItemType16>
|
<SourceItemType16>CSource</SourceItemType16>
|
||||||
<SourceItemCount>17</SourceItemCount>
|
<SourceItemGuid17>eb915dc2-4c62-4ecd-959e-e604b0f7623c</SourceItemGuid17>
|
||||||
|
<SourceItemType17>CSource</SourceItemType17>
|
||||||
|
<SourceItemGuid18>ae745cce-6555-4bc5-b02c-e9b70b278ac3</SourceItemGuid18>
|
||||||
|
<SourceItemType18>CSource</SourceItemType18>
|
||||||
|
<SourceItemGuid19>1cef361f-614b-41de-abe6-75d6d7f284f2</SourceItemGuid19>
|
||||||
|
<SourceItemType19>CSource</SourceItemType19>
|
||||||
|
<SourceItemCount>20</SourceItemCount>
|
||||||
<LastDeviceChangedCounter>0</LastDeviceChangedCounter>
|
<LastDeviceChangedCounter>0</LastDeviceChangedCounter>
|
||||||
</Instance>
|
</Instance>
|
||||||
<Instance Guid="6bb7060d-7e24-4135-bd9b-7db166417523">
|
<Instance Guid="6bb7060d-7e24-4135-bd9b-7db166417523">
|
||||||
@ -436,7 +470,7 @@
|
|||||||
<COptionCheckLanguageExtension-DefaultValue>False</COptionCheckLanguageExtension-DefaultValue>
|
<COptionCheckLanguageExtension-DefaultValue>False</COptionCheckLanguageExtension-DefaultValue>
|
||||||
<COptionMisraIntermodule-DefaultValue>False</COptionMisraIntermodule-DefaultValue>
|
<COptionMisraIntermodule-DefaultValue>False</COptionMisraIntermodule-DefaultValue>
|
||||||
<IsLockedByUser>False</IsLockedByUser>
|
<IsLockedByUser>False</IsLockedByUser>
|
||||||
<TimeTagModified--0>-8585485766729747459</TimeTagModified--0>
|
<TimeTagModified--0>-8584991577152226279</TimeTagModified--0>
|
||||||
<COptionAsmPath-0>False</COptionAsmPath-0>
|
<COptionAsmPath-0>False</COptionAsmPath-0>
|
||||||
<COptionChangeMessageError-0>No</COptionChangeMessageError-0>
|
<COptionChangeMessageError-0>No</COptionChangeMessageError-0>
|
||||||
<COptionCharacterSet-0>Auto</COptionCharacterSet-0>
|
<COptionCharacterSet-0>Auto</COptionCharacterSet-0>
|
||||||
@ -444,6 +478,7 @@
|
|||||||
<COptionDblSize-0>True</COptionDblSize-0>
|
<COptionDblSize-0>True</COptionDblSize-0>
|
||||||
<COptionG-0>True</COptionG-0>
|
<COptionG-0>True</COptionG-0>
|
||||||
<COptionI-0>.
|
<COptionI-0>.
|
||||||
|
user
|
||||||
</COptionI-0>
|
</COptionI-0>
|
||||||
<COptionLangC-0>None</COptionLangC-0>
|
<COptionLangC-0>None</COptionLangC-0>
|
||||||
<COptionMOrC-0>-c</COptionMOrC-0>
|
<COptionMOrC-0>-c</COptionMOrC-0>
|
||||||
@ -656,7 +691,7 @@
|
|||||||
<LinkOptionShowCFI-DefaultValue>False</LinkOptionShowCFI-DefaultValue>
|
<LinkOptionShowCFI-DefaultValue>False</LinkOptionShowCFI-DefaultValue>
|
||||||
<LinkOptionRrmValue-DefaultValue />
|
<LinkOptionRrmValue-DefaultValue />
|
||||||
<IsLockedByUser>False</IsLockedByUser>
|
<IsLockedByUser>False</IsLockedByUser>
|
||||||
<TimeTagModified--0>-8585233597725506747</TimeTagModified--0>
|
<TimeTagModified--0>-8584991701281053832</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>
|
||||||
@ -852,7 +887,7 @@
|
|||||||
<LibOptionChangeMessageError-DefaultValue>None</LibOptionChangeMessageError-DefaultValue>
|
<LibOptionChangeMessageError-DefaultValue>None</LibOptionChangeMessageError-DefaultValue>
|
||||||
<LibOptionChangeMessageErrorNumber-DefaultValue />
|
<LibOptionChangeMessageErrorNumber-DefaultValue />
|
||||||
<IsLockedByUser>False</IsLockedByUser>
|
<IsLockedByUser>False</IsLockedByUser>
|
||||||
<TimeTagModified--0>-8585233597725506747</TimeTagModified--0>
|
<TimeTagModified--0>-8584991701281053832</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 />
|
||||||
@ -1004,18 +1039,34 @@
|
|||||||
<ItemAddTime>637886502547907963</ItemAddTime>
|
<ItemAddTime>637886502547907963</ItemAddTime>
|
||||||
<ItemAddTimeCount>21</ItemAddTimeCount>
|
<ItemAddTimeCount>21</ItemAddTimeCount>
|
||||||
</Instance>
|
</Instance>
|
||||||
<Instance Guid="342c7692-bb86-4f28-b7e5-fc0e022851a8">
|
<Instance Guid="eb915dc2-4c62-4ecd-959e-e604b0f7623c">
|
||||||
<ItemAddTime>637886506058257853</ItemAddTime>
|
<ItemAddTime>638380623665584650</ItemAddTime>
|
||||||
<ItemAddTimeCount>0</ItemAddTimeCount>
|
<ItemAddTimeCount>2</ItemAddTimeCount>
|
||||||
</Instance>
|
</Instance>
|
||||||
<Instance Guid="b53083cb-5d88-4085-9e94-4029bb936c85">
|
<Instance Guid="ae745cce-6555-4bc5-b02c-e9b70b278ac3">
|
||||||
<ItemAddTime>637886506058257853</ItemAddTime>
|
<ItemAddTime>638380623665584650</ItemAddTime>
|
||||||
<ItemAddTimeCount>1</ItemAddTimeCount>
|
<ItemAddTimeCount>1</ItemAddTimeCount>
|
||||||
</Instance>
|
</Instance>
|
||||||
<Instance Guid="47be1d1c-aca3-4427-b0d6-aaf249fc83c8">
|
<Instance Guid="1cef361f-614b-41de-abe6-75d6d7f284f2">
|
||||||
<ItemAddTime>637886506058257853</ItemAddTime>
|
<ItemAddTime>638380623665584650</ItemAddTime>
|
||||||
|
<ItemAddTimeCount>0</ItemAddTimeCount>
|
||||||
|
</Instance>
|
||||||
|
<Instance Guid="f2fe4204-46bd-4f9d-943a-cd21a734e1be">
|
||||||
|
<ItemAddTime>638380622152867270</ItemAddTime>
|
||||||
|
<ItemAddTimeCount>0</ItemAddTimeCount>
|
||||||
|
</Instance>
|
||||||
|
<Instance Guid="cdfbc4af-932a-435e-a8a7-17511b175300">
|
||||||
|
<ItemAddTime>638380622152867270</ItemAddTime>
|
||||||
|
<ItemAddTimeCount>1</ItemAddTimeCount>
|
||||||
|
</Instance>
|
||||||
|
<Instance Guid="447ffd9b-e9cf-4603-ae3c-76853a464e6d">
|
||||||
|
<ItemAddTime>638380622152867270</ItemAddTime>
|
||||||
<ItemAddTimeCount>2</ItemAddTimeCount>
|
<ItemAddTimeCount>2</ItemAddTimeCount>
|
||||||
</Instance>
|
</Instance>
|
||||||
|
<Instance Guid="1c5391f6-dba5-4c90-84f2-04a55a7bc7e2">
|
||||||
|
<ItemAddTime>638380623665584650</ItemAddTime>
|
||||||
|
<ItemAddTimeCount>3</ItemAddTimeCount>
|
||||||
|
</Instance>
|
||||||
<Instance Guid="0b7e78c3-aadd-45ee-9f9d-ffac6141eeb2">
|
<Instance Guid="0b7e78c3-aadd-45ee-9f9d-ffac6141eeb2">
|
||||||
<TimeTagModified-SourceItem0--0>-8585485826286446099</TimeTagModified-SourceItem0--0>
|
<TimeTagModified-SourceItem0--0>-8585485826286446099</TimeTagModified-SourceItem0--0>
|
||||||
<SourceItem0-IsLockedByUser>False</SourceItem0-IsLockedByUser>
|
<SourceItem0-IsLockedByUser>False</SourceItem0-IsLockedByUser>
|
||||||
@ -1027,15 +1078,15 @@
|
|||||||
<SourceItem1-IndividualAssembleOption-0>False</SourceItem1-IndividualAssembleOption-0>
|
<SourceItem1-IndividualAssembleOption-0>False</SourceItem1-IndividualAssembleOption-0>
|
||||||
</Instance>
|
</Instance>
|
||||||
<Instance Guid="f782db2c-1c42-4ca1-af6a-53a3a5067217">
|
<Instance Guid="f782db2c-1c42-4ca1-af6a-53a3a5067217">
|
||||||
<TimeTagModified-SourceItem2--0>-8585485818796517955</TimeTagModified-SourceItem2--0>
|
<TimeTagModified-SourceItem2--0>-8584991701189191158</TimeTagModified-SourceItem2--0>
|
||||||
<SourceItem2-IsLockedByUser>False</SourceItem2-IsLockedByUser>
|
<SourceItem2-IsLockedByUser>False</SourceItem2-IsLockedByUser>
|
||||||
<SourceItem2-BuildingTarget-0>True</SourceItem2-BuildingTarget-0>
|
<SourceItem2-BuildingTarget-0>True</SourceItem2-BuildingTarget-0>
|
||||||
<SourceItem2-IndividualCompileOption-0>False</SourceItem2-IndividualCompileOption-0>
|
<SourceItem2-IndividualCompileOption-0>False</SourceItem2-IndividualCompileOption-0>
|
||||||
<TimeTagModified-SourceItem3--0>-8585485818796517955</TimeTagModified-SourceItem3--0>
|
<TimeTagModified-SourceItem3--0>-8585485822306867845</TimeTagModified-SourceItem3--0>
|
||||||
<SourceItem3-IsLockedByUser>False</SourceItem3-IsLockedByUser>
|
<SourceItem3-IsLockedByUser>False</SourceItem3-IsLockedByUser>
|
||||||
<SourceItem3-BuildingTarget-0>True</SourceItem3-BuildingTarget-0>
|
<SourceItem3-BuildingTarget-0>True</SourceItem3-BuildingTarget-0>
|
||||||
<SourceItem3-IndividualCompileOption-0>False</SourceItem3-IndividualCompileOption-0>
|
<SourceItem3-IndividualCompileOption-0>False</SourceItem3-IndividualCompileOption-0>
|
||||||
<TimeTagModified-SourceItem4--0>-8585485818796517955</TimeTagModified-SourceItem4--0>
|
<TimeTagModified-SourceItem4--0>-8585485822306867845</TimeTagModified-SourceItem4--0>
|
||||||
<SourceItem4-IsLockedByUser>False</SourceItem4-IsLockedByUser>
|
<SourceItem4-IsLockedByUser>False</SourceItem4-IsLockedByUser>
|
||||||
<SourceItem4-BuildingTarget-0>True</SourceItem4-BuildingTarget-0>
|
<SourceItem4-BuildingTarget-0>True</SourceItem4-BuildingTarget-0>
|
||||||
<SourceItem4-IndividualCompileOption-0>False</SourceItem4-IndividualCompileOption-0>
|
<SourceItem4-IndividualCompileOption-0>False</SourceItem4-IndividualCompileOption-0>
|
||||||
@ -1043,19 +1094,19 @@
|
|||||||
<SourceItem5-IsLockedByUser>False</SourceItem5-IsLockedByUser>
|
<SourceItem5-IsLockedByUser>False</SourceItem5-IsLockedByUser>
|
||||||
<SourceItem5-BuildingTarget-0>True</SourceItem5-BuildingTarget-0>
|
<SourceItem5-BuildingTarget-0>True</SourceItem5-BuildingTarget-0>
|
||||||
<SourceItem5-IndividualCompileOption-0>False</SourceItem5-IndividualCompileOption-0>
|
<SourceItem5-IndividualCompileOption-0>False</SourceItem5-IndividualCompileOption-0>
|
||||||
<TimeTagModified-SourceItem6--0>-8585485822306867845</TimeTagModified-SourceItem6--0>
|
<TimeTagModified-SourceItem6--0>-8585485822306857872</TimeTagModified-SourceItem6--0>
|
||||||
<SourceItem6-IsLockedByUser>False</SourceItem6-IsLockedByUser>
|
<SourceItem6-IsLockedByUser>False</SourceItem6-IsLockedByUser>
|
||||||
<SourceItem6-BuildingTarget-0>True</SourceItem6-BuildingTarget-0>
|
<SourceItem6-BuildingTarget-0>True</SourceItem6-BuildingTarget-0>
|
||||||
<SourceItem6-IndividualCompileOption-0>False</SourceItem6-IndividualCompileOption-0>
|
<SourceItem6-IndividualCompileOption-0>False</SourceItem6-IndividualCompileOption-0>
|
||||||
<TimeTagModified-SourceItem7--0>-8585485822306867845</TimeTagModified-SourceItem7--0>
|
<TimeTagModified-SourceItem7--0>-8585485822306857872</TimeTagModified-SourceItem7--0>
|
||||||
<SourceItem7-IsLockedByUser>False</SourceItem7-IsLockedByUser>
|
<SourceItem7-IsLockedByUser>False</SourceItem7-IsLockedByUser>
|
||||||
<SourceItem7-BuildingTarget-0>True</SourceItem7-BuildingTarget-0>
|
<SourceItem7-BuildingTarget-0>True</SourceItem7-BuildingTarget-0>
|
||||||
<SourceItem7-IndividualCompileOption-0>False</SourceItem7-IndividualCompileOption-0>
|
<SourceItem7-IndividualCompileOption-0>False</SourceItem7-IndividualCompileOption-0>
|
||||||
<TimeTagModified-SourceItem8--0>-8585485822306857872</TimeTagModified-SourceItem8--0>
|
<TimeTagModified-SourceItem8--0>-8585485822306847900</TimeTagModified-SourceItem8--0>
|
||||||
<SourceItem8-IsLockedByUser>False</SourceItem8-IsLockedByUser>
|
<SourceItem8-IsLockedByUser>False</SourceItem8-IsLockedByUser>
|
||||||
<SourceItem8-BuildingTarget-0>True</SourceItem8-BuildingTarget-0>
|
<SourceItem8-BuildingTarget-0>True</SourceItem8-BuildingTarget-0>
|
||||||
<SourceItem8-IndividualCompileOption-0>False</SourceItem8-IndividualCompileOption-0>
|
<SourceItem8-IndividualCompileOption-0>False</SourceItem8-IndividualCompileOption-0>
|
||||||
<TimeTagModified-SourceItem9--0>-8585485822306857872</TimeTagModified-SourceItem9--0>
|
<TimeTagModified-SourceItem9--0>-8585485822306847900</TimeTagModified-SourceItem9--0>
|
||||||
<SourceItem9-IsLockedByUser>False</SourceItem9-IsLockedByUser>
|
<SourceItem9-IsLockedByUser>False</SourceItem9-IsLockedByUser>
|
||||||
<SourceItem9-BuildingTarget-0>True</SourceItem9-BuildingTarget-0>
|
<SourceItem9-BuildingTarget-0>True</SourceItem9-BuildingTarget-0>
|
||||||
<SourceItem9-IndividualCompileOption-0>False</SourceItem9-IndividualCompileOption-0>
|
<SourceItem9-IndividualCompileOption-0>False</SourceItem9-IndividualCompileOption-0>
|
||||||
@ -1071,22 +1122,34 @@
|
|||||||
<SourceItem12-IsLockedByUser>False</SourceItem12-IsLockedByUser>
|
<SourceItem12-IsLockedByUser>False</SourceItem12-IsLockedByUser>
|
||||||
<SourceItem12-BuildingTarget-0>True</SourceItem12-BuildingTarget-0>
|
<SourceItem12-BuildingTarget-0>True</SourceItem12-BuildingTarget-0>
|
||||||
<SourceItem12-IndividualCompileOption-0>False</SourceItem12-IndividualCompileOption-0>
|
<SourceItem12-IndividualCompileOption-0>False</SourceItem12-IndividualCompileOption-0>
|
||||||
<TimeTagModified-SourceItem13--0>-8585485822306847900</TimeTagModified-SourceItem13--0>
|
<TimeTagModified-SourceItem13--0>-8585485822306837928</TimeTagModified-SourceItem13--0>
|
||||||
<SourceItem13-IsLockedByUser>False</SourceItem13-IsLockedByUser>
|
<SourceItem13-IsLockedByUser>False</SourceItem13-IsLockedByUser>
|
||||||
<SourceItem13-BuildingTarget-0>True</SourceItem13-BuildingTarget-0>
|
<SourceItem13-BuildingTarget-0>True</SourceItem13-BuildingTarget-0>
|
||||||
<SourceItem13-IndividualCompileOption-0>False</SourceItem13-IndividualCompileOption-0>
|
<SourceItem13-IndividualCompileOption-0>False</SourceItem13-IndividualCompileOption-0>
|
||||||
<TimeTagModified-SourceItem14--0>-8585485822306847900</TimeTagModified-SourceItem14--0>
|
<TimeTagModified-SourceItem14--0>-8585485822306837928</TimeTagModified-SourceItem14--0>
|
||||||
<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>-8585485822306837928</TimeTagModified-SourceItem15--0>
|
<TimeTagModified-SourceItem15--0>-8584991702701908538</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>-8585485822306837928</TimeTagModified-SourceItem16--0>
|
<TimeTagModified-SourceItem16--0>-8584991702701898562</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>-8584991701189191158</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>-8584991701189191158</TimeTagModified-SourceItem18--0>
|
||||||
|
<SourceItem18-IsLockedByUser>False</SourceItem18-IsLockedByUser>
|
||||||
|
<SourceItem18-BuildingTarget-0>True</SourceItem18-BuildingTarget-0>
|
||||||
|
<SourceItem18-IndividualCompileOption-0>False</SourceItem18-IndividualCompileOption-0>
|
||||||
|
<TimeTagModified-SourceItem19--0>-8584991701189191158</TimeTagModified-SourceItem19--0>
|
||||||
|
<SourceItem19-IsLockedByUser>False</SourceItem19-IsLockedByUser>
|
||||||
|
<SourceItem19-BuildingTarget-0>True</SourceItem19-BuildingTarget-0>
|
||||||
|
<SourceItem19-IndividualCompileOption-0>False</SourceItem19-IndividualCompileOption-0>
|
||||||
</Instance>
|
</Instance>
|
||||||
</Class>
|
</Class>
|
||||||
<Class Guid="44fa27c9-0aa0-4297-bd3b-2c5c5bdb8881">
|
<Class Guid="44fa27c9-0aa0-4297-bd3b-2c5c5bdb8881">
|
||||||
@ -1203,10 +1266,94 @@
|
|||||||
<PinConfigTopViewPropertyFunctionDisplay>DisplayAll</PinConfigTopViewPropertyFunctionDisplay>
|
<PinConfigTopViewPropertyFunctionDisplay>DisplayAll</PinConfigTopViewPropertyFunctionDisplay>
|
||||||
</Instance>
|
</Instance>
|
||||||
<Instance Guid="ba6251f6-617d-42ff-9ebd-1dd7a0d34100">
|
<Instance Guid="ba6251f6-617d-42ff-9ebd-1dd7a0d34100">
|
||||||
<KEY_SAVE_CREATED_PROJECT_DATA>True</KEY_SAVE_CREATED_PROJECT_DATA>
|
<KeyDatasRowCount>20,17,66,0,0</KeyDatasRowCount>
|
||||||
<KEY_SAVE_DEVICE_CHANGED_COUNTER>0</KEY_SAVE_DEVICE_CHANGED_COUNTER>
|
<KeyUserAddedColumnCount>0</KeyUserAddedColumnCount>
|
||||||
<FormatVersion>1.0</FormatVersion>
|
<KeyPinGridData0>Free,-,-,,</KeyPinGridData0>
|
||||||
<KeyExtPartsCount>0</KeyExtPartsCount>
|
<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>
|
||||||
<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">
|
||||||
@ -2213,6 +2360,7 @@
|
|||||||
</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">
|
||||||
@ -2681,94 +2829,9 @@
|
|||||||
</SOAP-ENV:Body>
|
</SOAP-ENV:Body>
|
||||||
</SOAP-ENV:Envelope>
|
</SOAP-ENV:Envelope>
|
||||||
</KeyExtGridLayout>
|
</KeyExtGridLayout>
|
||||||
<KeyDatasRowCount>20,17,66,0,0</KeyDatasRowCount>
|
<KeyTopViewZoom>1</KeyTopViewZoom>
|
||||||
<KeyUserAddedColumnCount>0</KeyUserAddedColumnCount>
|
<KeyTopViewAngle>0</KeyTopViewAngle>
|
||||||
<KeyPinGridData0>Free,-,-,,</KeyPinGridData0>
|
<KeyTopViewPartsCollapsed>False</KeyTopViewPartsCollapsed>
|
||||||
<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>
|
||||||
@ -2781,11 +2844,8 @@
|
|||||||
<KEY_SAVE_COLUMN_WIDTH_MACRO_CHILD>0:112:112,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:219,10:210:210,11:100:100</KEY_SAVE_COLUMN_WIDTH_MACRO_CHILD>
|
<KEY_SAVE_COLUMN_WIDTH_MACRO_CHILD>0:112:112,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:219,10:210:210,11:100:100</KEY_SAVE_COLUMN_WIDTH_MACRO_CHILD>
|
||||||
<KEY_SAVE_COLUMN_WIDTH_EXTERNAL_PARENT>0:112:112,1:100:100,2:43:43,3:182:150</KEY_SAVE_COLUMN_WIDTH_EXTERNAL_PARENT>
|
<KEY_SAVE_COLUMN_WIDTH_EXTERNAL_PARENT>0:112:112,1:100:100,2:43:43,3:182:150</KEY_SAVE_COLUMN_WIDTH_EXTERNAL_PARENT>
|
||||||
<KEY_SAVE_COLUMN_WIDTH_EXTERNAL_CHILD>0:112:112,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:219,10:210:210</KEY_SAVE_COLUMN_WIDTH_EXTERNAL_CHILD>
|
<KEY_SAVE_COLUMN_WIDTH_EXTERNAL_CHILD>0:112:112,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:219,10:210:210</KEY_SAVE_COLUMN_WIDTH_EXTERNAL_CHILD>
|
||||||
</Instance>
|
<KEY_SAVE_CREATED_PROJECT_DATA>True</KEY_SAVE_CREATED_PROJECT_DATA>
|
||||||
<Instance Guid="aacae7da-f24b-4709-81fa-541016e73641">
|
<KEY_SAVE_DEVICE_CHANGED_COUNTER>0</KEY_SAVE_DEVICE_CHANGED_COUNTER>
|
||||||
<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">
|
||||||
@ -2997,7 +3057,7 @@
|
|||||||
</Effect>
|
</Effect>
|
||||||
</VDDValue>
|
</VDDValue>
|
||||||
<VDD Name="VDD" Text="false" Comment="used" />
|
<VDD Name="VDD" Text="false" Comment="used" />
|
||||||
<AD_ADPC_USEDPIN Name="AD_ADPC_USEDPIN" Text="ANI0,ANI1," />
|
<AD_ADPC_USEDPIN Name="AD_ADPC_USEDPIN" Text="ANI0,ANI1,ANI2," />
|
||||||
<ADC_ADS_VALUE Name="ADC_ADS_VALUE" Text="ANI1," />
|
<ADC_ADS_VALUE Name="ADC_ADS_VALUE" Text="ANI1," />
|
||||||
<IIC00 Chip="RL78G12_20pin,RL78G12_24pin" Name="IIC00" Text="false" Comment="unused" Trigger="IIC00">
|
<IIC00 Chip="RL78G12_20pin,RL78G12_24pin" Name="IIC00" Text="false" Comment="unused" Trigger="IIC00">
|
||||||
<Effect>
|
<Effect>
|
||||||
@ -3057,7 +3117,7 @@
|
|||||||
<RAMEndAddress Name="RAMEndAddress" Fixed="" Text="000FFEFF" />
|
<RAMEndAddress Name="RAMEndAddress" Fixed="" Text="000FFEFF" />
|
||||||
<ROMEndAddress Chip="R5F10268,R5F10278,R5F102A8" Name="ROMEndAddress" Fixed="" Text="00001FFF" />
|
<ROMEndAddress Chip="R5F10268,R5F10278,R5F102A8" Name="ROMEndAddress" Fixed="" Text="00001FFF" />
|
||||||
<MirrorROM Chip="R5F10266, R5F10366,R5F10267, R5F10277, R5F102A7,R5F10367, R5F10377, R5F103A7,R5F10268, R5F10278, R5F102A8,R5F10368, R5F10378, R5F103A8" Name="MirrorROM" Fixed="" Text="0" />
|
<MirrorROM Chip="R5F10266, R5F10366,R5F10267, R5F10277, R5F102A7,R5F10367, R5F10377, R5F103A7,R5F10268, R5F10278, R5F102A8,R5F10368, R5F10378, R5F103A8" Name="MirrorROM" Fixed="" Text="0" />
|
||||||
<ADPC_AD Name="ADPC_AD" Value="1" />
|
<ADPC_AD Name="ADPC_AD" Value="2" />
|
||||||
<CodePath Name="CodePath" Text=".\" />
|
<CodePath Name="CodePath" Text=".\" />
|
||||||
<ReportType Name="ReportType" Text="Html" />
|
<ReportType Name="ReportType" Text="Html" />
|
||||||
<CreationDateType Name="CreationDateType" Text="OutputDate" />
|
<CreationDateType Name="CreationDateType" Text="OutputDate" />
|
||||||
@ -3097,16 +3157,16 @@
|
|||||||
<PORT>
|
<PORT>
|
||||||
<Port1 Chip="RL78G12_20pin,RL78G12_24pin" DIN="true" Pullup="true">
|
<Port1 Chip="RL78G12_20pin,RL78G12_24pin" DIN="true" Pullup="true">
|
||||||
<P10 Name="P10/ANI16/PCLBUZ0/_SCK00/SCL00" TTL="true" Nch="true" AltFunc="P10" Point="I/O" />
|
<P10 Name="P10/ANI16/PCLBUZ0/_SCK00/SCL00" TTL="true" Nch="true" AltFunc="P10" Point="I/O" />
|
||||||
<P11 Name="P11/ANI17/SI00/RXD0/SDA00/TOOLRXD" TTL="true" Nch="true" AltFunc="" Point="I/O" />
|
<P11 Name="P11/ANI17/SI00/RXD0/SDA00/TOOLRXD" TTL="true" Nch="true" AltFunc="P11" Point="I/O" />
|
||||||
<P12 Name="P12/ANI18/SO00/TXD0/TOOLTXD" Nch="true" AltFunc="" Point="I/O" />
|
<P12 Name="P12/ANI18/SO00/TXD0/TOOLTXD" Nch="true" AltFunc="" Point="I/O" />
|
||||||
<P13 Name="P13/ANI19/TI00/TO00/INTP2" AltFunc="" Point="I/O" />
|
<P13 Name="P13/ANI19/TI00/TO00/INTP2" AltFunc="P13" Point="I/O" />
|
||||||
<P14 Name="P14/ANI20/TI01/TO01/INTP3" AltFunc="P14" Point="I/O" />
|
<P14 Name="P14/ANI20/TI01/TO01/INTP3" AltFunc="P14" Point="I/O" />
|
||||||
</Port1>
|
</Port1>
|
||||||
<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="P22" Point="I/O" />
|
<P22 Name="P22/ANI2" AltFunc="ANALOG_2" Point="I/O" />
|
||||||
<P23 Name="P23/ANI3" AltFunc="" Point="I/O" />
|
<P23 Name="P23/ANI3" AltFunc="P23" 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" />
|
||||||
@ -3114,7 +3174,7 @@
|
|||||||
<P42 Name="P42/ANI21/_SCK01/SCL01/TI03/TO03" DIN="true" AltFunc="" 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="TXD0" Point="I/O" />
|
||||||
<P61 Name="P61/KR5/SDAA0" AltFunc="" Point="I/O" />
|
<P61 Name="P61/KR5/SDAA0" AltFunc="" Point="I/O" />
|
||||||
</Port6>
|
</Port6>
|
||||||
<Port12 Chip="RL78G12_20pin,RL78G12_24pin">
|
<Port12 Chip="RL78G12_20pin,RL78G12_24pin">
|
||||||
@ -3239,7 +3299,7 @@
|
|||||||
<INTCSI01 InUse="0" ISR="r_csi01_interrupt" />
|
<INTCSI01 InUse="0" ISR="r_csi01_interrupt" />
|
||||||
<INTCSI10 InUse="0" ISR="r_csi10_interrupt" />
|
<INTCSI10 InUse="0" ISR="r_csi10_interrupt" />
|
||||||
<INTCSI11 InUse="0" ISR="r_csi11_interrupt" />
|
<INTCSI11 InUse="0" ISR="r_csi11_interrupt" />
|
||||||
<INTST0 InUse="0" ISR="r_uart0_interrupt_send" />
|
<INTST0 InUse="1" ISR="r_uart0_interrupt_send" />
|
||||||
<INTST1 InUse="0" ISR="r_uart1_interrupt_send" />
|
<INTST1 InUse="0" ISR="r_uart1_interrupt_send" />
|
||||||
<INTSRE0 InUse="0" ISR="r_uart0_interrupt_error" />
|
<INTSRE0 InUse="0" ISR="r_uart0_interrupt_error" />
|
||||||
<INTSRE1 InUse="0" ISR="r_uart1_interrupt_error" />
|
<INTSRE1 InUse="0" ISR="r_uart1_interrupt_error" />
|
||||||
@ -3444,18 +3504,18 @@
|
|||||||
<r_cg_intc.h UserName="r_cg_intc.h" LibName=".h" InUse="0" />
|
<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="1">
|
||||||
<Type R_SAUn_Create="void R_SAUn_Create(void)" R_SAUn_Set_PowerOff="void R_SAUn_Set_PowerOff(void)" R_SAUn_Set_SnoozeOn="void R_SAUn_Set_SnoozeOn(void)" R_SAUn_Set_SnoozeOff="void R_SAUn_Set_SnoozeOff(void)" R_UARTn_Create="void R_UARTn_Create(void)" R_UARTn_Send="MD_STATUS R_UARTn_Send(uint8_t * const tx_buf, uint16_t tx_num)" R_UARTn_Receive="MD_STATUS R_UARTn_Receive(uint8_t * const rx_buf, uint16_t rx_num)" R_UARTn_Start="void R_UARTn_Start(void)" R_UARTn_Stop="void R_UARTn_Stop(void)" R_CSIn_Create="void R_CSIn_Create(void)" R_CSIn_Send="MD_STATUS R_CSIn_Send(uint8_t * const tx_buf, uint16_t tx_num)" R_CSIn_Receive="MD_STATUS R_CSIn_Receive(uint8_t * const rx_buf, uint16_t rx_num) " R_CSIn_Send_Receive="MD_STATUS R_CSIn_Send_Receive(uint8_t * const tx_buf, uint16_t tx_num, uint8_t * const rx_buf) " R_CSIn_Start="void R_CSIn_Start(void)" R_CSIn_Stop="void R_CSIn_Stop(void)" R_IICn_Create="void R_IICn_Create(void)" R_IICn_Master_Send="void R_IICn_Master_Send(uint8_t adr, uint8_t * const tx_buf, uint16_t tx_num)" R_IICn_Master_Receive="void R_IICn_Master_Receive(uint8_t adr, uint8_t * const rx_buf, uint16_t rx_num) " R_IICn_Stop="void R_IICn_Stop(void)" R_IICn_StartCondition="void R_IICn_StartCondition(void)" R_IICn_StopCondition="void R_IICn_StopCondition(void)" IICn_Init="void IICn_Init(void)" IICn_MasterSendStart="MD_STATUS IICn_MasterSendStart(uint8_t adr, uint8_t * const tx_buf, USHORT tx_num, uint8_t wait)" IICn_MasterReceiveStart="MD_STATUS IICn_MasterReceiveStart(uint8_t adr, uint8_t * const rx_buf, USHORT rx_num, uint8_t wait)" IICn_SlaveSendStart="void IICn_SlaveSendStart(uint8_t * const tx_buf, USHORT tx_num)" IICn_SlaveReceiveStart="void IICn_SlaveReceiveStart(uint8_t * const rx_buf, USHORT rx_num)" IICn_Stop="void IICn_Stop(void)" IICn_StopCondition="void IICn_StopCondition(void)" IICn_PowerOff="void IICn_PowerOff(void)" R_IICAn_Create="void R_IICAn_Create(void)" R_IICAn_Master_Send="MD_STATUS R_IICAn_Master_Send(uint8_t adr, uint8_t * const tx_buf, uint16_t tx_num, uint8_t wait)" R_IICAn_Master_Receive="MD_STATUS R_IICAn_Master_Receive(uint8_t adr, uint8_t * const rx_buf, uint16_t rx_num, uint8_t wait)" R_IICAn_Slave_Send="void R_IICAn_Slave_Send(uint8_t * const tx_buf, uint16_t tx_num)" R_IICAn_Slave_Receive="void R_IICAn_Slave_Receive(uint8_t * const rx_buf, uint16_t rx_num)" R_IICAn_Stop="void R_IICAn_Stop(void)" R_IICAn_StopCondition="void R_IICAn_StopCondition(void)" R_IICAn_Set_SnoozeOn="void R_IICAn_Set_SnoozeOn(void)" R_IICAn_Set_SnoozeOff="void R_IICAn_Set_SnoozeOff(void)" R_IICAn_Set_PowerOff="void R_IICAn_Set_PowerOff(void)" />
|
<Type R_SAUn_Create="void R_SAUn_Create(void)" R_SAUn_Set_PowerOff="void R_SAUn_Set_PowerOff(void)" R_SAUn_Set_SnoozeOn="void R_SAUn_Set_SnoozeOn(void)" R_SAUn_Set_SnoozeOff="void R_SAUn_Set_SnoozeOff(void)" R_UARTn_Create="void R_UARTn_Create(void)" R_UARTn_Send="MD_STATUS R_UARTn_Send(uint8_t * const tx_buf, uint16_t tx_num)" R_UARTn_Receive="MD_STATUS R_UARTn_Receive(uint8_t * const rx_buf, uint16_t rx_num)" R_UARTn_Start="void R_UARTn_Start(void)" R_UARTn_Stop="void R_UARTn_Stop(void)" R_CSIn_Create="void R_CSIn_Create(void)" R_CSIn_Send="MD_STATUS R_CSIn_Send(uint8_t * const tx_buf, uint16_t tx_num)" R_CSIn_Receive="MD_STATUS R_CSIn_Receive(uint8_t * const rx_buf, uint16_t rx_num) " R_CSIn_Send_Receive="MD_STATUS R_CSIn_Send_Receive(uint8_t * const tx_buf, uint16_t tx_num, uint8_t * const rx_buf) " R_CSIn_Start="void R_CSIn_Start(void)" R_CSIn_Stop="void R_CSIn_Stop(void)" R_IICn_Create="void R_IICn_Create(void)" R_IICn_Master_Send="void R_IICn_Master_Send(uint8_t adr, uint8_t * const tx_buf, uint16_t tx_num)" R_IICn_Master_Receive="void R_IICn_Master_Receive(uint8_t adr, uint8_t * const rx_buf, uint16_t rx_num) " R_IICn_Stop="void R_IICn_Stop(void)" R_IICn_StartCondition="void R_IICn_StartCondition(void)" R_IICn_StopCondition="void R_IICn_StopCondition(void)" IICn_Init="void IICn_Init(void)" IICn_MasterSendStart="MD_STATUS IICn_MasterSendStart(uint8_t adr, uint8_t * const tx_buf, USHORT tx_num, uint8_t wait)" IICn_MasterReceiveStart="MD_STATUS IICn_MasterReceiveStart(uint8_t adr, uint8_t * const rx_buf, USHORT rx_num, uint8_t wait)" IICn_SlaveSendStart="void IICn_SlaveSendStart(uint8_t * const tx_buf, USHORT tx_num)" IICn_SlaveReceiveStart="void IICn_SlaveReceiveStart(uint8_t * const rx_buf, USHORT rx_num)" IICn_Stop="void IICn_Stop(void)" IICn_StopCondition="void IICn_StopCondition(void)" IICn_PowerOff="void IICn_PowerOff(void)" R_IICAn_Create="void R_IICAn_Create(void)" R_IICAn_Master_Send="MD_STATUS R_IICAn_Master_Send(uint8_t adr, uint8_t * const tx_buf, uint16_t tx_num, uint8_t wait)" R_IICAn_Master_Receive="MD_STATUS R_IICAn_Master_Receive(uint8_t adr, uint8_t * const rx_buf, uint16_t rx_num, uint8_t wait)" R_IICAn_Slave_Send="void R_IICAn_Slave_Send(uint8_t * const tx_buf, uint16_t tx_num)" R_IICAn_Slave_Receive="void R_IICAn_Slave_Receive(uint8_t * const rx_buf, uint16_t rx_num)" R_IICAn_Stop="void R_IICAn_Stop(void)" R_IICAn_StopCondition="void R_IICAn_StopCondition(void)" R_IICAn_Set_SnoozeOn="void R_IICAn_Set_SnoozeOn(void)" R_IICAn_Set_SnoozeOff="void R_IICAn_Set_SnoozeOff(void)" R_IICAn_Set_PowerOff="void R_IICAn_Set_PowerOff(void)" />
|
||||||
<SAU0 InUse="">
|
<SAU0 InUse="">
|
||||||
<R_SAU0_Create UserName="R_SAU0_Create" LibName="R_SAUn_Create" InUse="0" Init="1" InitMode="" />
|
<R_SAU0_Create UserName="R_SAU0_Create" LibName="R_SAUn_Create" InUse="1" Init="1" InitMode="" />
|
||||||
<R_SAU0_Set_PowerOff UserName="R_SAU0_Set_PowerOff" LibName="R_SAUn_Set_PowerOff" InUse="0" />
|
<R_SAU0_Set_PowerOff UserName="R_SAU0_Set_PowerOff" LibName="R_SAUn_Set_PowerOff" InUse="0" />
|
||||||
<R_SAU0_Set_SnoozeOn UserName="R_SAU0_Set_SnoozeOn" LibName="R_SAUn_Set_SnoozeOn" InUse="0" />
|
<R_SAU0_Set_SnoozeOn UserName="R_SAU0_Set_SnoozeOn" LibName="R_SAUn_Set_SnoozeOn" InUse="0" />
|
||||||
<R_SAU0_Set_SnoozeOff UserName="R_SAU0_Set_SnoozeOff" LibName="R_SAUn_Set_SnoozeOff" InUse="0" />
|
<R_SAU0_Set_SnoozeOff UserName="R_SAU0_Set_SnoozeOff" LibName="R_SAUn_Set_SnoozeOff" InUse="0" />
|
||||||
<UART0 InUse="">
|
<UART0 InUse="">
|
||||||
<R_UART0_Create UserName="R_UART0_Create" LibName="R_UARTn_Create" InUse="0" InitMode="" />
|
<R_UART0_Create UserName="R_UART0_Create" LibName="R_UARTn_Create" InUse="1" InitMode="" />
|
||||||
<R_UART0_Start UserName="R_UART0_Start" LibName="R_UARTn_Start" InUse="0" />
|
<R_UART0_Start UserName="R_UART0_Start" LibName="R_UARTn_Start" InUse="1" />
|
||||||
<R_UART0_Stop UserName="R_UART0_Stop" LibName="R_UARTn_Stop" InUse="0" />
|
<R_UART0_Stop UserName="R_UART0_Stop" LibName="R_UARTn_Stop" InUse="1" />
|
||||||
<R_UART0_Send UserName="R_UART0_Send" LibName="R_UARTn_Send" InUse="0" />
|
<R_UART0_Send UserName="R_UART0_Send" LibName="R_UARTn_Send" InUse="1" />
|
||||||
<R_UART0_Receive UserName="R_UART0_Receive" LibName="R_UARTn_Receive" InUse="0" />
|
<R_UART0_Receive UserName="R_UART0_Receive" LibName="R_UARTn_Receive" InUse="0" />
|
||||||
</UART0>
|
</UART0>
|
||||||
<CSI00 Chip="RL78G12_20pin,RL78G12_24pin" InUse="">
|
<CSI00 Chip="RL78G12_20pin,RL78G12_24pin" InUse="">
|
||||||
@ -3504,16 +3564,16 @@
|
|||||||
<R_IICA0_Set_PowerOff UserName="R_IICA0_Set_PowerOff" LibName="R_IICAn_Set_PowerOff" InUse="" />
|
<R_IICA0_Set_PowerOff UserName="R_IICA0_Set_PowerOff" LibName="R_IICAn_Set_PowerOff" InUse="" />
|
||||||
</IICA0>
|
</IICA0>
|
||||||
</r_cg_serial.c>
|
</r_cg_serial.c>
|
||||||
<r_cg_serial_user.c UserName="r_cg_serial_user.c" LibName="_user.c" InUse="0">
|
<r_cg_serial_user.c UserName="r_cg_serial_user.c" LibName="_user.c" InUse="1">
|
||||||
<Type R_SAUn_Create_UserInit="void R_SAUn_Create_UserInit(void)" R_UARTn_Interrupt_Receive="__interrupt static void R_UARTn_Interrupt_Receive(void)" R_UARTn_Interrupt_Error="__interrupt static void R_UARTn_Interrupt_Error(void)" R_UARTn_Interrupt_Send="__interrupt static void R_UARTn_Interrupt_Send(void)" R_UARTn_Callback_SendEnd="static void R_UARTn_Callback_SendEnd(void)" R_UARTn_Callback_ReceiveEnd="static void R_UARTn_Callback_ReceiveEnd(void)" R_UARTn_Callback_Error="static void R_UARTn_Callback_Error(uint8_t err_type)" R_UARTn_Callback_SoftwareOverRun="static void R_UARTn_Callback_SoftwareOverRun(uint16_t rx_data)" R_CSIn_Interrupt="__interrupt static void R_CSIn_Interrupt(void)" R_CSIn_Callback_ReceiveEnd="static void R_CSIn_Callback_ReceiveEnd(void)" R_CSIn_Callback_Error="static void R_CSIn_Callback_Error(uint8_t err_type)" R_CSIn_Callback_SendEnd="static void R_CSIn_Callback_SendEnd(void)" R_IICn_Interrupt="__interrupt static void R_IICn_Interrupt(void)" R_IICn_Callback_Master_ReceiveEnd="static void R_IICn_Callback_Master_ReceiveEnd(void)" R_IICn_Callback_Master_SendEnd="static void R_IICn_Callback_Master_SendEnd(void)" R_IICn_Callback_Master_Error="static void R_IICn_Callback_Master_Error(MD_STATUS flag)" IICn_MasterSendEndCallback="static void IICn_MasterSendEndCallback(void)" IICn_MasterReceiveEndCallback="static void IICn_MasterReceiveEndCallback(void)" IICn_MasterErrorCallback="static void IICn_MasterErrorCallback(MD_STATUS flag)" IICn_SlaveErrorCallback="static void IICn_SlaveErrorCallback(MD_STATUS flag)" IICn_GetStopConditionCallback="static void IICn_GetStopConditionCallback(void)" R_IICAn_Create_UserInit="void R_IICAn_Create_UserInit(void)" r_iican_interrupt="__interrupt static void r_iican_interrupt(void)" r_iican_callback_master_sendend="static void r_iican_callback_master_sendend(void)" r_iican_callback_master_receiveend="static void r_iican_callback_master_receiveend(void)" r_iican_callback_slave_sendend="static void r_iican_callback_slave_sendend(void)" r_iican_callback_slave_receiveend="static void r_iican_callback_slave_receiveend(void)" r_iican_callback_master_error="static void r_iican_callback_master_error(MD_STATUS flag)" r_iican_callback_slave_error="static void r_iican_callback_slave_error(MD_STATUS flag)" r_iican_callback_getstopcondition="static void r_iican_callback_getstopcondition(void)" />
|
<Type R_SAUn_Create_UserInit="void R_SAUn_Create_UserInit(void)" R_UARTn_Interrupt_Receive="__interrupt static void R_UARTn_Interrupt_Receive(void)" R_UARTn_Interrupt_Error="__interrupt static void R_UARTn_Interrupt_Error(void)" R_UARTn_Interrupt_Send="__interrupt static void R_UARTn_Interrupt_Send(void)" R_UARTn_Callback_SendEnd="static void R_UARTn_Callback_SendEnd(void)" R_UARTn_Callback_ReceiveEnd="static void R_UARTn_Callback_ReceiveEnd(void)" R_UARTn_Callback_Error="static void R_UARTn_Callback_Error(uint8_t err_type)" R_UARTn_Callback_SoftwareOverRun="static void R_UARTn_Callback_SoftwareOverRun(uint16_t rx_data)" R_CSIn_Interrupt="__interrupt static void R_CSIn_Interrupt(void)" R_CSIn_Callback_ReceiveEnd="static void R_CSIn_Callback_ReceiveEnd(void)" R_CSIn_Callback_Error="static void R_CSIn_Callback_Error(uint8_t err_type)" R_CSIn_Callback_SendEnd="static void R_CSIn_Callback_SendEnd(void)" R_IICn_Interrupt="__interrupt static void R_IICn_Interrupt(void)" R_IICn_Callback_Master_ReceiveEnd="static void R_IICn_Callback_Master_ReceiveEnd(void)" R_IICn_Callback_Master_SendEnd="static void R_IICn_Callback_Master_SendEnd(void)" R_IICn_Callback_Master_Error="static void R_IICn_Callback_Master_Error(MD_STATUS flag)" IICn_MasterSendEndCallback="static void IICn_MasterSendEndCallback(void)" IICn_MasterReceiveEndCallback="static void IICn_MasterReceiveEndCallback(void)" IICn_MasterErrorCallback="static void IICn_MasterErrorCallback(MD_STATUS flag)" IICn_SlaveErrorCallback="static void IICn_SlaveErrorCallback(MD_STATUS flag)" IICn_GetStopConditionCallback="static void IICn_GetStopConditionCallback(void)" R_IICAn_Create_UserInit="void R_IICAn_Create_UserInit(void)" r_iican_interrupt="__interrupt static void r_iican_interrupt(void)" r_iican_callback_master_sendend="static void r_iican_callback_master_sendend(void)" r_iican_callback_master_receiveend="static void r_iican_callback_master_receiveend(void)" r_iican_callback_slave_sendend="static void r_iican_callback_slave_sendend(void)" r_iican_callback_slave_receiveend="static void r_iican_callback_slave_receiveend(void)" r_iican_callback_master_error="static void r_iican_callback_master_error(MD_STATUS flag)" r_iican_callback_slave_error="static void r_iican_callback_slave_error(MD_STATUS flag)" r_iican_callback_getstopcondition="static void r_iican_callback_getstopcondition(void)" />
|
||||||
<SAU0 InUse="">
|
<SAU0 InUse="">
|
||||||
<R_SAU0_Create_UserInit UserName="R_SAU0_Create_UserInit" LibName="R_SAUn_Create_UserInit" InUse="0" />
|
<R_SAU0_Create_UserInit UserName="R_SAU0_Create_UserInit" LibName="R_SAUn_Create_UserInit" InUse="0" />
|
||||||
<UART0 InUse="">
|
<UART0 InUse="">
|
||||||
<r_uart0_interrupt_receive UserName="r_uart0_interrupt_receive" INTHandle="" LibName="R_UARTn_Interrupt_Receive" InUse="0" />
|
<r_uart0_interrupt_receive UserName="r_uart0_interrupt_receive" INTHandle="" LibName="R_UARTn_Interrupt_Receive" InUse="0" />
|
||||||
<r_uart0_interrupt_error UserName="r_uart0_interrupt_error" INTHandle="" LibName="R_UARTn_Interrupt_Error" InUse="0" />
|
<r_uart0_interrupt_error UserName="r_uart0_interrupt_error" INTHandle="" LibName="R_UARTn_Interrupt_Error" InUse="0" />
|
||||||
<r_uart0_interrupt_send UserName="r_uart0_interrupt_send" INTHandle="" LibName="R_UARTn_Interrupt_Send" InUse="0" />
|
<r_uart0_interrupt_send UserName="r_uart0_interrupt_send" INTHandle="" LibName="R_UARTn_Interrupt_Send" InUse="1" />
|
||||||
<r_uart0_callback_receiveend UserName="r_uart0_callback_receiveend" LibName="R_UARTn_Callback_ReceiveEnd" InUse="0" />
|
<r_uart0_callback_receiveend UserName="r_uart0_callback_receiveend" LibName="R_UARTn_Callback_ReceiveEnd" InUse="0" />
|
||||||
<r_uart0_callback_sendend UserName="r_uart0_callback_sendend" LibName="R_UARTn_Callback_SendEnd" InUse="0" />
|
<r_uart0_callback_sendend UserName="r_uart0_callback_sendend" LibName="R_UARTn_Callback_SendEnd" InUse="1" />
|
||||||
<r_uart0_callback_error UserName="r_uart0_callback_error" LibName="R_UARTn_Callback_Error" InUse="0" />
|
<r_uart0_callback_error UserName="r_uart0_callback_error" LibName="R_UARTn_Callback_Error" InUse="0" />
|
||||||
<r_uart0_callback_softwareoverrun UserName="r_uart0_callback_softwareoverrun" LibName="R_UARTn_Callback_SoftwareOverRun" InUse="0" />
|
<r_uart0_callback_softwareoverrun UserName="r_uart0_callback_softwareoverrun" LibName="R_UARTn_Callback_SoftwareOverRun" InUse="0" />
|
||||||
</UART0>
|
</UART0>
|
||||||
@ -3554,7 +3614,7 @@
|
|||||||
<r_iica0_callback_getstopcondition UserName="r_iica0_callback_getstopcondition" LibName="r_iican_callback_getstopcondition" InUse="" />
|
<r_iica0_callback_getstopcondition UserName="r_iica0_callback_getstopcondition" LibName="r_iican_callback_getstopcondition" InUse="" />
|
||||||
</IICA0>
|
</IICA0>
|
||||||
</r_cg_serial_user.c>
|
</r_cg_serial_user.c>
|
||||||
<r_cg_serial.h UserName="r_cg_serial.h" LibName=".h" InUse="0" />
|
<r_cg_serial.h UserName="r_cg_serial.h" LibName=".h" InUse="1" />
|
||||||
</Serial>
|
</Serial>
|
||||||
<ADC>
|
<ADC>
|
||||||
<r_cg_adc.c UserName="r_cg_adc.c" LibName=".c" InUse="1">
|
<r_cg_adc.c UserName="r_cg_adc.c" LibName=".c" InUse="1">
|
||||||
@ -3760,8 +3820,8 @@
|
|||||||
<INTP Accelerate="No" MacroName="INTP" SetFlag="False" TabEnable="True" />
|
<INTP Accelerate="No" MacroName="INTP" SetFlag="False" TabEnable="True" />
|
||||||
<KEY Chip="RL78G12_20pin,RL78G12_24pin," MacroName="KEY" TabEnable="True" />
|
<KEY Chip="RL78G12_20pin,RL78G12_24pin," MacroName="KEY" TabEnable="True" />
|
||||||
</INTC>
|
</INTC>
|
||||||
<Serial SetFlag="False" HelpID="serial" NeedRefresh="False">
|
<Serial SetFlag="True" 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="True" TabEnable="True">
|
||||||
<Channel0 UART="0" CSI="00" IIC="00" Channel="0" />
|
<Channel0 UART="0" CSI="00" IIC="00" Channel="0" />
|
||||||
<Channel1 UART="0" CSI="01" IIC="01" Channel="1" />
|
<Channel1 UART="0" CSI="01" IIC="01" Channel="1" />
|
||||||
</SAU0>
|
</SAU0>
|
||||||
@ -3845,14 +3905,14 @@
|
|||||||
<PORT>
|
<PORT>
|
||||||
<PortP1>
|
<PortP1>
|
||||||
<P10>
|
<P10>
|
||||||
<setting name="Operation" value="output" />
|
<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" />
|
||||||
</P10>
|
</P10>
|
||||||
<P11>
|
<P11>
|
||||||
<setting name="Operation" value="unused" />
|
<setting name="Operation" value="output" />
|
||||||
<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" />
|
||||||
@ -3866,7 +3926,7 @@
|
|||||||
<setting name="Output_value" value="1" />
|
<setting name="Output_value" value="1" />
|
||||||
</P12>
|
</P12>
|
||||||
<P13>
|
<P13>
|
||||||
<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" />
|
||||||
@ -3896,14 +3956,14 @@
|
|||||||
<setting name="Output_value" value="0" />
|
<setting name="Output_value" value="0" />
|
||||||
</P21>
|
</P21>
|
||||||
<P22>
|
<P22>
|
||||||
<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" />
|
||||||
<setting name="Output_value" value="0" />
|
<setting name="Output_value" value="0" />
|
||||||
</P22>
|
</P22>
|
||||||
<P23>
|
<P23>
|
||||||
<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" />
|
||||||
@ -3992,7 +4052,7 @@
|
|||||||
<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="0" />
|
<setting name="InputPins" value="0" />
|
||||||
<setting name="InputPinsAttach" value="ANI0 - ANI1" />
|
<setting name="InputPinsAttach" value="ANI0 - ANI2" />
|
||||||
<setting name="AD_Inputpin16" value="unused" />
|
<setting name="AD_Inputpin16" value="unused" />
|
||||||
<setting name="AD_Inputpin17" value="unused" />
|
<setting name="AD_Inputpin17" value="unused" />
|
||||||
<setting name="AD_Inputpin18" value="unused" />
|
<setting name="AD_Inputpin18" value="unused" />
|
||||||
@ -4087,12 +4147,12 @@
|
|||||||
<CSI00 />
|
<CSI00 />
|
||||||
<UART0 />
|
<UART0 />
|
||||||
<Channel0>
|
<Channel0>
|
||||||
<setting name="Channel_function_-i" value="0" />
|
<setting name="Channel_function_-i" value="1" />
|
||||||
<setting name="Detail_function_-i" value="-1" />
|
<setting name="Detail_function_-i" value="1" />
|
||||||
<Both_UART0>
|
<Transmit_UART0>
|
||||||
<setting name="Receive_data_direction" value="LSB" />
|
<setting name="Receive_data_direction" value="LSB" />
|
||||||
<setting name="Receive_data_length" value="8 bits" />
|
<setting name="Receive_data_length" value="8 bits" />
|
||||||
<setting name="Receive_parity" value="odd" />
|
<setting name="Receive_parity" value="none" />
|
||||||
<setting name="RecBaudrate" value="9600" />
|
<setting name="RecBaudrate" value="9600" />
|
||||||
<setting name="Receive_end_callback_function" value="generated" />
|
<setting name="Receive_end_callback_function" value="generated" />
|
||||||
<setting name="Receive_error_callback_function" value="generated" />
|
<setting name="Receive_error_callback_function" value="generated" />
|
||||||
@ -4100,16 +4160,16 @@
|
|||||||
<setting name="Transmit_data_direction" value="LSB" />
|
<setting name="Transmit_data_direction" value="LSB" />
|
||||||
<setting name="Transmit_data_level" value="normal" />
|
<setting name="Transmit_data_level" value="normal" />
|
||||||
<setting name="Transmit_data_length" value="8 bits" />
|
<setting name="Transmit_data_length" value="8 bits" />
|
||||||
<setting name="Transmit_parity" value="odd" />
|
<setting name="Transmit_parity" value="none" />
|
||||||
<setting name="Transmit_stop_length" value="2 bits" />
|
<setting name="Transmit_stop_length" value="1 bit" />
|
||||||
<setting name="TranBaudrate" value="9600" />
|
<setting name="TranBaudrate" value="115200" />
|
||||||
<setting name="Transmit_end_callback_function" value="generated" />
|
<setting name="Transmit_end_callback_function" value="generated" />
|
||||||
<setting name="Transmit_end_interrupt_priority" value="3" />
|
<setting name="Transmit_end_interrupt_priority" value="3" />
|
||||||
<setting name="Receive_error_interrupt_priority" value="3" />
|
<setting name="Receive_error_interrupt_priority" value="3" />
|
||||||
<setting name="Receive_end_interrupt_priority" value="3" />
|
<setting name="Receive_end_interrupt_priority" value="3" />
|
||||||
<setting name="Reveive_Data_Level" value="Normal" />
|
<setting name="Reveive_Data_Level" value="Normal" />
|
||||||
<setting name="Receive_error_interrupt" value="not used" />
|
<setting name="Receive_error_interrupt" value="not used" />
|
||||||
</Both_UART0>
|
</Transmit_UART0>
|
||||||
<Receive_UART0>
|
<Receive_UART0>
|
||||||
<setting name="Receive_data_direction" value="LSB" />
|
<setting name="Receive_data_direction" value="LSB" />
|
||||||
<setting name="Receive_data_length" value="8 bits" />
|
<setting name="Receive_data_length" value="8 bits" />
|
||||||
@ -4131,6 +4191,27 @@
|
|||||||
<setting name="Reveive_Data_Level" value="Normal" />
|
<setting name="Reveive_Data_Level" value="Normal" />
|
||||||
<setting name="Receive_error_interrupt" value="not used" />
|
<setting name="Receive_error_interrupt" value="not used" />
|
||||||
</Receive_UART0>
|
</Receive_UART0>
|
||||||
|
<Both_UART0>
|
||||||
|
<setting name="Receive_data_direction" value="LSB" />
|
||||||
|
<setting name="Receive_data_length" value="8 bits" />
|
||||||
|
<setting name="Receive_parity" value="odd" />
|
||||||
|
<setting name="RecBaudrate" value="9600" />
|
||||||
|
<setting name="Receive_end_callback_function" value="generated" />
|
||||||
|
<setting name="Receive_error_callback_function" value="generated" />
|
||||||
|
<setting name="Transfer_mode" value="single" />
|
||||||
|
<setting name="Transmit_data_direction" value="LSB" />
|
||||||
|
<setting name="Transmit_data_level" value="normal" />
|
||||||
|
<setting name="Transmit_data_length" value="8 bits" />
|
||||||
|
<setting name="Transmit_parity" value="odd" />
|
||||||
|
<setting name="Transmit_stop_length" value="2 bits" />
|
||||||
|
<setting name="TranBaudrate" value="9600" />
|
||||||
|
<setting name="Transmit_end_callback_function" value="generated" />
|
||||||
|
<setting name="Transmit_end_interrupt_priority" value="3" />
|
||||||
|
<setting name="Receive_error_interrupt_priority" value="3" />
|
||||||
|
<setting name="Receive_end_interrupt_priority" value="3" />
|
||||||
|
<setting name="Reveive_Data_Level" value="Normal" />
|
||||||
|
<setting name="Receive_error_interrupt" value="not used" />
|
||||||
|
</Both_UART0>
|
||||||
</Channel0>
|
</Channel0>
|
||||||
<IIC01 />
|
<IIC01 />
|
||||||
<CSI01 />
|
<CSI01 />
|
||||||
|
104
M12.rcpe
104
M12.rcpe
@ -30,10 +30,14 @@
|
|||||||
<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>
|
||||||
|
<Path>r_cg_serial.c</Path>
|
||||||
|
<Path>r_cg_serial_user.c</Path>
|
||||||
|
<Path>r_cg_serial.h</Path>
|
||||||
</Category>
|
</Category>
|
||||||
<Path>appTask.c</Path>
|
<Path>user\appTask.c</Path>
|
||||||
<Path>event.c</Path>
|
<Path>user\event.c</Path>
|
||||||
<Path>hwCtrl.c</Path>
|
<Path>user\hwCtrl.c</Path>
|
||||||
|
<Path>user\MotorCtrl.c</Path>
|
||||||
</Files>
|
</Files>
|
||||||
<DebugOptions>
|
<DebugOptions>
|
||||||
<DebugTool>Simulator</DebugTool>
|
<DebugTool>Simulator</DebugTool>
|
||||||
@ -60,12 +64,16 @@
|
|||||||
<Path>DefaultBuild\r_cg_timer_user.obj</Path>
|
<Path>DefaultBuild\r_cg_timer_user.obj</Path>
|
||||||
<Path>DefaultBuild\r_cg_wdt.obj</Path>
|
<Path>DefaultBuild\r_cg_wdt.obj</Path>
|
||||||
<Path>DefaultBuild\r_cg_wdt_user.obj</Path>
|
<Path>DefaultBuild\r_cg_wdt_user.obj</Path>
|
||||||
|
<Path>DefaultBuild\r_cg_serial.obj</Path>
|
||||||
|
<Path>DefaultBuild\r_cg_serial_user.obj</Path>
|
||||||
<Path>DefaultBuild\appTask.obj</Path>
|
<Path>DefaultBuild\appTask.obj</Path>
|
||||||
<Path>DefaultBuild\event.obj</Path>
|
<Path>DefaultBuild\event.obj</Path>
|
||||||
<Path>DefaultBuild\hwCtrl.obj</Path>
|
<Path>DefaultBuild\hwCtrl.obj</Path>
|
||||||
|
<Path>DefaultBuild\MotorCtrl.obj</Path>
|
||||||
</LinkOrder>
|
</LinkOrder>
|
||||||
<CommonOptions>
|
<CommonOptions>
|
||||||
<IncludePathForC>.</IncludePathForC>
|
<IncludePathForC>.</IncludePathForC>
|
||||||
|
<IncludePathForC>user</IncludePathForC>
|
||||||
</CommonOptions>
|
</CommonOptions>
|
||||||
<GeneralOptions>
|
<GeneralOptions>
|
||||||
<SimultaneouslyBuild>False</SimultaneouslyBuild>
|
<SimultaneouslyBuild>False</SimultaneouslyBuild>
|
||||||
@ -77,6 +85,7 @@
|
|||||||
<Option>-g</Option>
|
<Option>-g</Option>
|
||||||
<Option>-g_line</Option>
|
<Option>-g_line</Option>
|
||||||
<Option>-I .</Option>
|
<Option>-I .</Option>
|
||||||
|
<Option>-I user</Option>
|
||||||
<Option>-far_rom</Option>
|
<Option>-far_rom</Option>
|
||||||
<Option>-c</Option>
|
<Option>-c</Option>
|
||||||
</CompileOptions>
|
</CompileOptions>
|
||||||
@ -188,7 +197,7 @@
|
|||||||
</Effect>
|
</Effect>
|
||||||
</VDDValue>
|
</VDDValue>
|
||||||
<VDD Name="VDD" Text="false" Comment="used" />
|
<VDD Name="VDD" Text="false" Comment="used" />
|
||||||
<AD_ADPC_USEDPIN Name="AD_ADPC_USEDPIN" Text="ANI0,ANI1," />
|
<AD_ADPC_USEDPIN Name="AD_ADPC_USEDPIN" Text="ANI0,ANI1,ANI2," />
|
||||||
<ADC_ADS_VALUE Name="ADC_ADS_VALUE" Text="ANI1," />
|
<ADC_ADS_VALUE Name="ADC_ADS_VALUE" Text="ANI1," />
|
||||||
<IIC00 Chip="RL78G12_20pin,RL78G12_24pin" Name="IIC00" Text="false" Comment="unused" Trigger="IIC00">
|
<IIC00 Chip="RL78G12_20pin,RL78G12_24pin" Name="IIC00" Text="false" Comment="unused" Trigger="IIC00">
|
||||||
<Effect>
|
<Effect>
|
||||||
@ -248,7 +257,7 @@
|
|||||||
<RAMEndAddress Name="RAMEndAddress" Fixed="" Text="000FFEFF" />
|
<RAMEndAddress Name="RAMEndAddress" Fixed="" Text="000FFEFF" />
|
||||||
<ROMEndAddress Chip="R5F10268,R5F10278,R5F102A8" Name="ROMEndAddress" Fixed="" Text="00001FFF" />
|
<ROMEndAddress Chip="R5F10268,R5F10278,R5F102A8" Name="ROMEndAddress" Fixed="" Text="00001FFF" />
|
||||||
<MirrorROM Chip="R5F10266, R5F10366,R5F10267, R5F10277, R5F102A7,R5F10367, R5F10377, R5F103A7,R5F10268, R5F10278, R5F102A8,R5F10368, R5F10378, R5F103A8" Name="MirrorROM" Fixed="" Text="0" />
|
<MirrorROM Chip="R5F10266, R5F10366,R5F10267, R5F10277, R5F102A7,R5F10367, R5F10377, R5F103A7,R5F10268, R5F10278, R5F102A8,R5F10368, R5F10378, R5F103A8" Name="MirrorROM" Fixed="" Text="0" />
|
||||||
<ADPC_AD Name="ADPC_AD" Value="1" />
|
<ADPC_AD Name="ADPC_AD" Value="2" />
|
||||||
<CodePath Name="CodePath" Text=".\" />
|
<CodePath Name="CodePath" Text=".\" />
|
||||||
<ReportType Name="ReportType" Text="Html" />
|
<ReportType Name="ReportType" Text="Html" />
|
||||||
<CreationDateType Name="CreationDateType" Text="OutputDate" />
|
<CreationDateType Name="CreationDateType" Text="OutputDate" />
|
||||||
@ -288,16 +297,16 @@
|
|||||||
<PORT>
|
<PORT>
|
||||||
<Port1 Chip="RL78G12_20pin,RL78G12_24pin" DIN="true" Pullup="true">
|
<Port1 Chip="RL78G12_20pin,RL78G12_24pin" DIN="true" Pullup="true">
|
||||||
<P10 Name="P10/ANI16/PCLBUZ0/_SCK00/SCL00" TTL="true" Nch="true" AltFunc="P10" Point="I/O" />
|
<P10 Name="P10/ANI16/PCLBUZ0/_SCK00/SCL00" TTL="true" Nch="true" AltFunc="P10" Point="I/O" />
|
||||||
<P11 Name="P11/ANI17/SI00/RXD0/SDA00/TOOLRXD" TTL="true" Nch="true" AltFunc="" Point="I/O" />
|
<P11 Name="P11/ANI17/SI00/RXD0/SDA00/TOOLRXD" TTL="true" Nch="true" AltFunc="P11" Point="I/O" />
|
||||||
<P12 Name="P12/ANI18/SO00/TXD0/TOOLTXD" Nch="true" AltFunc="" Point="I/O" />
|
<P12 Name="P12/ANI18/SO00/TXD0/TOOLTXD" Nch="true" AltFunc="" Point="I/O" />
|
||||||
<P13 Name="P13/ANI19/TI00/TO00/INTP2" AltFunc="" Point="I/O" />
|
<P13 Name="P13/ANI19/TI00/TO00/INTP2" AltFunc="P13" Point="I/O" />
|
||||||
<P14 Name="P14/ANI20/TI01/TO01/INTP3" AltFunc="P14" Point="I/O" />
|
<P14 Name="P14/ANI20/TI01/TO01/INTP3" AltFunc="P14" Point="I/O" />
|
||||||
</Port1>
|
</Port1>
|
||||||
<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="P22" Point="I/O" />
|
<P22 Name="P22/ANI2" AltFunc="ANALOG_2" Point="I/O" />
|
||||||
<P23 Name="P23/ANI3" AltFunc="" Point="I/O" />
|
<P23 Name="P23/ANI3" AltFunc="P23" 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" />
|
||||||
@ -305,7 +314,7 @@
|
|||||||
<P42 Name="P42/ANI21/_SCK01/SCL01/TI03/TO03" DIN="true" AltFunc="" 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="TXD0" Point="I/O" />
|
||||||
<P61 Name="P61/KR5/SDAA0" AltFunc="" Point="I/O" />
|
<P61 Name="P61/KR5/SDAA0" AltFunc="" Point="I/O" />
|
||||||
</Port6>
|
</Port6>
|
||||||
<Port12 Chip="RL78G12_20pin,RL78G12_24pin">
|
<Port12 Chip="RL78G12_20pin,RL78G12_24pin">
|
||||||
@ -430,7 +439,7 @@
|
|||||||
<INTCSI01 InUse="0" ISR="r_csi01_interrupt" />
|
<INTCSI01 InUse="0" ISR="r_csi01_interrupt" />
|
||||||
<INTCSI10 InUse="0" ISR="r_csi10_interrupt" />
|
<INTCSI10 InUse="0" ISR="r_csi10_interrupt" />
|
||||||
<INTCSI11 InUse="0" ISR="r_csi11_interrupt" />
|
<INTCSI11 InUse="0" ISR="r_csi11_interrupt" />
|
||||||
<INTST0 InUse="0" ISR="r_uart0_interrupt_send" />
|
<INTST0 InUse="1" ISR="r_uart0_interrupt_send" />
|
||||||
<INTST1 InUse="0" ISR="r_uart1_interrupt_send" />
|
<INTST1 InUse="0" ISR="r_uart1_interrupt_send" />
|
||||||
<INTSRE0 InUse="0" ISR="r_uart0_interrupt_error" />
|
<INTSRE0 InUse="0" ISR="r_uart0_interrupt_error" />
|
||||||
<INTSRE1 InUse="0" ISR="r_uart1_interrupt_error" />
|
<INTSRE1 InUse="0" ISR="r_uart1_interrupt_error" />
|
||||||
@ -635,18 +644,18 @@
|
|||||||
<r_cg_intc.h UserName="r_cg_intc.h" LibName=".h" InUse="0" />
|
<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="1">
|
||||||
<Type R_SAUn_Create="void R_SAUn_Create(void)" R_SAUn_Set_PowerOff="void R_SAUn_Set_PowerOff(void)" R_SAUn_Set_SnoozeOn="void R_SAUn_Set_SnoozeOn(void)" R_SAUn_Set_SnoozeOff="void R_SAUn_Set_SnoozeOff(void)" R_UARTn_Create="void R_UARTn_Create(void)" R_UARTn_Send="MD_STATUS R_UARTn_Send(uint8_t * const tx_buf, uint16_t tx_num)" R_UARTn_Receive="MD_STATUS R_UARTn_Receive(uint8_t * const rx_buf, uint16_t rx_num)" R_UARTn_Start="void R_UARTn_Start(void)" R_UARTn_Stop="void R_UARTn_Stop(void)" R_CSIn_Create="void R_CSIn_Create(void)" R_CSIn_Send="MD_STATUS R_CSIn_Send(uint8_t * const tx_buf, uint16_t tx_num)" R_CSIn_Receive="MD_STATUS R_CSIn_Receive(uint8_t * const rx_buf, uint16_t rx_num) " R_CSIn_Send_Receive="MD_STATUS R_CSIn_Send_Receive(uint8_t * const tx_buf, uint16_t tx_num, uint8_t * const rx_buf) " R_CSIn_Start="void R_CSIn_Start(void)" R_CSIn_Stop="void R_CSIn_Stop(void)" R_IICn_Create="void R_IICn_Create(void)" R_IICn_Master_Send="void R_IICn_Master_Send(uint8_t adr, uint8_t * const tx_buf, uint16_t tx_num)" R_IICn_Master_Receive="void R_IICn_Master_Receive(uint8_t adr, uint8_t * const rx_buf, uint16_t rx_num) " R_IICn_Stop="void R_IICn_Stop(void)" R_IICn_StartCondition="void R_IICn_StartCondition(void)" R_IICn_StopCondition="void R_IICn_StopCondition(void)" IICn_Init="void IICn_Init(void)" IICn_MasterSendStart="MD_STATUS IICn_MasterSendStart(uint8_t adr, uint8_t * const tx_buf, USHORT tx_num, uint8_t wait)" IICn_MasterReceiveStart="MD_STATUS IICn_MasterReceiveStart(uint8_t adr, uint8_t * const rx_buf, USHORT rx_num, uint8_t wait)" IICn_SlaveSendStart="void IICn_SlaveSendStart(uint8_t * const tx_buf, USHORT tx_num)" IICn_SlaveReceiveStart="void IICn_SlaveReceiveStart(uint8_t * const rx_buf, USHORT rx_num)" IICn_Stop="void IICn_Stop(void)" IICn_StopCondition="void IICn_StopCondition(void)" IICn_PowerOff="void IICn_PowerOff(void)" R_IICAn_Create="void R_IICAn_Create(void)" R_IICAn_Master_Send="MD_STATUS R_IICAn_Master_Send(uint8_t adr, uint8_t * const tx_buf, uint16_t tx_num, uint8_t wait)" R_IICAn_Master_Receive="MD_STATUS R_IICAn_Master_Receive(uint8_t adr, uint8_t * const rx_buf, uint16_t rx_num, uint8_t wait)" R_IICAn_Slave_Send="void R_IICAn_Slave_Send(uint8_t * const tx_buf, uint16_t tx_num)" R_IICAn_Slave_Receive="void R_IICAn_Slave_Receive(uint8_t * const rx_buf, uint16_t rx_num)" R_IICAn_Stop="void R_IICAn_Stop(void)" R_IICAn_StopCondition="void R_IICAn_StopCondition(void)" R_IICAn_Set_SnoozeOn="void R_IICAn_Set_SnoozeOn(void)" R_IICAn_Set_SnoozeOff="void R_IICAn_Set_SnoozeOff(void)" R_IICAn_Set_PowerOff="void R_IICAn_Set_PowerOff(void)" />
|
<Type R_SAUn_Create="void R_SAUn_Create(void)" R_SAUn_Set_PowerOff="void R_SAUn_Set_PowerOff(void)" R_SAUn_Set_SnoozeOn="void R_SAUn_Set_SnoozeOn(void)" R_SAUn_Set_SnoozeOff="void R_SAUn_Set_SnoozeOff(void)" R_UARTn_Create="void R_UARTn_Create(void)" R_UARTn_Send="MD_STATUS R_UARTn_Send(uint8_t * const tx_buf, uint16_t tx_num)" R_UARTn_Receive="MD_STATUS R_UARTn_Receive(uint8_t * const rx_buf, uint16_t rx_num)" R_UARTn_Start="void R_UARTn_Start(void)" R_UARTn_Stop="void R_UARTn_Stop(void)" R_CSIn_Create="void R_CSIn_Create(void)" R_CSIn_Send="MD_STATUS R_CSIn_Send(uint8_t * const tx_buf, uint16_t tx_num)" R_CSIn_Receive="MD_STATUS R_CSIn_Receive(uint8_t * const rx_buf, uint16_t rx_num) " R_CSIn_Send_Receive="MD_STATUS R_CSIn_Send_Receive(uint8_t * const tx_buf, uint16_t tx_num, uint8_t * const rx_buf) " R_CSIn_Start="void R_CSIn_Start(void)" R_CSIn_Stop="void R_CSIn_Stop(void)" R_IICn_Create="void R_IICn_Create(void)" R_IICn_Master_Send="void R_IICn_Master_Send(uint8_t adr, uint8_t * const tx_buf, uint16_t tx_num)" R_IICn_Master_Receive="void R_IICn_Master_Receive(uint8_t adr, uint8_t * const rx_buf, uint16_t rx_num) " R_IICn_Stop="void R_IICn_Stop(void)" R_IICn_StartCondition="void R_IICn_StartCondition(void)" R_IICn_StopCondition="void R_IICn_StopCondition(void)" IICn_Init="void IICn_Init(void)" IICn_MasterSendStart="MD_STATUS IICn_MasterSendStart(uint8_t adr, uint8_t * const tx_buf, USHORT tx_num, uint8_t wait)" IICn_MasterReceiveStart="MD_STATUS IICn_MasterReceiveStart(uint8_t adr, uint8_t * const rx_buf, USHORT rx_num, uint8_t wait)" IICn_SlaveSendStart="void IICn_SlaveSendStart(uint8_t * const tx_buf, USHORT tx_num)" IICn_SlaveReceiveStart="void IICn_SlaveReceiveStart(uint8_t * const rx_buf, USHORT rx_num)" IICn_Stop="void IICn_Stop(void)" IICn_StopCondition="void IICn_StopCondition(void)" IICn_PowerOff="void IICn_PowerOff(void)" R_IICAn_Create="void R_IICAn_Create(void)" R_IICAn_Master_Send="MD_STATUS R_IICAn_Master_Send(uint8_t adr, uint8_t * const tx_buf, uint16_t tx_num, uint8_t wait)" R_IICAn_Master_Receive="MD_STATUS R_IICAn_Master_Receive(uint8_t adr, uint8_t * const rx_buf, uint16_t rx_num, uint8_t wait)" R_IICAn_Slave_Send="void R_IICAn_Slave_Send(uint8_t * const tx_buf, uint16_t tx_num)" R_IICAn_Slave_Receive="void R_IICAn_Slave_Receive(uint8_t * const rx_buf, uint16_t rx_num)" R_IICAn_Stop="void R_IICAn_Stop(void)" R_IICAn_StopCondition="void R_IICAn_StopCondition(void)" R_IICAn_Set_SnoozeOn="void R_IICAn_Set_SnoozeOn(void)" R_IICAn_Set_SnoozeOff="void R_IICAn_Set_SnoozeOff(void)" R_IICAn_Set_PowerOff="void R_IICAn_Set_PowerOff(void)" />
|
||||||
<SAU0 InUse="">
|
<SAU0 InUse="">
|
||||||
<R_SAU0_Create UserName="R_SAU0_Create" LibName="R_SAUn_Create" InUse="0" Init="1" InitMode="" />
|
<R_SAU0_Create UserName="R_SAU0_Create" LibName="R_SAUn_Create" InUse="1" Init="1" InitMode="" />
|
||||||
<R_SAU0_Set_PowerOff UserName="R_SAU0_Set_PowerOff" LibName="R_SAUn_Set_PowerOff" InUse="0" />
|
<R_SAU0_Set_PowerOff UserName="R_SAU0_Set_PowerOff" LibName="R_SAUn_Set_PowerOff" InUse="0" />
|
||||||
<R_SAU0_Set_SnoozeOn UserName="R_SAU0_Set_SnoozeOn" LibName="R_SAUn_Set_SnoozeOn" InUse="0" />
|
<R_SAU0_Set_SnoozeOn UserName="R_SAU0_Set_SnoozeOn" LibName="R_SAUn_Set_SnoozeOn" InUse="0" />
|
||||||
<R_SAU0_Set_SnoozeOff UserName="R_SAU0_Set_SnoozeOff" LibName="R_SAUn_Set_SnoozeOff" InUse="0" />
|
<R_SAU0_Set_SnoozeOff UserName="R_SAU0_Set_SnoozeOff" LibName="R_SAUn_Set_SnoozeOff" InUse="0" />
|
||||||
<UART0 InUse="">
|
<UART0 InUse="">
|
||||||
<R_UART0_Create UserName="R_UART0_Create" LibName="R_UARTn_Create" InUse="0" InitMode="" />
|
<R_UART0_Create UserName="R_UART0_Create" LibName="R_UARTn_Create" InUse="1" InitMode="" />
|
||||||
<R_UART0_Start UserName="R_UART0_Start" LibName="R_UARTn_Start" InUse="0" />
|
<R_UART0_Start UserName="R_UART0_Start" LibName="R_UARTn_Start" InUse="1" />
|
||||||
<R_UART0_Stop UserName="R_UART0_Stop" LibName="R_UARTn_Stop" InUse="0" />
|
<R_UART0_Stop UserName="R_UART0_Stop" LibName="R_UARTn_Stop" InUse="1" />
|
||||||
<R_UART0_Send UserName="R_UART0_Send" LibName="R_UARTn_Send" InUse="0" />
|
<R_UART0_Send UserName="R_UART0_Send" LibName="R_UARTn_Send" InUse="1" />
|
||||||
<R_UART0_Receive UserName="R_UART0_Receive" LibName="R_UARTn_Receive" InUse="0" />
|
<R_UART0_Receive UserName="R_UART0_Receive" LibName="R_UARTn_Receive" InUse="0" />
|
||||||
</UART0>
|
</UART0>
|
||||||
<CSI00 Chip="RL78G12_20pin,RL78G12_24pin" InUse="">
|
<CSI00 Chip="RL78G12_20pin,RL78G12_24pin" InUse="">
|
||||||
@ -695,16 +704,16 @@
|
|||||||
<R_IICA0_Set_PowerOff UserName="R_IICA0_Set_PowerOff" LibName="R_IICAn_Set_PowerOff" InUse="" />
|
<R_IICA0_Set_PowerOff UserName="R_IICA0_Set_PowerOff" LibName="R_IICAn_Set_PowerOff" InUse="" />
|
||||||
</IICA0>
|
</IICA0>
|
||||||
</r_cg_serial.c>
|
</r_cg_serial.c>
|
||||||
<r_cg_serial_user.c UserName="r_cg_serial_user.c" LibName="_user.c" InUse="0">
|
<r_cg_serial_user.c UserName="r_cg_serial_user.c" LibName="_user.c" InUse="1">
|
||||||
<Type R_SAUn_Create_UserInit="void R_SAUn_Create_UserInit(void)" R_UARTn_Interrupt_Receive="__interrupt static void R_UARTn_Interrupt_Receive(void)" R_UARTn_Interrupt_Error="__interrupt static void R_UARTn_Interrupt_Error(void)" R_UARTn_Interrupt_Send="__interrupt static void R_UARTn_Interrupt_Send(void)" R_UARTn_Callback_SendEnd="static void R_UARTn_Callback_SendEnd(void)" R_UARTn_Callback_ReceiveEnd="static void R_UARTn_Callback_ReceiveEnd(void)" R_UARTn_Callback_Error="static void R_UARTn_Callback_Error(uint8_t err_type)" R_UARTn_Callback_SoftwareOverRun="static void R_UARTn_Callback_SoftwareOverRun(uint16_t rx_data)" R_CSIn_Interrupt="__interrupt static void R_CSIn_Interrupt(void)" R_CSIn_Callback_ReceiveEnd="static void R_CSIn_Callback_ReceiveEnd(void)" R_CSIn_Callback_Error="static void R_CSIn_Callback_Error(uint8_t err_type)" R_CSIn_Callback_SendEnd="static void R_CSIn_Callback_SendEnd(void)" R_IICn_Interrupt="__interrupt static void R_IICn_Interrupt(void)" R_IICn_Callback_Master_ReceiveEnd="static void R_IICn_Callback_Master_ReceiveEnd(void)" R_IICn_Callback_Master_SendEnd="static void R_IICn_Callback_Master_SendEnd(void)" R_IICn_Callback_Master_Error="static void R_IICn_Callback_Master_Error(MD_STATUS flag)" IICn_MasterSendEndCallback="static void IICn_MasterSendEndCallback(void)" IICn_MasterReceiveEndCallback="static void IICn_MasterReceiveEndCallback(void)" IICn_MasterErrorCallback="static void IICn_MasterErrorCallback(MD_STATUS flag)" IICn_SlaveErrorCallback="static void IICn_SlaveErrorCallback(MD_STATUS flag)" IICn_GetStopConditionCallback="static void IICn_GetStopConditionCallback(void)" R_IICAn_Create_UserInit="void R_IICAn_Create_UserInit(void)" r_iican_interrupt="__interrupt static void r_iican_interrupt(void)" r_iican_callback_master_sendend="static void r_iican_callback_master_sendend(void)" r_iican_callback_master_receiveend="static void r_iican_callback_master_receiveend(void)" r_iican_callback_slave_sendend="static void r_iican_callback_slave_sendend(void)" r_iican_callback_slave_receiveend="static void r_iican_callback_slave_receiveend(void)" r_iican_callback_master_error="static void r_iican_callback_master_error(MD_STATUS flag)" r_iican_callback_slave_error="static void r_iican_callback_slave_error(MD_STATUS flag)" r_iican_callback_getstopcondition="static void r_iican_callback_getstopcondition(void)" />
|
<Type R_SAUn_Create_UserInit="void R_SAUn_Create_UserInit(void)" R_UARTn_Interrupt_Receive="__interrupt static void R_UARTn_Interrupt_Receive(void)" R_UARTn_Interrupt_Error="__interrupt static void R_UARTn_Interrupt_Error(void)" R_UARTn_Interrupt_Send="__interrupt static void R_UARTn_Interrupt_Send(void)" R_UARTn_Callback_SendEnd="static void R_UARTn_Callback_SendEnd(void)" R_UARTn_Callback_ReceiveEnd="static void R_UARTn_Callback_ReceiveEnd(void)" R_UARTn_Callback_Error="static void R_UARTn_Callback_Error(uint8_t err_type)" R_UARTn_Callback_SoftwareOverRun="static void R_UARTn_Callback_SoftwareOverRun(uint16_t rx_data)" R_CSIn_Interrupt="__interrupt static void R_CSIn_Interrupt(void)" R_CSIn_Callback_ReceiveEnd="static void R_CSIn_Callback_ReceiveEnd(void)" R_CSIn_Callback_Error="static void R_CSIn_Callback_Error(uint8_t err_type)" R_CSIn_Callback_SendEnd="static void R_CSIn_Callback_SendEnd(void)" R_IICn_Interrupt="__interrupt static void R_IICn_Interrupt(void)" R_IICn_Callback_Master_ReceiveEnd="static void R_IICn_Callback_Master_ReceiveEnd(void)" R_IICn_Callback_Master_SendEnd="static void R_IICn_Callback_Master_SendEnd(void)" R_IICn_Callback_Master_Error="static void R_IICn_Callback_Master_Error(MD_STATUS flag)" IICn_MasterSendEndCallback="static void IICn_MasterSendEndCallback(void)" IICn_MasterReceiveEndCallback="static void IICn_MasterReceiveEndCallback(void)" IICn_MasterErrorCallback="static void IICn_MasterErrorCallback(MD_STATUS flag)" IICn_SlaveErrorCallback="static void IICn_SlaveErrorCallback(MD_STATUS flag)" IICn_GetStopConditionCallback="static void IICn_GetStopConditionCallback(void)" R_IICAn_Create_UserInit="void R_IICAn_Create_UserInit(void)" r_iican_interrupt="__interrupt static void r_iican_interrupt(void)" r_iican_callback_master_sendend="static void r_iican_callback_master_sendend(void)" r_iican_callback_master_receiveend="static void r_iican_callback_master_receiveend(void)" r_iican_callback_slave_sendend="static void r_iican_callback_slave_sendend(void)" r_iican_callback_slave_receiveend="static void r_iican_callback_slave_receiveend(void)" r_iican_callback_master_error="static void r_iican_callback_master_error(MD_STATUS flag)" r_iican_callback_slave_error="static void r_iican_callback_slave_error(MD_STATUS flag)" r_iican_callback_getstopcondition="static void r_iican_callback_getstopcondition(void)" />
|
||||||
<SAU0 InUse="">
|
<SAU0 InUse="">
|
||||||
<R_SAU0_Create_UserInit UserName="R_SAU0_Create_UserInit" LibName="R_SAUn_Create_UserInit" InUse="0" />
|
<R_SAU0_Create_UserInit UserName="R_SAU0_Create_UserInit" LibName="R_SAUn_Create_UserInit" InUse="0" />
|
||||||
<UART0 InUse="">
|
<UART0 InUse="">
|
||||||
<r_uart0_interrupt_receive UserName="r_uart0_interrupt_receive" INTHandle="" LibName="R_UARTn_Interrupt_Receive" InUse="0" />
|
<r_uart0_interrupt_receive UserName="r_uart0_interrupt_receive" INTHandle="" LibName="R_UARTn_Interrupt_Receive" InUse="0" />
|
||||||
<r_uart0_interrupt_error UserName="r_uart0_interrupt_error" INTHandle="" LibName="R_UARTn_Interrupt_Error" InUse="0" />
|
<r_uart0_interrupt_error UserName="r_uart0_interrupt_error" INTHandle="" LibName="R_UARTn_Interrupt_Error" InUse="0" />
|
||||||
<r_uart0_interrupt_send UserName="r_uart0_interrupt_send" INTHandle="" LibName="R_UARTn_Interrupt_Send" InUse="0" />
|
<r_uart0_interrupt_send UserName="r_uart0_interrupt_send" INTHandle="" LibName="R_UARTn_Interrupt_Send" InUse="1" />
|
||||||
<r_uart0_callback_receiveend UserName="r_uart0_callback_receiveend" LibName="R_UARTn_Callback_ReceiveEnd" InUse="0" />
|
<r_uart0_callback_receiveend UserName="r_uart0_callback_receiveend" LibName="R_UARTn_Callback_ReceiveEnd" InUse="0" />
|
||||||
<r_uart0_callback_sendend UserName="r_uart0_callback_sendend" LibName="R_UARTn_Callback_SendEnd" InUse="0" />
|
<r_uart0_callback_sendend UserName="r_uart0_callback_sendend" LibName="R_UARTn_Callback_SendEnd" InUse="1" />
|
||||||
<r_uart0_callback_error UserName="r_uart0_callback_error" LibName="R_UARTn_Callback_Error" InUse="0" />
|
<r_uart0_callback_error UserName="r_uart0_callback_error" LibName="R_UARTn_Callback_Error" InUse="0" />
|
||||||
<r_uart0_callback_softwareoverrun UserName="r_uart0_callback_softwareoverrun" LibName="R_UARTn_Callback_SoftwareOverRun" InUse="0" />
|
<r_uart0_callback_softwareoverrun UserName="r_uart0_callback_softwareoverrun" LibName="R_UARTn_Callback_SoftwareOverRun" InUse="0" />
|
||||||
</UART0>
|
</UART0>
|
||||||
@ -745,7 +754,7 @@
|
|||||||
<r_iica0_callback_getstopcondition UserName="r_iica0_callback_getstopcondition" LibName="r_iican_callback_getstopcondition" InUse="" />
|
<r_iica0_callback_getstopcondition UserName="r_iica0_callback_getstopcondition" LibName="r_iican_callback_getstopcondition" InUse="" />
|
||||||
</IICA0>
|
</IICA0>
|
||||||
</r_cg_serial_user.c>
|
</r_cg_serial_user.c>
|
||||||
<r_cg_serial.h UserName="r_cg_serial.h" LibName=".h" InUse="0" />
|
<r_cg_serial.h UserName="r_cg_serial.h" LibName=".h" InUse="1" />
|
||||||
</Serial>
|
</Serial>
|
||||||
<ADC>
|
<ADC>
|
||||||
<r_cg_adc.c UserName="r_cg_adc.c" LibName=".c" InUse="1">
|
<r_cg_adc.c UserName="r_cg_adc.c" LibName=".c" InUse="1">
|
||||||
@ -951,8 +960,8 @@
|
|||||||
<INTP Accelerate="No" MacroName="INTP" SetFlag="False" TabEnable="True" />
|
<INTP Accelerate="No" MacroName="INTP" SetFlag="False" TabEnable="True" />
|
||||||
<KEY Chip="RL78G12_20pin,RL78G12_24pin," MacroName="KEY" TabEnable="True" />
|
<KEY Chip="RL78G12_20pin,RL78G12_24pin," MacroName="KEY" TabEnable="True" />
|
||||||
</INTC>
|
</INTC>
|
||||||
<Serial SetFlag="False" HelpID="serial" NeedRefresh="False">
|
<Serial SetFlag="True" 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="True" TabEnable="True">
|
||||||
<Channel0 UART="0" CSI="00" IIC="00" Channel="0" />
|
<Channel0 UART="0" CSI="00" IIC="00" Channel="0" />
|
||||||
<Channel1 UART="0" CSI="01" IIC="01" Channel="1" />
|
<Channel1 UART="0" CSI="01" IIC="01" Channel="1" />
|
||||||
</SAU0>
|
</SAU0>
|
||||||
@ -1036,14 +1045,14 @@
|
|||||||
<PORT>
|
<PORT>
|
||||||
<PortP1>
|
<PortP1>
|
||||||
<P10>
|
<P10>
|
||||||
<setting name="Operation" value="output" />
|
<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" />
|
||||||
</P10>
|
</P10>
|
||||||
<P11>
|
<P11>
|
||||||
<setting name="Operation" value="unused" />
|
<setting name="Operation" value="output" />
|
||||||
<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" />
|
||||||
@ -1057,7 +1066,7 @@
|
|||||||
<setting name="Output_value" value="1" />
|
<setting name="Output_value" value="1" />
|
||||||
</P12>
|
</P12>
|
||||||
<P13>
|
<P13>
|
||||||
<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" />
|
||||||
@ -1087,14 +1096,14 @@
|
|||||||
<setting name="Output_value" value="0" />
|
<setting name="Output_value" value="0" />
|
||||||
</P21>
|
</P21>
|
||||||
<P22>
|
<P22>
|
||||||
<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" />
|
||||||
<setting name="Output_value" value="0" />
|
<setting name="Output_value" value="0" />
|
||||||
</P22>
|
</P22>
|
||||||
<P23>
|
<P23>
|
||||||
<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" />
|
||||||
@ -1183,7 +1192,7 @@
|
|||||||
<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="0" />
|
<setting name="InputPins" value="0" />
|
||||||
<setting name="InputPinsAttach" value="ANI0 - ANI1" />
|
<setting name="InputPinsAttach" value="ANI0 - ANI2" />
|
||||||
<setting name="AD_Inputpin16" value="unused" />
|
<setting name="AD_Inputpin16" value="unused" />
|
||||||
<setting name="AD_Inputpin17" value="unused" />
|
<setting name="AD_Inputpin17" value="unused" />
|
||||||
<setting name="AD_Inputpin18" value="unused" />
|
<setting name="AD_Inputpin18" value="unused" />
|
||||||
@ -1278,12 +1287,12 @@
|
|||||||
<CSI00 />
|
<CSI00 />
|
||||||
<UART0 />
|
<UART0 />
|
||||||
<Channel0>
|
<Channel0>
|
||||||
<setting name="Channel_function_-i" value="0" />
|
<setting name="Channel_function_-i" value="1" />
|
||||||
<setting name="Detail_function_-i" value="-1" />
|
<setting name="Detail_function_-i" value="1" />
|
||||||
<Both_UART0>
|
<Transmit_UART0>
|
||||||
<setting name="Receive_data_direction" value="LSB" />
|
<setting name="Receive_data_direction" value="LSB" />
|
||||||
<setting name="Receive_data_length" value="8 bits" />
|
<setting name="Receive_data_length" value="8 bits" />
|
||||||
<setting name="Receive_parity" value="odd" />
|
<setting name="Receive_parity" value="none" />
|
||||||
<setting name="RecBaudrate" value="9600" />
|
<setting name="RecBaudrate" value="9600" />
|
||||||
<setting name="Receive_end_callback_function" value="generated" />
|
<setting name="Receive_end_callback_function" value="generated" />
|
||||||
<setting name="Receive_error_callback_function" value="generated" />
|
<setting name="Receive_error_callback_function" value="generated" />
|
||||||
@ -1291,16 +1300,16 @@
|
|||||||
<setting name="Transmit_data_direction" value="LSB" />
|
<setting name="Transmit_data_direction" value="LSB" />
|
||||||
<setting name="Transmit_data_level" value="normal" />
|
<setting name="Transmit_data_level" value="normal" />
|
||||||
<setting name="Transmit_data_length" value="8 bits" />
|
<setting name="Transmit_data_length" value="8 bits" />
|
||||||
<setting name="Transmit_parity" value="odd" />
|
<setting name="Transmit_parity" value="none" />
|
||||||
<setting name="Transmit_stop_length" value="2 bits" />
|
<setting name="Transmit_stop_length" value="1 bit" />
|
||||||
<setting name="TranBaudrate" value="9600" />
|
<setting name="TranBaudrate" value="115200" />
|
||||||
<setting name="Transmit_end_callback_function" value="generated" />
|
<setting name="Transmit_end_callback_function" value="generated" />
|
||||||
<setting name="Transmit_end_interrupt_priority" value="3" />
|
<setting name="Transmit_end_interrupt_priority" value="3" />
|
||||||
<setting name="Receive_error_interrupt_priority" value="3" />
|
<setting name="Receive_error_interrupt_priority" value="3" />
|
||||||
<setting name="Receive_end_interrupt_priority" value="3" />
|
<setting name="Receive_end_interrupt_priority" value="3" />
|
||||||
<setting name="Reveive_Data_Level" value="Normal" />
|
<setting name="Reveive_Data_Level" value="Normal" />
|
||||||
<setting name="Receive_error_interrupt" value="not used" />
|
<setting name="Receive_error_interrupt" value="not used" />
|
||||||
</Both_UART0>
|
</Transmit_UART0>
|
||||||
<Receive_UART0>
|
<Receive_UART0>
|
||||||
<setting name="Receive_data_direction" value="LSB" />
|
<setting name="Receive_data_direction" value="LSB" />
|
||||||
<setting name="Receive_data_length" value="8 bits" />
|
<setting name="Receive_data_length" value="8 bits" />
|
||||||
@ -1322,6 +1331,27 @@
|
|||||||
<setting name="Reveive_Data_Level" value="Normal" />
|
<setting name="Reveive_Data_Level" value="Normal" />
|
||||||
<setting name="Receive_error_interrupt" value="not used" />
|
<setting name="Receive_error_interrupt" value="not used" />
|
||||||
</Receive_UART0>
|
</Receive_UART0>
|
||||||
|
<Both_UART0>
|
||||||
|
<setting name="Receive_data_direction" value="LSB" />
|
||||||
|
<setting name="Receive_data_length" value="8 bits" />
|
||||||
|
<setting name="Receive_parity" value="odd" />
|
||||||
|
<setting name="RecBaudrate" value="9600" />
|
||||||
|
<setting name="Receive_end_callback_function" value="generated" />
|
||||||
|
<setting name="Receive_error_callback_function" value="generated" />
|
||||||
|
<setting name="Transfer_mode" value="single" />
|
||||||
|
<setting name="Transmit_data_direction" value="LSB" />
|
||||||
|
<setting name="Transmit_data_level" value="normal" />
|
||||||
|
<setting name="Transmit_data_length" value="8 bits" />
|
||||||
|
<setting name="Transmit_parity" value="odd" />
|
||||||
|
<setting name="Transmit_stop_length" value="2 bits" />
|
||||||
|
<setting name="TranBaudrate" value="9600" />
|
||||||
|
<setting name="Transmit_end_callback_function" value="generated" />
|
||||||
|
<setting name="Transmit_end_interrupt_priority" value="3" />
|
||||||
|
<setting name="Receive_error_interrupt_priority" value="3" />
|
||||||
|
<setting name="Receive_end_interrupt_priority" value="3" />
|
||||||
|
<setting name="Reveive_Data_Level" value="Normal" />
|
||||||
|
<setting name="Receive_error_interrupt" value="not used" />
|
||||||
|
</Both_UART0>
|
||||||
</Channel0>
|
</Channel0>
|
||||||
<IIC01 />
|
<IIC01 />
|
||||||
<CSI01 />
|
<CSI01 />
|
||||||
|
@ -1,17 +1,26 @@
|
|||||||
QualityReport
|
QualityReport
|
||||||
2023年6月2日 9:41:02
|
2023年12月13日 16:30:17
|
||||||
|
|
||||||
------ Start build(M12, DefaultBuild) ------
|
------ 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
|
E:\Program Files (x86)\renesas\CS+\CC\CC-RL\V1.11.00\Bin\ccrl.exe user\MotorCtrl.c -cpu=S2 -o DefaultBuild\MotorCtrl.obj "-dev=E:\Program Files (x86)\renesas\CS+\CC\Device\RL78\Devicefile\DR5F10268.DVF" -g -g_line -I . -I user -far_rom -c -msg_lang=english
|
||||||
appTask.c(77):W0520550:Variable "keep_count" was set but never used
|
E:\Program Files (x86)\renesas\CS+\CC\CC-RL\V1.11.00\Bin\ccrl.exe r_cg_timer_user.c -cpu=S2 -o DefaultBuild\r_cg_timer_user.obj "-dev=E:\Program Files (x86)\renesas\CS+\CC\Device\RL78\Devicefile\DR5F10268.DVF" -g -g_line -I . -I user -far_rom -c -msg_lang=english
|
||||||
appTask.c(141):W0523077:Called function should have prototype
|
E:\Program Files (x86)\renesas\CS+\CC\CC-RL\V1.11.00\Bin\ccrl.exe r_cg_serial_user.c -cpu=S2 -o DefaultBuild\r_cg_serial_user.obj "-dev=E:\Program Files (x86)\renesas\CS+\CC\Device\RL78\Devicefile\DR5F10268.DVF" -g -g_line -I . -I user -far_rom -c -msg_lang=english
|
||||||
appTask.c(122):W0520177:Variable "ledno" was declared but never referenced
|
E:\Program Files (x86)\renesas\CS+\CC\CC-RL\V1.11.00\Bin\ccrl.exe user\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 . -I user -far_rom -c -msg_lang=english
|
||||||
appTask.c(122):W0520177:Variable "last" was declared but never referenced
|
E:\Program Files (x86)\renesas\CS+\CC\CC-RL\V1.11.00\Bin\ccrl.exe r_main.c -cpu=S2 -o DefaultBuild\r_main.obj "-dev=E:\Program Files (x86)\renesas\CS+\CC\Device\RL78\Devicefile\DR5F10268.DVF" -g -g_line -I . -I user -far_rom -c -msg_lang=english
|
||||||
|
user\MotorCtrl.c(181):W0520177:Variable "wait2" was declared but never referenced
|
||||||
|
user\MotorCtrl.c(181):W0520177:Variable "wait3" was declared but never referenced
|
||||||
|
user\MotorCtrl.c(328):W0520177:Variable "i" was declared but never referenced
|
||||||
|
user\MotorCtrl.c(399):W0520177:Variable "OC_Count2" was declared but never referenced
|
||||||
|
user\MotorCtrl.c(399):W0520177:Variable "OC_Count3" was declared but never referenced
|
||||||
|
user\appTask.c(80):W0520177:Variable "keep_count" was declared but never referenced
|
||||||
|
user\appTask.c(81):W0520177:Variable "i" was declared but never referenced
|
||||||
|
user\appTask.c(133):W0520177:Variable "ledno" was declared but never referenced
|
||||||
|
user\appTask.c(133):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
|
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.
|
||||||
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
|
Renesas Optimizing Linker Completed
|
||||||
------ Build ended(Error:0, Warning:6)(M12, DefaultBuild) ------
|
------ Build ended(Error:0, Warning:11)(M12, DefaultBuild) ------
|
||||||
|
|
||||||
--- CommandFile 1 ---
|
--- CommandFile 1 ---
|
||||||
DefaultBuild\M12.clnk :
|
DefaultBuild\M12.clnk :
|
||||||
@ -29,9 +38,12 @@ DefaultBuild\M12.clnk :
|
|||||||
-Input=DefaultBuild\r_cg_timer_user.obj
|
-Input=DefaultBuild\r_cg_timer_user.obj
|
||||||
-Input=DefaultBuild\r_cg_wdt.obj
|
-Input=DefaultBuild\r_cg_wdt.obj
|
||||||
-Input=DefaultBuild\r_cg_wdt_user.obj
|
-Input=DefaultBuild\r_cg_wdt_user.obj
|
||||||
|
-Input=DefaultBuild\r_cg_serial.obj
|
||||||
|
-Input=DefaultBuild\r_cg_serial_user.obj
|
||||||
-Input=DefaultBuild\appTask.obj
|
-Input=DefaultBuild\appTask.obj
|
||||||
-Input=DefaultBuild\event.obj
|
-Input=DefaultBuild\event.obj
|
||||||
-Input=DefaultBuild\hwCtrl.obj
|
-Input=DefaultBuild\hwCtrl.obj
|
||||||
|
-Input=DefaultBuild\MotorCtrl.obj
|
||||||
-SECURITY_ID=00000000000000000000
|
-SECURITY_ID=00000000000000000000
|
||||||
-DEVICE=E:\Program Files (x86)\renesas\CS+\CC\Device\RL78\Devicefile\DR5F10268.DVF
|
-DEVICE=E:\Program Files (x86)\renesas\CS+\CC\Device\RL78\Devicefile\DR5F10268.DVF
|
||||||
-DEBug
|
-DEBug
|
||||||
@ -60,13 +72,13 @@ DefaultBuild\M12.clnk :
|
|||||||
|
|
||||||
|
|
||||||
--- SHA1 hash value of output files ---
|
--- SHA1 hash value of output files ---
|
||||||
F:\FCB_project\temp\M12\k67\DefaultBuild\M12.abs: c9975c99ea2cb8837fddaa08bb3d2033191a23fc
|
F:\FCB_project\temp\M12\k67\DefaultBuild\M12.abs: 0b3b2c8ca3a390d51c0b9a289b56d7ce91acdf0e
|
||||||
F:\FCB_project\temp\M12\k67\DefaultBuild\M12.mot: 9c791406047033ab40f9a4d7f112d1bc4f4e4464
|
F:\FCB_project\temp\M12\k67\DefaultBuild\M12.mot: 0a2bd8b1ea60b4d3e43658e5b94ad7066f83624c
|
||||||
|
|
||||||
|
|
||||||
--- System Information ---
|
--- System Information ---
|
||||||
*OS Version
|
*OS Version
|
||||||
Microsoft Windows 10 专业版 (-, 10.0.19044, WOW64)
|
Microsoft Windows 10 专业版 (-, 10.0.19045, WOW64)
|
||||||
*Language
|
*Language
|
||||||
中文(中国)
|
中文(中国)
|
||||||
*.NET Framework Version
|
*.NET Framework Version
|
||||||
@ -89,13 +101,13 @@ F:\FCB_project\temp\M12\k67\DefaultBuild\M12.mot: 9c791406047033ab40f9a4d7f112d1
|
|||||||
E:\Program Files (x86)\renesas\CS+\CC
|
E:\Program Files (x86)\renesas\CS+\CC
|
||||||
*Memory Usage
|
*Memory Usage
|
||||||
*Private Working Set
|
*Private Working Set
|
||||||
185 MB
|
317 MB
|
||||||
*Number of GDI Objects
|
*Number of GDI Objects
|
||||||
1775
|
2105
|
||||||
*Number of USER Objects
|
*Number of USER Objects
|
||||||
1033
|
1055
|
||||||
*Opened Files
|
*Opened Files
|
||||||
4 editors, 4 files, 12 KB
|
3 editors, 3 files, 20 KB
|
||||||
|
|
||||||
--- Build Tool Plug-in Information ---
|
--- Build Tool Plug-in Information ---
|
||||||
RH850 Build tool CC-RH Plug-in
|
RH850 Build tool CC-RH Plug-in
|
||||||
|
237
appTask.c
237
appTask.c
@ -1,237 +0,0 @@
|
|||||||
#include "r_cg_macrodriver.h"
|
|
||||||
#include "appTask.h"
|
|
||||||
#include "event.h"
|
|
||||||
#include "r_cg_port.h"
|
|
||||||
#include "r_cg_timer.h"
|
|
||||||
//#include "r_cg_wdt.h"
|
|
||||||
#include "hwCtrl.h"
|
|
||||||
#include "r_cg_adc.h"
|
|
||||||
#include "r_cg_serial.h"
|
|
||||||
|
|
||||||
uint8_t g_rx_buf[3];
|
|
||||||
|
|
||||||
extern uint16_t g_AdVal[3];
|
|
||||||
uint8_t flagMotorStart;
|
|
||||||
uint8_t MotorState;
|
|
||||||
uint16_t MotorCounter;
|
|
||||||
uint8_t MotorDir;
|
|
||||||
void HardWare_Init(void)
|
|
||||||
{
|
|
||||||
//时基初始化
|
|
||||||
R_TAU0_Channel0_Start();
|
|
||||||
|
|
||||||
//LED初始化
|
|
||||||
|
|
||||||
|
|
||||||
//AD 初始化
|
|
||||||
R_ADC_Start();
|
|
||||||
R_ADC_Set_OperationOn();
|
|
||||||
R_TAU0_Channel1_Start();
|
|
||||||
|
|
||||||
//UART初始化
|
|
||||||
MotorCtrl(MOTOR_NOACT);
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
void Variable_Init(void)
|
|
||||||
{
|
|
||||||
MotorState = 0;
|
|
||||||
MotorDir = MOTOR_ZZ;
|
|
||||||
}
|
|
||||||
|
|
||||||
void keyLogic(uint8_t keyno)
|
|
||||||
{
|
|
||||||
switch (keyno)
|
|
||||||
{
|
|
||||||
case KEY_RESET:
|
|
||||||
MotorStart();
|
|
||||||
break;
|
|
||||||
default:
|
|
||||||
break;
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
|
||||||
void keyLogicRelease(uint8_t keyno)
|
|
||||||
{
|
|
||||||
switch (keyno)
|
|
||||||
{
|
|
||||||
case KEY_RESET:
|
|
||||||
if (MotorState != 0)
|
|
||||||
{
|
|
||||||
MotorStart();
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
break;
|
|
||||||
default:
|
|
||||||
break;
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
|
||||||
#define KEY_DELAY_TIME 60
|
|
||||||
|
|
||||||
void keyScan(void)//5ms
|
|
||||||
{
|
|
||||||
static uint16_t keydelay[9]={0,0,0,0,0,0,0,0,0};
|
|
||||||
static uint8_t keyflag[9]={0,0,0,0,0,0,0,0,0};
|
|
||||||
static uint8_t keep_count[9]={0,0,0,0,0,0,0,0,0};
|
|
||||||
uint8_t keyval,i;
|
|
||||||
for (i = 0; i < KEY_NUM; i++)
|
|
||||||
{
|
|
||||||
keyval = GetKeyState(i);
|
|
||||||
if (keyval == 1 && keyflag[i] == 0)
|
|
||||||
{
|
|
||||||
keydelay[i]++;
|
|
||||||
if (keydelay[i] > KEY_DELAY_TIME)//30ms
|
|
||||||
{
|
|
||||||
keyflag[i] = 1;
|
|
||||||
keydelay[i] = KEY_DELAY_TIME;
|
|
||||||
//keyLogic(i);
|
|
||||||
keep_count[i] = 0;
|
|
||||||
MotorCtrl(MotorDir);
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
|
||||||
else if (keyval == 0)
|
|
||||||
{
|
|
||||||
MotorCtrl(MOTOR_NOACT);
|
|
||||||
if (keyflag[i] == 1)
|
|
||||||
{
|
|
||||||
if (MotorDir == MOTOR_FZ)
|
|
||||||
{
|
|
||||||
MotorDir = MOTOR_ZZ;
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
MotorDir = MOTOR_FZ;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
keyflag[i] = 0;
|
|
||||||
keydelay[i] = 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
void AppTask(void)
|
|
||||||
{
|
|
||||||
static uint8_t ledno = 1,last = 0;
|
|
||||||
if (TimeBase5msFlag == 1)
|
|
||||||
{
|
|
||||||
TimeBase5msFlag = 0;
|
|
||||||
keyScan();
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
if (TimeBase10msFlag == 1)
|
|
||||||
{
|
|
||||||
TimeBase10msFlag = 0;
|
|
||||||
//MotorTask();
|
|
||||||
}
|
|
||||||
|
|
||||||
if (TimeBase100msFlag == 1)
|
|
||||||
{
|
|
||||||
TimeBase100msFlag = 0;
|
|
||||||
|
|
||||||
R_WDT_Restart();
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
if (TimeBase1000msFlag == 1)
|
|
||||||
{
|
|
||||||
TimeBase1000msFlag = 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
#define MOTOR_IDLE 0
|
|
||||||
#define MOTOR_START 1
|
|
||||||
#define MOTOR_STEP1 2
|
|
||||||
#define MOTOR_STEP2 3
|
|
||||||
#define MOTOR_STEP3 4
|
|
||||||
#define MOTOR_STOP 5
|
|
||||||
void MotorStart(void)
|
|
||||||
{
|
|
||||||
flagMotorStart = 1;
|
|
||||||
}
|
|
||||||
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_ZZ);
|
|
||||||
|
|
||||||
if (flagMotorStart == 1)
|
|
||||||
{
|
|
||||||
flagMotorStart = 0;
|
|
||||||
MotorState = MOTOR_STEP3;
|
|
||||||
}
|
|
||||||
|
|
||||||
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_STEP3;
|
|
||||||
}
|
|
||||||
|
|
||||||
break;
|
|
||||||
case MOTOR_STEP3:
|
|
||||||
MotorCounter++;
|
|
||||||
if (MotorCounter*MOTOR_TASK_TIMEBASE > MotorTimeArr[2])
|
|
||||||
{
|
|
||||||
MotorCounter = 0;
|
|
||||||
MotorState++;
|
|
||||||
}
|
|
||||||
MotorCtrl(MOTOR_FZ);
|
|
||||||
/*
|
|
||||||
if (flagMotorStart == 1)
|
|
||||||
{
|
|
||||||
flagMotorStart = 0;
|
|
||||||
MotorState = MOTOR_STOP;
|
|
||||||
}
|
|
||||||
*/
|
|
||||||
break;
|
|
||||||
case MOTOR_STOP:
|
|
||||||
MotorCtrl(MOTOR_NOACT);
|
|
||||||
MotorState = MOTOR_IDLE;
|
|
||||||
flagMotorStart = 0;
|
|
||||||
break;
|
|
||||||
default:
|
|
||||||
MotorState = MOTOR_STOP;
|
|
||||||
break;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
48
hwCtrl.c
48
hwCtrl.c
@ -1,48 +0,0 @@
|
|||||||
|
|
||||||
#include "hwCtrl.h"
|
|
||||||
#include "r_cg_port.h"
|
|
||||||
#include "iodefine.h"
|
|
||||||
#include "appTask.h"
|
|
||||||
|
|
||||||
|
|
||||||
#define IO_KEY_RESET P2_bit.no2
|
|
||||||
#define IO_RLY_CTRL1 P1_bit.no0
|
|
||||||
#define IO_RLY_CTRL2 P1_bit.no4
|
|
||||||
|
|
||||||
|
|
||||||
extern uint16_t g_AdVal[3];
|
|
||||||
|
|
||||||
|
|
||||||
uint8_t GetKeyState(uint8_t keyno)
|
|
||||||
{
|
|
||||||
switch (keyno)
|
|
||||||
{
|
|
||||||
case KEY_RESET:
|
|
||||||
return IO_KEY_RESET==0?1:0;
|
|
||||||
break;
|
|
||||||
default:
|
|
||||||
return 0;
|
|
||||||
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;
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
|
18
hwCtrl.h
18
hwCtrl.h
@ -1,18 +0,0 @@
|
|||||||
|
|
||||||
#ifndef __HWCTRL_H__
|
|
||||||
#define __HWCTRL_H__
|
|
||||||
#include "r_cg_macrodriver.h"
|
|
||||||
|
|
||||||
#define LED_ON 0
|
|
||||||
#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);
|
|
||||||
void MotorCtrl(uint8_t act);
|
|
||||||
|
|
||||||
#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: 2023/3/11
|
* Creation Date: 2023-12-13
|
||||||
***********************************************************************************************************************/
|
***********************************************************************************************************************/
|
||||||
|
|
||||||
/***********************************************************************************************************************
|
/***********************************************************************************************************************
|
||||||
@ -63,8 +63,8 @@ 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 - ANI1 pin as analog input */
|
/* Set ANI0 - ANI2 pin as analog input */
|
||||||
PM2 |= 0x03U;
|
PM2 |= 0x07U;
|
||||||
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;
|
||||||
|
@ -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: 2023/3/11
|
* Creation Date: 2023-12-13
|
||||||
***********************************************************************************************************************/
|
***********************************************************************************************************************/
|
||||||
|
|
||||||
#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: 2023/3/11
|
* Creation Date: 2023-12-13
|
||||||
***********************************************************************************************************************/
|
***********************************************************************************************************************/
|
||||||
|
|
||||||
/***********************************************************************************************************************
|
/***********************************************************************************************************************
|
||||||
@ -58,27 +58,23 @@ 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);
|
//R_ADC_Get_Result(g_AdVal);
|
||||||
/*
|
|
||||||
switch (ADS)
|
switch (ADS)
|
||||||
{
|
{
|
||||||
case _02_AD_INPUT_CHANNEL_2:
|
case _02_AD_INPUT_CHANNEL_2:
|
||||||
R_ADC_Get_Result(g_AdVal);
|
|
||||||
ADS = _00_AD_INPUT_CHANNEL_0;
|
|
||||||
break;
|
|
||||||
case _00_AD_INPUT_CHANNEL_0:
|
|
||||||
R_ADC_Get_Result(g_AdVal+1);
|
R_ADC_Get_Result(g_AdVal+1);
|
||||||
ADS = _01_AD_INPUT_CHANNEL_1;
|
ADS = _01_AD_INPUT_CHANNEL_1;
|
||||||
break;
|
break;
|
||||||
case _01_AD_INPUT_CHANNEL_1:
|
case _01_AD_INPUT_CHANNEL_1:
|
||||||
R_ADC_Get_Result(g_AdVal+2);
|
R_ADC_Get_Result(g_AdVal);
|
||||||
ADS = _02_AD_INPUT_CHANNEL_2;
|
ADS = _02_AD_INPUT_CHANNEL_2;
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
ADS = _00_AD_INPUT_CHANNEL_0;
|
ADS = _02_AD_INPUT_CHANNEL_2;
|
||||||
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: 2023/3/11
|
* Creation Date: 2023-12-13
|
||||||
***********************************************************************************************************************/
|
***********************************************************************************************************************/
|
||||||
|
|
||||||
/***********************************************************************************************************************
|
/***********************************************************************************************************************
|
||||||
|
@ -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: 2023/3/11
|
* Creation Date: 2023-12-13
|
||||||
***********************************************************************************************************************/
|
***********************************************************************************************************************/
|
||||||
|
|
||||||
#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: 2023/3/11
|
* Creation Date: 2023-12-13
|
||||||
***********************************************************************************************************************/
|
***********************************************************************************************************************/
|
||||||
|
|
||||||
/***********************************************************************************************************************
|
/***********************************************************************************************************************
|
||||||
|
@ -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: 2023/3/11
|
* Creation Date: 2023-12-13
|
||||||
***********************************************************************************************************************/
|
***********************************************************************************************************************/
|
||||||
|
|
||||||
#ifndef STATUS_H
|
#ifndef STATUS_H
|
||||||
|
13
r_cg_port.c
13
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: 2023/3/11
|
* Creation Date: 2023-12-13
|
||||||
***********************************************************************************************************************/
|
***********************************************************************************************************************/
|
||||||
|
|
||||||
/***********************************************************************************************************************
|
/***********************************************************************************************************************
|
||||||
@ -55,14 +55,13 @@ Global variables and functions
|
|||||||
***********************************************************************************************************************/
|
***********************************************************************************************************************/
|
||||||
void R_PORT_Create(void)
|
void R_PORT_Create(void)
|
||||||
{
|
{
|
||||||
P1 = _00_Pn0_OUTPUT_0 | _00_Pn4_OUTPUT_0;
|
P1 = _02_Pn1_OUTPUT_1 | _00_Pn4_OUTPUT_0;
|
||||||
PU4 = _00_PUn0_PULLUP_OFF;
|
PU4 = _00_PUn0_PULLUP_OFF;
|
||||||
PMC1 = _00_PMCn0_DI_ON | _02_PMCn1_NOT_USE | _04_PMCn2_NOT_USE | _08_PMCn3_NOT_USE | _00_PMCn4_DI_ON |
|
PMC1 = _00_PMCn0_DI_ON | _00_PMCn1_DI_ON | _04_PMCn2_NOT_USE | _00_PMCn3_DI_ON | _00_PMCn4_DI_ON | _E0_PMC1_DEFAULT;
|
||||||
_E0_PMC1_DEFAULT;
|
ADPC = _04_ADPC_DI_ON;
|
||||||
ADPC = _03_ADPC_DI_ON;
|
PM1 = _01_PMn0_MODE_INPUT | _00_PMn1_MODE_OUTPUT | _04_PMn2_NOT_USE | _08_PMn3_MODE_INPUT | _00_PMn4_MODE_OUTPUT |
|
||||||
PM1 = _00_PMn0_MODE_OUTPUT | _02_PMn1_NOT_USE | _04_PMn2_NOT_USE | _08_PMn3_NOT_USE | _00_PMn4_MODE_OUTPUT |
|
|
||||||
_E0_PM1_DEFAULT;
|
_E0_PM1_DEFAULT;
|
||||||
PM2 = _01_PMn0_NOT_USE | _02_PMn1_NOT_USE | _04_PMn2_MODE_INPUT | _08_PMn3_NOT_USE | _F0_PM2_DEFAULT;
|
PM2 = _01_PMn0_NOT_USE | _02_PMn1_NOT_USE | _04_PMn2_NOT_USE | _08_PMn3_MODE_INPUT | _F0_PM2_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: 2023/3/11
|
* Creation Date: 2023-12-13
|
||||||
***********************************************************************************************************************/
|
***********************************************************************************************************************/
|
||||||
|
|
||||||
#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: 2023/3/11
|
* Creation Date: 2023-12-13
|
||||||
***********************************************************************************************************************/
|
***********************************************************************************************************************/
|
||||||
|
|
||||||
/***********************************************************************************************************************
|
/***********************************************************************************************************************
|
||||||
|
@ -23,7 +23,7 @@
|
|||||||
* Device(s) : R5F10268
|
* Device(s) : R5F10268
|
||||||
* Tool-Chain : CCRL
|
* Tool-Chain : CCRL
|
||||||
* Description : This file implements device driver for Serial module.
|
* Description : This file implements device driver for Serial module.
|
||||||
* Creation Date: 2022/5/20
|
* Creation Date: 2023-12-13
|
||||||
***********************************************************************************************************************/
|
***********************************************************************************************************************/
|
||||||
|
|
||||||
/***********************************************************************************************************************
|
/***********************************************************************************************************************
|
||||||
@ -65,7 +65,7 @@ void R_SAU0_Create(void)
|
|||||||
NOP();
|
NOP();
|
||||||
NOP();
|
NOP();
|
||||||
NOP();
|
NOP();
|
||||||
SPS0 = _0004_SAU_CK00_FCLK_4 | _0040_SAU_CK01_FCLK_4;
|
SPS0 = _0000_SAU_CK00_FCLK_0 | _0000_SAU_CK01_FCLK_0;
|
||||||
R_UART0_Create();
|
R_UART0_Create();
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -77,7 +77,8 @@ void R_SAU0_Create(void)
|
|||||||
***********************************************************************************************************************/
|
***********************************************************************************************************************/
|
||||||
void R_UART0_Create(void)
|
void R_UART0_Create(void)
|
||||||
{
|
{
|
||||||
ST0 |= _0002_SAU_CH1_STOP_TRG_ON | _0001_SAU_CH0_STOP_TRG_ON; /* disable UART0 receive and transmit */
|
/* UART0 initial setting */
|
||||||
|
ST0 |= _0001_SAU_CH0_STOP_TRG_ON; /* UART0 transmit disable */
|
||||||
STMK0 = 1U; /* disable INTST0 interrupt */
|
STMK0 = 1U; /* disable INTST0 interrupt */
|
||||||
STIF0 = 0U; /* clear INTST0 interrupt flag */
|
STIF0 = 0U; /* clear INTST0 interrupt flag */
|
||||||
SRMK0 = 1U; /* disable INTSR0 interrupt */
|
SRMK0 = 1U; /* disable INTSR0 interrupt */
|
||||||
@ -87,26 +88,14 @@ void R_UART0_Create(void)
|
|||||||
/* Set INTST0 low priority */
|
/* Set INTST0 low priority */
|
||||||
STPR10 = 1U;
|
STPR10 = 1U;
|
||||||
STPR00 = 1U;
|
STPR00 = 1U;
|
||||||
/* Set INTSR0 low priority */
|
|
||||||
SRPR10 = 1U;
|
|
||||||
SRPR00 = 1U;
|
|
||||||
SMR00 = _0020_SAU_SMRMN_INITIALVALUE | _0000_SAU_CLOCK_SELECT_CK00 | _0000_SAU_TRIGGER_SOFTWARE |
|
SMR00 = _0020_SAU_SMRMN_INITIALVALUE | _0000_SAU_CLOCK_SELECT_CK00 | _0000_SAU_TRIGGER_SOFTWARE |
|
||||||
_0002_SAU_MODE_UART | _0000_SAU_TRANSFER_END;
|
_0002_SAU_MODE_UART | _0000_SAU_TRANSFER_END;
|
||||||
SCR00 = _8000_SAU_TRANSMISSION | _0000_SAU_INTSRE_MASK | _0300_SAU_PARITY_ODD | _0080_SAU_LSB | _0020_SAU_STOP_2 |
|
SCR00 = _8000_SAU_TRANSMISSION | _0000_SAU_INTSRE_MASK | _0000_SAU_PARITY_NONE | _0080_SAU_LSB | _0010_SAU_STOP_1 |
|
||||||
_0007_SAU_LENGTH_8;
|
_0007_SAU_LENGTH_8;
|
||||||
SDR00 = _9A00_UART0_TRANSMIT_DIVISOR;
|
SDR00 = _CE00_UART0_TRANSMIT_DIVISOR;
|
||||||
NFEN0 |= _01_SAU_RXD0_FILTER_ON;
|
|
||||||
SIR01 = _0004_SAU_SIRMN_FECTMN | _0002_SAU_SIRMN_PECTMN | _0001_SAU_SIRMN_OVCTMN; /* clear error flag */
|
|
||||||
SMR01 = _0020_SAU_SMRMN_INITIALVALUE | _0000_SAU_CLOCK_SELECT_CK00 | _0100_SAU_TRIGGER_RXD | _0000_SAU_EDGE_FALL |
|
|
||||||
_0002_SAU_MODE_UART | _0000_SAU_TRANSFER_END;
|
|
||||||
SCR01 = _4000_SAU_RECEPTION | _0000_SAU_INTSRE_MASK | _0300_SAU_PARITY_ODD | _0080_SAU_LSB | _0010_SAU_STOP_1 |
|
|
||||||
_0007_SAU_LENGTH_8;
|
|
||||||
SDR01 = _9A00_UART0_RECEIVE_DIVISOR;
|
|
||||||
SO0 |= _0001_SAU_CH0_DATA_OUTPUT_1;
|
SO0 |= _0001_SAU_CH0_DATA_OUTPUT_1;
|
||||||
SOL0 |= _0000_SAU_CHANNEL0_NORMAL; /* output level normal */
|
SOL0 |= _0000_SAU_CHANNEL0_NORMAL; /* output level normal */
|
||||||
SOE0 |= _0001_SAU_CH0_OUTPUT_ENABLE; /* enable UART0 output */
|
SOE0 |= _0001_SAU_CH0_OUTPUT_ENABLE; /* enable UART0 output */
|
||||||
/* Set RxD0 pin */
|
|
||||||
PM6 |= 0x02U;
|
|
||||||
/* Set TxD0 pin */
|
/* Set TxD0 pin */
|
||||||
P6 |= 0x01U;
|
P6 |= 0x01U;
|
||||||
PM6 &= 0xFEU;
|
PM6 &= 0xFEU;
|
||||||
@ -122,11 +111,9 @@ void R_UART0_Start(void)
|
|||||||
{
|
{
|
||||||
SO0 |= _0001_SAU_CH0_DATA_OUTPUT_1; /* output level normal */
|
SO0 |= _0001_SAU_CH0_DATA_OUTPUT_1; /* output level normal */
|
||||||
SOE0 |= _0001_SAU_CH0_OUTPUT_ENABLE; /* enable UART0 output */
|
SOE0 |= _0001_SAU_CH0_OUTPUT_ENABLE; /* enable UART0 output */
|
||||||
SS0 |= _0002_SAU_CH1_START_TRG_ON | _0001_SAU_CH0_START_TRG_ON; /* enable UART0 receive and transmit */
|
SS0 |= _0001_SAU_CH0_START_TRG_ON; /* enable UART0 transmit */
|
||||||
STIF0 = 0U; /* clear INTST0 interrupt flag */
|
STIF0 = 0U; /* clear INTST0 interrupt flag */
|
||||||
SRIF0 = 0U; /* clear INTSR0 interrupt flag */
|
|
||||||
STMK0 = 0U; /* enable INTST0 interrupt */
|
STMK0 = 0U; /* enable INTST0 interrupt */
|
||||||
SRMK0 = 0U; /* enable INTSR0 interrupt */
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/***********************************************************************************************************************
|
/***********************************************************************************************************************
|
||||||
@ -138,40 +125,9 @@ void R_UART0_Start(void)
|
|||||||
void R_UART0_Stop(void)
|
void R_UART0_Stop(void)
|
||||||
{
|
{
|
||||||
STMK0 = 1U; /* disable INTST0 interrupt */
|
STMK0 = 1U; /* disable INTST0 interrupt */
|
||||||
SRMK0 = 1U; /* disable INTSR0 interrupt */
|
ST0 |= _0001_SAU_CH0_STOP_TRG_ON; /* disable UART0 transmit */
|
||||||
ST0 |= _0002_SAU_CH1_STOP_TRG_ON | _0001_SAU_CH0_STOP_TRG_ON; /* disable UART0 receive and transmit */
|
|
||||||
SOE0 &= ~_0001_SAU_CH0_OUTPUT_ENABLE; /* disable UART0 output */
|
SOE0 &= ~_0001_SAU_CH0_OUTPUT_ENABLE; /* disable UART0 output */
|
||||||
STIF0 = 0U; /* clear INTST0 interrupt flag */
|
STIF0 = 0U; /* clear INTST0 interrupt flag */
|
||||||
SRIF0 = 0U; /* clear INTSR0 interrupt flag */
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
/***********************************************************************************************************************
|
|
||||||
* Function Name: R_UART0_Receive
|
|
||||||
* Description : This function receives UART0 data.
|
|
||||||
* Arguments : rx_buf -
|
|
||||||
* receive buffer pointer
|
|
||||||
* rx_num -
|
|
||||||
* buffer size
|
|
||||||
* Return Value : status -
|
|
||||||
* MD_OK or MD_ARGERROR
|
|
||||||
***********************************************************************************************************************/
|
|
||||||
MD_STATUS R_UART0_Receive(uint8_t * const rx_buf, uint16_t rx_num)
|
|
||||||
{
|
|
||||||
MD_STATUS status = MD_OK;
|
|
||||||
|
|
||||||
if (rx_num < 1U)
|
|
||||||
{
|
|
||||||
status = MD_ARGERROR;
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
g_uart0_rx_count = 0U;
|
|
||||||
g_uart0_rx_length = rx_num;
|
|
||||||
gp_uart0_rx_address = rx_buf;
|
|
||||||
}
|
|
||||||
|
|
||||||
return (status);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/***********************************************************************************************************************
|
/***********************************************************************************************************************
|
||||||
|
@ -23,7 +23,7 @@
|
|||||||
* Device(s) : R5F10268
|
* Device(s) : R5F10268
|
||||||
* Tool-Chain : CCRL
|
* Tool-Chain : CCRL
|
||||||
* Description : This file implements device driver for Serial module.
|
* Description : This file implements device driver for Serial module.
|
||||||
* Creation Date: 2022/5/20
|
* Creation Date: 2023-12-13
|
||||||
***********************************************************************************************************************/
|
***********************************************************************************************************************/
|
||||||
|
|
||||||
#ifndef SERIAL_H
|
#ifndef SERIAL_H
|
||||||
@ -373,8 +373,7 @@ Macro definitions (Register bit)
|
|||||||
/***********************************************************************************************************************
|
/***********************************************************************************************************************
|
||||||
Macro definitions
|
Macro definitions
|
||||||
***********************************************************************************************************************/
|
***********************************************************************************************************************/
|
||||||
#define _9A00_UART0_RECEIVE_DIVISOR (0x9A00U)
|
#define _CE00_UART0_TRANSMIT_DIVISOR (0xCE00U)
|
||||||
#define _9A00_UART0_TRANSMIT_DIVISOR (0x9A00U)
|
|
||||||
|
|
||||||
/***********************************************************************************************************************
|
/***********************************************************************************************************************
|
||||||
Typedef definitions
|
Typedef definitions
|
||||||
@ -388,11 +387,7 @@ void R_UART0_Create(void);
|
|||||||
void R_UART0_Start(void);
|
void R_UART0_Start(void);
|
||||||
void R_UART0_Stop(void);
|
void R_UART0_Stop(void);
|
||||||
MD_STATUS R_UART0_Send(uint8_t * const tx_buf, uint16_t tx_num);
|
MD_STATUS R_UART0_Send(uint8_t * const tx_buf, uint16_t tx_num);
|
||||||
MD_STATUS R_UART0_Receive(uint8_t * const rx_buf, uint16_t rx_num);
|
|
||||||
static void r_uart0_callback_error(uint8_t err_type);
|
|
||||||
static void r_uart0_callback_receiveend(void);
|
|
||||||
static void r_uart0_callback_sendend(void);
|
static void r_uart0_callback_sendend(void);
|
||||||
static void r_uart0_callback_softwareoverrun(uint16_t rx_data);
|
|
||||||
|
|
||||||
/* Start user code for function. Do not edit comment generated here */
|
/* Start user code for function. Do not edit comment generated here */
|
||||||
/* 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 Serial module.
|
* Description : This file implements device driver for Serial module.
|
||||||
* Creation Date: 2022/5/20
|
* Creation Date: 2023-12-13
|
||||||
***********************************************************************************************************************/
|
***********************************************************************************************************************/
|
||||||
|
|
||||||
/***********************************************************************************************************************
|
/***********************************************************************************************************************
|
||||||
@ -40,7 +40,6 @@ Includes
|
|||||||
Pragma directive
|
Pragma directive
|
||||||
***********************************************************************************************************************/
|
***********************************************************************************************************************/
|
||||||
#pragma interrupt r_uart0_interrupt_send(vect=INTST0)
|
#pragma interrupt r_uart0_interrupt_send(vect=INTST0)
|
||||||
#pragma interrupt r_uart0_interrupt_receive(vect=INTSR0)
|
|
||||||
/* Start user code for pragma. Do not edit comment generated here */
|
/* Start user code for pragma. Do not edit comment generated here */
|
||||||
/* End user code. Do not edit comment generated here */
|
/* End user code. Do not edit comment generated here */
|
||||||
|
|
||||||
@ -56,44 +55,6 @@ extern volatile uint16_t g_uart0_rx_length; /* uart0 receive data len
|
|||||||
extern uint8_t g_rx_buf[3];
|
extern uint8_t g_rx_buf[3];
|
||||||
/* End user code. Do not edit comment generated here */
|
/* End user code. Do not edit comment generated here */
|
||||||
|
|
||||||
/***********************************************************************************************************************
|
|
||||||
* Function Name: r_uart0_interrupt_receive
|
|
||||||
* Description : This function is INTSR0 interrupt service routine.
|
|
||||||
* Arguments : None
|
|
||||||
* Return Value : None
|
|
||||||
***********************************************************************************************************************/
|
|
||||||
static void __near r_uart0_interrupt_receive(void)
|
|
||||||
{
|
|
||||||
volatile uint8_t rx_data;
|
|
||||||
volatile uint8_t err_type;
|
|
||||||
|
|
||||||
err_type = (uint8_t)(SSR01 & 0x0007U);
|
|
||||||
SIR01 = (uint16_t)err_type;
|
|
||||||
|
|
||||||
if (err_type != 0U)
|
|
||||||
{
|
|
||||||
r_uart0_callback_error(err_type);
|
|
||||||
}
|
|
||||||
|
|
||||||
rx_data = RXD0;
|
|
||||||
|
|
||||||
if (g_uart0_rx_length > g_uart0_rx_count)
|
|
||||||
{
|
|
||||||
*gp_uart0_rx_address = rx_data;
|
|
||||||
gp_uart0_rx_address++;
|
|
||||||
g_uart0_rx_count++;
|
|
||||||
|
|
||||||
if (g_uart0_rx_length == g_uart0_rx_count)
|
|
||||||
{
|
|
||||||
r_uart0_callback_receiveend();
|
|
||||||
}
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
r_uart0_callback_softwareoverrun(rx_data);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
/***********************************************************************************************************************
|
/***********************************************************************************************************************
|
||||||
* Function Name: r_uart0_interrupt_send
|
* Function Name: r_uart0_interrupt_send
|
||||||
* Description : This function is INTST0 interrupt service routine.
|
* Description : This function is INTST0 interrupt service routine.
|
||||||
@ -114,33 +75,6 @@ static void __near r_uart0_interrupt_send(void)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/***********************************************************************************************************************
|
|
||||||
* Function Name: r_uart0_callback_receiveend
|
|
||||||
* Description : This function is a callback function when UART0 finishes reception.
|
|
||||||
* Arguments : None
|
|
||||||
* Return Value : None
|
|
||||||
***********************************************************************************************************************/
|
|
||||||
static void r_uart0_callback_receiveend(void)
|
|
||||||
{
|
|
||||||
/* Start user code. Do not edit comment generated here */
|
|
||||||
UART_Rx_Pro(g_rx_buf[0]);
|
|
||||||
R_UART0_Receive(g_rx_buf,1);
|
|
||||||
/* End user code. Do not edit comment generated here */
|
|
||||||
}
|
|
||||||
|
|
||||||
/***********************************************************************************************************************
|
|
||||||
* Function Name: r_uart0_callback_softwareoverrun
|
|
||||||
* Description : This function is a callback function when UART0 receives an overflow data.
|
|
||||||
* Arguments : rx_data -
|
|
||||||
* receive data
|
|
||||||
* Return Value : None
|
|
||||||
***********************************************************************************************************************/
|
|
||||||
static void r_uart0_callback_softwareoverrun(uint16_t rx_data)
|
|
||||||
{
|
|
||||||
/* Start user code. Do not edit comment generated here */
|
|
||||||
/* End user code. Do not edit comment generated here */
|
|
||||||
}
|
|
||||||
|
|
||||||
/***********************************************************************************************************************
|
/***********************************************************************************************************************
|
||||||
* Function Name: r_uart0_callback_sendend
|
* Function Name: r_uart0_callback_sendend
|
||||||
* Description : This function is a callback function when UART0 finishes transmission.
|
* Description : This function is a callback function when UART0 finishes transmission.
|
||||||
@ -153,18 +87,5 @@ static void r_uart0_callback_sendend(void)
|
|||||||
/* End user code. Do not edit comment generated here */
|
/* End user code. Do not edit comment generated here */
|
||||||
}
|
}
|
||||||
|
|
||||||
/***********************************************************************************************************************
|
|
||||||
* Function Name: r_uart0_callback_error
|
|
||||||
* Description : This function is a callback function when UART0 reception error occurs.
|
|
||||||
* Arguments : err_type -
|
|
||||||
* error type value
|
|
||||||
* Return Value : None
|
|
||||||
***********************************************************************************************************************/
|
|
||||||
static void r_uart0_callback_error(uint8_t err_type)
|
|
||||||
{
|
|
||||||
/* Start user code. Do not edit comment generated here */
|
|
||||||
/* End user code. Do not edit comment generated here */
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Start user code for adding. Do not edit comment generated here */
|
/* Start user code for adding. Do not edit comment generated here */
|
||||||
/* 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 TAU module.
|
* Description : This file implements device driver for TAU module.
|
||||||
* Creation Date: 2023/3/11
|
* Creation Date: 2023-12-13
|
||||||
***********************************************************************************************************************/
|
***********************************************************************************************************************/
|
||||||
|
|
||||||
/***********************************************************************************************************************
|
/***********************************************************************************************************************
|
||||||
|
@ -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: 2023/3/11
|
* Creation Date: 2023-12-13
|
||||||
***********************************************************************************************************************/
|
***********************************************************************************************************************/
|
||||||
|
|
||||||
#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: 2023/3/11
|
* Creation Date: 2023-12-13
|
||||||
***********************************************************************************************************************/
|
***********************************************************************************************************************/
|
||||||
|
|
||||||
/***********************************************************************************************************************
|
/***********************************************************************************************************************
|
||||||
|
@ -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: 2023/3/11
|
* Creation Date: 2023-12-13
|
||||||
***********************************************************************************************************************/
|
***********************************************************************************************************************/
|
||||||
|
|
||||||
#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: 2023/3/11
|
* Creation Date: 2023-12-13
|
||||||
***********************************************************************************************************************/
|
***********************************************************************************************************************/
|
||||||
|
|
||||||
/***********************************************************************************************************************
|
/***********************************************************************************************************************
|
||||||
|
@ -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: 2023/3/11
|
* Creation Date: 2023-12-13
|
||||||
***********************************************************************************************************************/
|
***********************************************************************************************************************/
|
||||||
|
|
||||||
#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: 2023/3/11
|
* Creation Date: 2023-12-13
|
||||||
***********************************************************************************************************************/
|
***********************************************************************************************************************/
|
||||||
|
|
||||||
/***********************************************************************************************************************
|
/***********************************************************************************************************************
|
||||||
|
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: 2023/3/11
|
* Creation Date: 2023-12-13
|
||||||
***********************************************************************************************************************/
|
***********************************************************************************************************************/
|
||||||
|
|
||||||
/***********************************************************************************************************************
|
/***********************************************************************************************************************
|
||||||
@ -32,6 +32,7 @@ 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: 2023/3/11
|
* Creation Date: 2023-12-13
|
||||||
***********************************************************************************************************************/
|
***********************************************************************************************************************/
|
||||||
|
|
||||||
/***********************************************************************************************************************
|
/***********************************************************************************************************************
|
||||||
@ -32,6 +32,7 @@ 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"
|
||||||
@ -63,6 +64,7 @@ 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();
|
||||||
|
478
user/MotorCtrl.c
Normal file
478
user/MotorCtrl.c
Normal file
@ -0,0 +1,478 @@
|
|||||||
|
|
||||||
|
#include "MotorCtrl.h"
|
||||||
|
|
||||||
|
#include "hwCtrl.h"
|
||||||
|
#include "PINdef.h"
|
||||||
|
#include "appTask.h"
|
||||||
|
//#include "pfdl.h"
|
||||||
|
|
||||||
|
|
||||||
|
uint8_t MotorState[6],MotorStateReal[6];
|
||||||
|
uint16_t MotorHallLoc[6],MotorHardStop1[6],MotorHardStop2[6];
|
||||||
|
uint8_t MotorLearnState[6];
|
||||||
|
uint8_t MotorErr[6];
|
||||||
|
uint16_t current1,current2,current3;
|
||||||
|
|
||||||
|
static uint8_t AutoCalState;
|
||||||
|
|
||||||
|
uint8_t EEL_SAVE_REQUIRE_FLAG;
|
||||||
|
uint16_t EEL_SAVE_Counter;
|
||||||
|
|
||||||
|
|
||||||
|
uint8_t OC1flag,OC2flag,OC3flag;
|
||||||
|
|
||||||
|
typedef struct
|
||||||
|
{
|
||||||
|
uint16_t MotorStopLoc1;
|
||||||
|
uint16_t MotorStopLoc2;
|
||||||
|
uint16_t MotorNowLoc;
|
||||||
|
}MOTOR_DATA;
|
||||||
|
|
||||||
|
MOTOR_DATA MotorData[6];
|
||||||
|
uint16_t MemoryLoc[3][6];
|
||||||
|
|
||||||
|
typedef struct
|
||||||
|
{
|
||||||
|
uint16_t start_flag;
|
||||||
|
MOTOR_DATA MotorData[6];
|
||||||
|
uint16_t MemoryLoc[3][6];
|
||||||
|
uint16_t checksum;
|
||||||
|
uint16_t stop_flag;
|
||||||
|
}MEMORY_DATA;
|
||||||
|
MEMORY_DATA MemoryData;
|
||||||
|
|
||||||
|
uint16_t GetCheckSum(uint16_t * addr,uint8_t len)
|
||||||
|
{
|
||||||
|
uint16_t sum=0;
|
||||||
|
while (len --)
|
||||||
|
{
|
||||||
|
sum += *addr;
|
||||||
|
}
|
||||||
|
sum ^= 0xffff;
|
||||||
|
|
||||||
|
return sum;
|
||||||
|
}
|
||||||
|
#define START_FLAG 0x55aa
|
||||||
|
#define STOP_FLAG 0xaa55
|
||||||
|
void WriteMotorMemory(void)
|
||||||
|
{
|
||||||
|
uint8_t i;
|
||||||
|
if (EEL_SAVE_REQUIRE_FLAG == 0 || EEL_SAVE_Counter > 0)
|
||||||
|
{
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
|
MemoryData.start_flag = START_FLAG;
|
||||||
|
MemoryData.stop_flag = STOP_FLAG;
|
||||||
|
for (i = 0; i < 6; i++)
|
||||||
|
{
|
||||||
|
MemoryData.MotorData[i].MotorNowLoc = MotorHallLoc[i];
|
||||||
|
MemoryData.MotorData[i].MotorStopLoc1 = MotorHardStop1[i];
|
||||||
|
MemoryData.MotorData[i].MotorStopLoc2 = MotorHardStop2[i];
|
||||||
|
MemoryData.MemoryLoc[0][i] = MemoryLoc[0][i];
|
||||||
|
MemoryData.MemoryLoc[1][i] = MemoryLoc[1][i];
|
||||||
|
MemoryData.MemoryLoc[2][i] = MemoryLoc[2][i];
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
MemoryData.checksum = GetCheckSum(&MemoryData.MotorData[0].MotorStopLoc1,36);
|
||||||
|
//if(WriteDataflash(&MemoryData,0x000F1000,sizeof(MemoryData)) == 0x11)
|
||||||
|
{
|
||||||
|
EEL_SAVE_REQUIRE_FLAG=0;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
void ReadMotorMemory(void)
|
||||||
|
{
|
||||||
|
uint16_t checksum;
|
||||||
|
uint8_t i;
|
||||||
|
//ReadFlashData(&MemoryData,0x000F1000,sizeof(MemoryData));
|
||||||
|
checksum = GetCheckSum(&MemoryData.MotorData[0].MotorStopLoc1,36);
|
||||||
|
if (MemoryData.start_flag == START_FLAG && MemoryData.stop_flag == STOP_FLAG && checksum == MemoryData.checksum)//
|
||||||
|
{
|
||||||
|
for (i = 0; i < 6; i++)
|
||||||
|
{
|
||||||
|
MotorHallLoc[i] = MemoryData.MotorData[i].MotorNowLoc;
|
||||||
|
MotorHardStop1[i] = MemoryData.MotorData[i].MotorStopLoc1;
|
||||||
|
MotorHardStop2[i] = MemoryData.MotorData[i].MotorStopLoc2;
|
||||||
|
MemoryLoc[0][i] = MemoryData.MemoryLoc[0][i];
|
||||||
|
MemoryLoc[1][i] = MemoryData.MemoryLoc[1][i];
|
||||||
|
MemoryLoc[2][i] = MemoryData.MemoryLoc[2][i];
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
for (i = 0; i < 6; i++)
|
||||||
|
{
|
||||||
|
MotorHallLoc[i] = 0x8000;
|
||||||
|
MotorHardStop1[i] = 0;
|
||||||
|
MotorHardStop2[i] = 0;
|
||||||
|
MemoryLoc[0][i] = 0;
|
||||||
|
MemoryLoc[1][i] = 0;
|
||||||
|
MemoryLoc[2][i] = 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
void MotorValueInit(void)
|
||||||
|
{
|
||||||
|
uint8_t i;
|
||||||
|
for (i = 0; i < 6; i++)
|
||||||
|
{
|
||||||
|
MotorHallLoc[i] = 0x8000;
|
||||||
|
MotorErr[i] = 0;
|
||||||
|
}
|
||||||
|
//ReadMotorMemory();
|
||||||
|
}
|
||||||
|
|
||||||
|
void setMotorState(uint8_t motorid,uint8_t act)
|
||||||
|
{
|
||||||
|
//motorid-=1;
|
||||||
|
if (act <= ACT_XH && motorid < 6)
|
||||||
|
{
|
||||||
|
MotorState[motorid] = act;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
uint16_t MotorTarget[6] = {0};
|
||||||
|
void setMotorTarget(uint8_t motorid,uint16_t target)
|
||||||
|
{
|
||||||
|
|
||||||
|
MotorTarget[motorid] = target;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
#define AUTOCAL_STOP 0
|
||||||
|
#define AUTOCAL_START 1
|
||||||
|
#define AUTOCAL_ACT1 2
|
||||||
|
#define AUTOCAL_ACT2 3
|
||||||
|
#define AUTOCAL_END 4
|
||||||
|
|
||||||
|
void StartAutoCal(void)
|
||||||
|
{
|
||||||
|
AutoCalState = AUTOCAL_START;
|
||||||
|
|
||||||
|
}
|
||||||
|
void StopAutoCal(void)
|
||||||
|
{
|
||||||
|
if (AutoCalState != AUTOCAL_STOP)
|
||||||
|
{
|
||||||
|
AutoCalState = AUTOCAL_STOP;
|
||||||
|
setMotorState(MOTOR1,ACT_NOACT);
|
||||||
|
setMotorState(MOTOR2,ACT_NOACT);
|
||||||
|
setMotorState(MOTOR3,ACT_NOACT);
|
||||||
|
setMotorState(MOTOR4,ACT_NOACT);
|
||||||
|
setMotorState(MOTOR5,ACT_NOACT);
|
||||||
|
setMotorState(MOTOR6,ACT_NOACT);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
void AutoCalCtrl(void)
|
||||||
|
{
|
||||||
|
static uint16_t autocalcounter[3];
|
||||||
|
static uint8_t MotorArr1state,MotorArr2state,MotorArr3state;
|
||||||
|
static uint8_t wait1,wait2,wait3;
|
||||||
|
uint8_t i;
|
||||||
|
uint32_t temp;
|
||||||
|
switch (AutoCalState)
|
||||||
|
{
|
||||||
|
case AUTOCAL_STOP:
|
||||||
|
MotorArr1state = AUTOCAL_STOP;
|
||||||
|
MotorArr2state = AUTOCAL_STOP;
|
||||||
|
MotorArr3state = AUTOCAL_STOP;
|
||||||
|
return;
|
||||||
|
case AUTOCAL_START:
|
||||||
|
MotorArr1state = 1;
|
||||||
|
MotorArr2state = 1;
|
||||||
|
MotorArr3state = 1;
|
||||||
|
setMotorState(MOTOR1,ACT_XQ);
|
||||||
|
setMotorState(MOTOR3,ACT_XQ);
|
||||||
|
setMotorState(MOTOR5,ACT_XQ);
|
||||||
|
autocalcounter[0] = 0;
|
||||||
|
autocalcounter[1] = 0;
|
||||||
|
autocalcounter[2] = 0;
|
||||||
|
AutoCalState++;
|
||||||
|
for (i = 0; i < 6; i++)
|
||||||
|
{
|
||||||
|
MotorHardStop1[i] = 0;
|
||||||
|
MotorHardStop2[i] = 0;
|
||||||
|
MotorHallLoc[i] = 0x8000;
|
||||||
|
}
|
||||||
|
break;
|
||||||
|
case AUTOCAL_ACT1:
|
||||||
|
if (MotorArr1state == 0 && MotorArr2state == 0 && MotorArr3state == 0)
|
||||||
|
{
|
||||||
|
for (i = 0; i < 6; i++)
|
||||||
|
{
|
||||||
|
temp = MotorHardStop1[i];
|
||||||
|
temp += MotorHardStop2[i];
|
||||||
|
setMotorTarget(i,temp/2);
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
break;
|
||||||
|
case AUTOCAL_ACT2:
|
||||||
|
|
||||||
|
break;
|
||||||
|
|
||||||
|
default:
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
//1
|
||||||
|
switch (MotorArr1state)
|
||||||
|
{
|
||||||
|
case 1://motor1 xq
|
||||||
|
autocalcounter[0]++;
|
||||||
|
if (MotorHardStop1[MOTOR1] != 0)
|
||||||
|
{
|
||||||
|
MotorArr1state++;
|
||||||
|
wait1 = 0;
|
||||||
|
setMotorState(MOTOR1,ACT_NOACT);
|
||||||
|
}
|
||||||
|
if (autocalcounter[0] > 3000 || MotorErr[MOTOR1] != 0)
|
||||||
|
{
|
||||||
|
MotorArr1state = 4;
|
||||||
|
wait1 = 0;
|
||||||
|
setMotorState(MOTOR1,ACT_NOACT);
|
||||||
|
}
|
||||||
|
break;
|
||||||
|
case 2://wait
|
||||||
|
wait1++;
|
||||||
|
if (wait1 > 50)
|
||||||
|
{
|
||||||
|
MotorArr1state++;
|
||||||
|
setMotorState(MOTOR1,ACT_XH);
|
||||||
|
autocalcounter[0] = 0;
|
||||||
|
}
|
||||||
|
break;
|
||||||
|
case 3://motor1 xh
|
||||||
|
autocalcounter[0]++;
|
||||||
|
if (MotorHardStop2[MOTOR1] != 0)
|
||||||
|
{
|
||||||
|
MotorArr1state++;
|
||||||
|
wait1 = 0;
|
||||||
|
setMotorState(MOTOR1,ACT_NOACT);
|
||||||
|
}
|
||||||
|
if (autocalcounter[0] > 3000 || MotorErr[MOTOR1] != 0)
|
||||||
|
{
|
||||||
|
MotorArr1state = 4;
|
||||||
|
wait1 = 0;
|
||||||
|
setMotorState(MOTOR1,ACT_NOACT);
|
||||||
|
}
|
||||||
|
break;
|
||||||
|
case 4://wait
|
||||||
|
wait1++;
|
||||||
|
if (wait1 > 50)
|
||||||
|
{
|
||||||
|
MotorArr1state++;
|
||||||
|
setMotorState(MOTOR2,ACT_XQ);
|
||||||
|
autocalcounter[0] = 0;
|
||||||
|
}
|
||||||
|
break;
|
||||||
|
case 5://motor2 xq
|
||||||
|
autocalcounter[0]++;
|
||||||
|
if (MotorHardStop1[MOTOR2] != 0)
|
||||||
|
{
|
||||||
|
MotorArr1state++;
|
||||||
|
wait1 = 0;
|
||||||
|
setMotorState(MOTOR2,ACT_NOACT);
|
||||||
|
}
|
||||||
|
if (autocalcounter[0] > 3000 || MotorErr[MOTOR2] != 0)
|
||||||
|
{
|
||||||
|
MotorArr1state = 0;
|
||||||
|
setMotorState(MOTOR2,ACT_NOACT);
|
||||||
|
}
|
||||||
|
break;
|
||||||
|
case 6://wait
|
||||||
|
wait1++;
|
||||||
|
if (wait1 > 50)
|
||||||
|
{
|
||||||
|
MotorArr1state++;
|
||||||
|
setMotorState(MOTOR2,ACT_XH);
|
||||||
|
autocalcounter[0] = 0;
|
||||||
|
}
|
||||||
|
break;
|
||||||
|
case 7:
|
||||||
|
autocalcounter[0]++;
|
||||||
|
if (MotorHardStop2[MOTOR2] != 0)
|
||||||
|
{
|
||||||
|
MotorArr1state=0;
|
||||||
|
wait1 = 0;
|
||||||
|
setMotorState(MOTOR2,ACT_NOACT);
|
||||||
|
}
|
||||||
|
if (autocalcounter[0] > 3000 || MotorErr[MOTOR2] != 0)
|
||||||
|
{
|
||||||
|
MotorArr1state = 0;
|
||||||
|
setMotorState(MOTOR2,ACT_NOACT);
|
||||||
|
}
|
||||||
|
break;
|
||||||
|
default:
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
void MotorCtrl(void)//10ms
|
||||||
|
{
|
||||||
|
uint8_t i;
|
||||||
|
//WriteMotorMemory(); //TODO
|
||||||
|
//AutoCalCtrl();
|
||||||
|
|
||||||
|
if (OC1flag == 1)
|
||||||
|
{
|
||||||
|
OC1flag = 0;
|
||||||
|
if (MotorState[0] == ACT_XQ)
|
||||||
|
{
|
||||||
|
MotorHardStop1[0] = MotorHallLoc[0];
|
||||||
|
}
|
||||||
|
else if (MotorState[0] == ACT_XH)
|
||||||
|
{
|
||||||
|
MotorHardStop2[0] = MotorHallLoc[0];
|
||||||
|
}
|
||||||
|
MotorState[MOTOR1] = ACT_NOACT;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
MotorStateReal[0] = MotorState[0];
|
||||||
|
if (MotorState[0] == ACT_NOACT && MotorHardStop1[0] != 0 && MotorHardStop2[0] != 0 )
|
||||||
|
{
|
||||||
|
if (MotorTarget[0]!=0 && MotorHardStop1[0] > MotorTarget[0] && MotorTarget[0] > MotorHardStop2[0])
|
||||||
|
{
|
||||||
|
if (MotorTarget[0] > MotorHallLoc[0]+10)
|
||||||
|
{
|
||||||
|
MotorStateReal[0] = ACT_XQ;
|
||||||
|
}
|
||||||
|
else if (MotorTarget[0] < MotorHallLoc[0]-10)
|
||||||
|
{
|
||||||
|
MotorStateReal[0] = ACT_XH;
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
MotorTarget[0] = 0;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
else if (MotorHardStop1[0] != 0 && MotorHardStop2[0] != 0)
|
||||||
|
{
|
||||||
|
if (MotorHallLoc[0] > (MotorHardStop1[0]-20) && MotorStateReal[0] == ACT_XQ)
|
||||||
|
{
|
||||||
|
MotorStateReal[0] = ACT_NOACT;
|
||||||
|
}
|
||||||
|
if (MotorHallLoc[0] < (MotorHardStop2[0] + 20) && MotorStateReal[0] == ACT_XH)
|
||||||
|
{
|
||||||
|
MotorStateReal[0] = ACT_NOACT;
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
else
|
||||||
|
{
|
||||||
|
MotorTarget[0] = 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
MOTOR1Ctrl(MotorStateReal[MOTOR1]);
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
#define OC_10A 100
|
||||||
|
#define OC_500mS 500
|
||||||
|
#define OC_50mS 50
|
||||||
|
|
||||||
|
void CurrentDetecte(void)
|
||||||
|
{
|
||||||
|
|
||||||
|
static uint16_t OC_Count1=0,OC_Count2=0,OC_Count3 = 0;
|
||||||
|
|
||||||
|
current1 = getAdval(ADCH_RLY1);
|
||||||
|
|
||||||
|
if (current1 > 100U && OC1flag == 0)
|
||||||
|
{
|
||||||
|
OC_Count1++;
|
||||||
|
if (OC_Count1 >= 100)
|
||||||
|
{
|
||||||
|
OC_Count1 = 0;
|
||||||
|
OC1flag = 1;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
OC_Count1 = 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
void OverCurrentPro(uint8_t ovmotor)
|
||||||
|
{
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
#define HALLDELAYMAX 2
|
||||||
|
|
||||||
|
uint16_t HallErrorCount[6];
|
||||||
|
void HallDetecte(void)
|
||||||
|
{
|
||||||
|
static uint8_t HallLastState[6],HallDelay[6];
|
||||||
|
uint8_t hallstate;
|
||||||
|
|
||||||
|
hallstate = GetIOState(SIGID_HALL1);
|
||||||
|
if (hallstate != HallLastState[0])
|
||||||
|
{
|
||||||
|
HallDelay[0]++;
|
||||||
|
if (HallDelay[0] > HALLDELAYMAX)
|
||||||
|
{
|
||||||
|
if (MotorStateReal[0] == ACT_XQ)
|
||||||
|
{
|
||||||
|
MotorHallLoc[0]++;
|
||||||
|
}
|
||||||
|
else if (MotorStateReal[0] == ACT_XH)
|
||||||
|
{
|
||||||
|
MotorHallLoc[0]--;
|
||||||
|
}
|
||||||
|
HallLastState[0] = hallstate;
|
||||||
|
}
|
||||||
|
HallErrorCount[0] = 0;
|
||||||
|
MotorErr[0] = 0;
|
||||||
|
EEL_SAVE_Counter = 1000;
|
||||||
|
EEL_SAVE_REQUIRE_FLAG = 1;
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
HallDelay[0] = 0;
|
||||||
|
if (MotorStateReal[0] != ACT_NOACT)
|
||||||
|
{
|
||||||
|
HallErrorCount[0]++;
|
||||||
|
if (HallErrorCount[0] > 500)
|
||||||
|
{
|
||||||
|
HallErrorCount[0] = 500;
|
||||||
|
MotorErr[0] = 1;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
if (EEL_SAVE_Counter > 0)
|
||||||
|
{
|
||||||
|
EEL_SAVE_Counter--;
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
uint16_t getMotorLoc(void)
|
||||||
|
{
|
||||||
|
return MotorHallLoc[0];
|
||||||
|
}
|
29
user/MotorCtrl.h
Normal file
29
user/MotorCtrl.h
Normal file
@ -0,0 +1,29 @@
|
|||||||
|
#ifndef __MOTORCTRL_H__
|
||||||
|
#define __MOTORCTRL_H__
|
||||||
|
|
||||||
|
#include "r_cg_macrodriver.h"
|
||||||
|
|
||||||
|
#define MOTOR1 0
|
||||||
|
#define MOTOR2 1
|
||||||
|
#define MOTOR3 2
|
||||||
|
#define MOTOR4 3
|
||||||
|
#define MOTOR5 4
|
||||||
|
#define MOTOR6 5
|
||||||
|
|
||||||
|
void OverCurrentPro(uint8_t ovmotor);
|
||||||
|
void CurrentDetecte(void);
|
||||||
|
void MotorCtrl(void);
|
||||||
|
void HallDetecte(void);
|
||||||
|
void MotorValueInit(void);
|
||||||
|
|
||||||
|
uint16_t getMotorLoc(void);
|
||||||
|
|
||||||
|
void StartAutoCal(void);
|
||||||
|
void StopAutoCal(void);
|
||||||
|
|
||||||
|
|
||||||
|
void setMotorState(uint8_t motorid,uint8_t act);
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
#endif
|
27
user/PINdef.h
Normal file
27
user/PINdef.h
Normal file
@ -0,0 +1,27 @@
|
|||||||
|
#ifndef __PINDEF_H__
|
||||||
|
#define __PINDEF_H__
|
||||||
|
|
||||||
|
#include "iodefine.h"
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
#define SIGID_HALL1 0
|
||||||
|
#define SIGID_KEY1 1
|
||||||
|
#define SIGID_KEY2 2
|
||||||
|
|
||||||
|
|
||||||
|
#define IN_HALL1 P1_bit.no3
|
||||||
|
|
||||||
|
#define IN_KEY1 P1_bit.no0
|
||||||
|
#define IN_KEY2 P2_bit.no3
|
||||||
|
|
||||||
|
#define OUT_RLY1P P1_bit.no1
|
||||||
|
#define OUT_RLY1N P1_bit.no4
|
||||||
|
|
||||||
|
#define ADCH_RLY1 1
|
||||||
|
#define ADCH_BAT 0
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
#endif
|
||||||
|
|
181
user/appTask.c
Normal file
181
user/appTask.c
Normal file
@ -0,0 +1,181 @@
|
|||||||
|
#include "r_cg_macrodriver.h"
|
||||||
|
#include "appTask.h"
|
||||||
|
#include "event.h"
|
||||||
|
#include "r_cg_port.h"
|
||||||
|
#include "r_cg_timer.h"
|
||||||
|
#include "r_cg_wdt.h"
|
||||||
|
#include "hwCtrl.h"
|
||||||
|
#include "r_cg_adc.h"
|
||||||
|
#include "r_cg_serial.h"
|
||||||
|
#include "PINdef.h"
|
||||||
|
#include "MotorCtrl.h"
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
extern uint16_t g_AdVal[3];
|
||||||
|
uint8_t txbuf[10];
|
||||||
|
void TxTask(void);
|
||||||
|
void HardWare_Init(void)
|
||||||
|
{
|
||||||
|
//时基初始化
|
||||||
|
R_TAU0_Channel0_Start();
|
||||||
|
|
||||||
|
//UART初始化
|
||||||
|
R_UART0_Start();
|
||||||
|
|
||||||
|
//AD 初始化
|
||||||
|
R_ADC_Start();
|
||||||
|
R_ADC_Set_OperationOn();
|
||||||
|
R_TAU0_Channel1_Start();
|
||||||
|
|
||||||
|
//电机初始化
|
||||||
|
MotorValueInit();
|
||||||
|
MOTOR1Ctrl(ACT_NOACT);
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
void Variable_Init(void)
|
||||||
|
{
|
||||||
|
txbuf[0] = 0xaa;
|
||||||
|
txbuf[1] = 0x55;
|
||||||
|
}
|
||||||
|
#define KEY1 0
|
||||||
|
#define KEY2 1
|
||||||
|
void keyLogic(uint8_t keyno)
|
||||||
|
{
|
||||||
|
switch (keyno)
|
||||||
|
{
|
||||||
|
case KEY1:
|
||||||
|
setMotorState(0,ACT_XQ);
|
||||||
|
break;
|
||||||
|
case KEY2:
|
||||||
|
setMotorState(0,ACT_XH);
|
||||||
|
break;
|
||||||
|
default:
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
void keyLogicRelease(uint8_t keyno)
|
||||||
|
{
|
||||||
|
switch (keyno)
|
||||||
|
{
|
||||||
|
case KEY1:
|
||||||
|
setMotorState(0,ACT_NOACT);
|
||||||
|
break;
|
||||||
|
case KEY2:
|
||||||
|
setMotorState(0,ACT_NOACT);
|
||||||
|
break;
|
||||||
|
default:
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
#define KEY_DELAY_TIME 10
|
||||||
|
|
||||||
|
void keyScan(void)//5ms
|
||||||
|
{
|
||||||
|
static uint16_t keydelay[9]={0,0,0,0,0,0,0,0,0};
|
||||||
|
static uint8_t keyflag[9]={0,0,0,0,0,0,0,0,0};
|
||||||
|
static uint8_t keep_count[9]={0,0,0,0,0,0,0,0,0};
|
||||||
|
uint8_t keyval,i;
|
||||||
|
|
||||||
|
keyval = GetIOState(SIGID_KEY1);
|
||||||
|
if (keyval == 1 && keyflag[KEY1] == 0)
|
||||||
|
{
|
||||||
|
keydelay[KEY1]++;
|
||||||
|
if (keydelay[KEY1] > KEY_DELAY_TIME)//30ms
|
||||||
|
{
|
||||||
|
keyflag[KEY1] = 1;
|
||||||
|
keydelay[KEY1] = KEY_DELAY_TIME;
|
||||||
|
keyLogic(KEY1);
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
else if (keyval == 0)
|
||||||
|
{
|
||||||
|
if (keyflag[KEY1] == 1)
|
||||||
|
{
|
||||||
|
keyLogicRelease(KEY1);
|
||||||
|
}
|
||||||
|
|
||||||
|
keyflag[KEY1] = 0;
|
||||||
|
keydelay[KEY1] = 0;
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
keyval = GetIOState(SIGID_KEY2);
|
||||||
|
if (keyval == 1 && keyflag[KEY2] == 0)
|
||||||
|
{
|
||||||
|
keydelay[KEY2]++;
|
||||||
|
if (keydelay[KEY2] > KEY_DELAY_TIME)//30ms
|
||||||
|
{
|
||||||
|
keyflag[KEY2] = 1;
|
||||||
|
keydelay[KEY2] = KEY_DELAY_TIME;
|
||||||
|
keyLogic(KEY2);
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
else if (keyval == 0)
|
||||||
|
{
|
||||||
|
if (keyflag[KEY2] == 1)
|
||||||
|
{
|
||||||
|
keyLogicRelease(KEY2);
|
||||||
|
}
|
||||||
|
keyflag[KEY2] = 0;
|
||||||
|
keydelay[KEY2] = 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
void AppTask(void)
|
||||||
|
{
|
||||||
|
static uint8_t ledno = 1,last = 0;
|
||||||
|
if (TimeBase1msFlag == 1)
|
||||||
|
{
|
||||||
|
TimeBase1msFlag = 0;
|
||||||
|
HallDetecte();
|
||||||
|
CurrentDetecte();
|
||||||
|
}
|
||||||
|
if (TimeBase5msFlag == 1)
|
||||||
|
{
|
||||||
|
TimeBase5msFlag = 0;
|
||||||
|
keyScan();
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
if (TimeBase10msFlag == 1)
|
||||||
|
{
|
||||||
|
TimeBase10msFlag = 0;
|
||||||
|
MotorCtrl();
|
||||||
|
}
|
||||||
|
|
||||||
|
if (TimeBase100msFlag == 1)
|
||||||
|
{
|
||||||
|
TimeBase100msFlag = 0;
|
||||||
|
TxTask();
|
||||||
|
R_WDT_Restart();
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
if (TimeBase1000msFlag == 1)
|
||||||
|
{
|
||||||
|
TimeBase1000msFlag = 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
void TxTask(void)
|
||||||
|
{
|
||||||
|
uint16_t temp;
|
||||||
|
//txbuf[2] = GetIOState(SIGID_KEY1);
|
||||||
|
//txbuf[3] = GetIOState(SIGID_KEY2);
|
||||||
|
temp = getMotorLoc();
|
||||||
|
txbuf[2] = temp>>8;
|
||||||
|
txbuf[3] = temp&0xff;
|
||||||
|
txbuf[4] = GetIOState(SIGID_HALL1);
|
||||||
|
R_UART0_Send(txbuf,5);
|
||||||
|
}
|
||||||
|
|
@ -1,15 +1,10 @@
|
|||||||
#ifndef __APPTASK_H__
|
#ifndef __APPTASK_H__
|
||||||
#define __APPTASK_H__
|
#define __APPTASK_H__
|
||||||
|
|
||||||
#define KEY_NUM 1
|
|
||||||
|
|
||||||
#define KEY_RESET 0
|
|
||||||
|
|
||||||
void HardWare_Init(void);
|
void HardWare_Init(void);
|
||||||
void Variable_Init(void);
|
void Variable_Init(void);
|
||||||
void AppTask(void);
|
void AppTask(void);
|
||||||
void MotorStart(void);
|
|
||||||
void MotorTask(void);
|
|
||||||
void keyLogicRelease(uint8_t keyno);
|
void keyLogicRelease(uint8_t keyno);
|
||||||
|
|
||||||
#endif
|
#endif
|
66
user/hwCtrl.c
Normal file
66
user/hwCtrl.c
Normal file
@ -0,0 +1,66 @@
|
|||||||
|
|
||||||
|
#include "hwCtrl.h"
|
||||||
|
#include "r_cg_port.h"
|
||||||
|
#include "iodefine.h"
|
||||||
|
#include "appTask.h"
|
||||||
|
#include "PINdef.h"
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
uint8_t GetIOState(uint8_t sigid)
|
||||||
|
{
|
||||||
|
switch (sigid)
|
||||||
|
{
|
||||||
|
case SIGID_KEY1:
|
||||||
|
return IN_KEY1==0?1:0;
|
||||||
|
break;
|
||||||
|
case SIGID_KEY2:
|
||||||
|
return IN_KEY2==0?1:0;
|
||||||
|
case SIGID_HALL1:
|
||||||
|
return IN_HALL1;
|
||||||
|
default:
|
||||||
|
return 0;
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
#define OUT_OFF 0
|
||||||
|
#define OUT_ON 1
|
||||||
|
|
||||||
|
void MOTOR1Ctrl(uint8_t act)
|
||||||
|
{
|
||||||
|
switch (act)
|
||||||
|
{
|
||||||
|
case ACT_NOACT:
|
||||||
|
OUT_RLY1P = OUT_OFF;
|
||||||
|
OUT_RLY1N = OUT_OFF;
|
||||||
|
break;
|
||||||
|
case ACT_XH:
|
||||||
|
OUT_RLY1P = OUT_ON;
|
||||||
|
OUT_RLY1N = OUT_OFF;
|
||||||
|
break;
|
||||||
|
case ACT_XQ:
|
||||||
|
OUT_RLY1P = OUT_OFF;
|
||||||
|
OUT_RLY1N = OUT_ON;
|
||||||
|
break;
|
||||||
|
default:
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
extern uint16_t g_AdVal[3];
|
||||||
|
uint16_t getAdval(uint8_t ch)
|
||||||
|
{
|
||||||
|
if (ch < 4)
|
||||||
|
{
|
||||||
|
return g_AdVal[ch];
|
||||||
|
}
|
||||||
|
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
18
user/hwCtrl.h
Normal file
18
user/hwCtrl.h
Normal file
@ -0,0 +1,18 @@
|
|||||||
|
|
||||||
|
#ifndef __HWCTRL_H__
|
||||||
|
#define __HWCTRL_H__
|
||||||
|
#include "r_cg_macrodriver.h"
|
||||||
|
|
||||||
|
#define LED_ON 0
|
||||||
|
#define LED_OFF 1
|
||||||
|
|
||||||
|
#define ACT_NOACT 0
|
||||||
|
#define ACT_XQ 1
|
||||||
|
#define ACT_XH 2
|
||||||
|
|
||||||
|
|
||||||
|
uint8_t GetIOState(uint8_t sigid);
|
||||||
|
void MOTOR1Ctrl(uint8_t act);
|
||||||
|
uint16_t getAdval(uint8_t ch);
|
||||||
|
|
||||||
|
#endif
|
Loading…
x
Reference in New Issue
Block a user