stm32_ota/USER/IAP/iap.h

71 lines
1.1 KiB
C
Raw Permalink Normal View History

2023-12-15 06:28:06 +00:00
#ifndef __IAP_H__
#define __IAP_H__
#include "stm32f10x.h"
/********************************************************************************
* @file iap.c
* @author <EFBFBD>̳ϿƼ<EFBFBD> Mr.Wang
* @version V1.0.0
* @date 11-Dec-2018
* @brief ʵ<EFBFBD>ֹ̼<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ת
******************************************************************************
* @attention
*******************************************************************************/
/**********************************************************************************
**<EFBFBD>Զ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
*********************************************************************************/
typedef void (*iapfun)(void); //<2F><><EFBFBD><EFBFBD>һ<EFBFBD><D2BB><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ָ<EFBFBD><D6B8><EFBFBD><EFBFBD><EFBFBD>͵IJ<CDB5><C4B2><EFBFBD>.
/*****************************************
*<EFBFBD>ڲ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
****************************************/
/*****************************************
*<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ӿں<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
****************************************/
extern uint32_t QueryNewAppArea(uint32_t appNum ) ; //У<><D0A3><EFBFBD>̼<EFBFBD><CCBC>Ϸ<EFBFBD><CFB7>ԡ<EFBFBD><D4A1><EFBFBD>ȡ<EFBFBD><C8A1>ת<EFBFBD><D7AA>FLASH<53><48><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>׵<EFBFBD>ַ
extern void Iap_Load_App(u32 appxAddr) ; //ִ<><D6B4>flash<73><68><EFBFBD><EFBFBD><EFBFBD><EFBFBD>app<70><70><EFBFBD><EFBFBD>
#endif