STM32F407
项目工程
VFeng407
这个作者很懒,什么都没留下…
展开
-
STM32F时钟设置
HSE = 8MHz。/配置前将所有RCC重置为初始值/ RCC_DeInit(); /*这里选择 外部晶振(HSE)作为 时钟源,因此首先打开外部晶振*/ RCC_HSEConfig(RCC_HSE_ON); /*等待外部晶振进入稳定状态*/ while( RCC_WaitForHSEStartUp() != SUCCESS ); /* 到这一步为止,已有 HSE_VALUE = 8 MHz. PLL_VCO input clock = (HSE_VALUE or HSI原创 2021-12-01 11:20:17 · 324 阅读 · 0 评论 -
C语言反三角函数的实现
#include <stdio.h>#include<stdlib.h>#include<math.h>TestVlaue= asin(1)* 180.0/3.1416;TestVlaue=acos(1) * 180.0/3.1416;TestVlaue=atan(1) * 180.0/3.1416;原创 2021-11-25 18:20:57 · 5239 阅读 · 1 评论