STM32CubeMX开发01——全新的编程框架

代码使用cubemx工具开发,主要使用了函数指针和结构体方面的知识。程序具有非常具有可移植性,实用性。
STM32CubeMX开发01——全新的编程框架_第1张图片

一、main函数

main.c

/* USER CODE BEGIN Header */
/**
  ******************************************************************************
  * @file           : main.c
  * @brief          : Main program body
  ******************************************************************************
  * @attention
  *
  * 

© Copyright (c) 2020 STMicroelectronics. * All rights reserved.

* * This software component is licensed by ST under BSD 3-Clause license, * the "License"; You may not use this file except in compliance with the * License. You may obtain a copy of the License at: * opensour

你可能感兴趣的:(STM32框架式编程,cubemx,框架式编程)