F28027第二节课---系统时钟(一)

本来今天打算学习GPIO的,但看了相关的文档和案例后,发现跟系统的时钟有关联,所以今天先学习时钟这章节

我是一个比较浮躁的人,需要什么看什么,所以直接翻开案例文档,主函数第一个条语句就是InitSysCtrl(),所以今晚先分析F2802x_SysCtrl.c这个文件

首先看下系统时钟初始化函数InitSysCtrl()这个函数包含哪些内容:

void InitSysCtrl(void)
{
   // Disable the watchdog
   DisableDog();


    // *IMPORTANT*
    // The Device_cal function, which copies the ADC & oscillator calibration values
    // from TI reserved OTP into the appropriate trim registers, occurs automatically
    // in the Boot ROM. If the boot ROM code is bypassed during the debug process, the
    // following function MUST be called for the ADC and oscillators to function according
    // to specification. The clocks to the ADC MUST be enabled before calling this
    // function.
    // See the device data manual and/or the ADC Reference
    // Manual for more information.

     

  • 4
    点赞
  • 4
    收藏
    觉得还不错? 一键收藏
  • 3
    评论
评论 3
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值