资源简介
stm32 cubemx hal库 串口收发 中断接收 包括 MDK项目 和 stm32的cubemx 项目 使用hal最新的库函数开发 cubemx 4.26.1 有中文注释
代码片段和文件信息
/**
******************************************************************************
* @file system_stm32f1xx.c
* @author MCD Application Team
* @version V4.2.0
* @date 31-March-2017
* @brief CMSIS Cortex-M3 Device Peripheral Access layer System Source File.
*
* 1. This file provides two functions and one global variable to be called from
* user application:
* - SystemInit(): Setups the system clock (System clock source PLL Multiplier
* factors AHB/APBx prescalers and Flash settings).
* This function is called at startup just after reset and
* before branch to main program. This call is made inside
* the “startup_stm32f1xx_xx.s“ file.
*
* - SystemCoreClock variable: Contains the core clock (HCLK) it can be used
* by the user application to setup the SysTick
* timer or configure other parameters.
*
* - SystemCoreClockUpdate(): Updates the variable SystemCoreClock and must
* be called whenever the core clock is changed
* during program execution.
*
* 2. After each device reset the HSI (8 MHz) is used as system clock source.
* Then SystemInit() function is called in “startup_stm32f1xx_xx.s“ file to
* configure the system clock before to branch to main program.
*
* 4. The default value of HSE crystal is set to 8 MHz (or 25 MHz depending on
* the product used) refer to “HSE_VALUE“.
* When HSE is used as system clock source directly or through PLL and you
* are using different crystal you have to adapt the HSE value to your own
* configuration.
*
******************************************************************************
* @attention
*
* © COPYRIGHT(c) 2017 STMicroelectronics
*
* Redistribution and use in source and binary forms with or without modification
* are permitted provided that the following conditions are met:
* 1. Redistributions of source code must retain the above copyright notice
* this list of conditions and the following disclaimer.
* 2. Redistributions in binary form must reproduce the above copyright notice
* this list of conditions and the following disclaimer in the documentation
* and/or other materials provided with the distribution.
* 3. Neither the name of STMicroelectronics nor the names of its contributors
* may be used to endorse or promote products derived from this software
* without specific prior written permission.
*
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS “AS IS“
* AND ANY EXPRESS OR IMPLIED WARRANTIES INCLUDING BUT NOT LIMITED TO THE
* IMPLIED WARRANTIE
- 上一篇:模拟电子技术总结的知识点
- 下一篇:linux那些事儿之我是usb(第2版)文字版
相关资源
- 基于STM32的高速大容量数据采集存储系
- stm32驱动rc522程序
- STM32F407OV7725实时显示.rar
- STM32F103开发板的原理图及PCB
- stm32-ADC实验
- STM32使用IAP升级内部程序源码.rar
- 野火STM32F10X例程源码_超声波.rar
- zw_STM32-modbusmaster.zip
- STM32F103ZET6+FreeRTOS V8.2.3+kfifo巧夺天工
- STM32F103C8T6_FreeRTOS_V10.0_RTC作为FreeRTOS时
- STM32F103RCT6资料
- 基于stm32f103VET的ucosIII/ucos3工程keil5,
- stm32f407ZET驱动 1.8寸TFT_LCD
- OLED驱动库、例程、取字软件与资料
- STM32f407调试OV7620
- 基于STM32开发板的呼吸灯流水灯控制
- RT-Thread 串口IAP升级
- STM32开发板的多功能电子钟设计
- stm32f103rct6最小系统原理图、PCB及AD封
- 利用STM32硬件I2C使用加速度传感器AD
- 基于STM32平衡小车制作
- 基于STM32节点和阿里云LOT的物联网全栈
- 基于stm32的门禁系统
- 基于STM32的病床呼叫系统
- 手环程序stm32f051max30102
- STM32 UCOSii系统下多任务喂狗
- MT2503或FreeRTOS上移植MQTT协议
- 基于STM32单片机的门禁控制系统-软件
- stm32 hart通信程序
- STM32F107模块化入门指导书
评论
共有 条评论