/** ****************************************************************************** * @file : debug.c * @brief : debug functions program body ****************************************************************************** */ #include "debug.h" #include "globaldef.h" #include "functions.h" #include "string.h" #include "stm32f0xx_hal.h" #define ADCrefAddr 0x1FFFF7BA int sprintftime = 0; int putstrtime = 0; const unsigned char buf1[16]={0x11,0x22,0x33,0x44,0x55,0x66,0x77,0x88,0x99,0xaa,0xbb,0xcc,0xdd,0xee,0xff,0x00}; __asm int add1(int a,int b) { add r0,r1,r0 BLX lr }