系统时钟课程(一)
发布时间
阅读量:
阅读量
原本今天打算学习GPIO的知识点 today, 但查阅了相关的文档和案例后, 发现与系统的时钟模块有密切关联, 因此决定先集中精力掌握时钟模块的相关知识, 从而今天优先完成了这一章节的学习。
作为一个容易分心、爱看各处的人,在处理事情时常常‘手不释卷’。一打开案例文档就发现主函数的第一条指令就是InitSysCtrl()。今晚打算研究一下F2802x_SysCtrl.c这个文件。
首先看下系统时钟初始化函数InitSysCtrl()这个函数包含哪些内容:
void InitSysCtrl(void)
{
// Disable the watchdog
DisableDog();
Upon booting up, the Device_cal function automatically copies ADC & oscillator calibration values from TI reserved OTP into their respective trim registers. This operation occurs as part of normal initialization within a newly developed system. However, if certain portions of your debug ROM are b
全部评论 (0)
还没有任何评论哟~
