更新 匀速测试 菜单界面切换
This commit is contained in:
parent
e1d5b4d37d
commit
4acd1a6f1a
|
@ -1,3 +1,10 @@
|
||||||
{
|
{
|
||||||
"C_Cpp.errorSquiggles": "disabled"
|
"C_Cpp.errorSquiggles": "disabled",
|
||||||
|
"files.associations": {
|
||||||
|
"app.h": "c",
|
||||||
|
"key.h": "c",
|
||||||
|
"main.h": "c",
|
||||||
|
"oled2.h": "c",
|
||||||
|
"uniform.h": "c"
|
||||||
|
}
|
||||||
}
|
}
|
|
@ -1,8 +1,71 @@
|
||||||
|
/*
|
||||||
|
* @Author: wujunchao 24472040@qq.com
|
||||||
|
* @Date: 2024-05-21 13:47:11
|
||||||
|
* @LastEditors: wujunchao 24472040@qq.com
|
||||||
|
* @LastEditTime: 2024-10-14 15:22:14
|
||||||
|
* @FilePath: \mfps\App\Inc\app.h
|
||||||
|
* @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
|
||||||
|
*/
|
||||||
#ifndef _APP_H
|
#ifndef _APP_H
|
||||||
#define _APP_H
|
#define _APP_H
|
||||||
|
|
||||||
|
#include "MyLib.h"
|
||||||
|
#include "m1820.h"
|
||||||
|
#include "oled2.h"
|
||||||
|
#include "ads1220.h"
|
||||||
|
#include "tmc5160.h"
|
||||||
|
#include "main.h"
|
||||||
|
#include "i2c.h"
|
||||||
|
#include "spi.h"
|
||||||
|
#include "tim.h"
|
||||||
|
#include "usart.h"
|
||||||
|
#include "Uart1.h"
|
||||||
|
#include "gpio.h"
|
||||||
|
#include "key.h"
|
||||||
|
#include "motor.h"
|
||||||
|
#include "delay.h"
|
||||||
|
#include "stdio.h"
|
||||||
|
#include "stdlib.h"
|
||||||
|
#include "string.h"
|
||||||
|
#include "flash.h"
|
||||||
|
|
||||||
void app_act(void);
|
#define ocin1 HAL_GPIO_ReadPin(OCIN1_GPIO_Port,OCIN1_Pin)
|
||||||
|
#define ocin2 HAL_GPIO_ReadPin(OCIN2_GPIO_Port,OCIN2_Pin)
|
||||||
|
|
||||||
|
#define GREEN_ON HAL_GPIO_WritePin(LED_NOR_GPIO_Port, LED_NOR_Pin, GPIO_PIN_RESET)
|
||||||
|
#define GREEN_OFF HAL_GPIO_WritePin(LED_NOR_GPIO_Port, LED_NOR_Pin, GPIO_PIN_SET)
|
||||||
|
#define BLUE_ON HAL_GPIO_WritePin(LED_ERR_GPIO_Port, LED_ERR_Pin, GPIO_PIN_RESET)
|
||||||
|
#define BLUE_OFF HAL_GPIO_WritePin(LED_ERR_GPIO_Port, LED_ERR_Pin, GPIO_PIN_SET)
|
||||||
|
|
||||||
|
void app_act (void);
|
||||||
|
void motor_protect_ads(float threshold_neg, float threshold_pos);
|
||||||
|
void motor_protect_ocin(void);
|
||||||
|
|
||||||
|
extern int it_1ms_cnt ,it_1ms_flag;
|
||||||
|
extern int it_200ms_cnt ,it_200ms_flag;
|
||||||
|
extern int it_5ms_cnt ,it_5ms_flag;
|
||||||
|
extern int it_10ms_cnt ,it_10ms_flag;
|
||||||
|
extern int it_50ms_cnt ,it_50ms_flag;
|
||||||
|
extern int it_100ms_cnt ,it_100ms_flag;
|
||||||
|
extern int it_300ms_cnt ,it_300ms_flag;
|
||||||
|
extern int it_500ms_cnt ,it_500ms_flag;
|
||||||
|
extern int it_1000ms_cnt ,it_1000ms_flag;
|
||||||
|
extern int it_5000ms_cnt,it_5000ms_flag;
|
||||||
|
extern int tick_500ms;
|
||||||
|
extern uint8_t rx_data2[6];
|
||||||
|
extern uint8_t magnet_tx[7];
|
||||||
|
extern unsigned int smp_intr_temp[2];
|
||||||
|
extern unsigned int smp_dpth_temp[2];
|
||||||
|
extern uint16_t flash_wrt[6];
|
||||||
|
extern uint16_t flash_rd[6];
|
||||||
|
//extern int I2C_ERROR_TIMES ,I2C_BUSY_TIMES ,I2C_TIMEOUT_TIMES ,I2C_OK_TIMES ;
|
||||||
|
|
||||||
|
extern signed int first_xa_32;//<2F><>¼<EFBFBD>ϵ<EFBFBD>ʱ<EFBFBD><CAB1><EFBFBD>λ<EFBFBD><CEBB>
|
||||||
|
|
||||||
|
extern float X_ads1220;
|
||||||
|
extern float TEMP_M1820;
|
||||||
|
extern float X_ads1220_prc;
|
||||||
|
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
|
@ -12,6 +12,7 @@ void Key_Scan(void);
|
||||||
// K1, K2, K3三者模式独立
|
// K1, K2, K3三者模式独立
|
||||||
//按键功能
|
//按键功能
|
||||||
void key_act(void);
|
void key_act(void);
|
||||||
|
void key_act_new(void);
|
||||||
void msg_clr(void);
|
void msg_clr(void);
|
||||||
|
|
||||||
extern uint32_t rampmode ;
|
extern uint32_t rampmode ;
|
||||||
|
@ -22,4 +23,8 @@ extern uint32_t acc_max;
|
||||||
extern uint32_t dcr_1;
|
extern uint32_t dcr_1;
|
||||||
extern uint32_t dcr_max;
|
extern uint32_t dcr_max;
|
||||||
|
|
||||||
|
extern uint8_t old2new_flag;
|
||||||
|
extern uint8_t speed_select;
|
||||||
|
extern uint8_t speed_ensure;
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
|
@ -18,6 +18,8 @@ extern char magnet_select[2];
|
||||||
extern char magnet_s_ok[2];
|
extern char magnet_s_ok[2];
|
||||||
extern char magnet_motor_sw;
|
extern char magnet_motor_sw;
|
||||||
|
|
||||||
|
extern char disp_new;
|
||||||
|
|
||||||
void OLED2_Send(unsigned char *data, unsigned char len);
|
void OLED2_Send(unsigned char *data, unsigned char len);
|
||||||
void OLED2_Init(void);
|
void OLED2_Init(void);
|
||||||
void OLED_DisplayTest(void);
|
void OLED_DisplayTest(void);
|
||||||
|
@ -32,54 +34,56 @@ void OLED_SetPos(unsigned char x, unsigned char y);
|
||||||
void SSD1306_WriteData(unsigned char data);
|
void SSD1306_WriteData(unsigned char data);
|
||||||
void SSD1306_WriteCmd(unsigned char cmd);
|
void SSD1306_WriteCmd(unsigned char cmd);
|
||||||
|
|
||||||
/*******************************************模拟I2C***********************************************************/
|
void OLED_Menu_New(void);
|
||||||
|
|
||||||
|
/*******************************************ģ<><C4A3>I2C***********************************************************/
|
||||||
#include <inttypes.h>
|
#include <inttypes.h>
|
||||||
#include "main.h"
|
#include "main.h"
|
||||||
|
|
||||||
#define BSP_I2C_WR 0 /* 写控制bit */
|
#define BSP_I2C_WR 0 /* д<EFBFBD><EFBFBD><EFBFBD><EFBFBD>bit */
|
||||||
#define BSP_I2C_RD 1 /* 读控制bit */
|
#define BSP_I2C_RD 1 /* <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>bit */
|
||||||
|
|
||||||
/* 定义I2C总线连接的GPIO端口时钟控制 */
|
/* <EFBFBD><EFBFBD><EFBFBD><EFBFBD>I2C<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ӵ<EFBFBD>GPIO<EFBFBD>˿<EFBFBD>ʱ<EFBFBD>ӿ<EFBFBD><EFBFBD><EFBFBD> */
|
||||||
|
|
||||||
#define I2Cx_SDA_GPIO_CLK_ENABLE() __HAL_RCC_GPIOB_CLK_ENABLE()
|
#define I2Cx_SDA_GPIO_CLK_ENABLE() __HAL_RCC_GPIOB_CLK_ENABLE()
|
||||||
#define I2Cx_SCL_GPIO_CLK_ENABLE() __HAL_RCC_GPIOB_CLK_ENABLE()
|
#define I2Cx_SCL_GPIO_CLK_ENABLE() __HAL_RCC_GPIOB_CLK_ENABLE()
|
||||||
|
|
||||||
/* 定义I2C总线连接的GPIO端口, 用户只需要修改下面3行代码即可任意改变SCL和SDA的引脚 */
|
/* <EFBFBD><EFBFBD><EFBFBD><EFBFBD>I2C<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ӵ<EFBFBD>GPIO<EFBFBD>˿<EFBFBD>, <20>û<EFBFBD>ֻ<EFBFBD><D6BB>Ҫ<EFBFBD><EFBFBD><DEB8><EFBFBD><EFBFBD><EFBFBD>3<EFBFBD>д<EFBFBD><D0B4>뼴<EFBFBD><EBBCB4><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ı<EFBFBD>SCL<43><4C>SDA<44><41><EFBFBD><EFBFBD><EFBFBD><EFBFBD> */
|
||||||
#define BSP_GPIO_PORT_I2C GPIOB /* GPIO端口 */
|
#define BSP_GPIO_PORT_I2C GPIOB /* GPIO<EFBFBD>˿<EFBFBD> */
|
||||||
#define BSP_I2C_SCL_PIN GPIO_PIN_6 /* 连接到SCL时钟线的GPIO */
|
#define BSP_I2C_SCL_PIN GPIO_PIN_6 /* <EFBFBD><EFBFBD><EFBFBD>ӵ<EFBFBD>SCLʱ<EFBFBD><EFBFBD><EFBFBD>ߵ<EFBFBD>GPIO */
|
||||||
#define BSP_I2C_SDA_PIN GPIO_PIN_7 /* 连接到SDA数据线的GPIO */
|
#define BSP_I2C_SDA_PIN GPIO_PIN_7 /* <EFBFBD><EFBFBD><EFBFBD>ӵ<EFBFBD>SDA<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ߵ<EFBFBD>GPIO */
|
||||||
|
|
||||||
/* 定义读写SCL和SDA的宏,已增加代码的可移植性和可阅读性 */
|
/* <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>дSCL<EFBFBD><EFBFBD>SDA<EFBFBD>ĺ꣬<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ӵ<EFBFBD><EFBFBD><EFBFBD>Ŀ<EFBFBD><EFBFBD><EFBFBD>ֲ<EFBFBD>ԺͿ<EFBFBD><EFBFBD>Ķ<EFBFBD><EFBFBD><EFBFBD> */
|
||||||
//#if 0 /* 条件编译: 1 选择GPIO的库函数实现IO读写 */
|
//#if 0 /* <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>룺 1 ѡ<><D1A1>GPIO<49>Ŀ⺯<C4BF><E2BAAF>ʵ<EFBFBD><CAB5>IO<49><4F>д */
|
||||||
//#define BSP_I2C_SCL_1() digitalH(BSP_GPIO_PORT_I2C, BSP_I2C_SCL_PIN) /* SCL = 1 */
|
//#define BSP_I2C_SCL_1() digitalH(BSP_GPIO_PORT_I2C, BSP_I2C_SCL_PIN) /* SCL = 1 */
|
||||||
//#define BSP_I2C_SCL_0() digitalL(BSP_GPIO_PORT_I2C, BSP_I2C_SCL_PIN) /* SCL = 0 */
|
//#define BSP_I2C_SCL_0() digitalL(BSP_GPIO_PORT_I2C, BSP_I2C_SCL_PIN) /* SCL = 0 */
|
||||||
|
|
||||||
//#define BSP_I2C_SDA_1() digitalH(BSP_GPIO_PORT_I2C, BSP_I2C_SDA_PIN) /* SDA = 1 */
|
//#define BSP_I2C_SDA_1() digitalH(BSP_GPIO_PORT_I2C, BSP_I2C_SDA_PIN) /* SDA = 1 */
|
||||||
//#define BSP_I2C_SDA_0() digitalL(BSP_GPIO_PORT_I2C, BSP_I2C_SDA_PIN) /* SDA = 0 */
|
//#define BSP_I2C_SDA_0() digitalL(BSP_GPIO_PORT_I2C, BSP_I2C_SDA_PIN) /* SDA = 0 */
|
||||||
//
|
//
|
||||||
// //#define BSP_I2C_SDA_READ() GPIO_ReadInputDataBit(BSP_GPIO_PORT_I2C, BSP_I2C_SDA_PIN) /* 读SDA口线状态 */
|
// //#define BSP_I2C_SDA_READ() GPIO_ReadInputDataBit(BSP_GPIO_PORT_I2C, BSP_I2C_SDA_PIN) /* <EFBFBD><EFBFBD>SDA<EFBFBD><EFBFBD><EFBFBD><EFBFBD>״̬ */
|
||||||
//#define BSP_I2C_SDA_READ() ((BSP_GPIO_PORT_I2C->IDR & BSP_I2C_SDA_PIN) != 0) /* 读SDA口线状态 */
|
//#define BSP_I2C_SDA_READ() ((BSP_GPIO_PORT_I2C->IDR & BSP_I2C_SDA_PIN) != 0) /* <EFBFBD><EFBFBD>SDA<EFBFBD><EFBFBD><EFBFBD><EFBFBD>״̬ */
|
||||||
|
|
||||||
//#else /* 这个分支选择直接寄存器操作实现IO读写 */
|
//#else /* <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>֧ѡ<EFBFBD><EFBFBD>ֱ<EFBFBD>ӼĴ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʵ<EFBFBD><EFBFBD>IO<EFBFBD><EFBFBD>д */
|
||||||
/* 注意:如下写法,在IAR最高级别优化时,会被编译器错误优化 */
|
/*<EFBFBD><EFBFBD>ע<EFBFBD>⣺<EFBFBD><EFBFBD><EFBFBD><EFBFBD>д<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>IAR<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ż<EFBFBD>ʱ<EFBFBD><EFBFBD><EFBFBD>ᱻ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ż<EFBFBD> */
|
||||||
#define BSP_I2C_SCL_1() HAL_GPIO_WritePin(GPIOB,GPIO_PIN_6,GPIO_PIN_SET) //BSP_GPIO_PORT_I2C->BSRR = (uint32_t)BSP_I2C_SCL_PIN /* SCL = 1 */
|
#define BSP_I2C_SCL_1() HAL_GPIO_WritePin(GPIOB,GPIO_PIN_6,GPIO_PIN_SET) //BSP_GPIO_PORT_I2C->BSRR = (uint32_t)BSP_I2C_SCL_PIN /* SCL = 1 */
|
||||||
#define BSP_I2C_SCL_0() HAL_GPIO_WritePin(GPIOB,GPIO_PIN_6,GPIO_PIN_RESET) //BSP_GPIO_PORT_I2C->BSRR = (uint32_t)BSP_I2C_SCL_PIN << 16U /* SCL = 0 */
|
#define BSP_I2C_SCL_0() HAL_GPIO_WritePin(GPIOB,GPIO_PIN_6,GPIO_PIN_RESET) //BSP_GPIO_PORT_I2C->BSRR = (uint32_t)BSP_I2C_SCL_PIN << 16U /* SCL = 0 */
|
||||||
|
|
||||||
#define BSP_I2C_SDA_1() HAL_GPIO_WritePin(GPIOB,GPIO_PIN_7,GPIO_PIN_SET) //BSP_GPIO_PORT_I2C->BSRR = (uint32_t)BSP_I2C_SDA_PIN /* SDA = 1 */
|
#define BSP_I2C_SDA_1() HAL_GPIO_WritePin(GPIOB,GPIO_PIN_7,GPIO_PIN_SET) //BSP_GPIO_PORT_I2C->BSRR = (uint32_t)BSP_I2C_SDA_PIN /* SDA = 1 */
|
||||||
#define BSP_I2C_SDA_0() HAL_GPIO_WritePin(GPIOB,GPIO_PIN_7,GPIO_PIN_RESET) //BSP_GPIO_PORT_I2C->BSRR = (uint32_t)BSP_I2C_SDA_PIN << 16U /* SDA = 0 */
|
#define BSP_I2C_SDA_0() HAL_GPIO_WritePin(GPIOB,GPIO_PIN_7,GPIO_PIN_RESET) //BSP_GPIO_PORT_I2C->BSRR = (uint32_t)BSP_I2C_SDA_PIN << 16U /* SDA = 0 */
|
||||||
|
|
||||||
#define BSP_I2C_SDA_READ() HAL_GPIO_ReadPin(GPIOB,GPIO_PIN_7) //((BSP_GPIO_PORT_I2C->IDR & BSP_I2C_SDA_PIN) != 0) /* 读SDA口线状态 */
|
#define BSP_I2C_SDA_READ() HAL_GPIO_ReadPin(GPIOB,GPIO_PIN_7) //((BSP_GPIO_PORT_I2C->IDR & BSP_I2C_SDA_PIN) != 0) /* <EFBFBD><EFBFBD>SDA<EFBFBD><EFBFBD><EFBFBD><EFBFBD>״̬ */
|
||||||
//#endif
|
//#endif
|
||||||
|
|
||||||
///* 直接操作寄存器的方法控制IO */
|
///* ֱ<EFBFBD>Ӳ<EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ĵ<EFBFBD><EFBFBD><EFBFBD><EFBFBD>ķ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>IO */
|
||||||
//#define digitalH(p, i) \
|
//#define digitalH(p, i) \
|
||||||
// { \
|
// { \
|
||||||
// p->BSRR = i; \
|
// p->BSRR = i; \
|
||||||
// } // 设置为高电平
|
// } // <EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ϊ<EFBFBD>ߵ<EFBFBD>ƽ
|
||||||
//#define digitalL(p, i) \
|
//#define digitalL(p, i) \
|
||||||
// { \
|
// { \
|
||||||
// p->BSRR = (uint32_t)i << 16; \
|
// p->BSRR = (uint32_t)i << 16; \
|
||||||
// } // 输出低电平
|
// } // <EFBFBD><EFBFBD><EFBFBD><EFBFBD>͵<EFBFBD>ƽ
|
||||||
|
|
||||||
void i2c_CfgGpio(void);
|
void i2c_CfgGpio(void);
|
||||||
void i2c_Start(void);
|
void i2c_Start(void);
|
||||||
|
@ -94,6 +98,6 @@ void i2c_NAck(void);
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/*******************************************模拟I2C***********************************************************/
|
/*******************************************ģ<EFBFBD><EFBFBD>I2C***********************************************************/
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
|
@ -0,0 +1,9 @@
|
||||||
|
#ifndef _UNIFORM_H_
|
||||||
|
#define _UNIFORM_H_
|
||||||
|
|
||||||
|
#include "app.h"
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
#endif
|
|
@ -21,17 +21,24 @@ void app_act (void)
|
||||||
{
|
{
|
||||||
if(flash_rd_flag == 0) //只读取一次
|
if(flash_rd_flag == 0) //只读取一次
|
||||||
{
|
{
|
||||||
|
flash_rd_flag = 1;
|
||||||
|
|
||||||
STMFLASH_Read(FLASH_SAVE_ADDR,flash_rd,6); //读取当前flash内容
|
STMFLASH_Read(FLASH_SAVE_ADDR,flash_rd,6); //读取当前flash内容
|
||||||
|
|
||||||
magnet_middle = flash_rd[0]; //默认以#25的中点为标准,#50和#110的位置预留
|
magnet_middle = flash_rd[0]; //默认以#25的中点为标准,#50和#110的位置预留
|
||||||
|
|
||||||
flash_rd_flag = 1;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
// 按键操作
|
// 按键操作
|
||||||
// Key_Scan();//按键扫描(已放入定时器中断)
|
// Key_Scan(); //按键扫描(已放入定时器中断)
|
||||||
key_act(); //按键执行功能
|
if(old2new_flag == 0)
|
||||||
|
{
|
||||||
|
key_act(); //执行旧版功能
|
||||||
|
}else
|
||||||
|
{
|
||||||
|
key_act_new(); //执行新版功能
|
||||||
|
}
|
||||||
|
|
||||||
//2 定时器
|
//2 定时器
|
||||||
// if(it_5000ms_flag == 1)
|
// if(it_5000ms_flag == 1)
|
||||||
|
@ -53,11 +60,11 @@ void app_act (void)
|
||||||
|
|
||||||
// hal_check_tx = HAL_UART_Transmit_IT(&huart2, magnet_tx ,7); //485发送
|
// hal_check_tx = HAL_UART_Transmit_IT(&huart2, magnet_tx ,7); //485发送
|
||||||
|
|
||||||
TMC5160_SPIReadInt(0x12,TSTEP_RAW); //读取TSTEP
|
// TMC5160_SPIReadInt(0x12,TSTEP_RAW); //读取TSTEP
|
||||||
TSTEP = Raw_32(TSTEP_RAW);
|
// TSTEP = Raw_32(TSTEP_RAW);
|
||||||
TMC5160_SPIReadInt(DRV_STAT_ADDR,DRV_STAT); //读取驱动器状态
|
// TMC5160_SPIReadInt(DRV_STAT_ADDR,DRV_STAT); //读取驱动器状态
|
||||||
DRV_STAT_32 = Raw_32(DRV_STAT); // 16-20bit为实际电机电流
|
// DRV_STAT_32 = Raw_32(DRV_STAT); // 16-20bit为实际电机电流
|
||||||
SG_RESULT = ((uint16_t)DRV_STAT_32) & 0x03FF; //驱动器状态共32bit,其中0-9bit为负载值,读到的负载值越低,负载越高,0代表最高负载
|
// SG_RESULT = ((uint16_t)DRV_STAT_32) & 0x03FF; //驱动器状态共32bit,其中0-9bit为负载值,读到的负载值越低,负载越高,0代表最高负载
|
||||||
|
|
||||||
get_state();
|
get_state();
|
||||||
|
|
||||||
|
@ -65,8 +72,13 @@ void app_act (void)
|
||||||
|
|
||||||
TEMP_M1820 = M1820_Get_Temp(); //温度采集
|
TEMP_M1820 = M1820_Get_Temp(); //温度采集
|
||||||
|
|
||||||
|
if(old2new_flag == 0)
|
||||||
|
{//旧版
|
||||||
OLED_MenuTest(); //OLED显示,菜单
|
OLED_MenuTest(); //OLED显示,菜单
|
||||||
|
}else
|
||||||
|
{//新版
|
||||||
|
OLED_Menu_New();
|
||||||
|
}
|
||||||
X_ads1220 = Xads1220_filter(25,75); //电阻尺滤波结果(电压值,mv)
|
X_ads1220 = Xads1220_filter(25,75); //电阻尺滤波结果(电压值,mv)
|
||||||
|
|
||||||
|
|
||||||
|
@ -92,6 +104,8 @@ void app_act (void)
|
||||||
|
|
||||||
|
|
||||||
//9 LED灯状态指示
|
//9 LED灯状态指示
|
||||||
|
if(old2new_flag == 0)
|
||||||
|
{ //旧版
|
||||||
if( Motor_Run == 0 )
|
if( Motor_Run == 0 )
|
||||||
{
|
{
|
||||||
HAL_GPIO_WritePin(LED_NOR_GPIO_Port, LED_NOR_Pin, GPIO_PIN_SET); //停止状态两灯熄灭
|
HAL_GPIO_WritePin(LED_NOR_GPIO_Port, LED_NOR_Pin, GPIO_PIN_SET); //停止状态两灯熄灭
|
||||||
|
@ -130,6 +144,9 @@ void app_act (void)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}else
|
||||||
|
{//新版
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
116
App/Src/key.c
116
App/Src/key.c
|
@ -8,6 +8,7 @@ unsigned char key_val[3] = {0}; //按键值
|
||||||
|
|
||||||
#define KEY_CNT 5
|
#define KEY_CNT 5
|
||||||
|
|
||||||
|
uint8_t com_flag = 0; //组合键状态,用于描述功能是否已经完成过一次
|
||||||
void Key_Scan(void) // 扫描K1-K3的状态
|
void Key_Scan(void) // 扫描K1-K3的状态
|
||||||
{
|
{
|
||||||
key_val[0] = HAL_GPIO_ReadPin(KEY1_GPIO_Port, KEY1_Pin);
|
key_val[0] = HAL_GPIO_ReadPin(KEY1_GPIO_Port, KEY1_Pin);
|
||||||
|
@ -32,6 +33,11 @@ void Key_Scan(void) // 扫描K1-K3的状态
|
||||||
key_msg[key_i] = 0; //完成对应功能后,再清空事件
|
key_msg[key_i] = 0; //完成对应功能后,再清空事件
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if( (key_val[1] == 1) && (key_val[2] == 1) )
|
||||||
|
{
|
||||||
|
com_flag = 0;
|
||||||
|
}
|
||||||
|
|
||||||
//按键按顺序增加
|
//按键按顺序增加
|
||||||
key_i++;
|
key_i++;
|
||||||
if(key_i >= 3) key_i = 0;
|
if(key_i >= 3) key_i = 0;
|
||||||
|
@ -44,12 +50,16 @@ void msg_clr()
|
||||||
key_msg[2] = 0;
|
key_msg[2] = 0;
|
||||||
}
|
}
|
||||||
//按键功能
|
//按键功能
|
||||||
|
uint8_t old2new_flag = 0;
|
||||||
|
int tick_current = -1; //当前时刻
|
||||||
|
int tick_previous = -1; //计时开始的时刻
|
||||||
void key_act(void)
|
void key_act(void)
|
||||||
{
|
{
|
||||||
|
if(key_val[1] == 1 || key_val[2] == 1) //组合键是否按下
|
||||||
|
{ //未按下组合键时,执行旧版程序
|
||||||
if(key_msg[0] == 1) //K1完成按下后
|
if(key_msg[0] == 1) //K1完成按下后
|
||||||
{
|
{
|
||||||
oled_en = 1;
|
oled_en = 1; //确认标志
|
||||||
|
|
||||||
key_msg[0] = 2;
|
key_msg[0] = 2;
|
||||||
}
|
}
|
||||||
|
@ -60,7 +70,7 @@ void key_act(void)
|
||||||
{
|
{
|
||||||
case 2: //菜单选择
|
case 2: //菜单选择
|
||||||
{
|
{
|
||||||
if( oled_s[0] < 3 )
|
if( oled_s[0] < 3 ) //0-1-2-3循环
|
||||||
{
|
{
|
||||||
oled_s[0]++;
|
oled_s[0]++;
|
||||||
}else
|
}else
|
||||||
|
@ -69,14 +79,14 @@ void key_act(void)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
case 4: //运行模式切换
|
case 4: //运行模式切换 0-1-2循环
|
||||||
{
|
{
|
||||||
run_mode_temp[0] = (run_mode_temp[0] - 1) * (run_mode_temp[0] > 0 ) + 2 * (run_mode_temp[0] == 0);
|
run_mode_temp[0] = (run_mode_temp[0] - 1) * (run_mode_temp[0] > 0 ) + 2 * (run_mode_temp[0] == 0);
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
case 5: //运行步长调节,仅限点动模式
|
case 5: //运行步长调节,仅限点动模式
|
||||||
{
|
{
|
||||||
if(run_mode_temp[0] == 0)
|
if(run_mode_temp[0] == 0) //0-15之间循环
|
||||||
{
|
{
|
||||||
if(step_temp[0] > 1)
|
if(step_temp[0] > 1)
|
||||||
{
|
{
|
||||||
|
@ -90,17 +100,17 @@ void key_act(void)
|
||||||
break;
|
break;
|
||||||
case 6:
|
case 6:
|
||||||
{
|
{
|
||||||
direc_temp[0] = 2*(direc_temp[0] == 1) + 1*(direc_temp[0] == 2);
|
direc_temp[0] = 2*(direc_temp[0] == 1) + 1*(direc_temp[0] == 2);//1-2之间循环
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
case 7: //Cancel & OK 切换
|
case 7: //Cancel & OK 切换
|
||||||
{
|
{
|
||||||
oled_s_motorok[0] = !oled_s_motorok[0];
|
oled_s_motorok[0] = !oled_s_motorok[0]; //0-1
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
case 9:
|
case 9:
|
||||||
{
|
{
|
||||||
if(smp_intr_temp[0] > 5)
|
if(smp_intr_temp[0] > 5) //5-10
|
||||||
{
|
{
|
||||||
smp_intr_temp[0]--;
|
smp_intr_temp[0]--;
|
||||||
}else
|
}else
|
||||||
|
@ -111,7 +121,7 @@ void key_act(void)
|
||||||
break;
|
break;
|
||||||
case 10:
|
case 10:
|
||||||
{
|
{
|
||||||
if(smp_dpth_temp[0] > 10)
|
if(smp_dpth_temp[0] > 10) //10-20
|
||||||
{
|
{
|
||||||
smp_dpth_temp[0]--;
|
smp_dpth_temp[0]--;
|
||||||
}else
|
}else
|
||||||
|
@ -127,18 +137,18 @@ void key_act(void)
|
||||||
break;
|
break;
|
||||||
case 12:
|
case 12:
|
||||||
{
|
{
|
||||||
magnet_select[0] = (magnet_select[0] - 1)*(magnet_select[0] > 0) + 2*(magnet_select[0] == 0);
|
magnet_select[0] = (magnet_select[0] - 1)*(magnet_select[0] > 0) + 2*(magnet_select[0] == 0);//0-1-2
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
case 13:
|
case 13:
|
||||||
{
|
{
|
||||||
if(magnet_motor_sw != 0)
|
if(magnet_motor_sw != 0) //无论时1正转还是2反转,按下后都停
|
||||||
{
|
{
|
||||||
magnet_motor_sw = 0;
|
magnet_motor_sw = 0;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
magnet_motor_sw = 2;
|
magnet_motor_sw = 2; //停止状态下切换至反转
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
@ -252,12 +262,90 @@ void key_act(void)
|
||||||
|
|
||||||
key_msg[2] = 2;
|
key_msg[2] = 2;
|
||||||
}
|
}
|
||||||
|
}else if ( (old2new_flag == 0)&&(com_flag == 0) ) //按下组合键后,执行新版程序
|
||||||
|
{
|
||||||
|
if(tick_previous == -1) //开始计时
|
||||||
|
{
|
||||||
|
tick_previous = tick_500ms;
|
||||||
|
}
|
||||||
|
tick_current = tick_500ms;
|
||||||
|
if( (tick_current - tick_previous) >= 2*3 ) //计时达到 N*500ms后执行功能
|
||||||
|
{
|
||||||
|
//计时结束,开始执行功能
|
||||||
|
if( (key_val[1] == 0) && (key_val[2] == 0) )
|
||||||
|
{
|
||||||
|
old2new_flag = 1; //0->1 切换至新版
|
||||||
|
disp_new = 0;
|
||||||
|
com_flag = 1;
|
||||||
|
}else //计时中途松开
|
||||||
|
{
|
||||||
|
}
|
||||||
|
//功能执行结束
|
||||||
|
tick_previous = -1;
|
||||||
|
tick_current = -1;
|
||||||
|
}else if( (tick_current - tick_previous) < 0 ) //溢出判断,溢出后重新开始下次计时
|
||||||
|
{
|
||||||
|
tick_previous = -1;
|
||||||
|
tick_current = -1;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
void key_act_new(void)
|
||||||
|
{
|
||||||
|
if(key_val[1] == 1 || key_val[2] == 1) //组合键是否按下
|
||||||
|
{ //未按下组合键时,执行新版程序
|
||||||
|
if(key_msg[0] == 1)
|
||||||
|
{
|
||||||
|
GREEN_ON;
|
||||||
|
speed_ensure = 1;
|
||||||
|
key_msg[0] = 2;
|
||||||
|
}
|
||||||
|
if(key_msg[1] == 1)
|
||||||
|
{
|
||||||
|
BLUE_ON;
|
||||||
|
speed_select = (speed_select <= 0)?(2):(speed_select - 1);
|
||||||
|
key_msg[1] = 2;
|
||||||
|
}
|
||||||
|
if(key_msg[2] == 1)
|
||||||
|
{
|
||||||
|
GREEN_OFF;
|
||||||
|
BLUE_OFF;
|
||||||
|
speed_select = (speed_select >= 2)?(0):(speed_select + 1);
|
||||||
|
key_msg[2] = 2;
|
||||||
|
}
|
||||||
|
|
||||||
|
}else if ( (old2new_flag == 1)&&(com_flag == 0) ) //按下组合键后,执行旧版程序
|
||||||
|
{
|
||||||
|
if(tick_previous == -1) //开始计时
|
||||||
|
{
|
||||||
|
tick_previous = tick_500ms;
|
||||||
|
}
|
||||||
|
tick_current = tick_500ms;
|
||||||
|
if( (tick_current - tick_previous) >= 2*3 ) //计时达到 N*500ms后执行功能
|
||||||
|
{
|
||||||
|
//计时结束,开始执行功能
|
||||||
|
if( (key_val[1] == 0) && (key_val[2] == 0) )
|
||||||
|
{
|
||||||
|
old2new_flag = 0; //0->1 切换至旧版
|
||||||
|
oled_p = 1;
|
||||||
|
com_flag = 1;
|
||||||
|
}else //计时中途松开
|
||||||
|
{
|
||||||
|
}
|
||||||
|
//功能执行结束
|
||||||
|
tick_previous = -1;
|
||||||
|
tick_current = -1;
|
||||||
|
}else if( (tick_current - tick_previous) < 0 ) //溢出判断,溢出后重新开始下次计时
|
||||||
|
{
|
||||||
|
tick_previous = -1;
|
||||||
|
tick_current = -1;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
171
App/Src/motor.c
171
App/Src/motor.c
|
@ -13,8 +13,8 @@
|
||||||
int magnet_middle = 1240; //磁条中点
|
int magnet_middle = 1240; //磁条中点
|
||||||
int magnet_start = 800; //磁条范围-起点mv
|
int magnet_start = 800; //磁条范围-起点mv
|
||||||
int magnet_end = 1200; //磁条范围-终点mv
|
int magnet_end = 1200; //磁条范围-终点mv
|
||||||
#define motor_start 200 //电机运动范围起点mv
|
#define motor_start 150 //电机运动范围起点mv
|
||||||
#define motor_end 1800 //电机运动范围终点mv
|
#define motor_end 1850 //电机运动范围终点mv
|
||||||
|
|
||||||
int Travle_Flag = 0; //0 直 1 角
|
int Travle_Flag = 0; //0 直 1 角
|
||||||
char Motor_Run = 2; //0 停止 1 运行 2 运行到起始点 3 运行到结束点
|
char Motor_Run = 2; //0 停止 1 运行 2 运行到起始点 3 运行到结束点
|
||||||
|
@ -59,9 +59,9 @@ void ClrRunmotorStep(void)
|
||||||
}
|
}
|
||||||
|
|
||||||
//处理马达运行
|
//处理马达运行
|
||||||
#define SPEED_MIN 0x00003A98
|
#define SPEED_MIN 0x00003A98 //最大速度,用于复位&远距离接近
|
||||||
#define SPEED_NORMAL 0x00007530
|
#define SPEED_NORMAL 0x00007530 //常规速度,用于步进
|
||||||
#define SPEED_MAX 0x0001D4C0
|
#define SPEED_MAX 0x0001D4C0 //最小速度,用于近距离接近
|
||||||
int first_flag = 1;
|
int first_flag = 1;
|
||||||
void Deal_Motor(void)
|
void Deal_Motor(void)
|
||||||
{
|
{
|
||||||
|
@ -74,7 +74,7 @@ void Deal_Motor(void)
|
||||||
{
|
{
|
||||||
tmc5160_operate(MOTOR_STOP,0);
|
tmc5160_operate(MOTOR_STOP,0);
|
||||||
|
|
||||||
if( speed_max != SPEED_NORMAL)
|
if( speed_max != SPEED_NORMAL) //速度调整至常规速度,调整完成后不再进入此处
|
||||||
{
|
{
|
||||||
speed_max = SPEED_NORMAL; //VMAX
|
speed_max = SPEED_NORMAL; //VMAX
|
||||||
TMC5160_SPIWriteInt(VMAX_ADDR, speed_max,1);
|
TMC5160_SPIWriteInt(VMAX_ADDR, speed_max,1);
|
||||||
|
@ -82,6 +82,7 @@ void Deal_Motor(void)
|
||||||
speed_1 = speed_max / 2; //V1
|
speed_1 = speed_max / 2; //V1
|
||||||
TMC5160_SPIWriteInt(V1_ADDR, speed_1,1);
|
TMC5160_SPIWriteInt(V1_ADDR, speed_1,1);
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
else if((Motor_Run == 1) && (first_flag == 0)) //运行,上电复位完成后才生效
|
else if((Motor_Run == 1) && (first_flag == 0)) //运行,上电复位完成后才生效
|
||||||
{
|
{
|
||||||
|
@ -114,11 +115,25 @@ void Deal_Motor(void)
|
||||||
}
|
}
|
||||||
else if(Motor_Run == 2)//运行到起始位
|
else if(Motor_Run == 2)//运行到起始位
|
||||||
{
|
{
|
||||||
|
int rt2_stop_cnt = 0; //停止计数,防止while卡死
|
||||||
if( ocin1 == 0 )//判断是否到达始限位
|
if( ocin1 == 0 ) //判断是否到达始限位1
|
||||||
{
|
{
|
||||||
//记录第一次复位时电机位置
|
tmc5160_operate(MOTOR_STOP,0); //立即停止
|
||||||
if(first_flag)
|
while(busy_flag == 1) //加速停止动作
|
||||||
|
{
|
||||||
|
tmc5160_operate(MOTOR_STOP,0);
|
||||||
|
|
||||||
|
rt2_stop_cnt++;
|
||||||
|
if(rt2_stop_cnt > 10000)
|
||||||
|
{
|
||||||
|
rt2_stop_cnt = 0;
|
||||||
|
break; //防止卡死
|
||||||
|
}
|
||||||
|
|
||||||
|
if(busy_flag == 0) rt2_stop_cnt = 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
if(first_flag == 1) //停止后记录第一次复位时电机位置
|
||||||
{
|
{
|
||||||
TMC5160_SPIReadInt(XACTUAL_ADDR,XA); //读取实际位置XACTUAL
|
TMC5160_SPIReadInt(XACTUAL_ADDR,XA); //读取实际位置XACTUAL
|
||||||
XA_32 = Raw_32(XA);
|
XA_32 = Raw_32(XA);
|
||||||
|
@ -127,19 +142,34 @@ void Deal_Motor(void)
|
||||||
first_flag = 0;
|
first_flag = 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
motor_direc = MOTOR_POS;
|
motor_direc = MOTOR_POS; //在限位1处仅允许正向运动
|
||||||
Runmotor_step = 0;
|
Runmotor_step = 0;
|
||||||
Motor_Run = 0;
|
Motor_Run = 0;
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
if( (X_ads1220 <= (motor_start + 50) ) && (X_ads1220 != 0) )
|
if( (X_ads1220 <= (motor_start) ) && (X_ads1220 != 0) ) //电机起点限位,上电初期读取到的X值为0
|
||||||
{
|
{
|
||||||
|
tmc5160_operate(MOTOR_STOP,0); //立即停止
|
||||||
|
while(busy_flag == 1) //加速停止动作
|
||||||
|
{
|
||||||
|
tmc5160_operate(MOTOR_STOP,0);
|
||||||
|
|
||||||
|
rt2_stop_cnt++;
|
||||||
|
if(rt2_stop_cnt > 10000)
|
||||||
|
{
|
||||||
|
rt2_stop_cnt = 0;
|
||||||
|
break; //防止卡死
|
||||||
|
}
|
||||||
|
|
||||||
|
if(busy_flag == 0) rt2_stop_cnt = 0;
|
||||||
|
}
|
||||||
|
|
||||||
motor_direc = MOTOR_POS;
|
motor_direc = MOTOR_POS;
|
||||||
Runmotor_step = 0;
|
Runmotor_step = 0;
|
||||||
Motor_Run = 0;
|
Motor_Run = 0;
|
||||||
//记录第一次复位时电机位置
|
|
||||||
if(first_flag)
|
if(first_flag) //记录第一次复位时电机位置
|
||||||
{
|
{
|
||||||
TMC5160_SPIReadInt(XACTUAL_ADDR,XA); //读取实际位置XACTUAL
|
TMC5160_SPIReadInt(XACTUAL_ADDR,XA); //读取实际位置XACTUAL
|
||||||
XA_32 = Raw_32(XA);
|
XA_32 = Raw_32(XA);
|
||||||
|
@ -151,9 +181,9 @@ void Deal_Motor(void)
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
if((ocin2 == 1) && (ocin2 == 1)) //未到达限位时,快速大步长运行
|
if((ocin2 == 1) && (ocin2 == 1) && (X_ads1220 != 0)) //未到达限位时,快速大步长运行,上电初期:ocin1 == 1,ocin2 == 1,Xads == 0
|
||||||
{
|
{
|
||||||
if( speed_max != SPEED_MAX)
|
if( speed_max != SPEED_MAX ) //目标速度调整为最大速度,调整完成后不再进入此处
|
||||||
{
|
{
|
||||||
speed_max = SPEED_MAX;
|
speed_max = SPEED_MAX;
|
||||||
TMC5160_SPIWriteInt(VMAX_ADDR, speed_max,1); // VMAX
|
TMC5160_SPIWriteInt(VMAX_ADDR, speed_max,1); // VMAX
|
||||||
|
@ -168,23 +198,54 @@ void Deal_Motor(void)
|
||||||
}
|
}
|
||||||
else if((Motor_Run == 3) && (first_flag == 0)) //运行到结束位
|
else if((Motor_Run == 3) && (first_flag == 0)) //运行到结束位
|
||||||
{
|
{
|
||||||
if( ocin2 == 0 )//判断是否到达终限位
|
int rt3_stop_cnt = 0;
|
||||||
|
if( ocin2 == 0 ) //判断是否到达终限位
|
||||||
{
|
{
|
||||||
|
tmc5160_operate(MOTOR_STOP,0); //立即停止
|
||||||
|
while(busy_flag == 1) //加速停止动作
|
||||||
|
{
|
||||||
|
tmc5160_operate(MOTOR_STOP,0);
|
||||||
|
|
||||||
|
rt3_stop_cnt++;
|
||||||
|
if(rt3_stop_cnt > 10000)
|
||||||
|
{
|
||||||
|
rt3_stop_cnt = 0;
|
||||||
|
break; //防止卡死
|
||||||
|
}
|
||||||
|
|
||||||
|
if(busy_flag == 0) rt3_stop_cnt = 0;
|
||||||
|
}
|
||||||
|
|
||||||
motor_direc = MOTOR_REV;
|
motor_direc = MOTOR_REV;
|
||||||
Runmotor_step = 0;
|
Runmotor_step = 0;
|
||||||
Motor_Run = 0;
|
Motor_Run = 0;
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
if(X_ads1220 >= (motor_end - 50))
|
if(X_ads1220 >= (motor_end)) //达到电机终点限位后停止
|
||||||
{
|
{
|
||||||
|
tmc5160_operate(MOTOR_STOP,0); //立即停止
|
||||||
|
while(busy_flag == 1) //加速停止动作
|
||||||
|
{
|
||||||
|
tmc5160_operate(MOTOR_STOP,0);
|
||||||
|
|
||||||
|
rt3_stop_cnt++;
|
||||||
|
if(rt3_stop_cnt > 10000)
|
||||||
|
{
|
||||||
|
rt3_stop_cnt = 0;
|
||||||
|
break; //防止卡死
|
||||||
|
}
|
||||||
|
|
||||||
|
if(busy_flag == 0) rt3_stop_cnt = 0;
|
||||||
|
}
|
||||||
|
|
||||||
motor_direc = MOTOR_REV;
|
motor_direc = MOTOR_REV;
|
||||||
Runmotor_step = 0;
|
Runmotor_step = 0;
|
||||||
Motor_Run = 0;
|
Motor_Run = 0;
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
if((ocin2 == 1) && (ocin2 == 1))
|
if((ocin2 == 1) && (ocin2 == 1) && (X_ads1220 != 0)) //上电初期Xads值为零
|
||||||
{
|
{
|
||||||
if( speed_max != SPEED_MAX)
|
if( speed_max != SPEED_MAX)
|
||||||
{
|
{
|
||||||
|
@ -271,18 +332,18 @@ void Deal_Motor(void)
|
||||||
//电机点动运行,方案三(直行程)
|
//电机点动运行,方案三(直行程)
|
||||||
void mov_step(void)
|
void mov_step(void)
|
||||||
{
|
{
|
||||||
if( (ocin1 == 0) && (motor_direc != MOTOR_POS) )//判断是否到达始限位
|
if( (ocin1 == 0) && (motor_direc != MOTOR_POS) )//判断是否到达始限位,考虑到再次启动的问题,判断条件增加了方向
|
||||||
{
|
{
|
||||||
motor_direc = MOTOR_POS;
|
motor_direc = MOTOR_POS; //到达限位后反向
|
||||||
Runmotor_step = 0;
|
Runmotor_step = 0;
|
||||||
Motor_Run = 0;
|
Motor_Run = 0; //跳转至静止模式
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
if( (ocin2 == 0) && (motor_direc != MOTOR_REV) )//判断是否到达终限位
|
if( (ocin2 == 0) && (motor_direc != MOTOR_REV) )//判断是否到达终限位
|
||||||
{
|
{
|
||||||
motor_direc = MOTOR_REV;
|
motor_direc = MOTOR_REV; //到达限位后反向
|
||||||
Runmotor_step = 0;
|
Runmotor_step = 0;
|
||||||
Motor_Run = 0;
|
Motor_Run = 0; //跳转至静止模式
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -300,13 +361,13 @@ void mov_step(void)
|
||||||
{
|
{
|
||||||
if(Run_Step == 0) //上位机无消息时使用下位机的控制参数Run_mm
|
if(Run_Step == 0) //上位机无消息时使用下位机的控制参数Run_mm
|
||||||
{
|
{
|
||||||
tmc5160_operate(motor_direc,Run_mm * 10240);
|
tmc5160_operate(motor_direc,Run_mm * 10240); //1 Run_mm = 1 mm
|
||||||
|
|
||||||
}else
|
}else
|
||||||
{
|
{
|
||||||
tmc5160_operate(motor_direc,Run_Step * 1024); //Runstep cm
|
tmc5160_operate(motor_direc,Run_Step * 1024); //1 Runstep = 10 mm
|
||||||
}
|
}
|
||||||
if(busy_flag == 0)
|
if(busy_flag == 0) //电机到达目标位置后busy_flag == 0
|
||||||
{
|
{
|
||||||
Runmotor_step++;
|
Runmotor_step++;
|
||||||
}
|
}
|
||||||
|
@ -351,7 +412,8 @@ void mov_step(void)
|
||||||
|
|
||||||
//电机连续运行,方案一(直行程)
|
//电机连续运行,方案一(直行程)
|
||||||
int stop_cnt = 0;
|
int stop_cnt = 0;
|
||||||
uint32_t motor_x_start = 0,motor_x_end = 0;
|
signed int motor_x_start = 0,motor_x_end = 0;
|
||||||
|
uint8_t loop_flag = 0; //阶段标志,0阶段:接近磁条,1阶段:磁条范围内正向步进,2阶段:磁条范围内反向步进,3阶段:离开磁条返回并复位。
|
||||||
void mov_loop1(void)
|
void mov_loop1(void)
|
||||||
{
|
{
|
||||||
switch(Runmotor_step)
|
switch(Runmotor_step)
|
||||||
|
@ -366,13 +428,14 @@ void mov_loop1(void)
|
||||||
mov_flag = 0;
|
mov_flag = 0;
|
||||||
busy_flag = 0;
|
busy_flag = 0;
|
||||||
Runmotor_step++;
|
Runmotor_step++;
|
||||||
|
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
case 2 : //电机运行过程,运行至磁条所在范围
|
case 2 : //电机运行过程,运行至磁条所在范围
|
||||||
{
|
{
|
||||||
if( X_ads1220 >= magnet_start ) //第一次到达磁条范围的起点,以电阻尺为准
|
if( X_ads1220 >= magnet_start ) //第一次到达磁条范围的起点,以电阻尺为准
|
||||||
{
|
{
|
||||||
tmc5160_operate(MOTOR_STOP,0);
|
tmc5160_operate(MOTOR_STOP,0); //立即停止
|
||||||
while(busy_flag == 1) //加速停止动作
|
while(busy_flag == 1) //加速停止动作
|
||||||
{
|
{
|
||||||
tmc5160_operate(MOTOR_STOP,0);
|
tmc5160_operate(MOTOR_STOP,0);
|
||||||
|
@ -387,6 +450,8 @@ void mov_loop1(void)
|
||||||
if(busy_flag == 0) stop_cnt = 0;
|
if(busy_flag == 0) stop_cnt = 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
loop_flag = 1; //0阶段结束,进入1阶段
|
||||||
|
|
||||||
TMC5160_SPIReadInt(XACTUAL_ADDR,XA); //停止后读取实际位置XACTUAL
|
TMC5160_SPIReadInt(XACTUAL_ADDR,XA); //停止后读取实际位置XACTUAL
|
||||||
XA_32 = Raw_32(XA);
|
XA_32 = Raw_32(XA);
|
||||||
|
|
||||||
|
@ -411,7 +476,7 @@ void mov_loop1(void)
|
||||||
break;
|
break;
|
||||||
case 210:
|
case 210:
|
||||||
{
|
{
|
||||||
motor_x_end = motor_x_start + 10240*(210+6);
|
motor_x_end = motor_x_start + 10240*(210+5);
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
|
@ -431,7 +496,7 @@ void mov_loop1(void)
|
||||||
Runmotor_step++;
|
Runmotor_step++;
|
||||||
Runmotor_Nums = 0;
|
Runmotor_Nums = 0;
|
||||||
get_state(); //读取电机当前状态
|
get_state(); //读取电机当前状态
|
||||||
send_set_resp(0xF001, OBJ_DEVICE_ADDR, DATA_LEN, motor_data);//数据发送
|
send_set_resp(0xF001, OBJ_DEVICE_ADDR, DATA_LEN, motor_data); //数据发送
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
@ -443,18 +508,18 @@ void mov_loop1(void)
|
||||||
// send_set_resp(0xF001, OBJ_DEVICE_ADDR, DATA_LEN, motor_data);//数据发送
|
// send_set_resp(0xF001, OBJ_DEVICE_ADDR, DATA_LEN, motor_data);//数据发送
|
||||||
}
|
}
|
||||||
|
|
||||||
if( X_ads1220 <= magnet_start - 150) //距离磁条范围比较远时,快速运动
|
if( X_ads1220 <= magnet_start - 150) //与磁条起点距离超过150时,快速运动,以电阻尺读数为准
|
||||||
{
|
{
|
||||||
if( speed_max != SPEED_MAX)
|
if( speed_max != SPEED_MAX)
|
||||||
{
|
{
|
||||||
speed_max = SPEED_MAX;
|
speed_max = SPEED_MAX;
|
||||||
TMC5160_SPIWriteInt(VMAX_ADDR, speed_max,1); // VMAX
|
TMC5160_SPIWriteInt(VMAX_ADDR, speed_max,1); //VMAX
|
||||||
|
|
||||||
speed_1 = speed_max / 2; //V1
|
speed_1 = speed_max / 2; //V1
|
||||||
TMC5160_SPIWriteInt(V1_ADDR, speed_1,1);
|
TMC5160_SPIWriteInt(V1_ADDR, speed_1,1);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else //距离磁条范围比较近时,减速至最小速度
|
else //与磁条起点距离小于等于150时,减速至最小速度
|
||||||
{
|
{
|
||||||
if( speed_max != SPEED_MIN)
|
if( speed_max != SPEED_MIN)
|
||||||
{
|
{
|
||||||
|
@ -466,16 +531,16 @@ void mov_loop1(void)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
tmc5160_operate( motor_direc, 51200*30 );
|
tmc5160_operate( motor_direc, 51200*30 ); //以150mm的大步长循环运动
|
||||||
|
|
||||||
Runmotor_step = 6;//在case 2 - 6 之间循环,2运动,6限位
|
Runmotor_step = 6; //在case 2 - 6 之间循环,2运动,6限位
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
case 3 :
|
case 3 :
|
||||||
{
|
{
|
||||||
//进入磁条范围后,以小步长进行运动,单位为mm
|
//进入磁条范围后,以小步长进行运动,单位为mm
|
||||||
if( speed_max != SPEED_NORMAL)
|
if( speed_max != SPEED_NORMAL) //速度降低至常规速度
|
||||||
{
|
{
|
||||||
speed_max = SPEED_NORMAL; //VMAX
|
speed_max = SPEED_NORMAL; //VMAX
|
||||||
TMC5160_SPIWriteInt(VMAX_ADDR, speed_max,1);
|
TMC5160_SPIWriteInt(VMAX_ADDR, speed_max,1);
|
||||||
|
@ -484,12 +549,15 @@ void mov_loop1(void)
|
||||||
TMC5160_SPIWriteInt(V1_ADDR, speed_1,1);
|
TMC5160_SPIWriteInt(V1_ADDR, speed_1,1);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if(loop_flag == 1) motor_direc = MOTOR_POS;
|
||||||
|
if(loop_flag == 2) motor_direc = MOTOR_REV;
|
||||||
|
|
||||||
if(Run_Step == 0)
|
if(Run_Step == 0)
|
||||||
{
|
{
|
||||||
tmc5160_operate(motor_direc,Run_mm*10240); //5mm-51200,1mm-10240
|
tmc5160_operate(motor_direc,Run_mm*10240); //下位机固定为1mm步长,OLED2.c→OLED_MenuTest()→case5
|
||||||
}else
|
}else
|
||||||
{
|
{
|
||||||
tmc5160_operate(motor_direc,Run_Step*1024);
|
tmc5160_operate(motor_direc,Run_Step*1024); //上位机给定步长
|
||||||
}
|
}
|
||||||
if(busy_flag == 0) //到达指定位置后释放busy_flag
|
if(busy_flag == 0) //到达指定位置后释放busy_flag
|
||||||
{
|
{
|
||||||
|
@ -544,8 +612,8 @@ void mov_loop1(void)
|
||||||
{
|
{
|
||||||
if((XA_32 >= motor_x_end) && (motor_direc != MOTOR_REV)) //到达磁条范围终点后,停止并反向
|
if((XA_32 >= motor_x_end) && (motor_direc != MOTOR_REV)) //到达磁条范围终点后,停止并反向
|
||||||
{
|
{
|
||||||
|
loop_flag = 2; //1阶段结束,进入2阶段
|
||||||
tmc5160_operate(MOTOR_STOP,0);
|
tmc5160_operate(MOTOR_STOP,0); //立即停止
|
||||||
while(busy_flag == 1) //加速停止动作
|
while(busy_flag == 1) //加速停止动作
|
||||||
{
|
{
|
||||||
tmc5160_operate(MOTOR_STOP,0);
|
tmc5160_operate(MOTOR_STOP,0);
|
||||||
|
@ -562,7 +630,7 @@ void mov_loop1(void)
|
||||||
|
|
||||||
if(busy_flag == 0)
|
if(busy_flag == 0)
|
||||||
{
|
{
|
||||||
motor_direc = MOTOR_REV; //反转
|
motor_direc = MOTOR_REV; //停止后反向
|
||||||
Runmotor_Nums = 0;
|
Runmotor_Nums = 0;
|
||||||
Runmotor_step = 7;
|
Runmotor_step = 7;
|
||||||
}
|
}
|
||||||
|
@ -571,8 +639,8 @@ void mov_loop1(void)
|
||||||
{
|
{
|
||||||
if((X_ads1220 >= magnet_end) && (motor_direc != MOTOR_REV)) //到达磁条范围终点后,停止并反向
|
if((X_ads1220 >= magnet_end) && (motor_direc != MOTOR_REV)) //到达磁条范围终点后,停止并反向
|
||||||
{
|
{
|
||||||
|
loop_flag = 2; //1阶段结束,进入2阶段
|
||||||
tmc5160_operate(MOTOR_STOP,0);
|
tmc5160_operate(MOTOR_STOP,0); //立即停止
|
||||||
while(busy_flag == 1) //加速停止动作
|
while(busy_flag == 1) //加速停止动作
|
||||||
{
|
{
|
||||||
tmc5160_operate(MOTOR_STOP,0);
|
tmc5160_operate(MOTOR_STOP,0);
|
||||||
|
@ -589,7 +657,7 @@ void mov_loop1(void)
|
||||||
|
|
||||||
if(busy_flag == 0)
|
if(busy_flag == 0)
|
||||||
{
|
{
|
||||||
motor_direc = MOTOR_REV; //反转
|
motor_direc = MOTOR_REV; //停止后反转
|
||||||
Runmotor_Nums = 0;
|
Runmotor_Nums = 0;
|
||||||
Runmotor_step = 7;
|
Runmotor_step = 7;
|
||||||
}
|
}
|
||||||
|
@ -600,7 +668,8 @@ void mov_loop1(void)
|
||||||
|
|
||||||
if((XA_32 <= motor_x_start) && (motor_direc == MOTOR_REV)) //反向回到磁条范围起点后,复位
|
if((XA_32 <= motor_x_start) && (motor_direc == MOTOR_REV)) //反向回到磁条范围起点后,复位
|
||||||
{
|
{
|
||||||
tmc5160_operate(MOTOR_STOP,0);
|
loop_flag = 3; //2阶段结束,进入3阶段
|
||||||
|
tmc5160_operate(MOTOR_STOP,0); //立即停止
|
||||||
while(busy_flag == 1) //加速停止动作
|
while(busy_flag == 1) //加速停止动作
|
||||||
{
|
{
|
||||||
tmc5160_operate(MOTOR_STOP,0);
|
tmc5160_operate(MOTOR_STOP,0);
|
||||||
|
@ -615,7 +684,7 @@ void mov_loop1(void)
|
||||||
if(busy_flag == 0) stop_cnt = 0;
|
if(busy_flag == 0) stop_cnt = 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
Motor_Run = 2; //回电机起始点
|
Motor_Run = 2; //跳转至复位模式
|
||||||
Runmotor_step = 0;
|
Runmotor_step = 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -639,7 +708,7 @@ void mov_loop1(void)
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
Runmotor_step = 2;//在case 2 - 6 之间循环,2运动,6限位
|
Runmotor_step = 2; //在case 2 - 6 之间循环,2运动,6限位
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
case 7 :
|
case 7 :
|
||||||
|
@ -665,9 +734,9 @@ void mov_loop1(void)
|
||||||
}
|
}
|
||||||
|
|
||||||
uint32_t V_data = 0;
|
uint32_t V_data = 0;
|
||||||
signed int _data = 0,vol_data = 0;
|
signed int _data = 0,vol_data = 0; //用于OLED显示
|
||||||
char start_check = 0;
|
char start_check = 0; //用于定位起始帧的下标
|
||||||
uint16_t send_xa = 0;
|
uint16_t send_xa = 0; //用于发送当前位置
|
||||||
void get_state(void)
|
void get_state(void)
|
||||||
{
|
{
|
||||||
motor_data[1] = Motor_Run;
|
motor_data[1] = Motor_Run;
|
||||||
|
|
|
@ -369,6 +369,21 @@ const char Hzk[][32]=
|
||||||
{0x40,0x48,0x48,0x48,0xFF,0x48,0x48,0x00,0xC4,0x44,0x44,0x44,0xFC,0x00,0x00,0x00,
|
{0x40,0x48,0x48,0x48,0xFF,0x48,0x48,0x00,0xC4,0x44,0x44,0x44,0xFC,0x00,0x00,0x00,
|
||||||
0x80,0x60,0x1F,0x20,0x7F,0x44,0x44,0x40,0x4F,0x50,0x50,0x50,0x50,0x5C,0x40,0x00},/*"起",55*/
|
0x80,0x60,0x1F,0x20,0x7F,0x44,0x44,0x40,0x4F,0x50,0x50,0x50,0x50,0x5C,0x40,0x00},/*"起",55*/
|
||||||
|
|
||||||
|
{0x40,0x20,0x10,0x08,0x27,0x44,0x84,0x04,0x04,0x04,0x04,0x04,0x04,0xFC,0x00,0x00,
|
||||||
|
0x00,0x00,0x00,0x08,0x18,0x08,0x04,0x04,0x02,0x02,0x41,0x80,0x40,0x3F,0x00,0x00},/*"匀",56*/
|
||||||
|
|
||||||
|
{0x40,0x40,0x42,0xCC,0x00,0x04,0xF4,0x94,0x94,0xFF,0x94,0x94,0xF4,0x04,0x00,0x00,
|
||||||
|
0x00,0x40,0x20,0x1F,0x20,0x48,0x44,0x42,0x41,0x5F,0x41,0x42,0x44,0x48,0x40,0x00},/*"速",57*/
|
||||||
|
|
||||||
|
{0x40,0x40,0x42,0xCC,0x00,0x90,0x90,0x90,0x90,0x90,0xFF,0x10,0x11,0x16,0x10,0x00,
|
||||||
|
0x00,0x00,0x00,0x3F,0x10,0x28,0x60,0x3F,0x10,0x10,0x01,0x0E,0x30,0x40,0xF0,0x00},/*"试",58*/
|
||||||
|
|
||||||
|
{0x00,0xE0,0x00,0xFF,0x10,0x20,0x08,0x08,0x08,0xFF,0x08,0x08,0xF8,0x00,0x00,0x00,
|
||||||
|
0x01,0x00,0x00,0xFF,0x00,0x81,0x41,0x31,0x0D,0x03,0x0D,0x31,0x41,0x81,0x81,0x00},/*"快",59*/
|
||||||
|
|
||||||
|
{0xF0,0x00,0xFF,0x08,0x10,0xC0,0x5F,0x55,0xD5,0x55,0xD5,0x55,0x5F,0xC0,0x00,0x00,
|
||||||
|
0x00,0x00,0xFF,0x00,0x80,0x83,0x4A,0x5A,0x2B,0x2A,0x2B,0x5A,0x4A,0x83,0x80,0x00},/*"慢",60*/
|
||||||
|
|
||||||
// {0x00,0x80,0x40,0x20,0x18,0x06,0x80,0x00,0x07,0x18,0x20,0x40,0x80,0x00,0x00,0x00,
|
// {0x00,0x80,0x40,0x20,0x18,0x06,0x80,0x00,0x07,0x18,0x20,0x40,0x80,0x00,0x00,0x00,
|
||||||
// 0x01,0x00,0x20,0x70,0x28,0x26,0x21,0x20,0x20,0x24,0x38,0x60,0x00,0x01,0x01,0x00},/*"?",0*/
|
// 0x01,0x00,0x20,0x70,0x28,0x26,0x21,0x20,0x20,0x24,0x38,0x60,0x00,0x01,0x01,0x00},/*"?",0*/
|
||||||
};
|
};
|
||||||
|
|
264
App/Src/oled.c
264
App/Src/oled.c
|
@ -2,17 +2,17 @@
|
||||||
#include "app.h"
|
#include "app.h"
|
||||||
|
|
||||||
|
|
||||||
#define OLED_ADDRESS 0x78 //电阻焊在了0x3C,左移一位得到0x78
|
#define OLED_ADDRESS 0x78 //电阻焊在了0x3C,左移一位得到0x78
|
||||||
// OLED参数
|
// OLED参数
|
||||||
#define OLED_PAGE 8 // OLED页数
|
#define OLED_PAGE 8 // OLED页数
|
||||||
#define OLED_ROW 8 * OLED_PAGE // OLED行数
|
#define OLED_ROW 8 * OLED_PAGE // OLED行数
|
||||||
#define OLED_COLUMN 128 // OLED列数
|
#define OLED_COLUMN 128 // OLED列数
|
||||||
|
|
||||||
// 显存
|
// 显存
|
||||||
uint8_t OLED_GRAM[OLED_PAGE][OLED_COLUMN];
|
uint8_t OLED_GRAM[OLED_PAGE][OLED_COLUMN];
|
||||||
HAL_StatusTypeDef I2CWATCH;
|
HAL_StatusTypeDef I2CWATCH;
|
||||||
int I2C_ERROR_TIMES = 0,I2C_BUSY_TIMES = 0,I2C_TIMEOUT_TIMES = 0,I2C_OK_TIMES = 0;
|
int I2C_ERROR_TIMES = 0,I2C_BUSY_TIMES = 0,I2C_TIMEOUT_TIMES = 0,I2C_OK_TIMES = 0;
|
||||||
HAL_StatusTypeDef OLED_Send(uint8_t *data, uint8_t len)//发送数据 8bit * len
|
HAL_StatusTypeDef OLED_Send(uint8_t *data, uint8_t len)//发送数据 8bit * len
|
||||||
{
|
{
|
||||||
I2CWATCH = HAL_I2C_Master_Transmit(&hi2c1, OLED_ADDRESS, data, len,2000);//1000
|
I2CWATCH = HAL_I2C_Master_Transmit(&hi2c1, OLED_ADDRESS, data, len,2000);//1000
|
||||||
|
|
||||||
|
@ -24,7 +24,7 @@ HAL_StatusTypeDef OLED_Send(uint8_t *data, uint8_t len)//
|
||||||
return I2CWATCH;
|
return I2CWATCH;
|
||||||
}
|
}
|
||||||
|
|
||||||
HAL_StatusTypeDef OLED_SendCmd(uint8_t cmd)//发送命令 [0x00;cmd]
|
HAL_StatusTypeDef OLED_SendCmd(uint8_t cmd)//发送命令 [0x00;cmd]
|
||||||
{
|
{
|
||||||
static uint8_t sendBuffer[2] = {0};
|
static uint8_t sendBuffer[2] = {0};
|
||||||
sendBuffer[1] = cmd;
|
sendBuffer[1] = cmd;
|
||||||
|
@ -33,7 +33,7 @@ HAL_StatusTypeDef OLED_SendCmd(uint8_t cmd)//
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
//OLED初始化
|
//OLED初始化
|
||||||
char oled_init_status[27] = {0};
|
char oled_init_status[27] = {0};
|
||||||
char OLED_Init(void)
|
char OLED_Init(void)
|
||||||
{
|
{
|
||||||
|
@ -70,7 +70,7 @@ char OLED_Init(void)
|
||||||
if(oled_init_status[6] == 7)
|
if(oled_init_status[6] == 7)
|
||||||
{
|
{
|
||||||
// OLED_SendCmd(0xA1);//set segment re-map 0 to 127
|
// OLED_SendCmd(0xA1);//set segment re-map 0 to 127
|
||||||
if(OLED_SendCmd(0xA0) == HAL_OK) oled_init_status[7] = 8; //左右翻转 /8
|
if(OLED_SendCmd(0xA0) == HAL_OK) oled_init_status[7] = 8; //左右翻转 /8
|
||||||
}
|
}
|
||||||
if(oled_init_status[7] == 8)
|
if(oled_init_status[7] == 8)
|
||||||
{
|
{
|
||||||
|
@ -87,7 +87,7 @@ char OLED_Init(void)
|
||||||
if(oled_init_status[10] == 11)
|
if(oled_init_status[10] == 11)
|
||||||
{
|
{
|
||||||
// OLED_SendCmd(0xC8);//Com scan direction
|
// OLED_SendCmd(0xC8);//Com scan direction
|
||||||
if(OLED_SendCmd(0xC0) == HAL_OK) oled_init_status[11] = 12;//上下翻转 /12
|
if(OLED_SendCmd(0xC0) == HAL_OK) oled_init_status[11] = 12;//上下翻转 /12
|
||||||
}
|
}
|
||||||
if(oled_init_status[11] == 12)
|
if(oled_init_status[11] == 12)
|
||||||
{
|
{
|
||||||
|
@ -163,48 +163,48 @@ char OLED_Init(void)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
//开启OLED显示
|
//开启OLED显示
|
||||||
void OLED_DisPlay_On()
|
void OLED_DisPlay_On()
|
||||||
{
|
{
|
||||||
OLED_SendCmd(0x8D); // 电荷泵使能
|
OLED_SendCmd(0x8D); // 电荷泵使能
|
||||||
OLED_SendCmd(0x14); // 开启电荷泵
|
OLED_SendCmd(0x14); // 开启电荷泵
|
||||||
OLED_SendCmd(0xAF); // 点亮屏幕
|
OLED_SendCmd(0xAF); // 点亮屏幕
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
//关闭OLED显示
|
//关闭OLED显示
|
||||||
void OLED_DisPlay_Off()
|
void OLED_DisPlay_Off()
|
||||||
{
|
{
|
||||||
OLED_SendCmd(0x8D); // 电荷泵使能
|
OLED_SendCmd(0x8D); // 电荷泵使能
|
||||||
OLED_SendCmd(0x10); // 关闭电荷泵
|
OLED_SendCmd(0x10); // 关闭电荷泵
|
||||||
OLED_SendCmd(0xAE); // 关闭屏幕
|
OLED_SendCmd(0xAE); // 关闭屏幕
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
//设置颜色模式 黑底白字或白底黑字
|
//设置颜色模式 黑底白字或白底黑字
|
||||||
//颜色模式COLOR_NORMAL(黑底白字) / COLOR_REVERSED(白底黑字)
|
//颜色模式COLOR_NORMAL(黑底白字) / COLOR_REVERSED(白底黑字)
|
||||||
void OLED_SetColorMode(OLED_ColorMode mode)
|
void OLED_SetColorMode(OLED_ColorMode mode)
|
||||||
{
|
{
|
||||||
if (mode == OLED_COLOR_NORMAL)
|
if (mode == OLED_COLOR_NORMAL)
|
||||||
{
|
{
|
||||||
OLED_SendCmd(0xA6); // 正常显示
|
OLED_SendCmd(0xA6); // 正常显示
|
||||||
}
|
}
|
||||||
if (mode == OLED_COLOR_REVERSED)
|
if (mode == OLED_COLOR_REVERSED)
|
||||||
{
|
{
|
||||||
OLED_SendCmd(0xA7); // 反色显示
|
OLED_SendCmd(0xA7); // 反色显示
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/**********************显存操作函数begin*************************/
|
/**********************显存操作函数begin*************************/
|
||||||
//清空显存 绘制新的一帧
|
//清空显存 绘制新的一帧
|
||||||
void OLED_NewFrame()
|
void OLED_NewFrame()
|
||||||
{
|
{
|
||||||
memset(OLED_GRAM, 0, sizeof(OLED_GRAM));
|
memset(OLED_GRAM, 0, sizeof(OLED_GRAM));
|
||||||
}
|
}
|
||||||
|
|
||||||
uint8_t Lcd_Cnt = 0;
|
uint8_t Lcd_Cnt = 0;
|
||||||
//将当前显存显示到屏幕上
|
//将当前显存显示到屏幕上
|
||||||
uint8_t sendBuffer[OLED_COLUMN + 1] = {0};
|
uint8_t sendBuffer[OLED_COLUMN + 1] = {0};
|
||||||
void OLED_ShowFrame()
|
void OLED_ShowFrame()
|
||||||
{
|
{
|
||||||
|
@ -212,9 +212,9 @@ void OLED_ShowFrame()
|
||||||
Lcd_Cnt *= (Lcd_Cnt < OLED_PAGE);
|
Lcd_Cnt *= (Lcd_Cnt < OLED_PAGE);
|
||||||
// for (Lcd_Cnt = 0; Lcd_Cnt < OLED_PAGE; Lcd_Cnt++)
|
// for (Lcd_Cnt = 0; Lcd_Cnt < OLED_PAGE; Lcd_Cnt++)
|
||||||
// {
|
// {
|
||||||
OLED_SendCmd(0xB0 + Lcd_Cnt); // 设置页地址
|
OLED_SendCmd(0xB0 + Lcd_Cnt); // 设置页地址
|
||||||
OLED_SendCmd(0x00); // 设置列地址低4位
|
OLED_SendCmd(0x00); // 设置列地址低4位
|
||||||
OLED_SendCmd(0x10); // 设置列地址高4位
|
OLED_SendCmd(0x10); // 设置列地址高4位
|
||||||
memcpy(sendBuffer + 1, OLED_GRAM[Lcd_Cnt], OLED_COLUMN);
|
memcpy(sendBuffer + 1, OLED_GRAM[Lcd_Cnt], OLED_COLUMN);
|
||||||
OLED_Send(sendBuffer, OLED_COLUMN + 1);
|
OLED_Send(sendBuffer, OLED_COLUMN + 1);
|
||||||
// }
|
// }
|
||||||
|
@ -223,15 +223,15 @@ void OLED_ShowFrame()
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
//将当前显存显示到屏幕上
|
//将当前显存显示到屏幕上
|
||||||
uint8_t sendBuffer_page[OLED_COLUMN + 1] = {0};
|
uint8_t sendBuffer_page[OLED_COLUMN + 1] = {0};
|
||||||
void OLED_ShowPageFrame(uint8_t page)
|
void OLED_ShowPageFrame(uint8_t page)
|
||||||
{
|
{
|
||||||
sendBuffer_page[0] = 0x40;
|
sendBuffer_page[0] = 0x40;
|
||||||
{
|
{
|
||||||
OLED_SendCmd(0xB0 + page); // 设置页地址
|
OLED_SendCmd(0xB0 + page); // 设置页地址
|
||||||
OLED_SendCmd(0x00); // 设置列地址低4位
|
OLED_SendCmd(0x00); // 设置列地址低4位
|
||||||
OLED_SendCmd(0x10); // 设置列地址高4位
|
OLED_SendCmd(0x10); // 设置列地址高4位
|
||||||
memcpy(sendBuffer_page + 1, OLED_GRAM[page], OLED_COLUMN);
|
memcpy(sendBuffer_page + 1, OLED_GRAM[page], OLED_COLUMN);
|
||||||
OLED_Send(sendBuffer_page, OLED_COLUMN + 1);
|
OLED_Send(sendBuffer_page, OLED_COLUMN + 1);
|
||||||
}
|
}
|
||||||
|
@ -239,10 +239,10 @@ void OLED_ShowPageFrame(uint8_t page)
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief 设置一个像素点
|
* @brief 设置一个像素点
|
||||||
* @param x 横坐标
|
* @param x 横坐标
|
||||||
* @param y 纵坐标
|
* @param y 纵坐标
|
||||||
* @param color 颜色
|
* @param color 颜色
|
||||||
*/
|
*/
|
||||||
void OLED_SetPixel(uint8_t x, uint8_t y, OLED_ColorMode color)
|
void OLED_SetPixel(uint8_t x, uint8_t y, OLED_ColorMode color)
|
||||||
{
|
{
|
||||||
|
@ -259,16 +259,16 @@ void OLED_SetPixel(uint8_t x, uint8_t y, OLED_ColorMode color)
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief 设置显存中一字节数据的某几位
|
* @brief 设置显存中一字节数据的某几位
|
||||||
* @param page 页地址
|
* @param page 页地址
|
||||||
* @param column 列地址
|
* @param column 列地址
|
||||||
* @param data 数据
|
* @param data 数据
|
||||||
* @param start 起始位
|
* @param start 起始位
|
||||||
* @param end 结束位
|
* @param end 结束位
|
||||||
* @param color 颜色
|
* @param color 颜色
|
||||||
* @note 此函数将显存中的某一字节的第start位到第end位设置为与data相同
|
* @note 此函数将显存中的某一字节的第start位到第end位设置为与data相同
|
||||||
* @note start和end的范围为0-7, start必须小于等于end
|
* @note start和end的范围为0-7, start必须小于等于end
|
||||||
* @note 此函数与OLED_SetByte_Fine的区别在于此函数只能设置显存中的某一真实字节
|
* @note 此函数与OLED_SetByte_Fine的区别在于此函数只能设置显存中的某一真实字节
|
||||||
*/
|
*/
|
||||||
void OLED_SetByte_Fine(uint8_t page, uint8_t column, uint8_t data, uint8_t start, uint8_t end, OLED_ColorMode color)
|
void OLED_SetByte_Fine(uint8_t page, uint8_t column, uint8_t data, uint8_t start, uint8_t end, OLED_ColorMode color)
|
||||||
{
|
{
|
||||||
|
@ -282,19 +282,19 @@ void OLED_SetByte_Fine(uint8_t page, uint8_t column, uint8_t data, uint8_t start
|
||||||
OLED_GRAM[page][column] &= temp;
|
OLED_GRAM[page][column] &= temp;
|
||||||
temp = data & ~(0xff << (end + 1)) & ~(0xff >> (8 - start));
|
temp = data & ~(0xff << (end + 1)) & ~(0xff >> (8 - start));
|
||||||
OLED_GRAM[page][column] |= temp;
|
OLED_GRAM[page][column] |= temp;
|
||||||
// 使用OLED_SetPixel实现
|
// 使用OLED_SetPixel实现
|
||||||
// for (uint8_t i = start; i <= end; i++) {
|
// for (uint8_t i = start; i <= end; i++) {
|
||||||
// OLED_SetPixel(column, page * 8 + i, !((data >> i) & 0x01));
|
// OLED_SetPixel(column, page * 8 + i, !((data >> i) & 0x01));
|
||||||
// }
|
// }
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief 设置显存中的一字节数据
|
* @brief 设置显存中的一字节数据
|
||||||
* @param page 页地址
|
* @param page 页地址
|
||||||
* @param column 列地址
|
* @param column 列地址
|
||||||
* @param data 数据
|
* @param data 数据
|
||||||
* @param color 颜色
|
* @param color 颜色
|
||||||
* @note 此函数将显存中的某一字节设置为data的值
|
* @note 此函数将显存中的某一字节设置为data的值
|
||||||
*/
|
*/
|
||||||
void OLED_SetByte(uint8_t page, uint8_t column, uint8_t data, OLED_ColorMode color)
|
void OLED_SetByte(uint8_t page, uint8_t column, uint8_t data, OLED_ColorMode color)
|
||||||
{
|
{
|
||||||
|
@ -306,15 +306,15 @@ void OLED_SetByte(uint8_t page, uint8_t column, uint8_t data, OLED_ColorMode col
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief 设置显存中的一字节数据的某几位
|
* @brief 设置显存中的一字节数据的某几位
|
||||||
* @param x 横坐标
|
* @param x 横坐标
|
||||||
* @param y 纵坐标
|
* @param y 纵坐标
|
||||||
* @param data 数据
|
* @param data 数据
|
||||||
* @param len 位数
|
* @param len 位数
|
||||||
* @param color 颜色
|
* @param color 颜色
|
||||||
* @note 此函数将显存中从(x,y)开始向下数len位设置为与data相同
|
* @note 此函数将显存中从(x,y)开始向下数len位设置为与data相同
|
||||||
* @note len的范围为1-8
|
* @note len的范围为1-8
|
||||||
* @note 此函数与OLED_SetByte_Fine的区别在于此函数的横坐标和纵坐标是以像素为单位的, 可能出现跨两个真实字节的情况(跨页)
|
* @note 此函数与OLED_SetByte_Fine的区别在于此函数的横坐标和纵坐标是以像素为单位的, 可能出现跨两个真实字节的情况(跨页)
|
||||||
*/
|
*/
|
||||||
void OLED_SetBits_Fine(uint8_t x, uint8_t y, uint8_t data, uint8_t len, OLED_ColorMode color)
|
void OLED_SetBits_Fine(uint8_t x, uint8_t y, uint8_t data, uint8_t len, OLED_ColorMode color)
|
||||||
{
|
{
|
||||||
|
@ -329,20 +329,20 @@ void OLED_SetBits_Fine(uint8_t x, uint8_t y, uint8_t data, uint8_t len, OLED_Col
|
||||||
{
|
{
|
||||||
OLED_SetByte_Fine(page, x, data << bit, bit, bit + len - 1, color);
|
OLED_SetByte_Fine(page, x, data << bit, bit, bit + len - 1, color);
|
||||||
}
|
}
|
||||||
// 使用OLED_SetPixel实现
|
// 使用OLED_SetPixel实现
|
||||||
// for (uint8_t i = 0; i < len; i++) {
|
// for (uint8_t i = 0; i < len; i++) {
|
||||||
// OLED_SetPixel(x, y + i, !((data >> i) & 0x01));
|
// OLED_SetPixel(x, y + i, !((data >> i) & 0x01));
|
||||||
// }
|
// }
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief 设置显存中一字节长度的数据
|
* @brief 设置显存中一字节长度的数据
|
||||||
* @param x 横坐标
|
* @param x 横坐标
|
||||||
* @param y 纵坐标
|
* @param y 纵坐标
|
||||||
* @param data 数据
|
* @param data 数据
|
||||||
* @param color 颜色
|
* @param color 颜色
|
||||||
* @note 此函数将显存中从(x,y)开始向下数8位设置为与data相同
|
* @note 此函数将显存中从(x,y)开始向下数8位设置为与data相同
|
||||||
* @note 此函数与OLED_SetByte的区别在于此函数的横坐标和纵坐标是以像素为单位的, 可能出现跨两个真实字节的情况(跨页)
|
* @note 此函数与OLED_SetByte的区别在于此函数的横坐标和纵坐标是以像素为单位的, 可能出现跨两个真实字节的情况(跨页)
|
||||||
*/
|
*/
|
||||||
void OLED_SetBits(uint8_t x, uint8_t y, uint8_t data, OLED_ColorMode color)
|
void OLED_SetBits(uint8_t x, uint8_t y, uint8_t data, OLED_ColorMode color)
|
||||||
{
|
{
|
||||||
|
@ -356,20 +356,20 @@ void OLED_SetBits(uint8_t x, uint8_t y, uint8_t data, OLED_ColorMode color)
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief 设置一块显存区域
|
* @brief 设置一块显存区域
|
||||||
* @param x 起始横坐标
|
* @param x 起始横坐标
|
||||||
* @param y 起始纵坐标
|
* @param y 起始纵坐标
|
||||||
* @param data 数据的起始地址
|
* @param data 数据的起始地址
|
||||||
* @param w 宽度
|
* @param w 宽度
|
||||||
* @param h 高度
|
* @param h 高度
|
||||||
* @param color 颜色
|
* @param color 颜色
|
||||||
* @note 此函数将显存中从(x,y)开始的w*h个像素设置为data中的数据
|
* @note 此函数将显存中从(x,y)开始的w*h个像素设置为data中的数据
|
||||||
* @note data的数据应该采用列行式排列
|
* @note data的数据应该采用列行式排列
|
||||||
*/
|
*/
|
||||||
void OLED_SetBlock(uint8_t x, uint8_t y, const uint8_t *data, uint8_t w, uint8_t h, OLED_ColorMode color)
|
void OLED_SetBlock(uint8_t x, uint8_t y, const uint8_t *data, uint8_t w, uint8_t h, OLED_ColorMode color)
|
||||||
{
|
{
|
||||||
uint8_t fullRow = h / 8; // 完整的行数
|
uint8_t fullRow = h / 8; // 完整的行数
|
||||||
uint8_t partBit = h % 8; // 不完整的字节中的有效位数
|
uint8_t partBit = h % 8; // 不完整的字节中的有效位数
|
||||||
for (uint8_t i = 0; i < w; i++)
|
for (uint8_t i = 0; i < w; i++)
|
||||||
{
|
{
|
||||||
for (uint8_t j = 0; j < fullRow; j++)
|
for (uint8_t j = 0; j < fullRow; j++)
|
||||||
|
@ -379,33 +379,33 @@ void OLED_SetBlock(uint8_t x, uint8_t y, const uint8_t *data, uint8_t w, uint8_t
|
||||||
}
|
}
|
||||||
if (partBit)
|
if (partBit)
|
||||||
{
|
{
|
||||||
uint16_t fullNum = w * fullRow; // 完整的字节数
|
uint16_t fullNum = w * fullRow; // 完整的字节数
|
||||||
for (uint8_t i = 0; i < w; i++)
|
for (uint8_t i = 0; i < w; i++)
|
||||||
{
|
{
|
||||||
OLED_SetBits_Fine(x + i, y + (fullRow * 8), data[fullNum + i], partBit, color);
|
OLED_SetBits_Fine(x + i, y + (fullRow * 8), data[fullNum + i], partBit, color);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
// 使用OLED_SetPixel实现
|
// 使用OLED_SetPixel实现
|
||||||
// for (uint8_t i = 0; i < w; i++) {
|
// for (uint8_t i = 0; i < w; i++) {
|
||||||
// for (uint8_t j = 0; j < h; j++) {
|
// for (uint8_t j = 0; j < h; j++) {
|
||||||
// for (uint8_t k = 0; k < 8; k++) {
|
// for (uint8_t k = 0; k < 8; k++) {
|
||||||
// if (j * 8 + k >= h) break; // 防止越界(不完整的字节
|
// if (j * 8 + k >= h) break; // 防止越界(不完整的字节
|
||||||
// OLED_SetPixel(x + i, y + j * 8 + k, !((data[i + j * w] >> k) & 0x01));
|
// OLED_SetPixel(x + i, y + j * 8 + k, !((data[i + j * w] >> k) & 0x01));
|
||||||
// }
|
// }
|
||||||
// }
|
// }
|
||||||
// }
|
// }
|
||||||
}
|
}
|
||||||
/**********************显存操作函数end*************************/
|
/**********************显存操作函数end*************************/
|
||||||
|
|
||||||
// ================================ 文字绘制 ================================
|
// ================================ 文字绘制 ================================
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief 绘制一个ASCII字符
|
* @brief 绘制一个ASCII字符
|
||||||
* @param x 起始点横坐标
|
* @param x 起始点横坐标
|
||||||
* @param y 起始点纵坐标
|
* @param y 起始点纵坐标
|
||||||
* @param ch 字符
|
* @param ch 字符
|
||||||
* @param font 字体
|
* @param font 字体
|
||||||
* @param color 颜色
|
* @param color 颜色
|
||||||
*/
|
*/
|
||||||
void OLED_PrintASCIIChar(uint8_t x, uint8_t y, char ch, const ASCIIFont *font, OLED_ColorMode color)
|
void OLED_PrintASCIIChar(uint8_t x, uint8_t y, char ch, const ASCIIFont *font, OLED_ColorMode color)
|
||||||
{
|
{
|
||||||
|
@ -415,12 +415,12 @@ void OLED_PrintASCIIChar(uint8_t x, uint8_t y, char ch, const ASCIIFont *font, O
|
||||||
char lcd_page_flag[8];
|
char lcd_page_flag[8];
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief 绘制一个ASCII字符串
|
* @brief 绘制一个ASCII字符串
|
||||||
* @param x 起始点横坐标
|
* @param x 起始点横坐标
|
||||||
* @param y 起始点纵坐标
|
* @param y 起始点纵坐标
|
||||||
* @param str 字符串
|
* @param str 字符串
|
||||||
* @param font 字体
|
* @param font 字体
|
||||||
* @param color 颜色
|
* @param color 颜色
|
||||||
*/
|
*/
|
||||||
void OLED_PrintASCIIString(uint8_t x, uint8_t y, char *str, const ASCIIFont *font, OLED_ColorMode color)
|
void OLED_PrintASCIIString(uint8_t x, uint8_t y, char *str, const ASCIIFont *font, OLED_ColorMode color)
|
||||||
{
|
{
|
||||||
|
@ -435,7 +435,7 @@ void OLED_PrintASCIIString(uint8_t x, uint8_t y, char *str, const ASCIIFont *fon
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief 获取UTF-8编码的字符长度
|
* @brief 获取UTF-8编码的字符长度
|
||||||
*/
|
*/
|
||||||
uint8_t _OLED_GetUTF8Len(char *string)
|
uint8_t _OLED_GetUTF8Len(char *string)
|
||||||
{
|
{
|
||||||
|
@ -459,51 +459,51 @@ uint8_t _OLED_GetUTF8Len(char *string)
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief 绘制字符串
|
* @brief 绘制字符串
|
||||||
* @param x 起始点横坐标
|
* @param x 起始点横坐标
|
||||||
* @param y 起始点纵坐标
|
* @param y 起始点纵坐标
|
||||||
* @param str 字符串
|
* @param str 字符串
|
||||||
* @param font 字体
|
* @param font 字体
|
||||||
* @param color 颜色
|
* @param color 颜色
|
||||||
*
|
*
|
||||||
* @note 为保证字符串中的中文会被自动识别并绘制, 需:
|
* @note 为保证字符串中的中文会被自动识别并绘制, 需:
|
||||||
* 1. 编译器字符集设置为UTF-8
|
* 1. 编译器字符集设置为UTF-8
|
||||||
* 2. 使用波特律动LED取模工具生成字模(https://led.baud-dance.com)
|
* 2. 使用波特律动LED取模工具生成字模(https://led.baud-dance.com)
|
||||||
*/
|
*/
|
||||||
/**
|
/**
|
||||||
* @brief 绘制字符串
|
* @brief 绘制字符串
|
||||||
* @param x 起始点横坐标
|
* @param x 起始点横坐标
|
||||||
* @param y 起始点纵坐标
|
* @param y 起始点纵坐标
|
||||||
* @param str 字符串
|
* @param str 字符串
|
||||||
* @param font 字体
|
* @param font 字体
|
||||||
* @param color 颜色
|
* @param color 颜色
|
||||||
*
|
*
|
||||||
* @note 为保证字符串中的中文会被自动识别并绘制, 需:
|
* @note 为保证字符串中的中文会被自动识别并绘制, 需:
|
||||||
* 1. 编译器字符集设置为UTF-8
|
* 1. 编译器字符集设置为UTF-8
|
||||||
* 2. 使用波特律动LED取模工具生成字模(https://led.baud-dance.com)
|
* 2. 使用波特律动LED取模工具生成字模(https://led.baud-dance.com)
|
||||||
*/
|
*/
|
||||||
void OLED_PrintString(uint8_t x, uint8_t y, char *str, const Font *font, OLED_ColorMode color)
|
void OLED_PrintString(uint8_t x, uint8_t y, char *str, const Font *font, OLED_ColorMode color)
|
||||||
{
|
{
|
||||||
uint16_t i = 0; // 字符串索引
|
uint16_t i = 0; // 字符串索引
|
||||||
uint8_t oneLen = (((font->h + 7) / 8) * font->w) + 4; // 一个字模占多少字节
|
uint8_t oneLen = (((font->h + 7) / 8) * font->w) + 4; // 一个字模占多少字节
|
||||||
uint8_t found; // 是否找到字模
|
uint8_t found; // 是否找到字模
|
||||||
uint8_t utf8Len; // UTF-8编码长度
|
uint8_t utf8Len; // UTF-8编码长度
|
||||||
uint8_t *head; // 字模头指针
|
uint8_t *head; // 字模头指针
|
||||||
while (str[i])
|
while (str[i])
|
||||||
{
|
{
|
||||||
found = 0;
|
found = 0;
|
||||||
utf8Len = _OLED_GetUTF8Len(str + i);
|
utf8Len = _OLED_GetUTF8Len(str + i);
|
||||||
if (utf8Len == 0)
|
if (utf8Len == 0)
|
||||||
break; // 有问题的UTF-8编码
|
break; // 有问题的UTF-8编码
|
||||||
|
|
||||||
// 寻找字符 TODO 优化查找算法, 二分查找或者hash
|
// 寻找字符 TODO 优化查找算法, 二分查找或者hash
|
||||||
for (uint8_t j = 0; j < font->len; j++)
|
for (uint8_t j = 0; j < font->len; j++)
|
||||||
{
|
{
|
||||||
head = (uint8_t *)(font->chars) + (j * oneLen);
|
head = (uint8_t *)(font->chars) + (j * oneLen);
|
||||||
if (memcmp(str + i, head, utf8Len) == 0)
|
if (memcmp(str + i, head, utf8Len) == 0)
|
||||||
{
|
{
|
||||||
OLED_SetBlock(x, y, head + 4, font->w, font->h, color);
|
OLED_SetBlock(x, y, head + 4, font->w, font->h, color);
|
||||||
// 移动光标
|
// 移动光标
|
||||||
x += font->w;
|
x += font->w;
|
||||||
i += utf8Len;
|
i += utf8Len;
|
||||||
found = 1;
|
found = 1;
|
||||||
|
@ -511,13 +511,13 @@ void OLED_PrintString(uint8_t x, uint8_t y, char *str, const Font *font, OLED_Co
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// 若未找到字模,且为ASCII字符, 则缺省显示ASCII字符
|
// 若未找到字模,且为ASCII字符, 则缺省显示ASCII字符
|
||||||
if (found == 0)
|
if (found == 0)
|
||||||
{
|
{
|
||||||
if (utf8Len == 1)
|
if (utf8Len == 1)
|
||||||
{
|
{
|
||||||
OLED_PrintASCIIChar(x, y, str[i], font->ascii, color);
|
OLED_PrintASCIIChar(x, y, str[i], font->ascii, color);
|
||||||
// 移动光标
|
// 移动光标
|
||||||
x += font->ascii->w;
|
x += font->ascii->w;
|
||||||
i += utf8Len;
|
i += utf8Len;
|
||||||
}
|
}
|
||||||
|
@ -539,7 +539,7 @@ char ocin1_temp[2] = {0},ocin2_temp[2] = {0};
|
||||||
void OLED_Act( void )
|
void OLED_Act( void )
|
||||||
{
|
{
|
||||||
|
|
||||||
if(disp_step < 80) //只显示一次
|
if(disp_step < 80) //只显示一次
|
||||||
{
|
{
|
||||||
OLED_PrintASCIIString(0,0,"Position",&afont16x8, OLED_COLOR_NORMAL);
|
OLED_PrintASCIIString(0,0,"Position",&afont16x8, OLED_COLOR_NORMAL);
|
||||||
sprintf(str_print, "%.2f",X_ads1220_prc*100 );
|
sprintf(str_print, "%.2f",X_ads1220_prc*100 );
|
||||||
|
@ -563,7 +563,7 @@ void OLED_Act( void )
|
||||||
OLED_PrintASCIIString(80,48,"OK",&afont16x8, OLED_COLOR_NORMAL);
|
OLED_PrintASCIIString(80,48,"OK",&afont16x8, OLED_COLOR_NORMAL);
|
||||||
}
|
}
|
||||||
|
|
||||||
OLED_ShowFrame(); //显示当前显存内容
|
OLED_ShowFrame(); //显示当前显存内容
|
||||||
disp_step++;
|
disp_step++;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -578,7 +578,7 @@ void OLED_Act( void )
|
||||||
if(Xads_temp[temp_cnt] - Xads_temp[!temp_cnt] > 0.01) // refresh when Xads1220 changes
|
if(Xads_temp[temp_cnt] - Xads_temp[!temp_cnt] > 0.01) // refresh when Xads1220 changes
|
||||||
{
|
{
|
||||||
OLED_PrintASCIIString(0,16," ",&afont16x8, OLED_COLOR_NORMAL); // clear
|
OLED_PrintASCIIString(0,16," ",&afont16x8, OLED_COLOR_NORMAL); // clear
|
||||||
sprintf(str_print, "%.2f",Xads_temp[temp_cnt]*100 ); // 电阻尺
|
sprintf(str_print, "%.2f",Xads_temp[temp_cnt]*100 ); // 电阻尺
|
||||||
OLED_PrintASCIIString(0,16,str_print,&afont16x8, OLED_COLOR_NORMAL);
|
OLED_PrintASCIIString(0,16,str_print,&afont16x8, OLED_COLOR_NORMAL);
|
||||||
OLED_ShowPageFrame(2);
|
OLED_ShowPageFrame(2);
|
||||||
OLED_ShowPageFrame(3);
|
OLED_ShowPageFrame(3);
|
||||||
|
@ -614,7 +614,7 @@ void OLED_Act( void )
|
||||||
OLED_ShowPageFrame(7);
|
OLED_ShowPageFrame(7);
|
||||||
}
|
}
|
||||||
|
|
||||||
// OLED_ShowFrame(); //显示当前显存内容
|
// OLED_ShowFrame(); //显示当前显存内容
|
||||||
// OLED_ShowPageFrame(2);
|
// OLED_ShowPageFrame(2);
|
||||||
// OLED_ShowPageFrame(3);
|
// OLED_ShowPageFrame(3);
|
||||||
OLED_ShowPageFrame(6);
|
OLED_ShowPageFrame(6);
|
||||||
|
|
719
App/Src/oled2.c
719
App/Src/oled2.c
File diff suppressed because it is too large
Load Diff
|
@ -109,7 +109,7 @@ void tmc5160_init(void)
|
||||||
// TMC5160_SPIWriteInt(0x69, 0x00F70000,1); // writing value 0x00F70000 = 16187392 = 0.0 to address 40 = 0x69(MSLUTSTART)
|
// TMC5160_SPIWriteInt(0x69, 0x00F70000,1); // writing value 0x00F70000 = 16187392 = 0.0 to address 40 = 0x69(MSLUTSTART)
|
||||||
// // 电机驱动寄存器-驱动寄存器组
|
// // 电机驱动寄存器-驱动寄存器组
|
||||||
TMC5160_SPIWriteInt(0x6C, 0x000100C3,1); // 0x6C(CHOPCONF)斩波器配置
|
TMC5160_SPIWriteInt(0x6C, 0x000100C3,1); // 0x6C(CHOPCONF)斩波器配置
|
||||||
TMC5160_SPIWriteInt(0x6D, 0x00C00000,1); // 0x6D(COOLCONF),16-22bit设置堵转灵敏度,最大3F(63),最小C0(-64)
|
TMC5160_SPIWriteInt(0x6D, 0x00000000,1); // 0x6D(COOLCONF),16-22bit设置堵转灵敏度,值越小灵敏度越高,最大3F(63),最小C0(-64)
|
||||||
// TMC5160_SPIWriteInt(0x6E, 0x00000000,1); // 0x6E(DCCTRL)
|
// TMC5160_SPIWriteInt(0x6E, 0x00000000,1); // 0x6E(DCCTRL)
|
||||||
TMC5160_SPIWriteInt(0x70, 0xC40C001E,1); // 0x70(PWMCONF)已开启自动调节
|
TMC5160_SPIWriteInt(0x70, 0xC40C001E,1); // 0x70(PWMCONF)已开启自动调节
|
||||||
}
|
}
|
||||||
|
@ -213,7 +213,7 @@ char tmc5160_sw =0; //用于控制电机,在按键功能中使用
|
||||||
|
|
||||||
signed int Raw_32(uint8_t raw[5]) //把5*8bit数据中的0~31位拼接成1*32bit的数值并返回
|
signed int Raw_32(uint8_t raw[5]) //把5*8bit数据中的0~31位拼接成1*32bit的数值并返回
|
||||||
{
|
{
|
||||||
uint32_t result = 0;
|
signed int result = 0;
|
||||||
|
|
||||||
result |= raw[1];
|
result |= raw[1];
|
||||||
result <<= 8;
|
result <<= 8;
|
||||||
|
|
|
@ -0,0 +1,4 @@
|
||||||
|
#include "uniform.h"
|
||||||
|
//2024_10_14新增功能:匀速往/返运动,要求速度可调
|
||||||
|
//为避免与旧程序冲突,使用↑↓组合键对[OLED,Key,LED]程序进行切换
|
||||||
|
|
58
Inc/app.h
58
Inc/app.h
|
@ -1,58 +0,0 @@
|
||||||
#ifndef _APP_H
|
|
||||||
#define _APP_H
|
|
||||||
|
|
||||||
#include "MyLib.h"
|
|
||||||
#include "serial_port.h"
|
|
||||||
#include "m1820.h"
|
|
||||||
#include "oled2.h"
|
|
||||||
#include "ads1220.h"
|
|
||||||
#include "tmc5160.h"
|
|
||||||
#include "main.h"
|
|
||||||
#include "i2c.h"
|
|
||||||
#include "spi.h"
|
|
||||||
#include "tim.h"
|
|
||||||
#include "usart.h"
|
|
||||||
#include "Uart1.h"
|
|
||||||
#include "gpio.h"
|
|
||||||
#include "key.h"
|
|
||||||
#include "motor.h"
|
|
||||||
#include "delay.h"
|
|
||||||
#include "stdio.h"
|
|
||||||
#include "stdlib.h"
|
|
||||||
#include "string.h"
|
|
||||||
#include "flash.h"
|
|
||||||
|
|
||||||
#define ocin1 HAL_GPIO_ReadPin(OCIN1_GPIO_Port,OCIN1_Pin)
|
|
||||||
#define ocin2 HAL_GPIO_ReadPin(OCIN2_GPIO_Port,OCIN2_Pin)
|
|
||||||
|
|
||||||
void app_act (void);
|
|
||||||
void motor_protect_ads(float threshold_neg, float threshold_pos);
|
|
||||||
void motor_protect_ocin(void);
|
|
||||||
|
|
||||||
extern int it_1ms_cnt ,it_1ms_flag;
|
|
||||||
extern int it_200ms_cnt ,it_200ms_flag;
|
|
||||||
extern int it_5ms_cnt ,it_5ms_flag;
|
|
||||||
extern int it_10ms_cnt ,it_10ms_flag;
|
|
||||||
extern int it_50ms_cnt ,it_50ms_flag;
|
|
||||||
extern int it_100ms_cnt ,it_100ms_flag;
|
|
||||||
extern int it_300ms_cnt ,it_300ms_flag;
|
|
||||||
extern int it_500ms_cnt ,it_500ms_flag;
|
|
||||||
extern int it_1000ms_cnt ,it_1000ms_flag;
|
|
||||||
extern int it_5000ms_cnt,it_5000ms_flag;
|
|
||||||
extern uint8_t rx_data2[6];
|
|
||||||
extern uint8_t magnet_tx[7];
|
|
||||||
extern unsigned int smp_intr_temp[2];
|
|
||||||
extern unsigned int smp_dpth_temp[2];
|
|
||||||
extern uint16_t flash_wrt[6];
|
|
||||||
extern uint16_t flash_rd[6];
|
|
||||||
//extern int I2C_ERROR_TIMES ,I2C_BUSY_TIMES ,I2C_TIMEOUT_TIMES ,I2C_OK_TIMES ;
|
|
||||||
|
|
||||||
extern signed int first_xa_32;//¼Ç¼Éϵçʱµç»úλÖÃ
|
|
||||||
|
|
||||||
extern float X_ads1220;
|
|
||||||
extern float TEMP_M1820;
|
|
||||||
extern float X_ads1220_prc;
|
|
||||||
|
|
||||||
|
|
||||||
#endif
|
|
||||||
|
|
File diff suppressed because one or more lines are too long
|
@ -253,7 +253,7 @@
|
||||||
<Ww>
|
<Ww>
|
||||||
<count>20</count>
|
<count>20</count>
|
||||||
<WinNumber>1</WinNumber>
|
<WinNumber>1</WinNumber>
|
||||||
<ItemText>XA_32,0x10</ItemText>
|
<ItemText>XA_32,0x0A</ItemText>
|
||||||
</Ww>
|
</Ww>
|
||||||
<Ww>
|
<Ww>
|
||||||
<count>21</count>
|
<count>21</count>
|
||||||
|
@ -288,22 +288,12 @@
|
||||||
<Ww>
|
<Ww>
|
||||||
<count>27</count>
|
<count>27</count>
|
||||||
<WinNumber>1</WinNumber>
|
<WinNumber>1</WinNumber>
|
||||||
<ItemText>motor_x_end</ItemText>
|
<ItemText>motor_x_end,0x0A</ItemText>
|
||||||
</Ww>
|
</Ww>
|
||||||
<Ww>
|
<Ww>
|
||||||
<count>28</count>
|
<count>28</count>
|
||||||
<WinNumber>1</WinNumber>
|
<WinNumber>1</WinNumber>
|
||||||
<ItemText>SG_RESULT</ItemText>
|
<ItemText>old2new_flag</ItemText>
|
||||||
</Ww>
|
|
||||||
<Ww>
|
|
||||||
<count>29</count>
|
|
||||||
<WinNumber>1</WinNumber>
|
|
||||||
<ItemText>DRV_STAT_32</ItemText>
|
|
||||||
</Ww>
|
|
||||||
<Ww>
|
|
||||||
<count>30</count>
|
|
||||||
<WinNumber>1</WinNumber>
|
|
||||||
<ItemText>TSTEP</ItemText>
|
|
||||||
</Ww>
|
</Ww>
|
||||||
</WatchWindow1>
|
</WatchWindow1>
|
||||||
<Tracepoint>
|
<Tracepoint>
|
||||||
|
@ -763,18 +753,6 @@
|
||||||
<tvExp>0</tvExp>
|
<tvExp>0</tvExp>
|
||||||
<tvExpOptDlg>0</tvExpOptDlg>
|
<tvExpOptDlg>0</tvExpOptDlg>
|
||||||
<bDave2>0</bDave2>
|
<bDave2>0</bDave2>
|
||||||
<PathWithFileName>..\App\Src\serial_port.c</PathWithFileName>
|
|
||||||
<FilenameWithoutPath>serial_port.c</FilenameWithoutPath>
|
|
||||||
<RteFlg>0</RteFlg>
|
|
||||||
<bShared>0</bShared>
|
|
||||||
</File>
|
|
||||||
<File>
|
|
||||||
<GroupNumber>5</GroupNumber>
|
|
||||||
<FileNumber>32</FileNumber>
|
|
||||||
<FileType>1</FileType>
|
|
||||||
<tvExp>0</tvExp>
|
|
||||||
<tvExpOptDlg>0</tvExpOptDlg>
|
|
||||||
<bDave2>0</bDave2>
|
|
||||||
<PathWithFileName>..\App\Src\ads1220.c</PathWithFileName>
|
<PathWithFileName>..\App\Src\ads1220.c</PathWithFileName>
|
||||||
<FilenameWithoutPath>ads1220.c</FilenameWithoutPath>
|
<FilenameWithoutPath>ads1220.c</FilenameWithoutPath>
|
||||||
<RteFlg>0</RteFlg>
|
<RteFlg>0</RteFlg>
|
||||||
|
@ -782,7 +760,7 @@
|
||||||
</File>
|
</File>
|
||||||
<File>
|
<File>
|
||||||
<GroupNumber>5</GroupNumber>
|
<GroupNumber>5</GroupNumber>
|
||||||
<FileNumber>33</FileNumber>
|
<FileNumber>32</FileNumber>
|
||||||
<FileType>1</FileType>
|
<FileType>1</FileType>
|
||||||
<tvExp>0</tvExp>
|
<tvExp>0</tvExp>
|
||||||
<tvExpOptDlg>0</tvExpOptDlg>
|
<tvExpOptDlg>0</tvExpOptDlg>
|
||||||
|
@ -794,7 +772,7 @@
|
||||||
</File>
|
</File>
|
||||||
<File>
|
<File>
|
||||||
<GroupNumber>5</GroupNumber>
|
<GroupNumber>5</GroupNumber>
|
||||||
<FileNumber>34</FileNumber>
|
<FileNumber>33</FileNumber>
|
||||||
<FileType>1</FileType>
|
<FileType>1</FileType>
|
||||||
<tvExp>0</tvExp>
|
<tvExp>0</tvExp>
|
||||||
<tvExpOptDlg>0</tvExpOptDlg>
|
<tvExpOptDlg>0</tvExpOptDlg>
|
||||||
|
@ -806,7 +784,7 @@
|
||||||
</File>
|
</File>
|
||||||
<File>
|
<File>
|
||||||
<GroupNumber>5</GroupNumber>
|
<GroupNumber>5</GroupNumber>
|
||||||
<FileNumber>35</FileNumber>
|
<FileNumber>34</FileNumber>
|
||||||
<FileType>1</FileType>
|
<FileType>1</FileType>
|
||||||
<tvExp>0</tvExp>
|
<tvExp>0</tvExp>
|
||||||
<tvExpOptDlg>0</tvExpOptDlg>
|
<tvExpOptDlg>0</tvExpOptDlg>
|
||||||
|
@ -818,7 +796,7 @@
|
||||||
</File>
|
</File>
|
||||||
<File>
|
<File>
|
||||||
<GroupNumber>5</GroupNumber>
|
<GroupNumber>5</GroupNumber>
|
||||||
<FileNumber>36</FileNumber>
|
<FileNumber>35</FileNumber>
|
||||||
<FileType>1</FileType>
|
<FileType>1</FileType>
|
||||||
<tvExp>0</tvExp>
|
<tvExp>0</tvExp>
|
||||||
<tvExpOptDlg>0</tvExpOptDlg>
|
<tvExpOptDlg>0</tvExpOptDlg>
|
||||||
|
@ -830,7 +808,7 @@
|
||||||
</File>
|
</File>
|
||||||
<File>
|
<File>
|
||||||
<GroupNumber>5</GroupNumber>
|
<GroupNumber>5</GroupNumber>
|
||||||
<FileNumber>37</FileNumber>
|
<FileNumber>36</FileNumber>
|
||||||
<FileType>1</FileType>
|
<FileType>1</FileType>
|
||||||
<tvExp>0</tvExp>
|
<tvExp>0</tvExp>
|
||||||
<tvExpOptDlg>0</tvExpOptDlg>
|
<tvExpOptDlg>0</tvExpOptDlg>
|
||||||
|
@ -842,7 +820,7 @@
|
||||||
</File>
|
</File>
|
||||||
<File>
|
<File>
|
||||||
<GroupNumber>5</GroupNumber>
|
<GroupNumber>5</GroupNumber>
|
||||||
<FileNumber>38</FileNumber>
|
<FileNumber>37</FileNumber>
|
||||||
<FileType>1</FileType>
|
<FileType>1</FileType>
|
||||||
<tvExp>0</tvExp>
|
<tvExp>0</tvExp>
|
||||||
<tvExpOptDlg>0</tvExpOptDlg>
|
<tvExpOptDlg>0</tvExpOptDlg>
|
||||||
|
@ -854,7 +832,7 @@
|
||||||
</File>
|
</File>
|
||||||
<File>
|
<File>
|
||||||
<GroupNumber>5</GroupNumber>
|
<GroupNumber>5</GroupNumber>
|
||||||
<FileNumber>39</FileNumber>
|
<FileNumber>38</FileNumber>
|
||||||
<FileType>1</FileType>
|
<FileType>1</FileType>
|
||||||
<tvExp>0</tvExp>
|
<tvExp>0</tvExp>
|
||||||
<tvExpOptDlg>0</tvExpOptDlg>
|
<tvExpOptDlg>0</tvExpOptDlg>
|
||||||
|
@ -866,7 +844,7 @@
|
||||||
</File>
|
</File>
|
||||||
<File>
|
<File>
|
||||||
<GroupNumber>5</GroupNumber>
|
<GroupNumber>5</GroupNumber>
|
||||||
<FileNumber>40</FileNumber>
|
<FileNumber>39</FileNumber>
|
||||||
<FileType>1</FileType>
|
<FileType>1</FileType>
|
||||||
<tvExp>0</tvExp>
|
<tvExp>0</tvExp>
|
||||||
<tvExpOptDlg>0</tvExpOptDlg>
|
<tvExpOptDlg>0</tvExpOptDlg>
|
||||||
|
@ -876,6 +854,18 @@
|
||||||
<RteFlg>0</RteFlg>
|
<RteFlg>0</RteFlg>
|
||||||
<bShared>0</bShared>
|
<bShared>0</bShared>
|
||||||
</File>
|
</File>
|
||||||
|
<File>
|
||||||
|
<GroupNumber>5</GroupNumber>
|
||||||
|
<FileNumber>40</FileNumber>
|
||||||
|
<FileType>1</FileType>
|
||||||
|
<tvExp>0</tvExp>
|
||||||
|
<tvExpOptDlg>0</tvExpOptDlg>
|
||||||
|
<bDave2>0</bDave2>
|
||||||
|
<PathWithFileName>..\App\Src\uniform.c</PathWithFileName>
|
||||||
|
<FilenameWithoutPath>uniform.c</FilenameWithoutPath>
|
||||||
|
<RteFlg>0</RteFlg>
|
||||||
|
<bShared>0</bShared>
|
||||||
|
</File>
|
||||||
</Group>
|
</Group>
|
||||||
|
|
||||||
<Group>
|
<Group>
|
||||||
|
|
|
@ -1677,11 +1677,6 @@
|
||||||
<FileType>1</FileType>
|
<FileType>1</FileType>
|
||||||
<FilePath>..\App\Src\key.c</FilePath>
|
<FilePath>..\App\Src\key.c</FilePath>
|
||||||
</File>
|
</File>
|
||||||
<File>
|
|
||||||
<FileName>serial_port.c</FileName>
|
|
||||||
<FileType>1</FileType>
|
|
||||||
<FilePath>..\App\Src\serial_port.c</FilePath>
|
|
||||||
</File>
|
|
||||||
<File>
|
<File>
|
||||||
<FileName>ads1220.c</FileName>
|
<FileName>ads1220.c</FileName>
|
||||||
<FileType>1</FileType>
|
<FileType>1</FileType>
|
||||||
|
@ -1727,6 +1722,11 @@
|
||||||
<FileType>1</FileType>
|
<FileType>1</FileType>
|
||||||
<FilePath>..\App\Src\flash.c</FilePath>
|
<FilePath>..\App\Src\flash.c</FilePath>
|
||||||
</File>
|
</File>
|
||||||
|
<File>
|
||||||
|
<FileName>uniform.c</FileName>
|
||||||
|
<FileType>1</FileType>
|
||||||
|
<FilePath>..\App\Src\uniform.c</FilePath>
|
||||||
|
</File>
|
||||||
</Files>
|
</Files>
|
||||||
</Group>
|
</Group>
|
||||||
<Group>
|
<Group>
|
||||||
|
|
Binary file not shown.
|
@ -30,10 +30,9 @@ mfps\ads1220.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_spi.h
|
||||||
mfps\ads1220.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_tim.h
|
mfps\ads1220.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_tim.h
|
||||||
mfps\ads1220.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_tim_ex.h
|
mfps\ads1220.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_tim_ex.h
|
||||||
mfps\ads1220.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_uart.h
|
mfps\ads1220.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_uart.h
|
||||||
mfps\ads1220.o: ../Inc/app.h
|
mfps\ads1220.o: ../App/Inc/app.h
|
||||||
mfps\ads1220.o: ../App/Inc/MyLib.h
|
mfps\ads1220.o: ../App/Inc/MyLib.h
|
||||||
mfps\ads1220.o: ../Inc/main.h
|
mfps\ads1220.o: ../Inc/main.h
|
||||||
mfps\ads1220.o: ../App/Inc/serial_port.h
|
|
||||||
mfps\ads1220.o: ../App/Inc/m1820.h
|
mfps\ads1220.o: ../App/Inc/m1820.h
|
||||||
mfps\ads1220.o: ../App/Inc/oled2.h
|
mfps\ads1220.o: ../App/Inc/oled2.h
|
||||||
mfps\ads1220.o: E:\Softwares\Keil_v5\ARM\ARMCC\Bin\..\include\inttypes.h
|
mfps\ads1220.o: E:\Softwares\Keil_v5\ARM\ARMCC\Bin\..\include\inttypes.h
|
||||||
|
@ -42,7 +41,7 @@ mfps\ads1220.o: ../Inc/i2c.h
|
||||||
mfps\ads1220.o: ../Inc/spi.h
|
mfps\ads1220.o: ../Inc/spi.h
|
||||||
mfps\ads1220.o: ../Inc/tim.h
|
mfps\ads1220.o: ../Inc/tim.h
|
||||||
mfps\ads1220.o: ../Inc/usart.h
|
mfps\ads1220.o: ../Inc/usart.h
|
||||||
mfps\ads1220.o: ../Inc/Uart1.h
|
mfps\ads1220.o: ../App/Inc/Uart1.h
|
||||||
mfps\ads1220.o: ../Inc/gpio.h
|
mfps\ads1220.o: ../Inc/gpio.h
|
||||||
mfps\ads1220.o: ../App/Inc/key.h
|
mfps\ads1220.o: ../App/Inc/key.h
|
||||||
mfps\ads1220.o: ../App/Inc/motor.h
|
mfps\ads1220.o: ../App/Inc/motor.h
|
||||||
|
|
Binary file not shown.
Binary file not shown.
|
@ -1,5 +1,5 @@
|
||||||
mfps\app.o: ..\App\Src\app.c
|
mfps\app.o: ..\App\Src\app.c
|
||||||
mfps\app.o: ../Inc/app.h
|
mfps\app.o: ../App/Inc/app.h
|
||||||
mfps\app.o: ../App/Inc/MyLib.h
|
mfps\app.o: ../App/Inc/MyLib.h
|
||||||
mfps\app.o: ../Inc/main.h
|
mfps\app.o: ../Inc/main.h
|
||||||
mfps\app.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal.h
|
mfps\app.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal.h
|
||||||
|
@ -32,7 +32,6 @@ mfps\app.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_spi.h
|
||||||
mfps\app.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_tim.h
|
mfps\app.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_tim.h
|
||||||
mfps\app.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_tim_ex.h
|
mfps\app.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_tim_ex.h
|
||||||
mfps\app.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_uart.h
|
mfps\app.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_uart.h
|
||||||
mfps\app.o: ../App/Inc/serial_port.h
|
|
||||||
mfps\app.o: ../App/Inc/m1820.h
|
mfps\app.o: ../App/Inc/m1820.h
|
||||||
mfps\app.o: ../App/Inc/oled2.h
|
mfps\app.o: ../App/Inc/oled2.h
|
||||||
mfps\app.o: E:\Softwares\Keil_v5\ARM\ARMCC\Bin\..\include\inttypes.h
|
mfps\app.o: E:\Softwares\Keil_v5\ARM\ARMCC\Bin\..\include\inttypes.h
|
||||||
|
@ -42,7 +41,7 @@ mfps\app.o: ../Inc/i2c.h
|
||||||
mfps\app.o: ../Inc/spi.h
|
mfps\app.o: ../Inc/spi.h
|
||||||
mfps\app.o: ../Inc/tim.h
|
mfps\app.o: ../Inc/tim.h
|
||||||
mfps\app.o: ../Inc/usart.h
|
mfps\app.o: ../Inc/usart.h
|
||||||
mfps\app.o: ../Inc/Uart1.h
|
mfps\app.o: ../App/Inc/Uart1.h
|
||||||
mfps\app.o: ../Inc/gpio.h
|
mfps\app.o: ../Inc/gpio.h
|
||||||
mfps\app.o: ../App/Inc/key.h
|
mfps\app.o: ../App/Inc/key.h
|
||||||
mfps\app.o: ../App/Inc/motor.h
|
mfps\app.o: ../App/Inc/motor.h
|
||||||
|
|
Binary file not shown.
Binary file not shown.
|
@ -31,9 +31,8 @@ mfps\delay.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_spi.h
|
||||||
mfps\delay.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_tim.h
|
mfps\delay.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_tim.h
|
||||||
mfps\delay.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_tim_ex.h
|
mfps\delay.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_tim_ex.h
|
||||||
mfps\delay.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_uart.h
|
mfps\delay.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_uart.h
|
||||||
mfps\delay.o: ../Inc/app.h
|
mfps\delay.o: ../App/Inc/app.h
|
||||||
mfps\delay.o: ../App/Inc/MyLib.h
|
mfps\delay.o: ../App/Inc/MyLib.h
|
||||||
mfps\delay.o: ../App/Inc/serial_port.h
|
|
||||||
mfps\delay.o: ../App/Inc/m1820.h
|
mfps\delay.o: ../App/Inc/m1820.h
|
||||||
mfps\delay.o: ../App/Inc/oled2.h
|
mfps\delay.o: ../App/Inc/oled2.h
|
||||||
mfps\delay.o: E:\Softwares\Keil_v5\ARM\ARMCC\Bin\..\include\inttypes.h
|
mfps\delay.o: E:\Softwares\Keil_v5\ARM\ARMCC\Bin\..\include\inttypes.h
|
||||||
|
@ -43,7 +42,7 @@ mfps\delay.o: ../Inc/i2c.h
|
||||||
mfps\delay.o: ../Inc/spi.h
|
mfps\delay.o: ../Inc/spi.h
|
||||||
mfps\delay.o: ../Inc/tim.h
|
mfps\delay.o: ../Inc/tim.h
|
||||||
mfps\delay.o: ../Inc/usart.h
|
mfps\delay.o: ../Inc/usart.h
|
||||||
mfps\delay.o: ../Inc/Uart1.h
|
mfps\delay.o: ../App/Inc/Uart1.h
|
||||||
mfps\delay.o: ../Inc/gpio.h
|
mfps\delay.o: ../Inc/gpio.h
|
||||||
mfps\delay.o: ../App/Inc/key.h
|
mfps\delay.o: ../App/Inc/key.h
|
||||||
mfps\delay.o: ../App/Inc/motor.h
|
mfps\delay.o: ../App/Inc/motor.h
|
||||||
|
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
|
@ -31,9 +31,8 @@ mfps\key.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_spi.h
|
||||||
mfps\key.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_tim.h
|
mfps\key.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_tim.h
|
||||||
mfps\key.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_tim_ex.h
|
mfps\key.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_tim_ex.h
|
||||||
mfps\key.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_uart.h
|
mfps\key.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_uart.h
|
||||||
mfps\key.o: ../Inc/app.h
|
mfps\key.o: ../App/Inc/app.h
|
||||||
mfps\key.o: ../App/Inc/MyLib.h
|
mfps\key.o: ../App/Inc/MyLib.h
|
||||||
mfps\key.o: ../App/Inc/serial_port.h
|
|
||||||
mfps\key.o: ../App/Inc/m1820.h
|
mfps\key.o: ../App/Inc/m1820.h
|
||||||
mfps\key.o: ../App/Inc/oled2.h
|
mfps\key.o: ../App/Inc/oled2.h
|
||||||
mfps\key.o: E:\Softwares\Keil_v5\ARM\ARMCC\Bin\..\include\inttypes.h
|
mfps\key.o: E:\Softwares\Keil_v5\ARM\ARMCC\Bin\..\include\inttypes.h
|
||||||
|
@ -43,7 +42,7 @@ mfps\key.o: ../Inc/i2c.h
|
||||||
mfps\key.o: ../Inc/spi.h
|
mfps\key.o: ../Inc/spi.h
|
||||||
mfps\key.o: ../Inc/tim.h
|
mfps\key.o: ../Inc/tim.h
|
||||||
mfps\key.o: ../Inc/usart.h
|
mfps\key.o: ../Inc/usart.h
|
||||||
mfps\key.o: ../Inc/Uart1.h
|
mfps\key.o: ../App/Inc/Uart1.h
|
||||||
mfps\key.o: ../Inc/gpio.h
|
mfps\key.o: ../Inc/gpio.h
|
||||||
mfps\key.o: ../App/Inc/motor.h
|
mfps\key.o: ../App/Inc/motor.h
|
||||||
mfps\key.o: ../App/Inc/delay.h
|
mfps\key.o: ../App/Inc/delay.h
|
||||||
|
|
Binary file not shown.
Binary file not shown.
|
@ -31,9 +31,8 @@ mfps\m1820.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_spi.h
|
||||||
mfps\m1820.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_tim.h
|
mfps\m1820.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_tim.h
|
||||||
mfps\m1820.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_tim_ex.h
|
mfps\m1820.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_tim_ex.h
|
||||||
mfps\m1820.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_uart.h
|
mfps\m1820.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_uart.h
|
||||||
mfps\m1820.o: ../Inc/app.h
|
mfps\m1820.o: ../App/Inc/app.h
|
||||||
mfps\m1820.o: ../App/Inc/MyLib.h
|
mfps\m1820.o: ../App/Inc/MyLib.h
|
||||||
mfps\m1820.o: ../App/Inc/serial_port.h
|
|
||||||
mfps\m1820.o: ../App/Inc/oled2.h
|
mfps\m1820.o: ../App/Inc/oled2.h
|
||||||
mfps\m1820.o: E:\Softwares\Keil_v5\ARM\ARMCC\Bin\..\include\inttypes.h
|
mfps\m1820.o: E:\Softwares\Keil_v5\ARM\ARMCC\Bin\..\include\inttypes.h
|
||||||
mfps\m1820.o: ../App/Inc/ads1220.h
|
mfps\m1820.o: ../App/Inc/ads1220.h
|
||||||
|
@ -42,7 +41,7 @@ mfps\m1820.o: ../Inc/i2c.h
|
||||||
mfps\m1820.o: ../Inc/spi.h
|
mfps\m1820.o: ../Inc/spi.h
|
||||||
mfps\m1820.o: ../Inc/tim.h
|
mfps\m1820.o: ../Inc/tim.h
|
||||||
mfps\m1820.o: ../Inc/usart.h
|
mfps\m1820.o: ../Inc/usart.h
|
||||||
mfps\m1820.o: ../Inc/Uart1.h
|
mfps\m1820.o: ../App/Inc/Uart1.h
|
||||||
mfps\m1820.o: ../Inc/gpio.h
|
mfps\m1820.o: ../Inc/gpio.h
|
||||||
mfps\m1820.o: ../App/Inc/key.h
|
mfps\m1820.o: ../App/Inc/key.h
|
||||||
mfps\m1820.o: ../App/Inc/motor.h
|
mfps\m1820.o: ../App/Inc/motor.h
|
||||||
|
|
Binary file not shown.
Binary file not shown.
|
@ -36,15 +36,14 @@ mfps\main.o: ../Inc/spi.h
|
||||||
mfps\main.o: ../Inc/tim.h
|
mfps\main.o: ../Inc/tim.h
|
||||||
mfps\main.o: ../Inc/usart.h
|
mfps\main.o: ../Inc/usart.h
|
||||||
mfps\main.o: ../Inc/gpio.h
|
mfps\main.o: ../Inc/gpio.h
|
||||||
mfps\main.o: ../Inc/app.h
|
mfps\main.o: ../App/Inc/app.h
|
||||||
mfps\main.o: ../App/Inc/MyLib.h
|
mfps\main.o: ../App/Inc/MyLib.h
|
||||||
mfps\main.o: ../App/Inc/serial_port.h
|
|
||||||
mfps\main.o: ../App/Inc/m1820.h
|
mfps\main.o: ../App/Inc/m1820.h
|
||||||
mfps\main.o: ../App/Inc/oled2.h
|
mfps\main.o: ../App/Inc/oled2.h
|
||||||
mfps\main.o: E:\Softwares\Keil_v5\ARM\ARMCC\Bin\..\include\inttypes.h
|
mfps\main.o: E:\Softwares\Keil_v5\ARM\ARMCC\Bin\..\include\inttypes.h
|
||||||
mfps\main.o: ../App/Inc/ads1220.h
|
mfps\main.o: ../App/Inc/ads1220.h
|
||||||
mfps\main.o: ../App/Inc/tmc5160.h
|
mfps\main.o: ../App/Inc/tmc5160.h
|
||||||
mfps\main.o: ../Inc/Uart1.h
|
mfps\main.o: ../App/Inc/Uart1.h
|
||||||
mfps\main.o: ../App/Inc/key.h
|
mfps\main.o: ../App/Inc/key.h
|
||||||
mfps\main.o: ../App/Inc/motor.h
|
mfps\main.o: ../App/Inc/motor.h
|
||||||
mfps\main.o: ../App/Inc/delay.h
|
mfps\main.o: ../App/Inc/delay.h
|
||||||
|
|
Binary file not shown.
Binary file not shown.
|
@ -21,15 +21,15 @@ Target DLL: STLink\ST-LINKIII-KEIL_SWO.dll V3.2.0.0
|
||||||
Dialog DLL: TCM.DLL V1.56.4.0
|
Dialog DLL: TCM.DLL V1.56.4.0
|
||||||
|
|
||||||
<h2>Project:</h2>
|
<h2>Project:</h2>
|
||||||
F:\Desktop\Work\01_λÖ÷´À¡²âÊÔ×°ÖÃ\01_CODE\01_New\2024.05.23\mfps\MDK-ARM\mfps.uvprojx
|
F:\Desktop\Work\00_Projects\01_Magnet_Feedback_Position_System\01_CODE\01_New\2024.05.27\mfps\MDK-ARM\mfps.uvprojx
|
||||||
Project File Date: 05/22/2024
|
Project File Date: 10/14/2024
|
||||||
|
|
||||||
<h2>Output:</h2>
|
<h2>Output:</h2>
|
||||||
*** Using Compiler 'V5.06 update 7 (build 960)', folder: 'E:\Softwares\Keil_v5\ARM\ARMCC\Bin'
|
*** Using Compiler 'V5.06 update 7 (build 960)', folder: 'E:\Softwares\Keil_v5\ARM\ARMCC\Bin'
|
||||||
Build target 'mfps'
|
Build target 'mfps'
|
||||||
compiling motor.c...
|
compiling oled2.c...
|
||||||
linking...
|
linking...
|
||||||
Program Size: Code=35242 RO-data=4418 RW-data=464 ZI-data=5200
|
Program Size: Code=36130 RO-data=4578 RW-data=468 ZI-data=5204
|
||||||
FromELF: creating hex file...
|
FromELF: creating hex file...
|
||||||
"mfps\mfps.axf" - 0 Error(s), 0 Warning(s).
|
"mfps\mfps.axf" - 0 Error(s), 0 Warning(s).
|
||||||
|
|
||||||
|
@ -54,7 +54,7 @@ Package Vendor: Keil
|
||||||
<h2>Collection of Component Files used:</h2>
|
<h2>Collection of Component Files used:</h2>
|
||||||
|
|
||||||
* Component: ARM::CMSIS:CORE@5.6.0
|
* Component: ARM::CMSIS:CORE@5.6.0
|
||||||
Build Time Elapsed: 00:00:01
|
Build Time Elapsed: 00:00:02
|
||||||
</pre>
|
</pre>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
|
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
|
@ -29,7 +29,6 @@
|
||||||
"mfps\app.o"
|
"mfps\app.o"
|
||||||
"mfps\delay.o"
|
"mfps\delay.o"
|
||||||
"mfps\key.o"
|
"mfps\key.o"
|
||||||
"mfps\serial_port.o"
|
|
||||||
"mfps\ads1220.o"
|
"mfps\ads1220.o"
|
||||||
"mfps\m1820.o"
|
"mfps\m1820.o"
|
||||||
"mfps\mylib.o"
|
"mfps\mylib.o"
|
||||||
|
@ -39,6 +38,7 @@
|
||||||
"mfps\motor.o"
|
"mfps\motor.o"
|
||||||
"mfps\uart1.o"
|
"mfps\uart1.o"
|
||||||
"mfps\flash.o"
|
"mfps\flash.o"
|
||||||
|
"mfps\uniform.o"
|
||||||
--strict --scatter "mfps\mfps.sct"
|
--strict --scatter "mfps\mfps.sct"
|
||||||
--summary_stderr --info summarysizes --map --load_addr_map_info --xref --callgraph --symbols
|
--summary_stderr --info summarysizes --map --load_addr_map_info --xref --callgraph --symbols
|
||||||
--info sizes --info totals --info unused --info veneers
|
--info sizes --info totals --info unused --info veneers
|
||||||
|
|
File diff suppressed because it is too large
Load Diff
|
@ -38,16 +38,15 @@ I (../Inc/spi.h)(0x660BB230)
|
||||||
I (../Inc/tim.h)(0x66035A28)
|
I (../Inc/tim.h)(0x66035A28)
|
||||||
I (../Inc/usart.h)(0x660A2CEE)
|
I (../Inc/usart.h)(0x660A2CEE)
|
||||||
I (../Inc/gpio.h)(0x66035A04)
|
I (../Inc/gpio.h)(0x66035A04)
|
||||||
I (../Inc/app.h)(0x664D9405)
|
I (../App/Inc/app.h)(0x670CCE51)
|
||||||
I (../App/Inc/MyLib.h)(0x662A0C9C)
|
I (../App/Inc/MyLib.h)(0x662A0C9C)
|
||||||
I (../App/Inc/serial_port.h)(0x6625D9EB)
|
|
||||||
I (../App/Inc/m1820.h)(0x661E2349)
|
I (../App/Inc/m1820.h)(0x661E2349)
|
||||||
I (../App/Inc/oled2.h)(0x66470E5E)
|
I (../App/Inc/oled2.h)(0x670CEDDC)
|
||||||
I (E:\Softwares\Keil_v5\ARM\ARMCC\include\inttypes.h)(0x5E8E3CC2)
|
I (E:\Softwares\Keil_v5\ARM\ARMCC\include\inttypes.h)(0x5E8E3CC2)
|
||||||
I (../App/Inc/ads1220.h)(0x6641AC72)
|
I (../App/Inc/ads1220.h)(0x6641AC72)
|
||||||
I (../App/Inc/tmc5160.h)(0x663852C9)
|
I (../App/Inc/tmc5160.h)(0x663852C9)
|
||||||
I (../Inc/Uart1.h)(0x6625BD3B)
|
I (../App/Inc/Uart1.h)(0x63EC23DC)
|
||||||
I (../App/Inc/key.h)(0x66271314)
|
I (../App/Inc/key.h)(0x670CED69)
|
||||||
I (../App/Inc/motor.h)(0x664EB0AC)
|
I (../App/Inc/motor.h)(0x664EB0AC)
|
||||||
I (../App/Inc/delay.h)(0x6614F624)
|
I (../App/Inc/delay.h)(0x6614F624)
|
||||||
I (E:\Softwares\Keil_v5\ARM\ARMCC\include\stdio.h)(0x5E8E3CC2)
|
I (E:\Softwares\Keil_v5\ARM\ARMCC\include\stdio.h)(0x5E8E3CC2)
|
||||||
|
@ -246,7 +245,7 @@ I (../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_spi.h)(0x663B42E9)
|
||||||
I (../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_tim.h)(0x663B42E9)
|
I (../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_tim.h)(0x663B42E9)
|
||||||
I (../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_tim_ex.h)(0x663B42E9)
|
I (../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_tim_ex.h)(0x663B42E9)
|
||||||
I (../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_uart.h)(0x663B42E9)
|
I (../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_uart.h)(0x663B42E9)
|
||||||
F (../Src/stm32f1xx_it.c)(0x664EBB58)(--c99 -c --cpu Cortex-M3 -g -O3 --apcs=interwork --split_sections -I ../Drivers/STM32F1xx_HAL_Driver/Inc -I ../Drivers/CMSIS/Device/ST/STM32F1xx/Include -I ../Drivers/CMSIS/Include -I ../Drivers/STM32F1xx_HAL_Driver/Inc/Legacy -I ../Inc -I ../Src -I ../App/Inc -I ../App/Src
-I.\RTE\_mfps
-IE:\Softwares\Arm\Packs\ARM\CMSIS\5.9.0\CMSIS\Core\Include
-IE:\Softwares\Arm\Packs\Keil\STM32F1xx_DFP\2.3.0\Device\Include
-D__UVISION_VERSION="539" -D_RTE_ -DSTM32F10X_HD -D_RTE_ -DSTM32F103xE -DUSE_HAL_DRIVER
-o mfps\stm32f1xx_it.o --omf_browse mfps\stm32f1xx_it.crf --depend mfps\stm32f1xx_it.d)
|
F (../Src/stm32f1xx_it.c)(0x670CC5FD)(--c99 -c --cpu Cortex-M3 -g -O3 --apcs=interwork --split_sections -I ../Drivers/STM32F1xx_HAL_Driver/Inc -I ../Drivers/CMSIS/Device/ST/STM32F1xx/Include -I ../Drivers/CMSIS/Include -I ../Drivers/STM32F1xx_HAL_Driver/Inc/Legacy -I ../Inc -I ../Src -I ../App/Inc -I ../App/Src
-I.\RTE\_mfps
-IE:\Softwares\Arm\Packs\ARM\CMSIS\5.9.0\CMSIS\Core\Include
-IE:\Softwares\Arm\Packs\Keil\STM32F1xx_DFP\2.3.0\Device\Include
-D__UVISION_VERSION="539" -D_RTE_ -DSTM32F10X_HD -D_RTE_ -DSTM32F103xE -DUSE_HAL_DRIVER
-o mfps\stm32f1xx_it.o --omf_browse mfps\stm32f1xx_it.crf --depend mfps\stm32f1xx_it.d)
|
||||||
I (../Inc/main.h)(0x660A29E6)
|
I (../Inc/main.h)(0x660A29E6)
|
||||||
I (../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal.h)(0x663B42E9)
|
I (../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal.h)(0x663B42E9)
|
||||||
I (../Inc/stm32f1xx_hal_conf.h)(0x663B393C)
|
I (../Inc/stm32f1xx_hal_conf.h)(0x663B393C)
|
||||||
|
@ -278,11 +277,10 @@ I (../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_tim.h)(0x663B42E9)
|
||||||
I (../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_tim_ex.h)(0x663B42E9)
|
I (../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_tim_ex.h)(0x663B42E9)
|
||||||
I (../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_uart.h)(0x663B42E9)
|
I (../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_uart.h)(0x663B42E9)
|
||||||
I (../Inc/stm32f1xx_it.h)(0x663C41CD)
|
I (../Inc/stm32f1xx_it.h)(0x663C41CD)
|
||||||
I (../Inc/app.h)(0x664D9405)
|
I (../App/Inc/app.h)(0x670CCE51)
|
||||||
I (../App/Inc/MyLib.h)(0x662A0C9C)
|
I (../App/Inc/MyLib.h)(0x662A0C9C)
|
||||||
I (../App/Inc/serial_port.h)(0x6625D9EB)
|
|
||||||
I (../App/Inc/m1820.h)(0x661E2349)
|
I (../App/Inc/m1820.h)(0x661E2349)
|
||||||
I (../App/Inc/oled2.h)(0x66470E5E)
|
I (../App/Inc/oled2.h)(0x670CEDDC)
|
||||||
I (E:\Softwares\Keil_v5\ARM\ARMCC\include\inttypes.h)(0x5E8E3CC2)
|
I (E:\Softwares\Keil_v5\ARM\ARMCC\include\inttypes.h)(0x5E8E3CC2)
|
||||||
I (../App/Inc/ads1220.h)(0x6641AC72)
|
I (../App/Inc/ads1220.h)(0x6641AC72)
|
||||||
I (../App/Inc/tmc5160.h)(0x663852C9)
|
I (../App/Inc/tmc5160.h)(0x663852C9)
|
||||||
|
@ -290,15 +288,17 @@ I (../Inc/i2c.h)(0x66035A28)
|
||||||
I (../Inc/spi.h)(0x660BB230)
|
I (../Inc/spi.h)(0x660BB230)
|
||||||
I (../Inc/tim.h)(0x66035A28)
|
I (../Inc/tim.h)(0x66035A28)
|
||||||
I (../Inc/usart.h)(0x660A2CEE)
|
I (../Inc/usart.h)(0x660A2CEE)
|
||||||
I (../Inc/Uart1.h)(0x6625BD3B)
|
I (../App/Inc/Uart1.h)(0x63EC23DC)
|
||||||
I (../Inc/gpio.h)(0x66035A04)
|
I (../Inc/gpio.h)(0x66035A04)
|
||||||
I (../App/Inc/key.h)(0x66271314)
|
I (../App/Inc/key.h)(0x670CED69)
|
||||||
I (../App/Inc/motor.h)(0x664EB0AC)
|
I (../App/Inc/motor.h)(0x664EB0AC)
|
||||||
I (../App/Inc/delay.h)(0x6614F624)
|
I (../App/Inc/delay.h)(0x6614F624)
|
||||||
I (E:\Softwares\Keil_v5\ARM\ARMCC\include\stdio.h)(0x5E8E3CC2)
|
I (E:\Softwares\Keil_v5\ARM\ARMCC\include\stdio.h)(0x5E8E3CC2)
|
||||||
I (E:\Softwares\Keil_v5\ARM\ARMCC\include\stdlib.h)(0x5E8E3CC2)
|
I (E:\Softwares\Keil_v5\ARM\ARMCC\include\stdlib.h)(0x5E8E3CC2)
|
||||||
I (E:\Softwares\Keil_v5\ARM\ARMCC\include\string.h)(0x5E8E3CC2)
|
I (E:\Softwares\Keil_v5\ARM\ARMCC\include\string.h)(0x5E8E3CC2)
|
||||||
I (../App/Inc/flash.h)(0x66457FD4)
|
I (../App/Inc/flash.h)(0x66457FD4)
|
||||||
|
I (../App/Inc/serial_port.h)(0x6625D9EB)
|
||||||
|
I (../Inc/Uart1.h)(0x6625BD3B)
|
||||||
F (../Src/stm32f1xx_hal_msp.c)(0x6603B078)(--c99 -c --cpu Cortex-M3 -g -O3 --apcs=interwork --split_sections -I ../Drivers/STM32F1xx_HAL_Driver/Inc -I ../Drivers/CMSIS/Device/ST/STM32F1xx/Include -I ../Drivers/CMSIS/Include -I ../Drivers/STM32F1xx_HAL_Driver/Inc/Legacy -I ../Inc -I ../Src -I ../App/Inc -I ../App/Src
-I.\RTE\_mfps
-IE:\Softwares\Arm\Packs\ARM\CMSIS\5.9.0\CMSIS\Core\Include
-IE:\Softwares\Arm\Packs\Keil\STM32F1xx_DFP\2.3.0\Device\Include
-D__UVISION_VERSION="539" -D_RTE_ -DSTM32F10X_HD -D_RTE_ -DSTM32F103xE -DUSE_HAL_DRIVER
-o mfps\stm32f1xx_hal_msp.o --omf_browse mfps\stm32f1xx_hal_msp.crf --depend mfps\stm32f1xx_hal_msp.d)
|
F (../Src/stm32f1xx_hal_msp.c)(0x6603B078)(--c99 -c --cpu Cortex-M3 -g -O3 --apcs=interwork --split_sections -I ../Drivers/STM32F1xx_HAL_Driver/Inc -I ../Drivers/CMSIS/Device/ST/STM32F1xx/Include -I ../Drivers/CMSIS/Include -I ../Drivers/STM32F1xx_HAL_Driver/Inc/Legacy -I ../Inc -I ../Src -I ../App/Inc -I ../App/Src
-I.\RTE\_mfps
-IE:\Softwares\Arm\Packs\ARM\CMSIS\5.9.0\CMSIS\Core\Include
-IE:\Softwares\Arm\Packs\Keil\STM32F1xx_DFP\2.3.0\Device\Include
-D__UVISION_VERSION="539" -D_RTE_ -DSTM32F10X_HD -D_RTE_ -DSTM32F103xE -DUSE_HAL_DRIVER
-o mfps\stm32f1xx_hal_msp.o --omf_browse mfps\stm32f1xx_hal_msp.crf --depend mfps\stm32f1xx_hal_msp.d)
|
||||||
I (../Inc/main.h)(0x660A29E6)
|
I (../Inc/main.h)(0x660A29E6)
|
||||||
I (../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal.h)(0x663B42E9)
|
I (../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal.h)(0x663B42E9)
|
||||||
|
@ -840,8 +840,8 @@ I (../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_spi.h)(0x663B42E9)
|
||||||
I (../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_tim.h)(0x663B42E9)
|
I (../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_tim.h)(0x663B42E9)
|
||||||
I (../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_tim_ex.h)(0x663B42E9)
|
I (../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_tim_ex.h)(0x663B42E9)
|
||||||
I (../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_uart.h)(0x663B42E9)
|
I (../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_uart.h)(0x663B42E9)
|
||||||
F (..\App\Src\app.c)(0x664ED7EA)(--c99 -c --cpu Cortex-M3 -g -O3 --apcs=interwork --split_sections -I ../Drivers/STM32F1xx_HAL_Driver/Inc -I ../Drivers/CMSIS/Device/ST/STM32F1xx/Include -I ../Drivers/CMSIS/Include -I ../Drivers/STM32F1xx_HAL_Driver/Inc/Legacy -I ../Inc -I ../Src -I ../App/Inc -I ../App/Src
-I.\RTE\_mfps
-IE:\Softwares\Arm\Packs\ARM\CMSIS\5.9.0\CMSIS\Core\Include
-IE:\Softwares\Arm\Packs\Keil\STM32F1xx_DFP\2.3.0\Device\Include
-D__UVISION_VERSION="539" -D_RTE_ -DSTM32F10X_HD -D_RTE_ -DSTM32F103xE -DUSE_HAL_DRIVER
-o mfps\app.o --omf_browse mfps\app.crf --depend mfps\app.d)
|
F (..\App\Src\app.c)(0x670CD695)(--c99 -c --cpu Cortex-M3 -g -O3 --apcs=interwork --split_sections -I ../Drivers/STM32F1xx_HAL_Driver/Inc -I ../Drivers/CMSIS/Device/ST/STM32F1xx/Include -I ../Drivers/CMSIS/Include -I ../Drivers/STM32F1xx_HAL_Driver/Inc/Legacy -I ../Inc -I ../Src -I ../App/Inc -I ../App/Src
-I.\RTE\_mfps
-IE:\Softwares\Arm\Packs\ARM\CMSIS\5.9.0\CMSIS\Core\Include
-IE:\Softwares\Arm\Packs\Keil\STM32F1xx_DFP\2.3.0\Device\Include
-D__UVISION_VERSION="539" -D_RTE_ -DSTM32F10X_HD -D_RTE_ -DSTM32F103xE -DUSE_HAL_DRIVER
-o mfps\app.o --omf_browse mfps\app.crf --depend mfps\app.d)
|
||||||
I (../Inc/app.h)(0x664D9405)
|
I (../App/Inc/app.h)(0x670CCE51)
|
||||||
I (../App/Inc/MyLib.h)(0x662A0C9C)
|
I (../App/Inc/MyLib.h)(0x662A0C9C)
|
||||||
I (../Inc/main.h)(0x660A29E6)
|
I (../Inc/main.h)(0x660A29E6)
|
||||||
I (../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal.h)(0x663B42E9)
|
I (../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal.h)(0x663B42E9)
|
||||||
|
@ -873,9 +873,8 @@ I (../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_spi.h)(0x663B42E9)
|
||||||
I (../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_tim.h)(0x663B42E9)
|
I (../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_tim.h)(0x663B42E9)
|
||||||
I (../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_tim_ex.h)(0x663B42E9)
|
I (../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_tim_ex.h)(0x663B42E9)
|
||||||
I (../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_uart.h)(0x663B42E9)
|
I (../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_uart.h)(0x663B42E9)
|
||||||
I (../App/Inc/serial_port.h)(0x6625D9EB)
|
|
||||||
I (../App/Inc/m1820.h)(0x661E2349)
|
I (../App/Inc/m1820.h)(0x661E2349)
|
||||||
I (../App/Inc/oled2.h)(0x66470E5E)
|
I (../App/Inc/oled2.h)(0x670CEDDC)
|
||||||
I (E:\Softwares\Keil_v5\ARM\ARMCC\include\inttypes.h)(0x5E8E3CC2)
|
I (E:\Softwares\Keil_v5\ARM\ARMCC\include\inttypes.h)(0x5E8E3CC2)
|
||||||
I (../App/Inc/ads1220.h)(0x6641AC72)
|
I (../App/Inc/ads1220.h)(0x6641AC72)
|
||||||
I (../App/Inc/tmc5160.h)(0x663852C9)
|
I (../App/Inc/tmc5160.h)(0x663852C9)
|
||||||
|
@ -883,9 +882,9 @@ I (../Inc/i2c.h)(0x66035A28)
|
||||||
I (../Inc/spi.h)(0x660BB230)
|
I (../Inc/spi.h)(0x660BB230)
|
||||||
I (../Inc/tim.h)(0x66035A28)
|
I (../Inc/tim.h)(0x66035A28)
|
||||||
I (../Inc/usart.h)(0x660A2CEE)
|
I (../Inc/usart.h)(0x660A2CEE)
|
||||||
I (../Inc/Uart1.h)(0x6625BD3B)
|
I (../App/Inc/Uart1.h)(0x63EC23DC)
|
||||||
I (../Inc/gpio.h)(0x66035A04)
|
I (../Inc/gpio.h)(0x66035A04)
|
||||||
I (../App/Inc/key.h)(0x66271314)
|
I (../App/Inc/key.h)(0x670CED69)
|
||||||
I (../App/Inc/motor.h)(0x664EB0AC)
|
I (../App/Inc/motor.h)(0x664EB0AC)
|
||||||
I (../App/Inc/delay.h)(0x6614F624)
|
I (../App/Inc/delay.h)(0x6614F624)
|
||||||
I (E:\Softwares\Keil_v5\ARM\ARMCC\include\stdio.h)(0x5E8E3CC2)
|
I (E:\Softwares\Keil_v5\ARM\ARMCC\include\stdio.h)(0x5E8E3CC2)
|
||||||
|
@ -924,11 +923,10 @@ I (../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_spi.h)(0x663B42E9)
|
||||||
I (../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_tim.h)(0x663B42E9)
|
I (../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_tim.h)(0x663B42E9)
|
||||||
I (../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_tim_ex.h)(0x663B42E9)
|
I (../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_tim_ex.h)(0x663B42E9)
|
||||||
I (../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_uart.h)(0x663B42E9)
|
I (../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_uart.h)(0x663B42E9)
|
||||||
I (../Inc/app.h)(0x664D9405)
|
I (../App/Inc/app.h)(0x670CCE51)
|
||||||
I (../App/Inc/MyLib.h)(0x662A0C9C)
|
I (../App/Inc/MyLib.h)(0x662A0C9C)
|
||||||
I (../App/Inc/serial_port.h)(0x6625D9EB)
|
|
||||||
I (../App/Inc/m1820.h)(0x661E2349)
|
I (../App/Inc/m1820.h)(0x661E2349)
|
||||||
I (../App/Inc/oled2.h)(0x66470E5E)
|
I (../App/Inc/oled2.h)(0x670CEDDC)
|
||||||
I (E:\Softwares\Keil_v5\ARM\ARMCC\include\inttypes.h)(0x5E8E3CC2)
|
I (E:\Softwares\Keil_v5\ARM\ARMCC\include\inttypes.h)(0x5E8E3CC2)
|
||||||
I (../App/Inc/ads1220.h)(0x6641AC72)
|
I (../App/Inc/ads1220.h)(0x6641AC72)
|
||||||
I (../App/Inc/tmc5160.h)(0x663852C9)
|
I (../App/Inc/tmc5160.h)(0x663852C9)
|
||||||
|
@ -936,16 +934,16 @@ I (../Inc/i2c.h)(0x66035A28)
|
||||||
I (../Inc/spi.h)(0x660BB230)
|
I (../Inc/spi.h)(0x660BB230)
|
||||||
I (../Inc/tim.h)(0x66035A28)
|
I (../Inc/tim.h)(0x66035A28)
|
||||||
I (../Inc/usart.h)(0x660A2CEE)
|
I (../Inc/usart.h)(0x660A2CEE)
|
||||||
I (../Inc/Uart1.h)(0x6625BD3B)
|
I (../App/Inc/Uart1.h)(0x63EC23DC)
|
||||||
I (../Inc/gpio.h)(0x66035A04)
|
I (../Inc/gpio.h)(0x66035A04)
|
||||||
I (../App/Inc/key.h)(0x66271314)
|
I (../App/Inc/key.h)(0x670CED69)
|
||||||
I (../App/Inc/motor.h)(0x664EB0AC)
|
I (../App/Inc/motor.h)(0x664EB0AC)
|
||||||
I (E:\Softwares\Keil_v5\ARM\ARMCC\include\stdio.h)(0x5E8E3CC2)
|
I (E:\Softwares\Keil_v5\ARM\ARMCC\include\stdio.h)(0x5E8E3CC2)
|
||||||
I (E:\Softwares\Keil_v5\ARM\ARMCC\include\stdlib.h)(0x5E8E3CC2)
|
I (E:\Softwares\Keil_v5\ARM\ARMCC\include\stdlib.h)(0x5E8E3CC2)
|
||||||
I (E:\Softwares\Keil_v5\ARM\ARMCC\include\string.h)(0x5E8E3CC2)
|
I (E:\Softwares\Keil_v5\ARM\ARMCC\include\string.h)(0x5E8E3CC2)
|
||||||
I (../App/Inc/flash.h)(0x66457FD4)
|
I (../App/Inc/flash.h)(0x66457FD4)
|
||||||
F (..\App\Src\key.c)(0x66470F4D)(--c99 -c --cpu Cortex-M3 -g -O3 --apcs=interwork --split_sections -I ../Drivers/STM32F1xx_HAL_Driver/Inc -I ../Drivers/CMSIS/Device/ST/STM32F1xx/Include -I ../Drivers/CMSIS/Include -I ../Drivers/STM32F1xx_HAL_Driver/Inc/Legacy -I ../Inc -I ../Src -I ../App/Inc -I ../App/Src
-I.\RTE\_mfps
-IE:\Softwares\Arm\Packs\ARM\CMSIS\5.9.0\CMSIS\Core\Include
-IE:\Softwares\Arm\Packs\Keil\STM32F1xx_DFP\2.3.0\Device\Include
-D__UVISION_VERSION="539" -D_RTE_ -DSTM32F10X_HD -D_RTE_ -DSTM32F103xE -DUSE_HAL_DRIVER
-o mfps\key.o --omf_browse mfps\key.crf --depend mfps\key.d)
|
F (..\App\Src\key.c)(0x670CED69)(--c99 -c --cpu Cortex-M3 -g -O3 --apcs=interwork --split_sections -I ../Drivers/STM32F1xx_HAL_Driver/Inc -I ../Drivers/CMSIS/Device/ST/STM32F1xx/Include -I ../Drivers/CMSIS/Include -I ../Drivers/STM32F1xx_HAL_Driver/Inc/Legacy -I ../Inc -I ../Src -I ../App/Inc -I ../App/Src
-I.\RTE\_mfps
-IE:\Softwares\Arm\Packs\ARM\CMSIS\5.9.0\CMSIS\Core\Include
-IE:\Softwares\Arm\Packs\Keil\STM32F1xx_DFP\2.3.0\Device\Include
-D__UVISION_VERSION="539" -D_RTE_ -DSTM32F10X_HD -D_RTE_ -DSTM32F103xE -DUSE_HAL_DRIVER
-o mfps\key.o --omf_browse mfps\key.crf --depend mfps\key.d)
|
||||||
I (../App/Inc/key.h)(0x66271314)
|
I (../App/Inc/key.h)(0x670CED69)
|
||||||
I (../Inc/main.h)(0x660A29E6)
|
I (../Inc/main.h)(0x660A29E6)
|
||||||
I (../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal.h)(0x663B42E9)
|
I (../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal.h)(0x663B42E9)
|
||||||
I (../Inc/stm32f1xx_hal_conf.h)(0x663B393C)
|
I (../Inc/stm32f1xx_hal_conf.h)(0x663B393C)
|
||||||
|
@ -976,11 +974,10 @@ I (../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_spi.h)(0x663B42E9)
|
||||||
I (../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_tim.h)(0x663B42E9)
|
I (../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_tim.h)(0x663B42E9)
|
||||||
I (../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_tim_ex.h)(0x663B42E9)
|
I (../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_tim_ex.h)(0x663B42E9)
|
||||||
I (../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_uart.h)(0x663B42E9)
|
I (../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_uart.h)(0x663B42E9)
|
||||||
I (../Inc/app.h)(0x664D9405)
|
I (../App/Inc/app.h)(0x670CCE51)
|
||||||
I (../App/Inc/MyLib.h)(0x662A0C9C)
|
I (../App/Inc/MyLib.h)(0x662A0C9C)
|
||||||
I (../App/Inc/serial_port.h)(0x6625D9EB)
|
|
||||||
I (../App/Inc/m1820.h)(0x661E2349)
|
I (../App/Inc/m1820.h)(0x661E2349)
|
||||||
I (../App/Inc/oled2.h)(0x66470E5E)
|
I (../App/Inc/oled2.h)(0x670CEDDC)
|
||||||
I (E:\Softwares\Keil_v5\ARM\ARMCC\include\inttypes.h)(0x5E8E3CC2)
|
I (E:\Softwares\Keil_v5\ARM\ARMCC\include\inttypes.h)(0x5E8E3CC2)
|
||||||
I (../App/Inc/ads1220.h)(0x6641AC72)
|
I (../App/Inc/ads1220.h)(0x6641AC72)
|
||||||
I (../App/Inc/tmc5160.h)(0x663852C9)
|
I (../App/Inc/tmc5160.h)(0x663852C9)
|
||||||
|
@ -988,7 +985,7 @@ I (../Inc/i2c.h)(0x66035A28)
|
||||||
I (../Inc/spi.h)(0x660BB230)
|
I (../Inc/spi.h)(0x660BB230)
|
||||||
I (../Inc/tim.h)(0x66035A28)
|
I (../Inc/tim.h)(0x66035A28)
|
||||||
I (../Inc/usart.h)(0x660A2CEE)
|
I (../Inc/usart.h)(0x660A2CEE)
|
||||||
I (../Inc/Uart1.h)(0x6625BD3B)
|
I (../App/Inc/Uart1.h)(0x63EC23DC)
|
||||||
I (../Inc/gpio.h)(0x66035A04)
|
I (../Inc/gpio.h)(0x66035A04)
|
||||||
I (../App/Inc/motor.h)(0x664EB0AC)
|
I (../App/Inc/motor.h)(0x664EB0AC)
|
||||||
I (../App/Inc/delay.h)(0x6614F624)
|
I (../App/Inc/delay.h)(0x6614F624)
|
||||||
|
@ -996,58 +993,6 @@ I (E:\Softwares\Keil_v5\ARM\ARMCC\include\stdio.h)(0x5E8E3CC2)
|
||||||
I (E:\Softwares\Keil_v5\ARM\ARMCC\include\stdlib.h)(0x5E8E3CC2)
|
I (E:\Softwares\Keil_v5\ARM\ARMCC\include\stdlib.h)(0x5E8E3CC2)
|
||||||
I (E:\Softwares\Keil_v5\ARM\ARMCC\include\string.h)(0x5E8E3CC2)
|
I (E:\Softwares\Keil_v5\ARM\ARMCC\include\string.h)(0x5E8E3CC2)
|
||||||
I (../App/Inc/flash.h)(0x66457FD4)
|
I (../App/Inc/flash.h)(0x66457FD4)
|
||||||
F (..\App\Src\serial_port.c)(0x6645783E)(--c99 -c --cpu Cortex-M3 -g -O3 --apcs=interwork --split_sections -I ../Drivers/STM32F1xx_HAL_Driver/Inc -I ../Drivers/CMSIS/Device/ST/STM32F1xx/Include -I ../Drivers/CMSIS/Include -I ../Drivers/STM32F1xx_HAL_Driver/Inc/Legacy -I ../Inc -I ../Src -I ../App/Inc -I ../App/Src
-I.\RTE\_mfps
-IE:\Softwares\Arm\Packs\ARM\CMSIS\5.9.0\CMSIS\Core\Include
-IE:\Softwares\Arm\Packs\Keil\STM32F1xx_DFP\2.3.0\Device\Include
-D__UVISION_VERSION="539" -D_RTE_ -DSTM32F10X_HD -D_RTE_ -DSTM32F103xE -DUSE_HAL_DRIVER
-o mfps\serial_port.o --omf_browse mfps\serial_port.crf --depend mfps\serial_port.d)
|
|
||||||
I (../App/Inc/serial_port.h)(0x6625D9EB)
|
|
||||||
I (../Inc/main.h)(0x660A29E6)
|
|
||||||
I (../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal.h)(0x663B42E9)
|
|
||||||
I (../Inc/stm32f1xx_hal_conf.h)(0x663B393C)
|
|
||||||
I (../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_rcc.h)(0x663B42E9)
|
|
||||||
I (../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_def.h)(0x663B42E9)
|
|
||||||
I (../Drivers/CMSIS/Device/ST/STM32F1xx/Include/stm32f1xx.h)(0x663B42E9)
|
|
||||||
I (../Drivers/CMSIS/Device/ST/STM32F1xx/Include/stm32f103xe.h)(0x663B42E9)
|
|
||||||
I (../Drivers/CMSIS/Include/core_cm3.h)(0x663B42E0)
|
|
||||||
I (E:\Softwares\Keil_v5\ARM\ARMCC\include\stdint.h)(0x5E8E3CC2)
|
|
||||||
I (../Drivers/CMSIS/Include/cmsis_version.h)(0x663B42E0)
|
|
||||||
I (../Drivers/CMSIS/Include/cmsis_compiler.h)(0x663B42E0)
|
|
||||||
I (../Drivers/CMSIS/Include/cmsis_armcc.h)(0x663B42E0)
|
|
||||||
I (../Drivers/CMSIS/Device/ST/STM32F1xx/Include/system_stm32f1xx.h)(0x663B42E9)
|
|
||||||
I (../Drivers/STM32F1xx_HAL_Driver/Inc/Legacy/stm32_hal_legacy.h)(0x663B42E9)
|
|
||||||
I (E:\Softwares\Keil_v5\ARM\ARMCC\include\stddef.h)(0x5E8E3CC2)
|
|
||||||
I (../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_rcc_ex.h)(0x663B42E9)
|
|
||||||
I (../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_gpio.h)(0x663B42E9)
|
|
||||||
I (../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_gpio_ex.h)(0x663B42E9)
|
|
||||||
I (../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_exti.h)(0x663B42E9)
|
|
||||||
I (../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_dma.h)(0x663B42E9)
|
|
||||||
I (../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_dma_ex.h)(0x663B42E9)
|
|
||||||
I (../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_cortex.h)(0x663B42E9)
|
|
||||||
I (../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_flash.h)(0x663B42E9)
|
|
||||||
I (../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_flash_ex.h)(0x663B42E9)
|
|
||||||
I (../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_i2c.h)(0x663B42E9)
|
|
||||||
I (../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_pwr.h)(0x663B42E9)
|
|
||||||
I (../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_spi.h)(0x663B42E9)
|
|
||||||
I (../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_tim.h)(0x663B42E9)
|
|
||||||
I (../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_tim_ex.h)(0x663B42E9)
|
|
||||||
I (../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_uart.h)(0x663B42E9)
|
|
||||||
I (../Inc/usart.h)(0x660A2CEE)
|
|
||||||
I (E:\Softwares\Keil_v5\ARM\ARMCC\include\string.h)(0x5E8E3CC2)
|
|
||||||
I (../Inc/app.h)(0x664D9405)
|
|
||||||
I (../App/Inc/MyLib.h)(0x662A0C9C)
|
|
||||||
I (../App/Inc/m1820.h)(0x661E2349)
|
|
||||||
I (../App/Inc/oled2.h)(0x66470E5E)
|
|
||||||
I (E:\Softwares\Keil_v5\ARM\ARMCC\include\inttypes.h)(0x5E8E3CC2)
|
|
||||||
I (../App/Inc/ads1220.h)(0x6641AC72)
|
|
||||||
I (../App/Inc/tmc5160.h)(0x663852C9)
|
|
||||||
I (../Inc/i2c.h)(0x66035A28)
|
|
||||||
I (../Inc/spi.h)(0x660BB230)
|
|
||||||
I (../Inc/tim.h)(0x66035A28)
|
|
||||||
I (../Inc/Uart1.h)(0x6625BD3B)
|
|
||||||
I (../Inc/gpio.h)(0x66035A04)
|
|
||||||
I (../App/Inc/key.h)(0x66271314)
|
|
||||||
I (../App/Inc/motor.h)(0x664EB0AC)
|
|
||||||
I (../App/Inc/delay.h)(0x6614F624)
|
|
||||||
I (E:\Softwares\Keil_v5\ARM\ARMCC\include\stdio.h)(0x5E8E3CC2)
|
|
||||||
I (E:\Softwares\Keil_v5\ARM\ARMCC\include\stdlib.h)(0x5E8E3CC2)
|
|
||||||
I (../App/Inc/flash.h)(0x66457FD4)
|
|
||||||
F (..\App\Src\ads1220.c)(0x6646C6DB)(--c99 -c --cpu Cortex-M3 -g -O3 --apcs=interwork --split_sections -I ../Drivers/STM32F1xx_HAL_Driver/Inc -I ../Drivers/CMSIS/Device/ST/STM32F1xx/Include -I ../Drivers/CMSIS/Include -I ../Drivers/STM32F1xx_HAL_Driver/Inc/Legacy -I ../Inc -I ../Src -I ../App/Inc -I ../App/Src
-I.\RTE\_mfps
-IE:\Softwares\Arm\Packs\ARM\CMSIS\5.9.0\CMSIS\Core\Include
-IE:\Softwares\Arm\Packs\Keil\STM32F1xx_DFP\2.3.0\Device\Include
-D__UVISION_VERSION="539" -D_RTE_ -DSTM32F10X_HD -D_RTE_ -DSTM32F103xE -DUSE_HAL_DRIVER
-o mfps\ads1220.o --omf_browse mfps\ads1220.crf --depend mfps\ads1220.d)
|
F (..\App\Src\ads1220.c)(0x6646C6DB)(--c99 -c --cpu Cortex-M3 -g -O3 --apcs=interwork --split_sections -I ../Drivers/STM32F1xx_HAL_Driver/Inc -I ../Drivers/CMSIS/Device/ST/STM32F1xx/Include -I ../Drivers/CMSIS/Include -I ../Drivers/STM32F1xx_HAL_Driver/Inc/Legacy -I ../Inc -I ../Src -I ../App/Inc -I ../App/Src
-I.\RTE\_mfps
-IE:\Softwares\Arm\Packs\ARM\CMSIS\5.9.0\CMSIS\Core\Include
-IE:\Softwares\Arm\Packs\Keil\STM32F1xx_DFP\2.3.0\Device\Include
-D__UVISION_VERSION="539" -D_RTE_ -DSTM32F10X_HD -D_RTE_ -DSTM32F103xE -DUSE_HAL_DRIVER
-o mfps\ads1220.o --omf_browse mfps\ads1220.crf --depend mfps\ads1220.d)
|
||||||
I (../App/Inc/ads1220.h)(0x6641AC72)
|
I (../App/Inc/ads1220.h)(0x6641AC72)
|
||||||
I (../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal.h)(0x663B42E9)
|
I (../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal.h)(0x663B42E9)
|
||||||
|
@ -1079,21 +1024,20 @@ I (../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_spi.h)(0x663B42E9)
|
||||||
I (../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_tim.h)(0x663B42E9)
|
I (../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_tim.h)(0x663B42E9)
|
||||||
I (../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_tim_ex.h)(0x663B42E9)
|
I (../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_tim_ex.h)(0x663B42E9)
|
||||||
I (../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_uart.h)(0x663B42E9)
|
I (../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_uart.h)(0x663B42E9)
|
||||||
I (../Inc/app.h)(0x664D9405)
|
I (../App/Inc/app.h)(0x670CCE51)
|
||||||
I (../App/Inc/MyLib.h)(0x662A0C9C)
|
I (../App/Inc/MyLib.h)(0x662A0C9C)
|
||||||
I (../Inc/main.h)(0x660A29E6)
|
I (../Inc/main.h)(0x660A29E6)
|
||||||
I (../App/Inc/serial_port.h)(0x6625D9EB)
|
|
||||||
I (../App/Inc/m1820.h)(0x661E2349)
|
I (../App/Inc/m1820.h)(0x661E2349)
|
||||||
I (../App/Inc/oled2.h)(0x66470E5E)
|
I (../App/Inc/oled2.h)(0x670CEDDC)
|
||||||
I (E:\Softwares\Keil_v5\ARM\ARMCC\include\inttypes.h)(0x5E8E3CC2)
|
I (E:\Softwares\Keil_v5\ARM\ARMCC\include\inttypes.h)(0x5E8E3CC2)
|
||||||
I (../App/Inc/tmc5160.h)(0x663852C9)
|
I (../App/Inc/tmc5160.h)(0x663852C9)
|
||||||
I (../Inc/i2c.h)(0x66035A28)
|
I (../Inc/i2c.h)(0x66035A28)
|
||||||
I (../Inc/spi.h)(0x660BB230)
|
I (../Inc/spi.h)(0x660BB230)
|
||||||
I (../Inc/tim.h)(0x66035A28)
|
I (../Inc/tim.h)(0x66035A28)
|
||||||
I (../Inc/usart.h)(0x660A2CEE)
|
I (../Inc/usart.h)(0x660A2CEE)
|
||||||
I (../Inc/Uart1.h)(0x6625BD3B)
|
I (../App/Inc/Uart1.h)(0x63EC23DC)
|
||||||
I (../Inc/gpio.h)(0x66035A04)
|
I (../Inc/gpio.h)(0x66035A04)
|
||||||
I (../App/Inc/key.h)(0x66271314)
|
I (../App/Inc/key.h)(0x670CED69)
|
||||||
I (../App/Inc/motor.h)(0x664EB0AC)
|
I (../App/Inc/motor.h)(0x664EB0AC)
|
||||||
I (../App/Inc/delay.h)(0x6614F624)
|
I (../App/Inc/delay.h)(0x6614F624)
|
||||||
I (E:\Softwares\Keil_v5\ARM\ARMCC\include\stdio.h)(0x5E8E3CC2)
|
I (E:\Softwares\Keil_v5\ARM\ARMCC\include\stdio.h)(0x5E8E3CC2)
|
||||||
|
@ -1132,10 +1076,9 @@ I (../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_spi.h)(0x663B42E9)
|
||||||
I (../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_tim.h)(0x663B42E9)
|
I (../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_tim.h)(0x663B42E9)
|
||||||
I (../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_tim_ex.h)(0x663B42E9)
|
I (../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_tim_ex.h)(0x663B42E9)
|
||||||
I (../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_uart.h)(0x663B42E9)
|
I (../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_uart.h)(0x663B42E9)
|
||||||
I (../Inc/app.h)(0x664D9405)
|
I (../App/Inc/app.h)(0x670CCE51)
|
||||||
I (../App/Inc/MyLib.h)(0x662A0C9C)
|
I (../App/Inc/MyLib.h)(0x662A0C9C)
|
||||||
I (../App/Inc/serial_port.h)(0x6625D9EB)
|
I (../App/Inc/oled2.h)(0x670CEDDC)
|
||||||
I (../App/Inc/oled2.h)(0x66470E5E)
|
|
||||||
I (E:\Softwares\Keil_v5\ARM\ARMCC\include\inttypes.h)(0x5E8E3CC2)
|
I (E:\Softwares\Keil_v5\ARM\ARMCC\include\inttypes.h)(0x5E8E3CC2)
|
||||||
I (../App/Inc/ads1220.h)(0x6641AC72)
|
I (../App/Inc/ads1220.h)(0x6641AC72)
|
||||||
I (../App/Inc/tmc5160.h)(0x663852C9)
|
I (../App/Inc/tmc5160.h)(0x663852C9)
|
||||||
|
@ -1143,16 +1086,16 @@ I (../Inc/i2c.h)(0x66035A28)
|
||||||
I (../Inc/spi.h)(0x660BB230)
|
I (../Inc/spi.h)(0x660BB230)
|
||||||
I (../Inc/tim.h)(0x66035A28)
|
I (../Inc/tim.h)(0x66035A28)
|
||||||
I (../Inc/usart.h)(0x660A2CEE)
|
I (../Inc/usart.h)(0x660A2CEE)
|
||||||
I (../Inc/Uart1.h)(0x6625BD3B)
|
I (../App/Inc/Uart1.h)(0x63EC23DC)
|
||||||
I (../Inc/gpio.h)(0x66035A04)
|
I (../Inc/gpio.h)(0x66035A04)
|
||||||
I (../App/Inc/key.h)(0x66271314)
|
I (../App/Inc/key.h)(0x670CED69)
|
||||||
I (../App/Inc/motor.h)(0x664EB0AC)
|
I (../App/Inc/motor.h)(0x664EB0AC)
|
||||||
I (../App/Inc/delay.h)(0x6614F624)
|
I (../App/Inc/delay.h)(0x6614F624)
|
||||||
I (E:\Softwares\Keil_v5\ARM\ARMCC\include\stdio.h)(0x5E8E3CC2)
|
I (E:\Softwares\Keil_v5\ARM\ARMCC\include\stdio.h)(0x5E8E3CC2)
|
||||||
I (E:\Softwares\Keil_v5\ARM\ARMCC\include\stdlib.h)(0x5E8E3CC2)
|
I (E:\Softwares\Keil_v5\ARM\ARMCC\include\stdlib.h)(0x5E8E3CC2)
|
||||||
I (E:\Softwares\Keil_v5\ARM\ARMCC\include\string.h)(0x5E8E3CC2)
|
I (E:\Softwares\Keil_v5\ARM\ARMCC\include\string.h)(0x5E8E3CC2)
|
||||||
I (../App/Inc/flash.h)(0x66457FD4)
|
I (../App/Inc/flash.h)(0x66457FD4)
|
||||||
F (..\App\Src\myLib.c)(0x6646FED6)(--c99 -c --cpu Cortex-M3 -g -O3 --apcs=interwork --split_sections -I ../Drivers/STM32F1xx_HAL_Driver/Inc -I ../Drivers/CMSIS/Device/ST/STM32F1xx/Include -I ../Drivers/CMSIS/Include -I ../Drivers/STM32F1xx_HAL_Driver/Inc/Legacy -I ../Inc -I ../Src -I ../App/Inc -I ../App/Src
-I.\RTE\_mfps
-IE:\Softwares\Arm\Packs\ARM\CMSIS\5.9.0\CMSIS\Core\Include
-IE:\Softwares\Arm\Packs\Keil\STM32F1xx_DFP\2.3.0\Device\Include
-D__UVISION_VERSION="539" -D_RTE_ -DSTM32F10X_HD -D_RTE_ -DSTM32F103xE -DUSE_HAL_DRIVER
-o mfps\mylib.o --omf_browse mfps\mylib.crf --depend mfps\mylib.d)
|
F (..\App\Src\myLib.c)(0x670CEBCD)(--c99 -c --cpu Cortex-M3 -g -O3 --apcs=interwork --split_sections -I ../Drivers/STM32F1xx_HAL_Driver/Inc -I ../Drivers/CMSIS/Device/ST/STM32F1xx/Include -I ../Drivers/CMSIS/Include -I ../Drivers/STM32F1xx_HAL_Driver/Inc/Legacy -I ../Inc -I ../Src -I ../App/Inc -I ../App/Src
-I.\RTE\_mfps
-IE:\Softwares\Arm\Packs\ARM\CMSIS\5.9.0\CMSIS\Core\Include
-IE:\Softwares\Arm\Packs\Keil\STM32F1xx_DFP\2.3.0\Device\Include
-D__UVISION_VERSION="539" -D_RTE_ -DSTM32F10X_HD -D_RTE_ -DSTM32F103xE -DUSE_HAL_DRIVER
-o mfps\mylib.o --omf_browse mfps\mylib.crf --depend mfps\mylib.d)
|
||||||
I (../App/Inc/myLib.h)(0x662A0C9C)
|
I (../App/Inc/myLib.h)(0x662A0C9C)
|
||||||
I (../Inc/main.h)(0x660A29E6)
|
I (../Inc/main.h)(0x660A29E6)
|
||||||
I (../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal.h)(0x663B42E9)
|
I (../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal.h)(0x663B42E9)
|
||||||
|
@ -1184,7 +1127,7 @@ I (../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_spi.h)(0x663B42E9)
|
||||||
I (../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_tim.h)(0x663B42E9)
|
I (../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_tim.h)(0x663B42E9)
|
||||||
I (../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_tim_ex.h)(0x663B42E9)
|
I (../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_tim_ex.h)(0x663B42E9)
|
||||||
I (../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_uart.h)(0x663B42E9)
|
I (../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_uart.h)(0x663B42E9)
|
||||||
F (..\App\Src\tmc5160.c)(0x664EE20B)(--c99 -c --cpu Cortex-M3 -g -O3 --apcs=interwork --split_sections -I ../Drivers/STM32F1xx_HAL_Driver/Inc -I ../Drivers/CMSIS/Device/ST/STM32F1xx/Include -I ../Drivers/CMSIS/Include -I ../Drivers/STM32F1xx_HAL_Driver/Inc/Legacy -I ../Inc -I ../Src -I ../App/Inc -I ../App/Src
-I.\RTE\_mfps
-IE:\Softwares\Arm\Packs\ARM\CMSIS\5.9.0\CMSIS\Core\Include
-IE:\Softwares\Arm\Packs\Keil\STM32F1xx_DFP\2.3.0\Device\Include
-D__UVISION_VERSION="539" -D_RTE_ -DSTM32F10X_HD -D_RTE_ -DSTM32F103xE -DUSE_HAL_DRIVER
-o mfps\tmc5160.o --omf_browse mfps\tmc5160.crf --depend mfps\tmc5160.d)
|
F (..\App\Src\tmc5160.c)(0x66541B91)(--c99 -c --cpu Cortex-M3 -g -O3 --apcs=interwork --split_sections -I ../Drivers/STM32F1xx_HAL_Driver/Inc -I ../Drivers/CMSIS/Device/ST/STM32F1xx/Include -I ../Drivers/CMSIS/Include -I ../Drivers/STM32F1xx_HAL_Driver/Inc/Legacy -I ../Inc -I ../Src -I ../App/Inc -I ../App/Src
-I.\RTE\_mfps
-IE:\Softwares\Arm\Packs\ARM\CMSIS\5.9.0\CMSIS\Core\Include
-IE:\Softwares\Arm\Packs\Keil\STM32F1xx_DFP\2.3.0\Device\Include
-D__UVISION_VERSION="539" -D_RTE_ -DSTM32F10X_HD -D_RTE_ -DSTM32F103xE -DUSE_HAL_DRIVER
-o mfps\tmc5160.o --omf_browse mfps\tmc5160.crf --depend mfps\tmc5160.d)
|
||||||
I (../App/Inc/tmc5160.h)(0x663852C9)
|
I (../App/Inc/tmc5160.h)(0x663852C9)
|
||||||
I (../Inc/main.h)(0x660A29E6)
|
I (../Inc/main.h)(0x660A29E6)
|
||||||
I (../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal.h)(0x663B42E9)
|
I (../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal.h)(0x663B42E9)
|
||||||
|
@ -1216,20 +1159,19 @@ I (../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_spi.h)(0x663B42E9)
|
||||||
I (../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_tim.h)(0x663B42E9)
|
I (../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_tim.h)(0x663B42E9)
|
||||||
I (../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_tim_ex.h)(0x663B42E9)
|
I (../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_tim_ex.h)(0x663B42E9)
|
||||||
I (../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_uart.h)(0x663B42E9)
|
I (../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_uart.h)(0x663B42E9)
|
||||||
I (../Inc/app.h)(0x664D9405)
|
I (../App/Inc/app.h)(0x670CCE51)
|
||||||
I (../App/Inc/MyLib.h)(0x662A0C9C)
|
I (../App/Inc/MyLib.h)(0x662A0C9C)
|
||||||
I (../App/Inc/serial_port.h)(0x6625D9EB)
|
|
||||||
I (../App/Inc/m1820.h)(0x661E2349)
|
I (../App/Inc/m1820.h)(0x661E2349)
|
||||||
I (../App/Inc/oled2.h)(0x66470E5E)
|
I (../App/Inc/oled2.h)(0x670CEDDC)
|
||||||
I (E:\Softwares\Keil_v5\ARM\ARMCC\include\inttypes.h)(0x5E8E3CC2)
|
I (E:\Softwares\Keil_v5\ARM\ARMCC\include\inttypes.h)(0x5E8E3CC2)
|
||||||
I (../App/Inc/ads1220.h)(0x6641AC72)
|
I (../App/Inc/ads1220.h)(0x6641AC72)
|
||||||
I (../Inc/i2c.h)(0x66035A28)
|
I (../Inc/i2c.h)(0x66035A28)
|
||||||
I (../Inc/spi.h)(0x660BB230)
|
I (../Inc/spi.h)(0x660BB230)
|
||||||
I (../Inc/tim.h)(0x66035A28)
|
I (../Inc/tim.h)(0x66035A28)
|
||||||
I (../Inc/usart.h)(0x660A2CEE)
|
I (../Inc/usart.h)(0x660A2CEE)
|
||||||
I (../Inc/Uart1.h)(0x6625BD3B)
|
I (../App/Inc/Uart1.h)(0x63EC23DC)
|
||||||
I (../Inc/gpio.h)(0x66035A04)
|
I (../Inc/gpio.h)(0x66035A04)
|
||||||
I (../App/Inc/key.h)(0x66271314)
|
I (../App/Inc/key.h)(0x670CED69)
|
||||||
I (../App/Inc/motor.h)(0x664EB0AC)
|
I (../App/Inc/motor.h)(0x664EB0AC)
|
||||||
I (../App/Inc/delay.h)(0x6614F624)
|
I (../App/Inc/delay.h)(0x6614F624)
|
||||||
I (E:\Softwares\Keil_v5\ARM\ARMCC\include\stdio.h)(0x5E8E3CC2)
|
I (E:\Softwares\Keil_v5\ARM\ARMCC\include\stdio.h)(0x5E8E3CC2)
|
||||||
|
@ -1267,8 +1209,8 @@ I (../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_spi.h)(0x663B42E9)
|
||||||
I (../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_tim.h)(0x663B42E9)
|
I (../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_tim.h)(0x663B42E9)
|
||||||
I (../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_tim_ex.h)(0x663B42E9)
|
I (../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_tim_ex.h)(0x663B42E9)
|
||||||
I (../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_uart.h)(0x663B42E9)
|
I (../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_uart.h)(0x663B42E9)
|
||||||
F (..\App\Src\oled2.c)(0x664EB49F)(--c99 -c --cpu Cortex-M3 -g -O3 --apcs=interwork --split_sections -I ../Drivers/STM32F1xx_HAL_Driver/Inc -I ../Drivers/CMSIS/Device/ST/STM32F1xx/Include -I ../Drivers/CMSIS/Include -I ../Drivers/STM32F1xx_HAL_Driver/Inc/Legacy -I ../Inc -I ../Src -I ../App/Inc -I ../App/Src
-I.\RTE\_mfps
-IE:\Softwares\Arm\Packs\ARM\CMSIS\5.9.0\CMSIS\Core\Include
-IE:\Softwares\Arm\Packs\Keil\STM32F1xx_DFP\2.3.0\Device\Include
-D__UVISION_VERSION="539" -D_RTE_ -DSTM32F10X_HD -D_RTE_ -DSTM32F103xE -DUSE_HAL_DRIVER
-o mfps\oled2.o --omf_browse mfps\oled2.crf --depend mfps\oled2.d)
|
F (..\App\Src\oled2.c)(0x670CEEC6)(--c99 -c --cpu Cortex-M3 -g -O3 --apcs=interwork --split_sections -I ../Drivers/STM32F1xx_HAL_Driver/Inc -I ../Drivers/CMSIS/Device/ST/STM32F1xx/Include -I ../Drivers/CMSIS/Include -I ../Drivers/STM32F1xx_HAL_Driver/Inc/Legacy -I ../Inc -I ../Src -I ../App/Inc -I ../App/Src
-I.\RTE\_mfps
-IE:\Softwares\Arm\Packs\ARM\CMSIS\5.9.0\CMSIS\Core\Include
-IE:\Softwares\Arm\Packs\Keil\STM32F1xx_DFP\2.3.0\Device\Include
-D__UVISION_VERSION="539" -D_RTE_ -DSTM32F10X_HD -D_RTE_ -DSTM32F103xE -DUSE_HAL_DRIVER
-o mfps\oled2.o --omf_browse mfps\oled2.crf --depend mfps\oled2.d)
|
||||||
I (../App/Inc/oled2.h)(0x66470E5E)
|
I (../App/Inc/oled2.h)(0x670CEDDC)
|
||||||
I (E:\Softwares\Keil_v5\ARM\ARMCC\include\inttypes.h)(0x5E8E3CC2)
|
I (E:\Softwares\Keil_v5\ARM\ARMCC\include\inttypes.h)(0x5E8E3CC2)
|
||||||
I (E:\Softwares\Keil_v5\ARM\ARMCC\include\stdint.h)(0x5E8E3CC2)
|
I (E:\Softwares\Keil_v5\ARM\ARMCC\include\stdint.h)(0x5E8E3CC2)
|
||||||
I (../Inc/main.h)(0x660A29E6)
|
I (../Inc/main.h)(0x660A29E6)
|
||||||
|
@ -1300,9 +1242,8 @@ I (../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_spi.h)(0x663B42E9)
|
||||||
I (../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_tim.h)(0x663B42E9)
|
I (../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_tim.h)(0x663B42E9)
|
||||||
I (../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_tim_ex.h)(0x663B42E9)
|
I (../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_tim_ex.h)(0x663B42E9)
|
||||||
I (../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_uart.h)(0x663B42E9)
|
I (../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_uart.h)(0x663B42E9)
|
||||||
I (../Inc/app.h)(0x664D9405)
|
I (../App/Inc/app.h)(0x670CCE51)
|
||||||
I (../App/Inc/MyLib.h)(0x662A0C9C)
|
I (../App/Inc/MyLib.h)(0x662A0C9C)
|
||||||
I (../App/Inc/serial_port.h)(0x6625D9EB)
|
|
||||||
I (../App/Inc/m1820.h)(0x661E2349)
|
I (../App/Inc/m1820.h)(0x661E2349)
|
||||||
I (../App/Inc/ads1220.h)(0x6641AC72)
|
I (../App/Inc/ads1220.h)(0x6641AC72)
|
||||||
I (../App/Inc/tmc5160.h)(0x663852C9)
|
I (../App/Inc/tmc5160.h)(0x663852C9)
|
||||||
|
@ -1310,16 +1251,16 @@ I (../Inc/i2c.h)(0x66035A28)
|
||||||
I (../Inc/spi.h)(0x660BB230)
|
I (../Inc/spi.h)(0x660BB230)
|
||||||
I (../Inc/tim.h)(0x66035A28)
|
I (../Inc/tim.h)(0x66035A28)
|
||||||
I (../Inc/usart.h)(0x660A2CEE)
|
I (../Inc/usart.h)(0x660A2CEE)
|
||||||
I (../Inc/Uart1.h)(0x6625BD3B)
|
I (../App/Inc/Uart1.h)(0x63EC23DC)
|
||||||
I (../Inc/gpio.h)(0x66035A04)
|
I (../Inc/gpio.h)(0x66035A04)
|
||||||
I (../App/Inc/key.h)(0x66271314)
|
I (../App/Inc/key.h)(0x670CED69)
|
||||||
I (../App/Inc/motor.h)(0x664EB0AC)
|
I (../App/Inc/motor.h)(0x664EB0AC)
|
||||||
I (../App/Inc/delay.h)(0x6614F624)
|
I (../App/Inc/delay.h)(0x6614F624)
|
||||||
I (E:\Softwares\Keil_v5\ARM\ARMCC\include\stdio.h)(0x5E8E3CC2)
|
I (E:\Softwares\Keil_v5\ARM\ARMCC\include\stdio.h)(0x5E8E3CC2)
|
||||||
I (E:\Softwares\Keil_v5\ARM\ARMCC\include\stdlib.h)(0x5E8E3CC2)
|
I (E:\Softwares\Keil_v5\ARM\ARMCC\include\stdlib.h)(0x5E8E3CC2)
|
||||||
I (E:\Softwares\Keil_v5\ARM\ARMCC\include\string.h)(0x5E8E3CC2)
|
I (E:\Softwares\Keil_v5\ARM\ARMCC\include\string.h)(0x5E8E3CC2)
|
||||||
I (../App/Inc/flash.h)(0x66457FD4)
|
I (../App/Inc/flash.h)(0x66457FD4)
|
||||||
F (..\App\Src\motor.c)(0x664EF743)(--c99 -c --cpu Cortex-M3 -g -O3 --apcs=interwork --split_sections -I ../Drivers/STM32F1xx_HAL_Driver/Inc -I ../Drivers/CMSIS/Device/ST/STM32F1xx/Include -I ../Drivers/CMSIS/Include -I ../Drivers/STM32F1xx_HAL_Driver/Inc/Legacy -I ../Inc -I ../Src -I ../App/Inc -I ../App/Src
-I.\RTE\_mfps
-IE:\Softwares\Arm\Packs\ARM\CMSIS\5.9.0\CMSIS\Core\Include
-IE:\Softwares\Arm\Packs\Keil\STM32F1xx_DFP\2.3.0\Device\Include
-D__UVISION_VERSION="539" -D_RTE_ -DSTM32F10X_HD -D_RTE_ -DSTM32F103xE -DUSE_HAL_DRIVER
-o mfps\motor.o --omf_browse mfps\motor.crf --depend mfps\motor.d)
|
F (..\App\Src\motor.c)(0x66541C56)(--c99 -c --cpu Cortex-M3 -g -O3 --apcs=interwork --split_sections -I ../Drivers/STM32F1xx_HAL_Driver/Inc -I ../Drivers/CMSIS/Device/ST/STM32F1xx/Include -I ../Drivers/CMSIS/Include -I ../Drivers/STM32F1xx_HAL_Driver/Inc/Legacy -I ../Inc -I ../Src -I ../App/Inc -I ../App/Src
-I.\RTE\_mfps
-IE:\Softwares\Arm\Packs\ARM\CMSIS\5.9.0\CMSIS\Core\Include
-IE:\Softwares\Arm\Packs\Keil\STM32F1xx_DFP\2.3.0\Device\Include
-D__UVISION_VERSION="539" -D_RTE_ -DSTM32F10X_HD -D_RTE_ -DSTM32F103xE -DUSE_HAL_DRIVER
-o mfps\motor.o --omf_browse mfps\motor.crf --depend mfps\motor.d)
|
||||||
I (../App/Inc/motor.h)(0x664EB0AC)
|
I (../App/Inc/motor.h)(0x664EB0AC)
|
||||||
I (../Inc/main.h)(0x660A29E6)
|
I (../Inc/main.h)(0x660A29E6)
|
||||||
I (../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal.h)(0x663B42E9)
|
I (../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal.h)(0x663B42E9)
|
||||||
|
@ -1351,11 +1292,10 @@ I (../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_spi.h)(0x663B42E9)
|
||||||
I (../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_tim.h)(0x663B42E9)
|
I (../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_tim.h)(0x663B42E9)
|
||||||
I (../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_tim_ex.h)(0x663B42E9)
|
I (../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_tim_ex.h)(0x663B42E9)
|
||||||
I (../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_uart.h)(0x663B42E9)
|
I (../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_uart.h)(0x663B42E9)
|
||||||
I (../Inc/app.h)(0x664D9405)
|
I (../App/Inc/app.h)(0x670CCE51)
|
||||||
I (../App/Inc/MyLib.h)(0x662A0C9C)
|
I (../App/Inc/MyLib.h)(0x662A0C9C)
|
||||||
I (../App/Inc/serial_port.h)(0x6625D9EB)
|
|
||||||
I (../App/Inc/m1820.h)(0x661E2349)
|
I (../App/Inc/m1820.h)(0x661E2349)
|
||||||
I (../App/Inc/oled2.h)(0x66470E5E)
|
I (../App/Inc/oled2.h)(0x670CEDDC)
|
||||||
I (E:\Softwares\Keil_v5\ARM\ARMCC\include\inttypes.h)(0x5E8E3CC2)
|
I (E:\Softwares\Keil_v5\ARM\ARMCC\include\inttypes.h)(0x5E8E3CC2)
|
||||||
I (../App/Inc/ads1220.h)(0x6641AC72)
|
I (../App/Inc/ads1220.h)(0x6641AC72)
|
||||||
I (../App/Inc/tmc5160.h)(0x663852C9)
|
I (../App/Inc/tmc5160.h)(0x663852C9)
|
||||||
|
@ -1363,9 +1303,9 @@ I (../Inc/i2c.h)(0x66035A28)
|
||||||
I (../Inc/spi.h)(0x660BB230)
|
I (../Inc/spi.h)(0x660BB230)
|
||||||
I (../Inc/tim.h)(0x66035A28)
|
I (../Inc/tim.h)(0x66035A28)
|
||||||
I (../Inc/usart.h)(0x660A2CEE)
|
I (../Inc/usart.h)(0x660A2CEE)
|
||||||
I (../Inc/Uart1.h)(0x6625BD3B)
|
I (../App/Inc/Uart1.h)(0x63EC23DC)
|
||||||
I (../Inc/gpio.h)(0x66035A04)
|
I (../Inc/gpio.h)(0x66035A04)
|
||||||
I (../App/Inc/key.h)(0x66271314)
|
I (../App/Inc/key.h)(0x670CED69)
|
||||||
I (../App/Inc/delay.h)(0x6614F624)
|
I (../App/Inc/delay.h)(0x6614F624)
|
||||||
I (E:\Softwares\Keil_v5\ARM\ARMCC\include\stdio.h)(0x5E8E3CC2)
|
I (E:\Softwares\Keil_v5\ARM\ARMCC\include\stdio.h)(0x5E8E3CC2)
|
||||||
I (E:\Softwares\Keil_v5\ARM\ARMCC\include\stdlib.h)(0x5E8E3CC2)
|
I (E:\Softwares\Keil_v5\ARM\ARMCC\include\stdlib.h)(0x5E8E3CC2)
|
||||||
|
@ -1405,19 +1345,19 @@ I (../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_tim_ex.h)(0x663B42E9)
|
||||||
I (../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_uart.h)(0x663B42E9)
|
I (../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_uart.h)(0x663B42E9)
|
||||||
I (../Inc/Uart1.h)(0x6625BD3B)
|
I (../Inc/Uart1.h)(0x6625BD3B)
|
||||||
I (../Inc/usart.h)(0x660A2CEE)
|
I (../Inc/usart.h)(0x660A2CEE)
|
||||||
I (../Inc/app.h)(0x664D9405)
|
I (../App/Inc/app.h)(0x670CCE51)
|
||||||
I (../App/Inc/MyLib.h)(0x662A0C9C)
|
I (../App/Inc/MyLib.h)(0x662A0C9C)
|
||||||
I (../App/Inc/serial_port.h)(0x6625D9EB)
|
|
||||||
I (../App/Inc/m1820.h)(0x661E2349)
|
I (../App/Inc/m1820.h)(0x661E2349)
|
||||||
I (../App/Inc/oled2.h)(0x66470E5E)
|
I (../App/Inc/oled2.h)(0x670CEDDC)
|
||||||
I (E:\Softwares\Keil_v5\ARM\ARMCC\include\inttypes.h)(0x5E8E3CC2)
|
I (E:\Softwares\Keil_v5\ARM\ARMCC\include\inttypes.h)(0x5E8E3CC2)
|
||||||
I (../App/Inc/ads1220.h)(0x6641AC72)
|
I (../App/Inc/ads1220.h)(0x6641AC72)
|
||||||
I (../App/Inc/tmc5160.h)(0x663852C9)
|
I (../App/Inc/tmc5160.h)(0x663852C9)
|
||||||
I (../Inc/i2c.h)(0x66035A28)
|
I (../Inc/i2c.h)(0x66035A28)
|
||||||
I (../Inc/spi.h)(0x660BB230)
|
I (../Inc/spi.h)(0x660BB230)
|
||||||
I (../Inc/tim.h)(0x66035A28)
|
I (../Inc/tim.h)(0x66035A28)
|
||||||
|
I (../App/Inc/Uart1.h)(0x63EC23DC)
|
||||||
I (../Inc/gpio.h)(0x66035A04)
|
I (../Inc/gpio.h)(0x66035A04)
|
||||||
I (../App/Inc/key.h)(0x66271314)
|
I (../App/Inc/key.h)(0x670CED69)
|
||||||
I (../App/Inc/motor.h)(0x664EB0AC)
|
I (../App/Inc/motor.h)(0x664EB0AC)
|
||||||
I (../App/Inc/delay.h)(0x6614F624)
|
I (../App/Inc/delay.h)(0x6614F624)
|
||||||
I (E:\Softwares\Keil_v5\ARM\ARMCC\include\stdlib.h)(0x5E8E3CC2)
|
I (E:\Softwares\Keil_v5\ARM\ARMCC\include\stdlib.h)(0x5E8E3CC2)
|
||||||
|
@ -1455,3 +1395,55 @@ I (../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_spi.h)(0x663B42E9)
|
||||||
I (../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_tim.h)(0x663B42E9)
|
I (../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_tim.h)(0x663B42E9)
|
||||||
I (../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_tim_ex.h)(0x663B42E9)
|
I (../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_tim_ex.h)(0x663B42E9)
|
||||||
I (../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_uart.h)(0x663B42E9)
|
I (../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_uart.h)(0x663B42E9)
|
||||||
|
F (..\App\Src\uniform.c)(0x670CC5FD)(--c99 -c --cpu Cortex-M3 -g -O3 --apcs=interwork --split_sections -I ../Drivers/STM32F1xx_HAL_Driver/Inc -I ../Drivers/CMSIS/Device/ST/STM32F1xx/Include -I ../Drivers/CMSIS/Include -I ../Drivers/STM32F1xx_HAL_Driver/Inc/Legacy -I ../Inc -I ../Src -I ../App/Inc -I ../App/Src
-I.\RTE\_mfps
-IE:\Softwares\Arm\Packs\ARM\CMSIS\5.9.0\CMSIS\Core\Include
-IE:\Softwares\Arm\Packs\Keil\STM32F1xx_DFP\2.3.0\Device\Include
-D__UVISION_VERSION="539" -D_RTE_ -DSTM32F10X_HD -D_RTE_ -DSTM32F103xE -DUSE_HAL_DRIVER
-o mfps\uniform.o --omf_browse mfps\uniform.crf --depend mfps\uniform.d)
|
||||||
|
I (../App/Inc/uniform.h)(0x670CE9D3)
|
||||||
|
I (../App/Inc/app.h)(0x670CCE51)
|
||||||
|
I (../App/Inc/MyLib.h)(0x662A0C9C)
|
||||||
|
I (../Inc/main.h)(0x660A29E6)
|
||||||
|
I (../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal.h)(0x663B42E9)
|
||||||
|
I (../Inc/stm32f1xx_hal_conf.h)(0x663B393C)
|
||||||
|
I (../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_rcc.h)(0x663B42E9)
|
||||||
|
I (../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_def.h)(0x663B42E9)
|
||||||
|
I (../Drivers/CMSIS/Device/ST/STM32F1xx/Include/stm32f1xx.h)(0x663B42E9)
|
||||||
|
I (../Drivers/CMSIS/Device/ST/STM32F1xx/Include/stm32f103xe.h)(0x663B42E9)
|
||||||
|
I (../Drivers/CMSIS/Include/core_cm3.h)(0x663B42E0)
|
||||||
|
I (E:\Softwares\Keil_v5\ARM\ARMCC\include\stdint.h)(0x5E8E3CC2)
|
||||||
|
I (../Drivers/CMSIS/Include/cmsis_version.h)(0x663B42E0)
|
||||||
|
I (../Drivers/CMSIS/Include/cmsis_compiler.h)(0x663B42E0)
|
||||||
|
I (../Drivers/CMSIS/Include/cmsis_armcc.h)(0x663B42E0)
|
||||||
|
I (../Drivers/CMSIS/Device/ST/STM32F1xx/Include/system_stm32f1xx.h)(0x663B42E9)
|
||||||
|
I (../Drivers/STM32F1xx_HAL_Driver/Inc/Legacy/stm32_hal_legacy.h)(0x663B42E9)
|
||||||
|
I (E:\Softwares\Keil_v5\ARM\ARMCC\include\stddef.h)(0x5E8E3CC2)
|
||||||
|
I (../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_rcc_ex.h)(0x663B42E9)
|
||||||
|
I (../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_gpio.h)(0x663B42E9)
|
||||||
|
I (../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_gpio_ex.h)(0x663B42E9)
|
||||||
|
I (../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_exti.h)(0x663B42E9)
|
||||||
|
I (../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_dma.h)(0x663B42E9)
|
||||||
|
I (../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_dma_ex.h)(0x663B42E9)
|
||||||
|
I (../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_cortex.h)(0x663B42E9)
|
||||||
|
I (../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_flash.h)(0x663B42E9)
|
||||||
|
I (../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_flash_ex.h)(0x663B42E9)
|
||||||
|
I (../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_i2c.h)(0x663B42E9)
|
||||||
|
I (../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_pwr.h)(0x663B42E9)
|
||||||
|
I (../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_spi.h)(0x663B42E9)
|
||||||
|
I (../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_tim.h)(0x663B42E9)
|
||||||
|
I (../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_tim_ex.h)(0x663B42E9)
|
||||||
|
I (../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_uart.h)(0x663B42E9)
|
||||||
|
I (../App/Inc/m1820.h)(0x661E2349)
|
||||||
|
I (../App/Inc/oled2.h)(0x670CEDDC)
|
||||||
|
I (E:\Softwares\Keil_v5\ARM\ARMCC\include\inttypes.h)(0x5E8E3CC2)
|
||||||
|
I (../App/Inc/ads1220.h)(0x6641AC72)
|
||||||
|
I (../App/Inc/tmc5160.h)(0x663852C9)
|
||||||
|
I (../Inc/i2c.h)(0x66035A28)
|
||||||
|
I (../Inc/spi.h)(0x660BB230)
|
||||||
|
I (../Inc/tim.h)(0x66035A28)
|
||||||
|
I (../Inc/usart.h)(0x660A2CEE)
|
||||||
|
I (../App/Inc/Uart1.h)(0x63EC23DC)
|
||||||
|
I (../Inc/gpio.h)(0x66035A04)
|
||||||
|
I (../App/Inc/key.h)(0x670CED69)
|
||||||
|
I (../App/Inc/motor.h)(0x664EB0AC)
|
||||||
|
I (../App/Inc/delay.h)(0x6614F624)
|
||||||
|
I (E:\Softwares\Keil_v5\ARM\ARMCC\include\stdio.h)(0x5E8E3CC2)
|
||||||
|
I (E:\Softwares\Keil_v5\ARM\ARMCC\include\stdlib.h)(0x5E8E3CC2)
|
||||||
|
I (E:\Softwares\Keil_v5\ARM\ARMCC\include\string.h)(0x5E8E3CC2)
|
||||||
|
I (../App/Inc/flash.h)(0x66457FD4)
|
||||||
|
|
Binary file not shown.
Binary file not shown.
|
@ -31,9 +31,8 @@ mfps\motor.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_spi.h
|
||||||
mfps\motor.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_tim.h
|
mfps\motor.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_tim.h
|
||||||
mfps\motor.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_tim_ex.h
|
mfps\motor.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_tim_ex.h
|
||||||
mfps\motor.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_uart.h
|
mfps\motor.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_uart.h
|
||||||
mfps\motor.o: ../Inc/app.h
|
mfps\motor.o: ../App/Inc/app.h
|
||||||
mfps\motor.o: ../App/Inc/MyLib.h
|
mfps\motor.o: ../App/Inc/MyLib.h
|
||||||
mfps\motor.o: ../App/Inc/serial_port.h
|
|
||||||
mfps\motor.o: ../App/Inc/m1820.h
|
mfps\motor.o: ../App/Inc/m1820.h
|
||||||
mfps\motor.o: ../App/Inc/oled2.h
|
mfps\motor.o: ../App/Inc/oled2.h
|
||||||
mfps\motor.o: E:\Softwares\Keil_v5\ARM\ARMCC\Bin\..\include\inttypes.h
|
mfps\motor.o: E:\Softwares\Keil_v5\ARM\ARMCC\Bin\..\include\inttypes.h
|
||||||
|
@ -43,7 +42,7 @@ mfps\motor.o: ../Inc/i2c.h
|
||||||
mfps\motor.o: ../Inc/spi.h
|
mfps\motor.o: ../Inc/spi.h
|
||||||
mfps\motor.o: ../Inc/tim.h
|
mfps\motor.o: ../Inc/tim.h
|
||||||
mfps\motor.o: ../Inc/usart.h
|
mfps\motor.o: ../Inc/usart.h
|
||||||
mfps\motor.o: ../Inc/Uart1.h
|
mfps\motor.o: ../App/Inc/Uart1.h
|
||||||
mfps\motor.o: ../Inc/gpio.h
|
mfps\motor.o: ../Inc/gpio.h
|
||||||
mfps\motor.o: ../App/Inc/key.h
|
mfps\motor.o: ../App/Inc/key.h
|
||||||
mfps\motor.o: ../App/Inc/delay.h
|
mfps\motor.o: ../App/Inc/delay.h
|
||||||
|
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
|
@ -32,9 +32,8 @@ mfps\oled2.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_spi.h
|
||||||
mfps\oled2.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_tim.h
|
mfps\oled2.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_tim.h
|
||||||
mfps\oled2.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_tim_ex.h
|
mfps\oled2.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_tim_ex.h
|
||||||
mfps\oled2.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_uart.h
|
mfps\oled2.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_uart.h
|
||||||
mfps\oled2.o: ../Inc/app.h
|
mfps\oled2.o: ../App/Inc/app.h
|
||||||
mfps\oled2.o: ../App/Inc/MyLib.h
|
mfps\oled2.o: ../App/Inc/MyLib.h
|
||||||
mfps\oled2.o: ../App/Inc/serial_port.h
|
|
||||||
mfps\oled2.o: ../App/Inc/m1820.h
|
mfps\oled2.o: ../App/Inc/m1820.h
|
||||||
mfps\oled2.o: ../App/Inc/ads1220.h
|
mfps\oled2.o: ../App/Inc/ads1220.h
|
||||||
mfps\oled2.o: ../App/Inc/tmc5160.h
|
mfps\oled2.o: ../App/Inc/tmc5160.h
|
||||||
|
@ -42,7 +41,7 @@ mfps\oled2.o: ../Inc/i2c.h
|
||||||
mfps\oled2.o: ../Inc/spi.h
|
mfps\oled2.o: ../Inc/spi.h
|
||||||
mfps\oled2.o: ../Inc/tim.h
|
mfps\oled2.o: ../Inc/tim.h
|
||||||
mfps\oled2.o: ../Inc/usart.h
|
mfps\oled2.o: ../Inc/usart.h
|
||||||
mfps\oled2.o: ../Inc/Uart1.h
|
mfps\oled2.o: ../App/Inc/Uart1.h
|
||||||
mfps\oled2.o: ../Inc/gpio.h
|
mfps\oled2.o: ../Inc/gpio.h
|
||||||
mfps\oled2.o: ../App/Inc/key.h
|
mfps\oled2.o: ../App/Inc/key.h
|
||||||
mfps\oled2.o: ../App/Inc/motor.h
|
mfps\oled2.o: ../App/Inc/motor.h
|
||||||
|
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
|
@ -31,9 +31,8 @@ mfps\stm32f1xx_it.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_tim.h
|
||||||
mfps\stm32f1xx_it.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_tim_ex.h
|
mfps\stm32f1xx_it.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_tim_ex.h
|
||||||
mfps\stm32f1xx_it.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_uart.h
|
mfps\stm32f1xx_it.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_uart.h
|
||||||
mfps\stm32f1xx_it.o: ../Inc/stm32f1xx_it.h
|
mfps\stm32f1xx_it.o: ../Inc/stm32f1xx_it.h
|
||||||
mfps\stm32f1xx_it.o: ../Inc/app.h
|
mfps\stm32f1xx_it.o: ../App/Inc/app.h
|
||||||
mfps\stm32f1xx_it.o: ../App/Inc/MyLib.h
|
mfps\stm32f1xx_it.o: ../App/Inc/MyLib.h
|
||||||
mfps\stm32f1xx_it.o: ../App/Inc/serial_port.h
|
|
||||||
mfps\stm32f1xx_it.o: ../App/Inc/m1820.h
|
mfps\stm32f1xx_it.o: ../App/Inc/m1820.h
|
||||||
mfps\stm32f1xx_it.o: ../App/Inc/oled2.h
|
mfps\stm32f1xx_it.o: ../App/Inc/oled2.h
|
||||||
mfps\stm32f1xx_it.o: E:\Softwares\Keil_v5\ARM\ARMCC\Bin\..\include\inttypes.h
|
mfps\stm32f1xx_it.o: E:\Softwares\Keil_v5\ARM\ARMCC\Bin\..\include\inttypes.h
|
||||||
|
@ -43,7 +42,7 @@ mfps\stm32f1xx_it.o: ../Inc/i2c.h
|
||||||
mfps\stm32f1xx_it.o: ../Inc/spi.h
|
mfps\stm32f1xx_it.o: ../Inc/spi.h
|
||||||
mfps\stm32f1xx_it.o: ../Inc/tim.h
|
mfps\stm32f1xx_it.o: ../Inc/tim.h
|
||||||
mfps\stm32f1xx_it.o: ../Inc/usart.h
|
mfps\stm32f1xx_it.o: ../Inc/usart.h
|
||||||
mfps\stm32f1xx_it.o: ../Inc/Uart1.h
|
mfps\stm32f1xx_it.o: ../App/Inc/Uart1.h
|
||||||
mfps\stm32f1xx_it.o: ../Inc/gpio.h
|
mfps\stm32f1xx_it.o: ../Inc/gpio.h
|
||||||
mfps\stm32f1xx_it.o: ../App/Inc/key.h
|
mfps\stm32f1xx_it.o: ../App/Inc/key.h
|
||||||
mfps\stm32f1xx_it.o: ../App/Inc/motor.h
|
mfps\stm32f1xx_it.o: ../App/Inc/motor.h
|
||||||
|
@ -52,4 +51,5 @@ mfps\stm32f1xx_it.o: E:\Softwares\Keil_v5\ARM\ARMCC\Bin\..\include\stdio.h
|
||||||
mfps\stm32f1xx_it.o: E:\Softwares\Keil_v5\ARM\ARMCC\Bin\..\include\stdlib.h
|
mfps\stm32f1xx_it.o: E:\Softwares\Keil_v5\ARM\ARMCC\Bin\..\include\stdlib.h
|
||||||
mfps\stm32f1xx_it.o: E:\Softwares\Keil_v5\ARM\ARMCC\Bin\..\include\string.h
|
mfps\stm32f1xx_it.o: E:\Softwares\Keil_v5\ARM\ARMCC\Bin\..\include\string.h
|
||||||
mfps\stm32f1xx_it.o: ../App/Inc/flash.h
|
mfps\stm32f1xx_it.o: ../App/Inc/flash.h
|
||||||
|
mfps\stm32f1xx_it.o: ../App/Inc/serial_port.h
|
||||||
mfps\stm32f1xx_it.o: ../Inc/Uart1.h
|
mfps\stm32f1xx_it.o: ../Inc/Uart1.h
|
||||||
|
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
|
@ -31,9 +31,8 @@ mfps\tmc5160.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_spi.h
|
||||||
mfps\tmc5160.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_tim.h
|
mfps\tmc5160.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_tim.h
|
||||||
mfps\tmc5160.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_tim_ex.h
|
mfps\tmc5160.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_tim_ex.h
|
||||||
mfps\tmc5160.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_uart.h
|
mfps\tmc5160.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_uart.h
|
||||||
mfps\tmc5160.o: ../Inc/app.h
|
mfps\tmc5160.o: ../App/Inc/app.h
|
||||||
mfps\tmc5160.o: ../App/Inc/MyLib.h
|
mfps\tmc5160.o: ../App/Inc/MyLib.h
|
||||||
mfps\tmc5160.o: ../App/Inc/serial_port.h
|
|
||||||
mfps\tmc5160.o: ../App/Inc/m1820.h
|
mfps\tmc5160.o: ../App/Inc/m1820.h
|
||||||
mfps\tmc5160.o: ../App/Inc/oled2.h
|
mfps\tmc5160.o: ../App/Inc/oled2.h
|
||||||
mfps\tmc5160.o: E:\Softwares\Keil_v5\ARM\ARMCC\Bin\..\include\inttypes.h
|
mfps\tmc5160.o: E:\Softwares\Keil_v5\ARM\ARMCC\Bin\..\include\inttypes.h
|
||||||
|
@ -42,7 +41,7 @@ mfps\tmc5160.o: ../Inc/i2c.h
|
||||||
mfps\tmc5160.o: ../Inc/spi.h
|
mfps\tmc5160.o: ../Inc/spi.h
|
||||||
mfps\tmc5160.o: ../Inc/tim.h
|
mfps\tmc5160.o: ../Inc/tim.h
|
||||||
mfps\tmc5160.o: ../Inc/usart.h
|
mfps\tmc5160.o: ../Inc/usart.h
|
||||||
mfps\tmc5160.o: ../Inc/Uart1.h
|
mfps\tmc5160.o: ../App/Inc/Uart1.h
|
||||||
mfps\tmc5160.o: ../Inc/gpio.h
|
mfps\tmc5160.o: ../Inc/gpio.h
|
||||||
mfps\tmc5160.o: ../App/Inc/key.h
|
mfps\tmc5160.o: ../App/Inc/key.h
|
||||||
mfps\tmc5160.o: ../App/Inc/motor.h
|
mfps\tmc5160.o: ../App/Inc/motor.h
|
||||||
|
|
Binary file not shown.
Binary file not shown.
|
@ -33,9 +33,8 @@ mfps\uart1.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_tim_ex.h
|
||||||
mfps\uart1.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_uart.h
|
mfps\uart1.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_uart.h
|
||||||
mfps\uart1.o: ../Inc/Uart1.h
|
mfps\uart1.o: ../Inc/Uart1.h
|
||||||
mfps\uart1.o: ../Inc/usart.h
|
mfps\uart1.o: ../Inc/usart.h
|
||||||
mfps\uart1.o: ../Inc/app.h
|
mfps\uart1.o: ../App/Inc/app.h
|
||||||
mfps\uart1.o: ../App/Inc/MyLib.h
|
mfps\uart1.o: ../App/Inc/MyLib.h
|
||||||
mfps\uart1.o: ../App/Inc/serial_port.h
|
|
||||||
mfps\uart1.o: ../App/Inc/m1820.h
|
mfps\uart1.o: ../App/Inc/m1820.h
|
||||||
mfps\uart1.o: ../App/Inc/oled2.h
|
mfps\uart1.o: ../App/Inc/oled2.h
|
||||||
mfps\uart1.o: E:\Softwares\Keil_v5\ARM\ARMCC\Bin\..\include\inttypes.h
|
mfps\uart1.o: E:\Softwares\Keil_v5\ARM\ARMCC\Bin\..\include\inttypes.h
|
||||||
|
@ -44,7 +43,7 @@ mfps\uart1.o: ../App/Inc/tmc5160.h
|
||||||
mfps\uart1.o: ../Inc/i2c.h
|
mfps\uart1.o: ../Inc/i2c.h
|
||||||
mfps\uart1.o: ../Inc/spi.h
|
mfps\uart1.o: ../Inc/spi.h
|
||||||
mfps\uart1.o: ../Inc/tim.h
|
mfps\uart1.o: ../Inc/tim.h
|
||||||
mfps\uart1.o: ../Inc/Uart1.h
|
mfps\uart1.o: ../App/Inc/Uart1.h
|
||||||
mfps\uart1.o: ../Inc/gpio.h
|
mfps\uart1.o: ../Inc/gpio.h
|
||||||
mfps\uart1.o: ../App/Inc/key.h
|
mfps\uart1.o: ../App/Inc/key.h
|
||||||
mfps\uart1.o: ../App/Inc/motor.h
|
mfps\uart1.o: ../App/Inc/motor.h
|
||||||
|
|
Binary file not shown.
Binary file not shown.
|
@ -0,0 +1,53 @@
|
||||||
|
mfps\uniform.o: ..\App\Src\uniform.c
|
||||||
|
mfps\uniform.o: ../App/Inc/uniform.h
|
||||||
|
mfps\uniform.o: ../App/Inc/app.h
|
||||||
|
mfps\uniform.o: ../App/Inc/MyLib.h
|
||||||
|
mfps\uniform.o: ../Inc/main.h
|
||||||
|
mfps\uniform.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal.h
|
||||||
|
mfps\uniform.o: ../Inc/stm32f1xx_hal_conf.h
|
||||||
|
mfps\uniform.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_rcc.h
|
||||||
|
mfps\uniform.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_def.h
|
||||||
|
mfps\uniform.o: ../Drivers/CMSIS/Device/ST/STM32F1xx/Include/stm32f1xx.h
|
||||||
|
mfps\uniform.o: ../Drivers/CMSIS/Device/ST/STM32F1xx/Include/stm32f103xe.h
|
||||||
|
mfps\uniform.o: ../Drivers/CMSIS/Include/core_cm3.h
|
||||||
|
mfps\uniform.o: E:\Softwares\Keil_v5\ARM\ARMCC\Bin\..\include\stdint.h
|
||||||
|
mfps\uniform.o: ../Drivers/CMSIS/Include/cmsis_version.h
|
||||||
|
mfps\uniform.o: ../Drivers/CMSIS/Include/cmsis_compiler.h
|
||||||
|
mfps\uniform.o: ../Drivers/CMSIS/Include/cmsis_armcc.h
|
||||||
|
mfps\uniform.o: ../Drivers/CMSIS/Device/ST/STM32F1xx/Include/system_stm32f1xx.h
|
||||||
|
mfps\uniform.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal.h
|
||||||
|
mfps\uniform.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/Legacy/stm32_hal_legacy.h
|
||||||
|
mfps\uniform.o: E:\Softwares\Keil_v5\ARM\ARMCC\Bin\..\include\stddef.h
|
||||||
|
mfps\uniform.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_rcc_ex.h
|
||||||
|
mfps\uniform.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_gpio.h
|
||||||
|
mfps\uniform.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_gpio_ex.h
|
||||||
|
mfps\uniform.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_exti.h
|
||||||
|
mfps\uniform.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_dma.h
|
||||||
|
mfps\uniform.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_dma_ex.h
|
||||||
|
mfps\uniform.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_cortex.h
|
||||||
|
mfps\uniform.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_flash.h
|
||||||
|
mfps\uniform.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_flash_ex.h
|
||||||
|
mfps\uniform.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_i2c.h
|
||||||
|
mfps\uniform.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_pwr.h
|
||||||
|
mfps\uniform.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_spi.h
|
||||||
|
mfps\uniform.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_tim.h
|
||||||
|
mfps\uniform.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_tim_ex.h
|
||||||
|
mfps\uniform.o: ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_uart.h
|
||||||
|
mfps\uniform.o: ../App/Inc/m1820.h
|
||||||
|
mfps\uniform.o: ../App/Inc/oled2.h
|
||||||
|
mfps\uniform.o: E:\Softwares\Keil_v5\ARM\ARMCC\Bin\..\include\inttypes.h
|
||||||
|
mfps\uniform.o: ../App/Inc/ads1220.h
|
||||||
|
mfps\uniform.o: ../App/Inc/tmc5160.h
|
||||||
|
mfps\uniform.o: ../Inc/i2c.h
|
||||||
|
mfps\uniform.o: ../Inc/spi.h
|
||||||
|
mfps\uniform.o: ../Inc/tim.h
|
||||||
|
mfps\uniform.o: ../Inc/usart.h
|
||||||
|
mfps\uniform.o: ../App/Inc/Uart1.h
|
||||||
|
mfps\uniform.o: ../Inc/gpio.h
|
||||||
|
mfps\uniform.o: ../App/Inc/key.h
|
||||||
|
mfps\uniform.o: ../App/Inc/motor.h
|
||||||
|
mfps\uniform.o: ../App/Inc/delay.h
|
||||||
|
mfps\uniform.o: E:\Softwares\Keil_v5\ARM\ARMCC\Bin\..\include\stdio.h
|
||||||
|
mfps\uniform.o: E:\Softwares\Keil_v5\ARM\ARMCC\Bin\..\include\stdlib.h
|
||||||
|
mfps\uniform.o: E:\Softwares\Keil_v5\ARM\ARMCC\Bin\..\include\string.h
|
||||||
|
mfps\uniform.o: ../App/Inc/flash.h
|
Binary file not shown.
Binary file not shown.
|
@ -383,6 +383,8 @@ int it_500ms_cnt = 0,it_500ms_flag = 0;
|
||||||
int it_1000ms_cnt = 0,it_1000ms_flag = 0;
|
int it_1000ms_cnt = 0,it_1000ms_flag = 0;
|
||||||
int it_5000ms_cnt = 0,it_5000ms_flag = 0;
|
int it_5000ms_cnt = 0,it_5000ms_flag = 0;
|
||||||
|
|
||||||
|
int tick_500ms = 0;
|
||||||
|
|
||||||
void HAL_TIM_PeriodElapsedCallback (TIM_HandleTypeDef *htim)
|
void HAL_TIM_PeriodElapsedCallback (TIM_HandleTypeDef *htim)
|
||||||
{
|
{
|
||||||
if(htim == &htim1) // 中断执行程序
|
if(htim == &htim1) // 中断执行程序
|
||||||
|
@ -407,7 +409,11 @@ void HAL_TIM_PeriodElapsedCallback (TIM_HandleTypeDef *htim)
|
||||||
if(it_100ms_cnt == 100 ) it_100ms_flag = 1;
|
if(it_100ms_cnt == 100 ) it_100ms_flag = 1;
|
||||||
|
|
||||||
it_500ms_cnt = (it_500ms_cnt+1)*(it_500ms_cnt<500);
|
it_500ms_cnt = (it_500ms_cnt+1)*(it_500ms_cnt<500);
|
||||||
if(it_500ms_cnt == 500 ) it_500ms_flag = 1;
|
if(it_500ms_cnt == 500 )
|
||||||
|
{
|
||||||
|
it_500ms_flag = 1;
|
||||||
|
tick_500ms = (tick_500ms > 7200)?(0):(tick_500ms + 1);
|
||||||
|
}
|
||||||
|
|
||||||
it_1000ms_cnt = (it_1000ms_cnt+1)*(it_1000ms_cnt<1000); //已被使用,电机停止计时
|
it_1000ms_cnt = (it_1000ms_cnt+1)*(it_1000ms_cnt<1000); //已被使用,电机停止计时
|
||||||
if(it_1000ms_cnt == 1000 ) it_1000ms_flag = 1;
|
if(it_1000ms_cnt == 1000 ) it_1000ms_flag = 1;
|
||||||
|
|
Reference in New Issue