资源简介
FREERTOS在STM32的移植,精简了文件夹结构,另外添加迪文串口屏功能
代码片段和文件信息
/******************** (C) COPYRIGHT 2008 STMicroelectronics ********************
* File Name : main.c
* Author : MCD Application Team
* Version : V2.0.1
* Date : 06/13/2008
* Description : Main program body
********************************************************************************
* THE PRESENT FIRMWARE WHICH IS FOR GUIDANCE ONLY AIMS AT PROVIDING CUSTOMERS
* WITH CODING INFORMATION REGARDING THEIR PRODUCTS IN ORDER FOR THEM TO SAVE TIME.
* AS A RESULT STMICROELECTRONICS SHALL NOT BE HELD LIABLE FOR ANY DIRECT
* INDIRECT OR CONSEQUENTIAL DAMAGES WITH RESPECT TO ANY CLAIMS ARISING FROM THE
* CONTENT OF SUCH FIRMWARE AND/OR THE USE MADE BY CUSTOMERS OF THE CODING
* INFORMATION CONTAINED HEREIN IN CONNECTION WITH THEIR PRODUCTS.
*******************************************************************************/
/* Includes ------------------------------------------------------------------*/
#include “stm32f10x_lib.h“
#include “MyFile.h“
#include “math.h“
#include “Valve.h“
#include “Motor.h“
extern volatile u8 LiqidStatus;
extern volatile u8 ELECTRODE_S_Status;
extern volatile u8 ELECTRODE_Drift_Status;
extern volatile u8 Sample_Status;
/* Local includes ------------------------------------------------------------*/
/* Private typedef -----------------------------------------------------------*/
/* Private define ------------------------------------------------------------*/
/* Private macro -------------------------------------------------------------*/
/* Private variables ---------------------------------------------------------*/
//volatile u8 LEDFlag=0; /* for return of the interrupt handling */
//volatile u16 TickCounterFlag=0; /* for return of the interrupt handling */
//volatile TestStatus TestRx;
volatile MotoContralCommand CanMotoContralCommand;
volatile ELECTRODE ElectrodeStatus[7];
volatile SYSTEM_STATUS_WORD SystemStatus;
extern vu16 ADCConvertedValue[10];
volatile ELECTRODE ElectrodeStatus[7];
/*------------------------------------------------------------
函数名:ShowError
功能:显示系统错误信息
参数:
备注:
-------------------------------------------------------------*/
void ShowError(u8 Pic_Adressu16 Start_Xu16 Start_Yu8 ErrorType)
{
Display_string(Pic_AdressStart_XStart_YStart_X+220Start_Y+32);
switch(ErrorType)
{
case 1:
intDsp(Start_XStart_Y“无定标液I“);
break;
case 2:
intDsp(Start_XStart_Y“无定标液II“);
break;
case 4:
intDsp(Start_XStart_Y“无定标液III“);
break;
case 8:
intDsp(Start_XStart_Y“无定标液IV“);
break;
case 16:
intDsp(Start_XStart_Y“M2_error“);
break;
case 32:
intDsp(Start_XStart_Y“M3_error“);
break;
}
}
void ShowError_S(u8 Pic_Adressu16 Start_Xu16 Start_Yu8 ErrorType)
{
Display_string(Pic_AdressStart_XStart_YStart_X+220Start_Y+32);
switch(ErrorType)
{
case 1:
intDsp(Start_XStart_Y“PH斜率超范围“);
br
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
目录 0 2013-01-04 17:54 移植_OVER\
目录 0 2013-01-04 17:54 移植_OVER\.svn\
文件 3 2012-12-20 09:17 移植_OVER\.svn\entries
文件 3 2012-12-20 09:17 移植_OVER\.svn\format
目录 0 2013-01-04 17:54 移植_OVER\.svn\pristine\
目录 0 2013-01-04 17:55 移植_OVER\.svn\pristine\00\
文件 9588 2012-12-20 09:19 移植_OVER\.svn\pristine\00\009924dbc6438bf00a1e693b7f329edb9289974b.svn-ba
目录 0 2013-01-04 17:55 移植_OVER\.svn\pristine\01\
文件 34043 2012-12-20 09:19 移植_OVER\.svn\pristine\01\01037cd0cc89d87defd344c89a78f3417984db41.svn-ba
目录 0 2013-01-04 17:55 移植_OVER\.svn\pristine\04\
文件 16309 2012-12-20 09:19 移植_OVER\.svn\pristine\04\0427bb06746f42cfdf645343412f48289429c3e4.svn-ba
目录 0 2013-01-04 17:55 移植_OVER\.svn\pristine\06\
文件 15098 2012-12-20 09:19 移植_OVER\.svn\pristine\06\0664d99c62994890c06b71efa3fda41caaf6c992.svn-ba
目录 0 2013-01-04 17:55 移植_OVER\.svn\pristine\09\
文件 13659 2012-12-20 09:19 移植_OVER\.svn\pristine\09\0928efca65679c1f5b0e17f9082530bd5cee1db6.svn-ba
目录 0 2013-01-04 17:55 移植_OVER\.svn\pristine\0a\
文件 53184 2012-12-20 09:19 移植_OVER\.svn\pristine\0a\0a178c0b9d633a6d31a569a0ae994a5713751da9.svn-ba
文件 9178 2012-12-20 09:19 移植_OVER\.svn\pristine\0a\0a822cb536ffec88156bf1fdf9bdf1331ee77d5a.svn-ba
目录 0 2013-01-04 17:55 移植_OVER\.svn\pristine\0e\
文件 8832 2012-12-20 09:19 移植_OVER\.svn\pristine\0e\0ec9601516000436f4f67e574c44bbdbe560531d.svn-ba
目录 0 2013-01-04 17:55 移植_OVER\.svn\pristine\10\
文件 3157 2012-12-20 09:19 移植_OVER\.svn\pristine\10\103eeb8e184ec0365b9ed05073a7c13500638d71.svn-ba
目录 0 2013-01-04 17:55 移植_OVER\.svn\pristine\15\
文件 3548 2012-12-20 09:19 移植_OVER\.svn\pristine\15\158257d8ac9251f95fa8725bf6dd3f15534db169.svn-ba
目录 0 2013-01-04 17:55 移植_OVER\.svn\pristine\17\
文件 4615 2012-12-20 09:19 移植_OVER\.svn\pristine\17\17ff8f1dd2474f4b8f08e09e8c2e90b13512e768.svn-ba
目录 0 2013-01-04 17:55 移植_OVER\.svn\pristine\18\
文件 9836 2012-12-20 09:19 移植_OVER\.svn\pristine\18\18441ac7eeb962106c58ca3e2831ee46adb25d45.svn-ba
目录 0 2013-01-04 17:55 移植_OVER\.svn\pristine\1a\
文件 26622 2012-12-20 09:19 移植_OVER\.svn\pristine\1a\1a0ca388e425c29116272a6ed5152fcd8fdf269a.svn-ba
文件 7083 2012-12-20 09:19 移植_OVER\.svn\pristine\1a\1a149b7854fd33362635bfdf34e16796016957d5.svn-ba
............此处省略561个文件信息
- 上一篇:MCX312马达使用说明书
- 下一篇:高阶谱估计pdf学习课件
相关资源
- S32K144使用printf格式化输出
- ESP32蓝牙架构官方
- STM32L476 FreeRTOS系统移植项目
- 中英两版FreeRTOS_Reference_Manual_V10.0.0.
- STM32F103_FREERTOS_MPU6050DMP_USART_Timer输入捕
- STM32F103RCT6单片机在串口屏上打印正弦
- FreeRTOS 采样ADC-20200413.zip
- 基于SMT32 CubeMX的FreeRTOS工程创建及Fr
- STM32F767+FreeRTOS+LWIP移植成功(工程文件
- STM32+FreeRTOS+W5500+MQTT
- FreeRTOS移植工程
- stm32f407 ili9341屏幕驱动 HAL库 带FreeR
- 迪文调试助手
- 实验1 跑马灯FreeRTOS实验.zip
- STM32_F1系列FreeRTOS工程模板
- lwip_ping.rar
- STM32F407FreeRTOS开发手册V1_0
- FreeRTOS+内核实现与应用开发实战--基于
- FreeRTOS操作详细系统教程
- STM32F103C8T6+FreeRTOS+Keil5 代码亲测完美
- FreeRTOS和FreeMODBUS移植到STM32F407傻瓜教
- FreeRTOS V7.4.2(官方原版)
- stm32f103c8t6单片机 FreeRTOS源码
- stm32f103VET6-FreeRTOS-enc28j60-Lwip
- freertos 使用培训
- STM32F103ZET6+FreeRTOS V8.2.3+kfifo巧夺天工
- STM32F103C8T6_FreeRTOS_V10.0_RTC作为FreeRTOS时
- MT2503或FreeRTOS上移植MQTT协议
- LwIP+freertos工程LwIP2.1.2最新版本
- stm32控制迪文液晶
评论
共有 条评论