摘要: 三个文件:c_cpp_properties.json、launch.json、tasks.json 1.c_cpp_properties.json的生成 第一步: 第二步 则会生成 2.tasks.json 3.launch.json 至此。 提示:如果不使用GDB调试,则前两个文件就可以了。要使用 阅读全文
posted @ 2023-02-25 12:43 涧落水寒 阅读(25) 评论(0) 推荐(0) 编辑
摘要: 参考资料: 1.狄泰软件学院的C语言教程 2.《armlink_user_guide》、《ARM® Developer Suite Compilers and Libraries Guide》、《ARM® Developer Suite Linker and Utilities Guide》 3.h 阅读全文
posted @ 2023-02-11 22:06 涧落水寒 阅读(101) 评论(0) 推荐(0) 编辑
摘要: 参考资料 1.https://blog.csdn.net/weixin_42328389/article/details/120656722 2.https://space.bilibili.com/678329477/channel/seriesdetail?sid=427350 3.https: 阅读全文
posted @ 2023-02-11 22:05 涧落水寒 阅读(118) 评论(0) 推荐(0) 编辑
摘要: 来自《TMS320C28x Optimizing C_C++ Compiler User's Guide》的章节6.4,文档编号:SPRU514R 阅读全文
posted @ 2022-09-20 10:53 涧落水寒 阅读(31) 评论(0) 推荐(0) 编辑
摘要: 为什么要使用定点数/IQ格式数:用整数表示小数!!!!!! IQ格式数:本质上是整数,有可能是int类型、有可能是long类型。 在32位机中,int类型和long类型所占的字节数相等。(这里有误,在TMS320C28x中,int占16bits,long占32bit) 使用IQ格式数的目的:加快运算 阅读全文
posted @ 2022-09-19 19:12 涧落水寒 阅读(610) 评论(0) 推荐(0) 编辑
摘要: 模型建立 参数选择及输出波形 ——————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————— 阅读全文
posted @ 2022-08-15 17:01 涧落水寒 阅读(218) 评论(0) 推荐(0) 编辑
摘要: 首先,查看文件 stm32f4xx_hal_tim.c 关于如何使用 TIM 外设的说明。 ##### How to use this driver ##### [..] (#) Initialize the TIM low level resources by implementing the f 阅读全文
posted @ 2022-07-08 15:40 涧落水寒 阅读(1129) 评论(0) 推荐(0) 编辑
摘要: 首先,查看文件 stm32f4xx_hal_gpio.c 关于如何使用GPIO外设的说明。 ##### How to use this driver ##### [..] (#) Enable the GPIO AHB clock using the following function: __HA 阅读全文
posted @ 2022-07-08 10:21 涧落水寒 阅读(186) 评论(0) 推荐(0) 编辑
摘要: typedef struct { _iq Freq; // Input: Ramp frequency (pu) _iq StepAngleMax; // Parameter: Maximum step angle (pu) _iq Angle; // Variable: Step angle (p 阅读全文
posted @ 2022-04-23 12:23 涧落水寒 阅读(194) 评论(0) 推荐(0) 编辑
摘要: 线性网络的叠加方法: 为每个独立源构成一个其余独立源置为零的子电路。将电压源置为零意味着用短路替换电压源,将电流源置为零意味着用开路替换电流源。 对于每个给定独立源对应的子电路,求该独立源单独作用的响应。这一步求得若干子响应。 通过将这些子响应相加求得全响应。 戴维南定理:任意线性网络在一对给定接线 阅读全文
posted @ 2022-04-11 22:50 涧落水寒 阅读(411) 评论(0) 推荐(0) 编辑