在线时间50 小时
UID3398043
注册时间2017-6-27
NXP金币0
TA的每日心情 | 开心 2020-8-5 09:59 |
---|
签到天数: 80 天 连续签到: 1 天 [LV.6]常住居民II
中级会员
 
- 积分
- 498
- 最后登录
- 2020-9-3
|
发表于 2018-3-28 10:35:12
|
显示全部楼层
找到这个函数了吗?在kinetis_sysinit.c文件
void __init_hardware()
{
SCB_VTOR = (uint32_t)__vector_table; /* Set the interrupt vector table position */
/* Disable the Watchdog because it may reset the core before entering main(). */
// WDOG_TOVAL = 0xE803; // setting timeout value
// WDOG_CS2 = WDOG_CS2_CLK_MASK; // setting 1-kHz clock source
// WDOG_CS1 = 0x23; // Watchdog disabled,
// Watchdog interrupts are disabled. Watchdog resets are not delayed,
// Updates allowed. Software can modify the watchdog configuration registers within 128 bus clocks after performing the unlock write sequence,
// Watchdog test mode disabled,
// Watchdog disabled in chip debug mode,
// Watchdog enabled in chip wait mode,
// Watchdog enabled in chip stop mode.
}
|
|