HardwareDriver/mpu6050/m451/hal.h

10 lines
305 B
C

#ifndef __HAL__
#define __HAL__
int MPUWriteReg(char ad,char RegAddr, char pucDATD_AA);
int MPUWriteAddr();
char MPUReadReg(char ad,int unAddr/*, int unLength*/);
int MPUReadBuf(char slaveAddress,int unAddr, char *pucDATD_AA, int unLength);
void MpuGetData(void); //读取陀螺仪数据加滤波
#endif