QuakeGod
2024-07-27 842bb64195f958b050867c50db66fc0aa413dafb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
/**
  ******************************************************************************
  * @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
}