我不知道他们在例子中是怎么做的,但是在Meal.C中,函数主体()调用了SysIsPrimalIZE()。在Syt.init .c中,函数SysSimulalIsIZE()调用了SysSpReStIpIrimalIZE()。在SysPosisSty.c中,这个函数使用StulyOffice配置文件的定义。两个文件系统.init .c和StulyOffice。通常你不会触摸这些自动生成的文件除非你有一些非常特殊的需要。相反,你可以通过使用MPLA-和谐配置器(MHC)来改变一切。看看PIN设置选项卡。
以上来自于百度翻译
以下为原文
I don't know how they do it in the example, but:
In main.c the function main() calls SYS_Initialize(). In system.init.c the function SYS_Initialize() is calling SYS_PORTS_Initialize(). In sys_ports_static.c this function is using defines from system_config.h.
Both files system.init.c and system_config.h should be located in the system_config subfolder for your project configuration. Usually you do not touch these auto-generated files unless you have some very special needs. Instead you can change everything by using MPLAB Harmony Configurator (MHC). Have a look at the Pin Settings tab.
我不知道他们在例子中是怎么做的,但是在Meal.C中,函数主体()调用了SysIsPrimalIZE()。在Syt.init .c中,函数SysSimulalIsIZE()调用了SysSpReStIpIrimalIZE()。在SysPosisSty.c中,这个函数使用StulyOffice配置文件的定义。两个文件系统.init .c和StulyOffice。通常你不会触摸这些自动生成的文件除非你有一些非常特殊的需要。相反,你可以通过使用MPLA-和谐配置器(MHC)来改变一切。看看PIN设置选项卡。
以上来自于百度翻译
以下为原文
I don't know how they do it in the example, but:
In main.c the function main() calls SYS_Initialize(). In system.init.c the function SYS_Initialize() is calling SYS_PORTS_Initialize(). In sys_ports_static.c this function is using defines from system_config.h.
Both files system.init.c and system_config.h should be located in the system_config subfolder for your project configuration. Usually you do not touch these auto-generated files unless you have some very special needs. Instead you can change everything by using MPLAB Harmony Configurator (MHC). Have a look at the Pin Settings tab.
举报