初始化寄存器的参数配置SPI_write_reg(FIFO_CTRL4, 0x00);//fifo——mode// SPI_write_reg(INTERRUPTS_EN, 0x00);//interSPI_write_reg(CTRL3_C, 0x05); //high_act no_resetSPI_write_reg(CTRL1_XL, 0xA4); //full_scaleSPI_write_reg(CTRL3_C, 0x04); //high_act no_resetSPI_write...