更换MCU型号

This commit is contained in:
sunbeam 2024-01-19 13:29:51 +08:00
parent 2eed37adbf
commit eca4f6567a
23 changed files with 67 additions and 1857 deletions

View File

@ -1,14 +0,0 @@
:80000000CE00000028010000000000000000000000000000A2012A016F01000000000000D1010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000079
:180082008008000002FC610801000AFC00000000000000000000000070
:0400C000FF53E00406
:0A00C4000000000000000000000032
:FF00CE00CBF820FE305AFCFCEB0100FC6402003600FC3041FCEF04CC0000A747DFF93620FE3020FEEF04CC0000A747DFF94100321800EF08B3114982004842FCF643DFF44100320000EF08B3114980004820FEF643DFF4FC2F0200F6EFFE61FCC1C3C5C78EFD708EFCC1C78D129800AF34FC4232FC880061D323EB30FC99A230FCA232FCAF34FC4232FC61F8FC1B0500C0C09EFC609EFDC6C4C2C061FC318EFC1F0500EFEBC1C3C5C78EFD708EFCC1C7EB30FC8D1299AF0201605C0798008800318EBF0A018800FC210500C0C09EFC609EFDC6C4C2C061FCC1C3C5C78EFD708EFCC1AF2EFCF743DF06FC200500EF0CEB2CFC899D10A22CFCB22EFCC09EFC609EFDC6C409
:1E01CD00C2C061FCC1C3C5C78EFD708EFCC1FCC20600C09EFC609EFDC6C4C2C061FC5D
:FF01EB0016C80300AEF82761D339315E12F643DD27BBBC02BC04BC06BC08BC0ABC0CBC0EBC10BC12BC14BC16BC18BC1ABC1CBC1E3704200037B3EFD6AEF847DD06F6BBA7A7EFF5D7717AFAFC970500FCAA0500FC900600EFFA717AFAD7CF770002FC7A0200FC690200FCE80300FC040400FC250500FCD30300F57800D7717BFAEFDB36A1FFCEA00071F2714BA4F5F3007183D78EA8D7FC8C0400E73013FCFCDC0400F512FCD74C04DF0DD513FCDF05CF12FC02D7E512FCD720068F12FC98030CFEDD3691DD4591DF3FE91DFC8F1CFC614B61C8EEEE0073D913FC601814FC83639F1CFC60318E022AFCBF2AFC440001DC170401FFBF2AFCEF0F4013FC5561E8EEB50088AF
:FF02EA0003819F12FCEEAF008F13FC9800F19802318E12312D14311C13050442FC1688004DDD0B88028198024C02DCE4EF2A17A114F51CFC8998049F1DFC8800318EB800BF2AFC1704040016A5AB16BF1EFC89D18803DF06819F12FCEF540C029F12FCF1980288047088026148DE27318E0714880273891820FCC2C389318E0312440001DC040401FF12BF2AFC8802819802C0C3EFD088047388007CFF1820FC318EBF2AFC8804318E12A33020FCFCF4040088024C0261F8E512FCE73013FC1006ECDC040051FF7F2AFC72318EBF2AFC624F13FCDFE2E512FCF172614BDED9318E021EFC142914FC998262EFEE36E4FF7182710BE0710AEC710AE87183D7CEABACD73483
:FF03E9006100F401F402F404CA00E0CA03F9CA1501CE21E0CE22FECE24F9D736F00030330071A200000000BC36347000AAB4086C0308BAB4710AE5710BE1711AE5711BE1712AE5712BE1710AED710AE9711AED711AE9712AED712AE9302200BAA0309780BAA8C910009A89718A99300700BA9A302201BAA2309744BAAAC912009AAAB8086C0108BAB8AAC4BAC4AABA086C0108BABA51026F26FF9E266A060151FE5F26FF9E26D7342201AA06086C0108BA06AA08086C0108BA08A9086C0308B9710BE1711BE1712BE1710BE5711BE5712BE5D7342401710AE5711AE5712AE5A9086C0308B9AA06085CFE08BA06710BE1711BE1712BE1D714136168DF04308100D7F6BFF2
:FF04E80032FC13BF34FC15BF30FCF6D714136168DF04308100D736E5FF15BF2CFC13BF2EFC7182EB2CFC899D10A22CFCB22EFC7183F6D7EC9F0200D7D7EC8D020034F00036F000F67182BAC6300F0ABAC4716AE5716BE1717AE5717BE1713AE5713BE1710AE6710BE2711AE6711BE2714AE5714BE1716AED716AE9F6BAA0C918BF5DAAC8085CFE08BAC8AACA085CFE08BACAD734B201716BE1716BE5A9086C0108B9D734B401A9086C0108B9716AE5716BE1D7FC370700FC7705003601FF718271C2EC7D0200C7F19800318E12311CF6784EFC8800731956FC00836398004C04DFE8C0D7D72004F1EF4F819802FC4A07007291DF298800318E148800730956FCD1DF1BD5
:FF05E7001501B800044EFC14A9A1B9440700DC201956FC01C2C3300600EF12D2DF1288007388001956FC00318E12311CF6784EFC88024C04DD049800EFAD1004D74C05DE10D1DD0D318E0455FC1489D1E161F8F1D7F1D72004E1FEE4FF98025102FEDDFF98015103FED6FF98005104FECFFF70880073312860313972880270880161016168616B616A9F0EFC1004D78F02FC73316A709F36FC63314A5C039F37FC60FC7307008F37FCECA50700403BFC01DF09F53BFCFE2DFFFE9BFF403CFC01DF06F53CFCFEC7FF403FFC01DF07F53FFCFCE403004040FC0161F8F540FCD7A238FCE53AFCAF38FC320500FCD60700F74361F8E53BFCAF38FC520AFCD60700F74361F884
:F006E600E53CFCAF38FC5214FCD60700F74361F8E53DFCAF38FC5232FCD60700F74361F8E53EFCAF38FC5264FCD60700F74361F8E53FFCAF38FC32E803FCD60700F74361F8E540FCAF38FC4460EADC04F6BF38FCD73621FF719271A271B2711B22712B22713B22D791DD0B91DD0E91DD1491DD17F1D78D01313AEF048D01312A5C017C01D78D01311AEFF58D0D317AEFF1D1DD0A91DD2191DD1491DD0CD77103023604FF71A37193D7710202EFF33604FF71020271A2EFEE3604FF71020271A27192D7D1DD0A91DD2191DD1591DD0BD73602FF71B371A37193D73602FF71B2EFF43602FF71B271A2EFED3602FF71B271A27192D73A
:2907D60014F64315DD2261DD717BFACFE80080BEF013BEF6F6BEF2BEF4CFE800818FE8003103FAAFE00061CDD700
:00000001FF

File diff suppressed because it is too large Load Diff

View File

@ -47,7 +47,7 @@
</ConnectSettings>
<DebugToolSettings />
</DebugOptions>
<Device Series="RL78">R5F10268</Device>
<Device Series="RL78">R5F10368</Device>
<BuildOptions Name="CC-RL" Version="V1.11.00">
<BuildMode Name="DefaultBuild" Active="True">
<LinkOrder>
@ -82,7 +82,7 @@
<CompileOptions>
<Option>-cpu=S2</Option>
<Option>-obj_path=%BuildModeName%</Option>
<Option>-dev=%MicomToolPath%\Device\RL78\Devicefile\DR5F10268.DVF</Option>
<Option>-dev=%MicomToolPath%\Device\RL78\Devicefile\DR5F10368.DVF</Option>
<Option>-g</Option>
<Option>-g_line</Option>
<Option>-I .</Option>
@ -92,14 +92,14 @@
<AssembleOptions>
<Option>-cpu=S2</Option>
<Option>-obj_path=%BuildModeName%</Option>
<Option>-dev=%MicomToolPath%\Device\RL78\Devicefile\DR5F10268.DVF</Option>
<Option>-dev=%MicomToolPath%\Device\RL78\Devicefile\DR5F10368.DVF</Option>
<Option>-g</Option>
<Option>-I user</Option>
<Option>-c</Option>
</AssembleOptions>
<LinkOptions>
<Option>-SECURITY_ID=00000000000000000000</Option>
<Option>-DEVICE=%MicomToolPath%\Device\RL78\Devicefile\DR5F10268.DVF</Option>
<Option>-DEVICE=%MicomToolPath%\Device\RL78\Devicefile\DR5F10368.DVF</Option>
<Option>-DEBug</Option>
<Option>-NOCOmpress</Option>
<Option>-NOOPtimize</Option>
@ -119,14 +119,14 @@
<Option>-NOLOgo</Option>
<Option>-END</Option>
<Option>-Input=%BuildModeName%\%ProjectName%.abs</Option>
<Option>-DEVICE=%MicomToolPath%\Device\RL78\Devicefile\DR5F10268.DVF</Option>
<Option>-OUtput=OUTPUT\%ProjectName%.hex</Option>
<Option>-FOrm=Hexadecimal</Option>
<Option>-DEVICE=%MicomToolPath%\Device\RL78\Devicefile\DR5F10368.DVF</Option>
<Option>-OUtput=OUTPUT\%ProjectName%.mot</Option>
<Option>-FOrm=Stype</Option>
<Option>-NOMessage</Option>
<Option>-EXIt</Option>
</LinkOptions>
<IOHeaderGenerationOptions>
<Option>-df=%MicomToolPath%\Device\RL78\Devicefile\DR5F10268.DVF</Option>
<Option>-df=%MicomToolPath%\Device\RL78\Devicefile\DR5F10368.DVF</Option>
<Option>-o=%ProjectDir%\iodefine.h</Option>
<Option>-f</Option>
<UpdateIOMode>None</UpdateIOMode>
@ -241,7 +241,7 @@
&lt;ProjectKind Name="PrjKind" Text="Project78K0R" /&gt;
&lt;DeviceName Name="DeviceName" Fixed="" Text="RL78G12" /&gt;
&lt;MCUName Name="MCUName" Text="RL78G12_20pin" /&gt;
&lt;ChipName Name="ChipName" Text="R5F10268" /&gt;
&lt;ChipName Name="ChipName" Text="R5F10368" /&gt;
&lt;ChipID Name="ChipID" Text="R5F10268" /&gt;
&lt;MCUType Name="MCUType" Fixed="" Text="RL78" /&gt;
&lt;CPUCoreType Name="CPUCoreType" Fixed="" Text="0" /&gt;
@ -374,19 +374,6 @@
&lt;SI00 Port="P11" Point="I" /&gt;
&lt;SCK00 Port="P10" RealName="_SCK00" Point="I/O" /&gt;
&lt;/CSI00&gt;
&lt;CSI01 Chip="RL78G12_20pin"&gt;
&lt;SO01 Port="P41" Point="O" /&gt;
&lt;SI01 Port="P125" Point="I" /&gt;
&lt;SCK01 Port="P42" RealName="_SCK01" Point="I/O" /&gt;
&lt;/CSI01&gt;
&lt;IIC00 Chip="RL78G12_20pin,RL78G12_24pin"&gt;
&lt;SCL00 Port="P10" Point="I/O" CheckNch="true" /&gt;
&lt;SDA00 Port="P11" Point="I/O" CheckNch="true" /&gt;
&lt;/IIC00&gt;
&lt;IIC01 Chip="RL78G12_20pin"&gt;
&lt;SCL01 Port="P42" Point="I/O" CheckNch="true" /&gt;
&lt;SDA01 Port="P41" Point="I/O" CheckNch="true" /&gt;
&lt;/IIC01&gt;
&lt;/SAU0&gt;
&lt;IICA0&gt;
&lt;SCLA0 Chip="RL78G12_20pin,RL78G12_24pin" Port="P60" Point="I/O" /&gt;
@ -508,14 +495,6 @@
&lt;IT&gt;
&lt;INTIT InUse="0" ISR="r_it_interrupt" /&gt;
&lt;/IT&gt;
&lt;DMAC&gt;
&lt;DMA0&gt;
&lt;INTDMA0 InUse="0" ISR="r_dmac0_interrupt" /&gt;
&lt;/DMA0&gt;
&lt;DMA1&gt;
&lt;INTDMA1 InUse="0" ISR="r_dmac1_interrupt" /&gt;
&lt;/DMA1&gt;
&lt;/DMAC&gt;
&lt;WDT&gt;
&lt;INTWDTI InUse="1" ISR="r_wdt_interrupt" /&gt;
&lt;/WDT&gt;
@ -668,30 +647,6 @@
&lt;R_CSI00_Receive UserName="R_CSI00_Receive" LibName="R_CSIn_Receive" InUse="0" /&gt;
&lt;R_CSI00_Send_Receive UserName="R_CSI00_Send_Receive" LibName="R_CSIn_Send_Receive" InUse="0" /&gt;
&lt;/CSI00&gt;
&lt;CSI01 Chip="RL78G12_20pin,RL78G12_24pin" InUse=""&gt;
&lt;R_CSI01_Create UserName="R_CSI01_Create" LibName="R_CSIn_Create" InUse="0" InitMode="" /&gt;
&lt;R_CSI01_Start UserName="R_CSI01_Start" LibName="R_CSIn_Start" InUse="0" /&gt;
&lt;R_CSI01_Stop UserName="R_CSI01_Stop" LibName="R_CSIn_Stop" InUse="0" /&gt;
&lt;R_CSI01_Send UserName="R_CSI01_Send" LibName="R_CSIn_Send" InUse="0" /&gt;
&lt;R_CSI01_Receive UserName="R_CSI01_Receive" LibName="R_CSIn_Receive" InUse="0" /&gt;
&lt;R_CSI01_Send_Receive UserName="R_CSI01_Send_Receive" LibName="R_CSIn_Send_Receive" InUse="0" /&gt;
&lt;/CSI01&gt;
&lt;IIC00 Chip="RL78G12_20pin,RL78G12_24pin" InUse=""&gt;
&lt;R_IIC00_Create UserName="R_IIC00_Create" LibName="R_IICn_Create" InUse="0" InitMode="" /&gt;
&lt;R_IIC00_Master_Send UserName="R_IIC00_Master_Send" LibName="R_IICn_Master_Send" InUse="0" /&gt;
&lt;R_IIC00_Master_Receive UserName="R_IIC00_Master_Receive" LibName="R_IICn_Master_Receive" InUse="0" /&gt;
&lt;R_IIC00_Stop UserName="R_IIC00_Stop" LibName="R_IICn_Stop" InUse="0" /&gt;
&lt;R_IIC00_StartCondition UserName="R_IIC00_StartCondition" LibName="R_IICn_StartCondition" InUse="0" /&gt;
&lt;R_IIC00_StopCondition UserName="R_IIC00_StopCondition" LibName="R_IICn_StopCondition" InUse="0" /&gt;
&lt;/IIC00&gt;
&lt;IIC01 Chip="RL78G12_20pin,RL78G12_24pin" InUse=""&gt;
&lt;R_IIC01_Create UserName="R_IIC01_Create" LibName="R_IICn_Create" InUse="0" InitMode="" /&gt;
&lt;R_IIC01_Master_Send UserName="R_IIC01_Master_Send" LibName="R_IICn_Master_Send" InUse="0" /&gt;
&lt;R_IIC01_Master_Receive UserName="R_IIC01_Master_Receive" LibName="R_IICn_Master_Receive" InUse="0" /&gt;
&lt;R_IIC01_Stop UserName="R_IIC01_Stop" LibName="R_IICn_Stop" InUse="0" /&gt;
&lt;R_IIC01_StartCondition UserName="R_IIC01_StartCondition" LibName="R_IICn_StartCondition" InUse="0" /&gt;
&lt;R_IIC01_StopCondition UserName="R_IIC01_StopCondition" LibName="R_IICn_StopCondition" InUse="0" /&gt;
&lt;/IIC01&gt;
&lt;/SAU0&gt;
&lt;IICA0 InUse=""&gt;
&lt;R_IICA0_Create UserName="R_IICA0_Create" LibName="R_IICAn_Create" InUse="" Init="1" InitMode="" /&gt;
@ -725,24 +680,6 @@
&lt;r_csi00_callback_error UserName="r_csi00_callback_error" LibName="R_CSIn_Callback_Error" InUse="0" /&gt;
&lt;r_csi00_callback_sendend UserName="r_csi00_callback_sendend" LibName="R_CSIn_Callback_SendEnd" InUse="0" /&gt;
&lt;/CSI00&gt;
&lt;CSI01 Chip="RL78G12_20pin,RL78G12_24pin" InUse=""&gt;
&lt;r_csi01_interrupt UserName="r_csi01_interrupt" INTHandle="" LibName="R_CSIn_Interrupt" InUse="0" /&gt;
&lt;r_csi01_callback_receiveend UserName="r_csi01_callback_receiveend" LibName="R_CSIn_Callback_ReceiveEnd" InUse="0" /&gt;
&lt;r_csi01_callback_error UserName="r_csi01_callback_error" LibName="R_CSIn_Callback_Error" InUse="0" /&gt;
&lt;r_csi01_callback_sendend UserName="r_csi01_callback_sendend" LibName="R_CSIn_Callback_SendEnd" InUse="0" /&gt;
&lt;/CSI01&gt;
&lt;IIC00 Chip="RL78G12_20pin,RL78G12_24pin" InUse=""&gt;
&lt;r_iic00_interrupt UserName="r_iic00_interrupt" INTHandle="" LibName="R_IICn_Interrupt" InUse="0" /&gt;
&lt;r_iic00_callback_master_receiveend UserName="r_iic00_callback_master_receiveend" LibName="R_IICn_Callback_Master_ReceiveEnd" InUse="0" /&gt;
&lt;r_iic00_callback_master_sendend UserName="r_iic00_callback_master_sendend" LibName="R_IICn_Callback_Master_SendEnd" InUse="0" /&gt;
&lt;r_iic00_callback_master_error UserName="r_iic00_callback_master_error" LibName="R_IICn_Callback_Master_Error" InUse="0" /&gt;
&lt;/IIC00&gt;
&lt;IIC01 Chip="RL78G12_20pin,RL78G12_24pin" InUse=""&gt;
&lt;r_iic01_interrupt UserName="r_iic01_interrupt" INTHandle="" LibName="R_IICn_Interrupt" InUse="0" /&gt;
&lt;r_iic01_callback_master_receiveend UserName="r_iic01_callback_master_receiveend" LibName="R_IICn_Callback_Master_ReceiveEnd" InUse="0" /&gt;
&lt;r_iic01_callback_master_sendend UserName="r_iic01_callback_master_sendend" LibName="R_IICn_Callback_Master_SendEnd" InUse="0" /&gt;
&lt;r_iic01_callback_master_error UserName="r_iic01_callback_master_error" LibName="R_IICn_Callback_Master_Error" InUse="0" /&gt;
&lt;/IIC01&gt;
&lt;/SAU0&gt;
&lt;IICA0 InUse=""&gt;
&lt;R_IICA0_Create_UserInit UserName="R_IICA0_Create_UserInit" LibName="R_IICAn_Create_UserInit" InUse="" /&gt;
@ -886,35 +823,6 @@
&lt;/r_cg_pclbuz_user.c&gt;
&lt;r_cg_pclbuz.h UserName="r_cg_pclbuz.h" LibName=".h" InUse="" /&gt;
&lt;/PCLBUZ&gt;
&lt;DMAC&gt;
&lt;r_cg_dmac.c UserName="r_cg_dmac.c" LibName=".c" InUse=""&gt;
&lt;Type R_DMACn_Create="void R_DMACn_Create(void)" R_DMACn_Start="void R_DMACn_Start(void)" R_DMACn_Stop="void R_DMACn_Stop(void)" R_DMACn_Set_SoftwareTriggerOn="void R_DMACn_Set_SoftwareTriggerOn(void)" /&gt;
&lt;DMA0 InUse=""&gt;
&lt;R_DMAC0_Create UserName="R_DMAC0_Create" LibName="R_DMACn_Create" InUse="" Init="1" InitMode="" /&gt;
&lt;R_DMAC0_Start UserName="R_DMAC0_Start" LibName="R_DMACn_Start" InUse="" /&gt;
&lt;R_DMAC0_Stop UserName="R_DMAC0_Stop" LibName="R_DMACn_Stop" InUse="" /&gt;
&lt;R_DMAC0_Set_SoftwareTriggerOn UserName="R_DMAC0_Set_SoftwareTriggerOn" LibName="R_DMACn_Set_SoftwareTriggerOn" InUse="" /&gt;
&lt;/DMA0&gt;
&lt;DMA1 InUse=""&gt;
&lt;R_DMAC1_Create UserName="R_DMAC1_Create" LibName="R_DMACn_Create" InUse="" Init="1" InitMode="" /&gt;
&lt;R_DMAC1_Start UserName="R_DMAC1_Start" LibName="R_DMACn_Start" InUse="" /&gt;
&lt;R_DMAC1_Stop UserName="R_DMAC1_Stop" LibName="R_DMACn_Stop" InUse="" /&gt;
&lt;R_DMAC1_Set_SoftwareTriggerOn UserName="R_DMAC1_Set_SoftwareTriggerOn" LibName="R_DMACn_Set_SoftwareTriggerOn" InUse="" /&gt;
&lt;/DMA1&gt;
&lt;/r_cg_dmac.c&gt;
&lt;r_cg_dmac_user.c UserName="r_cg_dmac_user.c" LibName="_user.c" InUse=""&gt;
&lt;Type R_DMACn_Create_UserInit="void R_DMACn_Create_UserInit(void)" r_dmacn_interrupt="__interrupt static void r_dmacn_interrupt(void)" /&gt;
&lt;DMA0&gt;
&lt;R_DMAC0_Create_UserInit UserName="R_DMAC0_Create_UserInit" LibName="R_DMACn_Create_UserInit" InUse="" /&gt;
&lt;r_dmac0_interrupt UserName="r_dmac0_interrupt" INTHandle="" LibName="r_dmacn_interrupt" InUse="" /&gt;
&lt;/DMA0&gt;
&lt;DMA1&gt;
&lt;R_DMAC1_Create_UserInit UserName="R_DMAC1_Create_UserInit" LibName="R_DMACn_Create_UserInit" InUse="" /&gt;
&lt;r_dmac1_interrupt UserName="r_dmac1_interrupt" INTHandle="" LibName="r_dmacn_interrupt" InUse="" /&gt;
&lt;/DMA1&gt;
&lt;/r_cg_dmac_user.c&gt;
&lt;r_cg_dmac.h UserName="r_cg_dmac.h" LibName=".h" InUse="" /&gt;
&lt;/DMAC&gt;
&lt;LVD&gt;
&lt;r_cg_lvd.c UserName="r_cg_lvd.c" LibName=".c" InUse="0"&gt;
&lt;Type R_LVD_Create="void R_LVD_Create(void)" R_LVD_InterruptMode_Start="void R_LVD_InterruptMode_Start(void)" /&gt;
@ -964,8 +872,8 @@
&lt;/INTC&gt;
&lt;Serial SetFlag="True" HelpID="serial" NeedRefresh="False"&gt;
&lt;SAU0 Chip="RL78G12_20pin,RL78G12_24pin" Accelerate="No" MacroName="SAU" Channel="0" SetFlag="True" TabEnable="True"&gt;
&lt;Channel0 UART="0" CSI="00" IIC="00" Channel="0" /&gt;
&lt;Channel1 UART="0" CSI="01" IIC="01" Channel="1" /&gt;
&lt;Channel0 UART="0" CSI="00" IIC="" Channel="0" /&gt;
&lt;Channel1 UART="0" CSI="" IIC="" Channel="1" /&gt;
&lt;/SAU0&gt;
&lt;IICA0 Accelerate="No" MacroName="IICA" Channel="0" TabEnable="True" /&gt;
&lt;/Serial&gt;
@ -984,10 +892,6 @@
&lt;PCLBUZ SetFlag="" HelpID="PCLBUZ" NeedRefresh="False"&gt;
&lt;PCLBUZ0 MacroName="PCLBUZ" Channel="0" /&gt;
&lt;/PCLBUZ&gt;
&lt;DMAC HelpID="dmac" SetFlag="" NeedRefresh="False"&gt;
&lt;DMA0 MacroName="DMAC" Channel="0" /&gt;
&lt;DMA1 MacroName="DMAC" Channel="1" /&gt;
&lt;/DMAC&gt;
&lt;LVD SetFlag="True" Prepared="true" HelpID="lvi" NeedRefresh="False"&gt;
&lt;LVD MacroName="LVD" SetFlag="True" /&gt;
&lt;/LVD&gt;

View File

@ -20,10 +20,10 @@
/***********************************************************************************************************************
* File Name : r_cg_cgc.c
* Version : CodeGenerator for RL78/G12 V2.04.06.02 [08 Nov 2021]
* Device(s) : R5F10268
* Device(s) : R5F10368
* Tool-Chain : CCRL
* Description : This file implements device driver for CGC module.
* Creation Date: 2023-11-20
* Creation Date: 2024-01-19
***********************************************************************************************************************/
/***********************************************************************************************************************

View File

@ -20,10 +20,10 @@
/***********************************************************************************************************************
* File Name : r_cg_cgc.h
* Version : CodeGenerator for RL78/G12 V2.04.06.02 [08 Nov 2021]
* Device(s) : R5F10268
* Device(s) : R5F10368
* Tool-Chain : CCRL
* Description : This file implements device driver for CGC module.
* Creation Date: 2023-11-20
* Creation Date: 2024-01-19
***********************************************************************************************************************/
#ifndef CGC_H
@ -106,20 +106,6 @@ Macro definitions (Register bit)
/* Illegal memory access detection control (IAWEN) */
#define _00_CGC_ILLEGAL_ACCESS_OFF (0x00U) /* disables illegal memory access detection */
#define _80_CGC_ILLEGAL_ACCESS_ON (0x80U) /* enables illegal memory access detection */
/* RAM guard area (GRAM1, GRAM0) */
#define _00_CGC_RAM_GUARD_OFF (0x00U) /* invalid, it is possible to write RAM */
#define _10_CGC_RAM_GUARD_ARAE0 (0x10U) /* 128 bytes from RAM bottom address */
#define _20_CGC_RAM_GUARD_ARAE1 (0x20U) /* 256 bytes from RAM bottom address */
#define _30_CGC_RAM_GUARD_ARAE2 (0x30U) /* 512 bytes from RAM bottom address */
/* PORT register guard (GPORT) */
#define _00_CGC_PORT_GUARD_OFF (0x00U) /* invalid, it is possible to write PORT register */
#define _04_CGC_PORT_GUARD_ON (0x04U) /* valid, it is impossible to write PORT register, but possible for read */
/* Interrupt register guard (GINT) */
#define _00_CGC_INT_GUARD_OFF (0x00U) /* invalid, it is possible to write interrupt register */
#define _02_CGC_INT_GUARD_ON (0x02U) /* valid, impossible to write interrupt register, but possible for read */
/* CSC register guard (GCSC) */
#define _00_CGC_CSC_GUARD_OFF (0x00U) /* invalid, it is possible to write CSC register */
#define _01_CGC_CSC_GUARD_ON (0x01U) /* valid, it is impossible to write CSC register, but possible for read */
/***********************************************************************************************************************
Macro definitions

View File

@ -20,10 +20,10 @@
/***********************************************************************************************************************
* File Name : r_cg_cgc_user.c
* Version : CodeGenerator for RL78/G12 V2.04.06.02 [08 Nov 2021]
* Device(s) : R5F10268
* Device(s) : R5F10368
* Tool-Chain : CCRL
* Description : This file implements device driver for CGC module.
* Creation Date: 2023-11-20
* Creation Date: 2024-01-19
***********************************************************************************************************************/
/***********************************************************************************************************************

View File

@ -20,10 +20,10 @@
/***********************************************************************************************************************
* File Name : r_cg_macrodriver.h
* Version : CodeGenerator for RL78/G12 V2.04.06.02 [08 Nov 2021]
* Device(s) : R5F10268
* Device(s) : R5F10368
* Tool-Chain : CCRL
* Description : This file implements general head file.
* Creation Date: 2023-11-20
* Creation Date: 2024-01-19
***********************************************************************************************************************/
#ifndef STATUS_H

View File

@ -20,10 +20,10 @@
/***********************************************************************************************************************
* File Name : r_cg_port.c
* Version : CodeGenerator for RL78/G12 V2.04.06.02 [08 Nov 2021]
* Device(s) : R5F10268
* Device(s) : R5F10368
* Tool-Chain : CCRL
* Description : This file implements device driver for PORT module.
* Creation Date: 2023-11-20
* Creation Date: 2024-01-19
***********************************************************************************************************************/
/***********************************************************************************************************************

View File

@ -20,10 +20,10 @@
/***********************************************************************************************************************
* File Name : r_cg_port.h
* Version : CodeGenerator for RL78/G12 V2.04.06.02 [08 Nov 2021]
* Device(s) : R5F10268
* Device(s) : R5F10368
* Tool-Chain : CCRL
* Description : This file implements device driver for PORT module.
* Creation Date: 2023-11-20
* Creation Date: 2024-01-19
***********************************************************************************************************************/
#ifndef PORT_H

View File

@ -20,10 +20,10 @@
/***********************************************************************************************************************
* File Name : r_cg_port_user.c
* Version : CodeGenerator for RL78/G12 V2.04.06.02 [08 Nov 2021]
* Device(s) : R5F10268
* Device(s) : R5F10368
* Tool-Chain : CCRL
* Description : This file implements device driver for PORT module.
* Creation Date: 2023-11-20
* Creation Date: 2024-01-19
***********************************************************************************************************************/
/***********************************************************************************************************************

View File

@ -20,10 +20,10 @@
/***********************************************************************************************************************
* File Name : r_cg_serial.c
* Version : CodeGenerator for RL78/G12 V2.04.06.02 [08 Nov 2021]
* Device(s) : R5F10268
* Device(s) : R5F10368
* Tool-Chain : CCRL
* Description : This file implements device driver for Serial module.
* Creation Date: 2023-11-20
* Creation Date: 2024-01-19
***********************************************************************************************************************/
/***********************************************************************************************************************

View File

@ -20,10 +20,10 @@
/***********************************************************************************************************************
* File Name : r_cg_serial.h
* Version : CodeGenerator for RL78/G12 V2.04.06.02 [08 Nov 2021]
* Device(s) : R5F10268
* Device(s) : R5F10368
* Tool-Chain : CCRL
* Description : This file implements device driver for Serial module.
* Creation Date: 2023-11-20
* Creation Date: 2024-01-19
***********************************************************************************************************************/
#ifndef SERIAL_H

View File

@ -20,10 +20,10 @@
/***********************************************************************************************************************
* File Name : r_cg_serial_user.c
* Version : CodeGenerator for RL78/G12 V2.04.06.02 [08 Nov 2021]
* Device(s) : R5F10268
* Device(s) : R5F10368
* Tool-Chain : CCRL
* Description : This file implements device driver for Serial module.
* Creation Date: 2023-11-20
* Creation Date: 2024-01-19
***********************************************************************************************************************/
/***********************************************************************************************************************

View File

@ -20,10 +20,10 @@
/***********************************************************************************************************************
* File Name : r_cg_timer.c
* Version : CodeGenerator for RL78/G12 V2.04.06.02 [08 Nov 2021]
* Device(s) : R5F10268
* Device(s) : R5F10368
* Tool-Chain : CCRL
* Description : This file implements device driver for TAU module.
* Creation Date: 2023-11-20
* Creation Date: 2024-01-19
***********************************************************************************************************************/
/***********************************************************************************************************************

View File

@ -20,10 +20,10 @@
/***********************************************************************************************************************
* File Name : r_cg_timer.h
* Version : CodeGenerator for RL78/G12 V2.04.06.02 [08 Nov 2021]
* Device(s) : R5F10268
* Device(s) : R5F10368
* Tool-Chain : CCRL
* Description : This file implements device driver for TAU module.
* Creation Date: 2023-11-20
* Creation Date: 2024-01-19
***********************************************************************************************************************/
#ifndef TAU_H

View File

@ -20,10 +20,10 @@
/***********************************************************************************************************************
* File Name : r_cg_timer_user.c
* Version : CodeGenerator for RL78/G12 V2.04.06.02 [08 Nov 2021]
* Device(s) : R5F10268
* Device(s) : R5F10368
* Tool-Chain : CCRL
* Description : This file implements device driver for TAU module.
* Creation Date: 2023-11-20
* Creation Date: 2024-01-19
***********************************************************************************************************************/
/***********************************************************************************************************************

View File

@ -20,10 +20,10 @@
/***********************************************************************************************************************
* File Name : r_cg_userdefine.h
* Version : CodeGenerator for RL78/G12 V2.04.06.02 [08 Nov 2021]
* Device(s) : R5F10268
* Device(s) : R5F10368
* Tool-Chain : CCRL
* Description : This file includes user definition.
* Creation Date: 2023-11-20
* Creation Date: 2024-01-19
***********************************************************************************************************************/
#ifndef _USER_DEF_H

View File

@ -20,10 +20,10 @@
/***********************************************************************************************************************
* File Name : r_cg_wdt.c
* Version : CodeGenerator for RL78/G12 V2.04.06.02 [08 Nov 2021]
* Device(s) : R5F10268
* Device(s) : R5F10368
* Tool-Chain : CCRL
* Description : This file implements device driver for WDT module.
* Creation Date: 2023-11-20
* Creation Date: 2024-01-19
***********************************************************************************************************************/
/***********************************************************************************************************************

View File

@ -20,10 +20,10 @@
/***********************************************************************************************************************
* File Name : r_cg_wdt.h
* Version : CodeGenerator for RL78/G12 V2.04.06.02 [08 Nov 2021]
* Device(s) : R5F10268
* Device(s) : R5F10368
* Tool-Chain : CCRL
* Description : This file implements device driver for WDT module.
* Creation Date: 2023-11-20
* Creation Date: 2024-01-19
***********************************************************************************************************************/
#ifndef WDT_H

View File

@ -20,10 +20,10 @@
/***********************************************************************************************************************
* File Name : r_cg_wdt_user.c
* Version : CodeGenerator for RL78/G12 V2.04.06.02 [08 Nov 2021]
* Device(s) : R5F10268
* Device(s) : R5F10368
* Tool-Chain : CCRL
* Description : This file implements device driver for WDT module.
* Creation Date: 2023-11-20
* Creation Date: 2024-01-19
***********************************************************************************************************************/
/***********************************************************************************************************************

View File

@ -20,10 +20,10 @@
/***********************************************************************************************************************
* File Name : r_main.c
* Version : CodeGenerator for RL78/G12 V2.04.06.02 [08 Nov 2021]
* Device(s) : R5F10268
* Device(s) : R5F10368
* Tool-Chain : CCRL
* Description : This file implements main function.
* Creation Date: 2023-11-20
* Creation Date: 2024-01-19
***********************************************************************************************************************/
/***********************************************************************************************************************

View File

@ -20,10 +20,10 @@
/***********************************************************************************************************************
* File Name : r_systeminit.c
* Version : CodeGenerator for RL78/G12 V2.04.06.02 [08 Nov 2021]
* Device(s) : R5F10268
* Device(s) : R5F10368
* Tool-Chain : CCRL
* Description : This file implements system initializing function.
* Creation Date: 2023-11-20
* Creation Date: 2024-01-19
***********************************************************************************************************************/
/***********************************************************************************************************************

View File

@ -4,7 +4,7 @@
#define LEFT_BOARD 1
#define RIGHT_BOARD 2
#define BOARDCFG LEFT_BOARD
#define BOARDCFG RIGHT_BOARD
#endif