IMU_DUAL/ASM330LHH/user_asm330lhh.h

25 lines
401 B
C
Raw Normal View History

2022-12-06 17:34:02 +08:00
#ifndef USER_ASM330LHH
#define USER_ASM330LHH
#define SPI1_CS_PORT GPIOA
#define SPI1_CS_PIN GPIO_PIN_4
#include <string.h>
#include <stdio.h>
#include "asm330lhh_reg.h"
#include "stm32f1xx_hal.h"
#include "rtklib.h"
#define IMU_READY 1
#define IMU_NOT_READY 1
#define IMU_LOCK 1
#define IMU_UNLOCK 0
void user_dev_init();
extern uint8_t rx_uart2;
extern stmdev_ctx_t spi1_dev;
#endif