-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathCpu2_Main.c
38 lines (34 loc) · 1.13 KB
/
Cpu2_Main.c
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
/*LLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLL
【平 台】北京龙邱智能科技TC2/3xx核心板
【编 写】chiusir
【E-mail】[email protected]
【软件版本】V1.1 版权所有,单位使用请先联系授权
【最后更新】2021年1月18日
【相关信息参考下列地址】
【网 站】http://www.lqist.cn
【淘宝店铺】http://longqiu.taobao.com
------------------------------------------------
【dev.env.】AURIX Development Studio1.2.2及以上版本
【Target 】 TC2/3xx
【Crystal】 20.000Mhz
【SYS PLL】 200/300MHz
________________________________________________________________
基于iLLD_1_0_1_11_0底层程序,
使用例程的时候,建议采用没有空格的英文路径,
=================================================================
程序配套视频地址:https://space.bilibili.com/95313236
QQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQ*/
#include "..\Driver\include.h"//各个模块的头文件
#include <Main.h>
void core2_main(void)
{
// 开启CPU总中断
IfxCpu_enableInterrupts();
// 关闭看门狗
IfxScuWdt_disableCpuWatchdog(IfxScuWdt_getCpuWatchdogPassword());
// 等待CPU0 初始化完成
while(!IfxCpu_acquireMutex(&mutexCpu0InitIsOk));
while(1)
{
}
}