keil/include/drivers/global_param.h
@@ -1,6 +1,9 @@
#ifndef __GLOBAL_PARAM_H__
#define __GLOBAL_PARAM_H__
//#define GET_IMUINT       HAL_GPIO_ReadPin(GPIOA,GPIO_PIN_0)
#define GET_USERKEY    read_userkey_input_pca()
#define STATIONARY_TIME 3
//#include "main.h"
#include "stdint.h"
#define COM_MAP_SIZE      512      //MAP表的最大空间
@@ -52,6 +55,9 @@
#define      NEARBASE_ID9                    0x19
#define      NEARBASE_ID10                   0x1a
#define        UWB_RNAGE_TIME                  0xA
#define      UWB_WAIT_TIME                   0xB
#define    POWER                 0x1B
#define      IMU_THRES                  0x1C
#define     NOMOVESLEEP_TIME    0x1D