• 此项目
    • 正在载入...
  • 登录

谢圣城 / T80_MOTOR · 文件

转到一个项目

GitLab

  • 转到仪表盘
  • 项目
  • 活动
  • 文件
  • 提交
  • 管道 0
  • 构建 0
  • 图表
  • 里程碑
  • 问题 0
  • 合并请求 0
  • 成员
  • 标记
  • 维基
  • 派生
  • 网络
  • 创建新的问题
  • T80_MOTOR
  • project-library
  • FOC_IAP_BootLoader
  • Mycode
  • jz_upgrade.h
  • 1/20 首次提交
    997b5343
    XieC 在
    2025-01-20 16:45:47 +0800
    提交 浏览文件
jz_upgrade.h 350 字节
原文件 审查 历史 永久链接
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22
#ifndef __JZ_UPGRADE_H_
#define __JZ_UPGRADE_H_


#include "stm32f1xx.h"


#define DEVICE_NAME		0x01


extern uint8_t VersionNum[4];


int8_t UpgradeTest_Init(void);

//升级管理
int8_t Upgrade_Manager(uint8_t* frame, uint16_t len);

//创建 5B 应答帧测试
int8_t Make5BFrame_Test(uint8_t func_1,uint8_t func_2,uint8_t* data, uint16_t datalen);

#endif