boot.h 590 B

123456789101112131415161718
  1. #ifndef BOOT_H
  2. #define BOOT_H
  3. #include "stdint.h"
  4. typedef void (*load_a)(void); //函数指针类型声明
  5. void BootLoader_Brance(uint32_t app_byte);
  6. __asm void MSR_SP(uint32_t addr); //函数声明
  7. void LOAD_A(uint32_t addr); //函数声明
  8. void BootLoader_Clear(void); //函数声明
  9. uint8_t BootLoader_Enter(uint8_t timeout); //函数声明
  10. void BootLoader_Info(void); //函数声明
  11. void BootLoader_Event(uint8_t *data, uint16_t datalen); //函数声明
  12. #endif