TI2000dsp各外设头文件编写及声明学习记录

一个通常的外设,例如GPIO ,TI给其配备了两个h文件,一个用于寄存器结构体数据类型的定义和对这种类型变量的声明,另一个用于做宏定义。我感觉合在一个h文件里面就可以了。

各外设源文件里面定义的对外设初始化的函数等TI默认定义的其他函数的声明,没有在对应的c文件所对应的H文件里面,而是采用了一个统一的F2807x_GlobalPrototypes.h头文件来统一对所有的函数做外部声明。因此对于自己定义的源文件和头文件,我觉得最好模块化,源文件和头文件一一对应。结构体定义、函数声明、宏定义,包含头文件,都放在一个头文件里面。至于在头文件中的函数声明,是用外部函数声明还是用内部函数声明,这个目前还没有搞清楚。   

在头文件里将所有的函数都声明为外部函数,行吗  

  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 打赏
    打赏
  • 0
    评论
TI Training Resources TI offers multiple training opportunities to aid in the development of your signal processing application: WORKSHOPS – TI workshops are a fast and efficient way to learn how to use and implement designs on TI DSPs. The workshops are designed to develop a strong working knowledge of TI DSPs through lectures and practical hands-on exercises. All workshops are facilitated by qualified TI representatives and are based on DSP Starter Kits (DSKs), Evaluation Modules (EVMs) or simulators. We have a range of One-day, Application, and Multi-day Workshops. ONE-DAY WORKSHOPS – One-day workshops are introductory courses designed to offer product or technology knowledge. These workshops include a significant hands-on section and are ideal introductions to get started with TI DSPs. APPLICATION WORKSHOPS – Application workshops are introductory courses that teach integration of a DSP into an application. Additionally, these workshops focus on the application functionality. MULTI-DAY WORKSHOPS – Three- or four-day, hands-on, advanced, educational courses are highly technical and designed for engineers who want to sharpen their design and development skills. Managed by TI’s Technical Training Staff, these workshops include extensive hands-on labs emphasizing the demonstration and application of techniques and skills. TI DEVELOPER CONFERENCE – Whether you are a novice or experienced user, learn about the latest in signal processing design from industry experts through demonstrations, presentations, hands-on training, networking activities and more. ONLINE TRAINING – A variety of free online training courses are available to you at your fingertips 24/7. Learn more about how to design your signal processing application with self-paced online training courses covering DSP and Analog applications, easy-to-use software development tools and more.

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

量子力学和生命科学

写作提升自己,打赏更能鼓励我

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

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

余额充值