提交 | 用户 | age | ||
483170 | 1 | /** |
Q | 2 | ****************************************************************************** |
3 | * @file : debug.c | |
4 | * @brief : debug functions program body | |
5 | ****************************************************************************** | |
6 | */ | |
7 | #include "debug.h" | |
8 | #include "globaldef.h" | |
9 | #include "functions.h" | |
10 | #include "string.h" | |
11 | ||
12 | #include "stm32f0xx_hal.h" | |
13 | ||
14 | #define ADCrefAddr 0x1FFFF7BA | |
15 | ||
16 | int sprintftime = 0; | |
17 | int putstrtime = 0; | |
18 | const unsigned char buf1[16]={0x11,0x22,0x33,0x44,0x55,0x66,0x77,0x88,0x99,0xaa,0xbb,0xcc,0xdd,0xee,0xff,0x00}; | |
19 | ||
20 | __asm int add1(int a,int b) | |
21 | { | |
22 | add r0,r1,r0 | |
23 | BLX lr | |
24 | } | |
25 | ||
26 |