1206 lines
62 KiB
TeX
1206 lines
62 KiB
TeX
\hypertarget{mpu6050_8h}{}\doxysection{D\+:/gitt/\+Microchip\+For32/bscpp\+\_\+\+Device/bscpp\+\_\+\+MPU6050/mpu6050.h 文件参考}
|
|
\label{mpu6050_8h}\index{D:/gitt/MicrochipFor32/bscpp\_Device/bscpp\_MPU6050/mpu6050.h@{D:/gitt/MicrochipFor32/bscpp\_Device/bscpp\_MPU6050/mpu6050.h}}
|
|
{\ttfamily \#include \char`\"{}main.\+h\char`\"{}}\newline
|
|
{\ttfamily \#include \char`\"{}varint.\+h\char`\"{}}\newline
|
|
mpu6050.\+h 的引用(Include)关系图\+:
|
|
\nopagebreak
|
|
\begin{figure}[H]
|
|
\begin{center}
|
|
\leavevmode
|
|
\includegraphics[width=237pt]{mpu6050_8h__incl}
|
|
\end{center}
|
|
\end{figure}
|
|
此图展示该文件直接或间接的被哪些文件引用了\+:
|
|
\nopagebreak
|
|
\begin{figure}[H]
|
|
\begin{center}
|
|
\leavevmode
|
|
\includegraphics[width=350pt]{mpu6050_8h__dep__incl}
|
|
\end{center}
|
|
\end{figure}
|
|
\doxysubsection*{宏定义}
|
|
\begin{DoxyCompactItemize}
|
|
\item
|
|
\#define \mbox{\hyperlink{mpu6050_8h_af02b592f85ebbfcc6f5e13d8287832de}{MPU\+\_\+\+SELF\+\_\+\+TESTX\+\_\+\+REG}}~0\+X0D
|
|
\item
|
|
\#define \mbox{\hyperlink{mpu6050_8h_a029c571acc0e3a941d14d4af3e3ecd5f}{MPU\+\_\+\+SELF\+\_\+\+TESTY\+\_\+\+REG}}~0\+X0E
|
|
\item
|
|
\#define \mbox{\hyperlink{mpu6050_8h_aa7f091c311c419133b4799a37919ce24}{MPU\+\_\+\+SELF\+\_\+\+TESTZ\+\_\+\+REG}}~0\+X0F
|
|
\item
|
|
\#define \mbox{\hyperlink{mpu6050_8h_a9f2d6b09b992598daadf6a0afa9a8b9c}{MPU\+\_\+\+SELF\+\_\+\+TESTA\+\_\+\+REG}}~0\+X10
|
|
\item
|
|
\#define \mbox{\hyperlink{mpu6050_8h_a4b95cfafadb4b30146a17fac36819ca3}{MPU\+\_\+\+SAMPLE\+\_\+\+RATE\+\_\+\+REG}}~0\+X19
|
|
\item
|
|
\#define \mbox{\hyperlink{mpu6050_8h_a5034e2fc680fc68faa369a48f6955837}{MPU\+\_\+\+CFG\+\_\+\+REG}}~0\+X1A
|
|
\item
|
|
\#define \mbox{\hyperlink{mpu6050_8h_ac8ce2e66126327cf30cfba19c4c38db5}{MPU\+\_\+\+GYRO\+\_\+\+CFG\+\_\+\+REG}}~0\+X1B
|
|
\item
|
|
\#define \mbox{\hyperlink{mpu6050_8h_a7bc1a37b846a3869f13a29e00072bbc7}{MPU\+\_\+\+ACCEL\+\_\+\+CFG\+\_\+\+REG}}~0\+X1C
|
|
\item
|
|
\#define \mbox{\hyperlink{mpu6050_8h_ad214879acffccefd843d291949a2abb6}{MPU\+\_\+\+MOTION\+\_\+\+DET\+\_\+\+REG}}~0\+X1F
|
|
\item
|
|
\#define \mbox{\hyperlink{mpu6050_8h_a6ac27367cd834a85810e99df72b97621}{MPU\+\_\+\+FIFO\+\_\+\+EN\+\_\+\+REG}}~0\+X23
|
|
\item
|
|
\#define \mbox{\hyperlink{mpu6050_8h_a077d9362ddf1c52a0fca0740164533ca}{MPU\+\_\+\+I2\+CMST\+\_\+\+CTRL\+\_\+\+REG}}~0\+X24
|
|
\item
|
|
\#define \mbox{\hyperlink{mpu6050_8h_a0482943c31faa0c896d63ef5d66755e1}{MPU\+\_\+\+I2\+CSLV0\+\_\+\+ADDR\+\_\+\+REG}}~0\+X25
|
|
\item
|
|
\#define \mbox{\hyperlink{mpu6050_8h_a53122cbda4565a4a060e5df3bb9a37a7}{MPU\+\_\+\+I2\+CSLV0\+\_\+\+REG}}~0\+X26
|
|
\item
|
|
\#define \mbox{\hyperlink{mpu6050_8h_a22b266f1daab1a09f9257cfeb96fbb68}{MPU\+\_\+\+I2\+CSLV0\+\_\+\+CTRL\+\_\+\+REG}}~0\+X27
|
|
\item
|
|
\#define \mbox{\hyperlink{mpu6050_8h_a9123fc86edcdc301cbb75f7ebe4b5875}{MPU\+\_\+\+I2\+CSLV1\+\_\+\+ADDR\+\_\+\+REG}}~0\+X28
|
|
\item
|
|
\#define \mbox{\hyperlink{mpu6050_8h_a7a0758891de15a4b4bf0ef2c4e75efeb}{MPU\+\_\+\+I2\+CSLV1\+\_\+\+REG}}~0\+X29
|
|
\item
|
|
\#define \mbox{\hyperlink{mpu6050_8h_a237cf43cb562d63ea2f2d98eeac464bc}{MPU\+\_\+\+I2\+CSLV1\+\_\+\+CTRL\+\_\+\+REG}}~0\+X2A
|
|
\item
|
|
\#define \mbox{\hyperlink{mpu6050_8h_a5a7b90007c003c428c098d0073fa4f9c}{MPU\+\_\+\+I2\+CSLV2\+\_\+\+ADDR\+\_\+\+REG}}~0\+X2B
|
|
\item
|
|
\#define \mbox{\hyperlink{mpu6050_8h_a1d01e992631966ee1af8795ec14710bc}{MPU\+\_\+\+I2\+CSLV2\+\_\+\+REG}}~0\+X2C
|
|
\item
|
|
\#define \mbox{\hyperlink{mpu6050_8h_a1c2971fc921e219f0060640349d4a58a}{MPU\+\_\+\+I2\+CSLV2\+\_\+\+CTRL\+\_\+\+REG}}~0\+X2D
|
|
\item
|
|
\#define \mbox{\hyperlink{mpu6050_8h_a0627354a9a7143a3967bbf1552952e11}{MPU\+\_\+\+I2\+CSLV3\+\_\+\+ADDR\+\_\+\+REG}}~0\+X2E
|
|
\item
|
|
\#define \mbox{\hyperlink{mpu6050_8h_a82236d7861a3a175cff0058d5d5b4716}{MPU\+\_\+\+I2\+CSLV3\+\_\+\+REG}}~0\+X2F
|
|
\item
|
|
\#define \mbox{\hyperlink{mpu6050_8h_ac907afde99231069287fa0d78c305549}{MPU\+\_\+\+I2\+CSLV3\+\_\+\+CTRL\+\_\+\+REG}}~0\+X30
|
|
\item
|
|
\#define \mbox{\hyperlink{mpu6050_8h_a6fbb07805d44b04e97f4f7d30d7c65bf}{MPU\+\_\+\+I2\+CSLV4\+\_\+\+ADDR\+\_\+\+REG}}~0\+X31
|
|
\item
|
|
\#define \mbox{\hyperlink{mpu6050_8h_a838f7301336bd077e84a3a4fbe6e16e7}{MPU\+\_\+\+I2\+CSLV4\+\_\+\+REG}}~0\+X32
|
|
\item
|
|
\#define \mbox{\hyperlink{mpu6050_8h_a5bf6ae395ef8815c28c23d5343116871}{MPU\+\_\+\+I2\+CSLV4\+\_\+\+DO\+\_\+\+REG}}~0\+X33
|
|
\item
|
|
\#define \mbox{\hyperlink{mpu6050_8h_a144d40f6321e971c85d9987ceaedf539}{MPU\+\_\+\+I2\+CSLV4\+\_\+\+CTRL\+\_\+\+REG}}~0\+X34
|
|
\item
|
|
\#define \mbox{\hyperlink{mpu6050_8h_ab62d9fd87688d16052273b6598d5572f}{MPU\+\_\+\+I2\+CSLV4\+\_\+\+DI\+\_\+\+REG}}~0\+X35
|
|
\item
|
|
\#define \mbox{\hyperlink{mpu6050_8h_a818abd42a819632acfee736d8db636f5}{MPU\+\_\+\+I2\+CMST\+\_\+\+STA\+\_\+\+REG}}~0\+X36
|
|
\item
|
|
\#define \mbox{\hyperlink{mpu6050_8h_a41676476ba5dbb1b213f8f8e252d17f9}{MPU\+\_\+\+INTBP\+\_\+\+CFG\+\_\+\+REG}}~0\+X37
|
|
\item
|
|
\#define \mbox{\hyperlink{mpu6050_8h_afa56d3602a6044562c45cecf6403fb8b}{MPU\+\_\+\+INT\+\_\+\+EN\+\_\+\+REG}}~0\+X38
|
|
\item
|
|
\#define \mbox{\hyperlink{mpu6050_8h_a186faa987a57c9d2a3ea6bfaba0bdd46}{MPU\+\_\+\+INT\+\_\+\+STA\+\_\+\+REG}}~0\+X3A
|
|
\item
|
|
\#define \mbox{\hyperlink{mpu6050_8h_a571a31cdf2a467b2b1df39fea686ea0d}{MPU\+\_\+\+ACCEL\+\_\+\+XOUTH\+\_\+\+REG}}~0\+X3B
|
|
\item
|
|
\#define \mbox{\hyperlink{mpu6050_8h_ad7193ffe844d2c844b0c419a50d40173}{MPU\+\_\+\+ACCEL\+\_\+\+XOUTL\+\_\+\+REG}}~0\+X3C
|
|
\item
|
|
\#define \mbox{\hyperlink{mpu6050_8h_a42eb93ccf84e25005cd1eca7c43b7516}{MPU\+\_\+\+ACCEL\+\_\+\+YOUTH\+\_\+\+REG}}~0\+X3D
|
|
\item
|
|
\#define \mbox{\hyperlink{mpu6050_8h_aa1b06e69bcbb83ced2e28a8891ee8558}{MPU\+\_\+\+ACCEL\+\_\+\+YOUTL\+\_\+\+REG}}~0\+X3E
|
|
\item
|
|
\#define \mbox{\hyperlink{mpu6050_8h_af3a12a4f04a41df24c977c491a4aad5f}{MPU\+\_\+\+ACCEL\+\_\+\+ZOUTH\+\_\+\+REG}}~0\+X3F
|
|
\item
|
|
\#define \mbox{\hyperlink{mpu6050_8h_a82eb10a4b48c58f8bf7bc96a892533b6}{MPU\+\_\+\+ACCEL\+\_\+\+ZOUTL\+\_\+\+REG}}~0\+X40
|
|
\item
|
|
\#define \mbox{\hyperlink{mpu6050_8h_af2665b26b7f1ce9b3982a9f6418748e9}{MPU\+\_\+\+TEMP\+\_\+\+OUTH\+\_\+\+REG}}~0\+X41
|
|
\item
|
|
\#define \mbox{\hyperlink{mpu6050_8h_a5f4a1c425564e1e56bfe51576ba3ea82}{MPU\+\_\+\+TEMP\+\_\+\+OUTL\+\_\+\+REG}}~0\+X42
|
|
\item
|
|
\#define \mbox{\hyperlink{mpu6050_8h_a7e16f1a459d902b070ca67df67be862b}{MPU\+\_\+\+GYRO\+\_\+\+XOUTH\+\_\+\+REG}}~0\+X43
|
|
\item
|
|
\#define \mbox{\hyperlink{mpu6050_8h_a0b2e09225774ed67f49666ec1bbea501}{MPU\+\_\+\+GYRO\+\_\+\+XOUTL\+\_\+\+REG}}~0\+X44
|
|
\item
|
|
\#define \mbox{\hyperlink{mpu6050_8h_af71ca06f446573faed7a73979237e51e}{MPU\+\_\+\+GYRO\+\_\+\+YOUTH\+\_\+\+REG}}~0\+X45
|
|
\item
|
|
\#define \mbox{\hyperlink{mpu6050_8h_a0007fe50b455737a3076e38f300bce14}{MPU\+\_\+\+GYRO\+\_\+\+YOUTL\+\_\+\+REG}}~0\+X46
|
|
\item
|
|
\#define \mbox{\hyperlink{mpu6050_8h_ad5811a104c711b123b648b46bcc6f929}{MPU\+\_\+\+GYRO\+\_\+\+ZOUTH\+\_\+\+REG}}~0\+X47
|
|
\item
|
|
\#define \mbox{\hyperlink{mpu6050_8h_a289046a426f3c6ef18cb504c5e991652}{MPU\+\_\+\+GYRO\+\_\+\+ZOUTL\+\_\+\+REG}}~0\+X48
|
|
\item
|
|
\#define \mbox{\hyperlink{mpu6050_8h_a93d37f52e6ac87e1ef103339b22770af}{MPU\+\_\+\+I2\+CSLV0\+\_\+\+DO\+\_\+\+REG}}~0\+X63
|
|
\item
|
|
\#define \mbox{\hyperlink{mpu6050_8h_af03578391ec1c0c6b357207c83ce28bb}{MPU\+\_\+\+I2\+CSLV1\+\_\+\+DO\+\_\+\+REG}}~0\+X64
|
|
\item
|
|
\#define \mbox{\hyperlink{mpu6050_8h_a14db443ae863599bc0f16fa3733d4056}{MPU\+\_\+\+I2\+CSLV2\+\_\+\+DO\+\_\+\+REG}}~0\+X65
|
|
\item
|
|
\#define \mbox{\hyperlink{mpu6050_8h_a4343d92e344dd56343094d46798a5e0e}{MPU\+\_\+\+I2\+CSLV3\+\_\+\+DO\+\_\+\+REG}}~0\+X66
|
|
\item
|
|
\#define \mbox{\hyperlink{mpu6050_8h_ad7209fcea0ea70f90f6cb43e862f8f5b}{MPU\+\_\+\+I2\+CMST\+\_\+\+DELAY\+\_\+\+REG}}~0\+X67
|
|
\item
|
|
\#define \mbox{\hyperlink{mpu6050_8h_a82c9cecb9ee30b37f8b054feca2bc1da}{MPU\+\_\+\+SIGPATH\+\_\+\+RST\+\_\+\+REG}}~0\+X68
|
|
\item
|
|
\#define \mbox{\hyperlink{mpu6050_8h_a1e60421d39a0a24b0c513f309e1d6910}{MPU\+\_\+\+MDETECT\+\_\+\+CTRL\+\_\+\+REG}}~0\+X69
|
|
\item
|
|
\#define \mbox{\hyperlink{mpu6050_8h_a0146ef35d7ff0b037eafb0a5dac53b0f}{MPU\+\_\+\+USER\+\_\+\+CTRL\+\_\+\+REG}}~0\+X6A
|
|
\item
|
|
\#define \mbox{\hyperlink{mpu6050_8h_abbe7ea135ee03eb0f1296ecb22be7554}{MPU\+\_\+\+PWR\+\_\+\+MGMT1\+\_\+\+REG}}~0\+X6B
|
|
\item
|
|
\#define \mbox{\hyperlink{mpu6050_8h_a3fa9eb0485744e73d0274b198f0ad705}{MPU\+\_\+\+PWR\+\_\+\+MGMT2\+\_\+\+REG}}~0\+X6C
|
|
\item
|
|
\#define \mbox{\hyperlink{mpu6050_8h_a9c04be29f6f59066df910560a1eb9ddf}{MPU\+\_\+\+FIFO\+\_\+\+CNTH\+\_\+\+REG}}~0\+X72
|
|
\item
|
|
\#define \mbox{\hyperlink{mpu6050_8h_a66dc73eec1f79cfefe8ad3d4c2a81c0d}{MPU\+\_\+\+FIFO\+\_\+\+CNTL\+\_\+\+REG}}~0\+X73
|
|
\item
|
|
\#define \mbox{\hyperlink{mpu6050_8h_af3acc9068f9c3b6a54c3d65ca91dc52e}{MPU\+\_\+\+FIFO\+\_\+\+RW\+\_\+\+REG}}~0\+X74
|
|
\item
|
|
\#define \mbox{\hyperlink{mpu6050_8h_a9668e5ccfcfb0aa64da044a381a56f9c}{MPU\+\_\+\+DEVICE\+\_\+\+ID\+\_\+\+REG}}~0\+X75
|
|
\item
|
|
\#define \mbox{\hyperlink{mpu6050_8h_ac3281ee64415e63422da7d65db161891}{MPU\+\_\+\+ADDR}}~0\+X68
|
|
\end{DoxyCompactItemize}
|
|
\doxysubsection*{函数}
|
|
\begin{DoxyCompactItemize}
|
|
\item
|
|
\mbox{\hyperlink{varint_8h_a92c50087ca0e64fa93fc59402c55f8ca}{u8}} \mbox{\hyperlink{mpu6050_8h_ab1f8c6111d59b60a2edb4ee3e8aa3113}{MPU\+\_\+\+Init}} (void)
|
|
\begin{DoxyCompactList}\small\item\em 初始化\+MPU6050 \end{DoxyCompactList}\item
|
|
\mbox{\hyperlink{varint_8h_a92c50087ca0e64fa93fc59402c55f8ca}{u8}} \mbox{\hyperlink{mpu6050_8h_a59b1c26b234be88e97435a1b3c061330}{MPU\+\_\+\+Write\+\_\+\+Len}} (\mbox{\hyperlink{varint_8h_a92c50087ca0e64fa93fc59402c55f8ca}{u8}} addr, \mbox{\hyperlink{varint_8h_a92c50087ca0e64fa93fc59402c55f8ca}{u8}} \mbox{\hyperlink{group___d_r_i_v_e_r_s_ga5448c351fc95ff052b110eee80e5f75c}{reg}}, \mbox{\hyperlink{varint_8h_a92c50087ca0e64fa93fc59402c55f8ca}{u8}} len, \mbox{\hyperlink{varint_8h_a92c50087ca0e64fa93fc59402c55f8ca}{u8}} $\ast$buf)
|
|
\begin{DoxyCompactList}\small\item\em IIC连续写 \end{DoxyCompactList}\item
|
|
\mbox{\hyperlink{varint_8h_a92c50087ca0e64fa93fc59402c55f8ca}{u8}} \mbox{\hyperlink{mpu6050_8h_a63161fa966899e4e7c5791e40ebf2b0a}{MPU\+\_\+\+Read\+\_\+\+Len}} (\mbox{\hyperlink{varint_8h_a92c50087ca0e64fa93fc59402c55f8ca}{u8}} addr, \mbox{\hyperlink{varint_8h_a92c50087ca0e64fa93fc59402c55f8ca}{u8}} \mbox{\hyperlink{group___d_r_i_v_e_r_s_ga5448c351fc95ff052b110eee80e5f75c}{reg}}, \mbox{\hyperlink{varint_8h_a92c50087ca0e64fa93fc59402c55f8ca}{u8}} len, \mbox{\hyperlink{varint_8h_a92c50087ca0e64fa93fc59402c55f8ca}{u8}} $\ast$buf)
|
|
\begin{DoxyCompactList}\small\item\em IIC连续读 \end{DoxyCompactList}\item
|
|
\mbox{\hyperlink{varint_8h_a92c50087ca0e64fa93fc59402c55f8ca}{u8}} \mbox{\hyperlink{mpu6050_8h_a0be9b422bb8613f8444db4af5234e1a1}{MPU\+\_\+\+Write\+\_\+\+Byte}} (\mbox{\hyperlink{varint_8h_a92c50087ca0e64fa93fc59402c55f8ca}{u8}} \mbox{\hyperlink{group___d_r_i_v_e_r_s_ga5448c351fc95ff052b110eee80e5f75c}{reg}}, \mbox{\hyperlink{varint_8h_a92c50087ca0e64fa93fc59402c55f8ca}{u8}} data)
|
|
\begin{DoxyCompactList}\small\item\em IIC写一个字节 \end{DoxyCompactList}\item
|
|
\mbox{\hyperlink{varint_8h_a92c50087ca0e64fa93fc59402c55f8ca}{u8}} \mbox{\hyperlink{mpu6050_8h_a17c11d19a2bb21d61610f08cb2cbe2f7}{MPU\+\_\+\+Read\+\_\+\+Byte}} (\mbox{\hyperlink{varint_8h_a92c50087ca0e64fa93fc59402c55f8ca}{u8}} \mbox{\hyperlink{group___d_r_i_v_e_r_s_ga5448c351fc95ff052b110eee80e5f75c}{reg}})
|
|
\begin{DoxyCompactList}\small\item\em IIC读一个字节 \end{DoxyCompactList}\item
|
|
\mbox{\hyperlink{varint_8h_a92c50087ca0e64fa93fc59402c55f8ca}{u8}} \mbox{\hyperlink{mpu6050_8h_aa27cc30326ce4980b289a0e1c3f76b5e}{MPU\+\_\+\+Set\+\_\+\+Gyro\+\_\+\+Fsr}} (\mbox{\hyperlink{varint_8h_a92c50087ca0e64fa93fc59402c55f8ca}{u8}} fsr)
|
|
\begin{DoxyCompactList}\small\item\em 设置\+MPU6050陀螺仪传感器满量程范围 \end{DoxyCompactList}\item
|
|
\mbox{\hyperlink{varint_8h_a92c50087ca0e64fa93fc59402c55f8ca}{u8}} \mbox{\hyperlink{mpu6050_8h_a6c391137bc5880c3b5e15e84c5a3380f}{MPU\+\_\+\+Set\+\_\+\+Accel\+\_\+\+Fsr}} (\mbox{\hyperlink{varint_8h_a92c50087ca0e64fa93fc59402c55f8ca}{u8}} fsr)
|
|
\begin{DoxyCompactList}\small\item\em 设置\+MPU6050加速度传感器满量程范围 \end{DoxyCompactList}\item
|
|
\mbox{\hyperlink{varint_8h_a92c50087ca0e64fa93fc59402c55f8ca}{u8}} \mbox{\hyperlink{mpu6050_8h_a2fb9973c9f5ea5327649d0eef5e96217}{MPU\+\_\+\+Set\+\_\+\+LPF}} (\mbox{\hyperlink{varint_8h_ace9d960e74685e2cd84b36132dbbf8aa}{u16}} lpf)
|
|
\begin{DoxyCompactList}\small\item\em 设置\+MPU6050的数字低通滤波器 \end{DoxyCompactList}\item
|
|
\mbox{\hyperlink{varint_8h_a92c50087ca0e64fa93fc59402c55f8ca}{u8}} \mbox{\hyperlink{mpu6050_8h_a04e58232ce838e94d54aa2b53287cb41}{MPU\+\_\+\+Set\+\_\+\+Rate}} (\mbox{\hyperlink{varint_8h_ace9d960e74685e2cd84b36132dbbf8aa}{u16}} rate)
|
|
\begin{DoxyCompactList}\small\item\em 设置\+MPU6050的采样率(假定\+Fs=1KHz) \end{DoxyCompactList}\item
|
|
\mbox{\hyperlink{varint_8h_a92c50087ca0e64fa93fc59402c55f8ca}{u8}} \mbox{\hyperlink{mpu6050_8h_a91e0ee4610726fcf9f45570245269a0e}{MPU\+\_\+\+Set\+\_\+\+Fifo}} (\mbox{\hyperlink{varint_8h_a92c50087ca0e64fa93fc59402c55f8ca}{u8}} sens)
|
|
\item
|
|
short \mbox{\hyperlink{mpu6050_8h_a41eaf87c26b1281d9d5fc6a06abcf2a8}{MPU\+\_\+\+Get\+\_\+\+Temperature}} (void)
|
|
\begin{DoxyCompactList}\small\item\em 得到温度值 \end{DoxyCompactList}\item
|
|
\mbox{\hyperlink{varint_8h_a92c50087ca0e64fa93fc59402c55f8ca}{u8}} \mbox{\hyperlink{mpu6050_8h_a8f28105f9dcccc709b78d7d0ce497633}{MPU\+\_\+\+Get\+\_\+\+Gyroscope}} (short $\ast$gx, short $\ast$gy, short $\ast$gz)
|
|
\begin{DoxyCompactList}\small\item\em 得到陀螺仪值(原始值) \end{DoxyCompactList}\item
|
|
\mbox{\hyperlink{varint_8h_a92c50087ca0e64fa93fc59402c55f8ca}{u8}} \mbox{\hyperlink{mpu6050_8h_a2a0a02f6d7c597828a0cc282c76e99e3}{MPU\+\_\+\+Get\+\_\+\+Accelerometer}} (short $\ast$ax, short $\ast$ay, short $\ast$az)
|
|
\begin{DoxyCompactList}\small\item\em 得到加速度值(原始值) \end{DoxyCompactList}\end{DoxyCompactItemize}
|
|
|
|
|
|
\doxysubsection{宏定义说明}
|
|
\mbox{\Hypertarget{mpu6050_8h_a7bc1a37b846a3869f13a29e00072bbc7}\label{mpu6050_8h_a7bc1a37b846a3869f13a29e00072bbc7}}
|
|
\index{mpu6050.h@{mpu6050.h}!MPU\_ACCEL\_CFG\_REG@{MPU\_ACCEL\_CFG\_REG}}
|
|
\index{MPU\_ACCEL\_CFG\_REG@{MPU\_ACCEL\_CFG\_REG}!mpu6050.h@{mpu6050.h}}
|
|
\doxysubsubsection{\texorpdfstring{MPU\_ACCEL\_CFG\_REG}{MPU\_ACCEL\_CFG\_REG}}
|
|
{\footnotesize\ttfamily \#define MPU\+\_\+\+ACCEL\+\_\+\+CFG\+\_\+\+REG~0\+X1C}
|
|
|
|
|
|
|
|
在文件 \mbox{\hyperlink{mpu6050_8h_source}{mpu6050.\+h}} 第 \mbox{\hyperlink{mpu6050_8h_source_l00027}{27}} 行定义.
|
|
|
|
\mbox{\Hypertarget{mpu6050_8h_a571a31cdf2a467b2b1df39fea686ea0d}\label{mpu6050_8h_a571a31cdf2a467b2b1df39fea686ea0d}}
|
|
\index{mpu6050.h@{mpu6050.h}!MPU\_ACCEL\_XOUTH\_REG@{MPU\_ACCEL\_XOUTH\_REG}}
|
|
\index{MPU\_ACCEL\_XOUTH\_REG@{MPU\_ACCEL\_XOUTH\_REG}!mpu6050.h@{mpu6050.h}}
|
|
\doxysubsubsection{\texorpdfstring{MPU\_ACCEL\_XOUTH\_REG}{MPU\_ACCEL\_XOUTH\_REG}}
|
|
{\footnotesize\ttfamily \#define MPU\+\_\+\+ACCEL\+\_\+\+XOUTH\+\_\+\+REG~0\+X3B}
|
|
|
|
|
|
|
|
在文件 \mbox{\hyperlink{mpu6050_8h_source}{mpu6050.\+h}} 第 \mbox{\hyperlink{mpu6050_8h_source_l00054}{54}} 行定义.
|
|
|
|
\mbox{\Hypertarget{mpu6050_8h_ad7193ffe844d2c844b0c419a50d40173}\label{mpu6050_8h_ad7193ffe844d2c844b0c419a50d40173}}
|
|
\index{mpu6050.h@{mpu6050.h}!MPU\_ACCEL\_XOUTL\_REG@{MPU\_ACCEL\_XOUTL\_REG}}
|
|
\index{MPU\_ACCEL\_XOUTL\_REG@{MPU\_ACCEL\_XOUTL\_REG}!mpu6050.h@{mpu6050.h}}
|
|
\doxysubsubsection{\texorpdfstring{MPU\_ACCEL\_XOUTL\_REG}{MPU\_ACCEL\_XOUTL\_REG}}
|
|
{\footnotesize\ttfamily \#define MPU\+\_\+\+ACCEL\+\_\+\+XOUTL\+\_\+\+REG~0\+X3C}
|
|
|
|
|
|
|
|
在文件 \mbox{\hyperlink{mpu6050_8h_source}{mpu6050.\+h}} 第 \mbox{\hyperlink{mpu6050_8h_source_l00055}{55}} 行定义.
|
|
|
|
\mbox{\Hypertarget{mpu6050_8h_a42eb93ccf84e25005cd1eca7c43b7516}\label{mpu6050_8h_a42eb93ccf84e25005cd1eca7c43b7516}}
|
|
\index{mpu6050.h@{mpu6050.h}!MPU\_ACCEL\_YOUTH\_REG@{MPU\_ACCEL\_YOUTH\_REG}}
|
|
\index{MPU\_ACCEL\_YOUTH\_REG@{MPU\_ACCEL\_YOUTH\_REG}!mpu6050.h@{mpu6050.h}}
|
|
\doxysubsubsection{\texorpdfstring{MPU\_ACCEL\_YOUTH\_REG}{MPU\_ACCEL\_YOUTH\_REG}}
|
|
{\footnotesize\ttfamily \#define MPU\+\_\+\+ACCEL\+\_\+\+YOUTH\+\_\+\+REG~0\+X3D}
|
|
|
|
|
|
|
|
在文件 \mbox{\hyperlink{mpu6050_8h_source}{mpu6050.\+h}} 第 \mbox{\hyperlink{mpu6050_8h_source_l00056}{56}} 行定义.
|
|
|
|
\mbox{\Hypertarget{mpu6050_8h_aa1b06e69bcbb83ced2e28a8891ee8558}\label{mpu6050_8h_aa1b06e69bcbb83ced2e28a8891ee8558}}
|
|
\index{mpu6050.h@{mpu6050.h}!MPU\_ACCEL\_YOUTL\_REG@{MPU\_ACCEL\_YOUTL\_REG}}
|
|
\index{MPU\_ACCEL\_YOUTL\_REG@{MPU\_ACCEL\_YOUTL\_REG}!mpu6050.h@{mpu6050.h}}
|
|
\doxysubsubsection{\texorpdfstring{MPU\_ACCEL\_YOUTL\_REG}{MPU\_ACCEL\_YOUTL\_REG}}
|
|
{\footnotesize\ttfamily \#define MPU\+\_\+\+ACCEL\+\_\+\+YOUTL\+\_\+\+REG~0\+X3E}
|
|
|
|
|
|
|
|
在文件 \mbox{\hyperlink{mpu6050_8h_source}{mpu6050.\+h}} 第 \mbox{\hyperlink{mpu6050_8h_source_l00057}{57}} 行定义.
|
|
|
|
\mbox{\Hypertarget{mpu6050_8h_af3a12a4f04a41df24c977c491a4aad5f}\label{mpu6050_8h_af3a12a4f04a41df24c977c491a4aad5f}}
|
|
\index{mpu6050.h@{mpu6050.h}!MPU\_ACCEL\_ZOUTH\_REG@{MPU\_ACCEL\_ZOUTH\_REG}}
|
|
\index{MPU\_ACCEL\_ZOUTH\_REG@{MPU\_ACCEL\_ZOUTH\_REG}!mpu6050.h@{mpu6050.h}}
|
|
\doxysubsubsection{\texorpdfstring{MPU\_ACCEL\_ZOUTH\_REG}{MPU\_ACCEL\_ZOUTH\_REG}}
|
|
{\footnotesize\ttfamily \#define MPU\+\_\+\+ACCEL\+\_\+\+ZOUTH\+\_\+\+REG~0\+X3F}
|
|
|
|
|
|
|
|
在文件 \mbox{\hyperlink{mpu6050_8h_source}{mpu6050.\+h}} 第 \mbox{\hyperlink{mpu6050_8h_source_l00058}{58}} 行定义.
|
|
|
|
\mbox{\Hypertarget{mpu6050_8h_a82eb10a4b48c58f8bf7bc96a892533b6}\label{mpu6050_8h_a82eb10a4b48c58f8bf7bc96a892533b6}}
|
|
\index{mpu6050.h@{mpu6050.h}!MPU\_ACCEL\_ZOUTL\_REG@{MPU\_ACCEL\_ZOUTL\_REG}}
|
|
\index{MPU\_ACCEL\_ZOUTL\_REG@{MPU\_ACCEL\_ZOUTL\_REG}!mpu6050.h@{mpu6050.h}}
|
|
\doxysubsubsection{\texorpdfstring{MPU\_ACCEL\_ZOUTL\_REG}{MPU\_ACCEL\_ZOUTL\_REG}}
|
|
{\footnotesize\ttfamily \#define MPU\+\_\+\+ACCEL\+\_\+\+ZOUTL\+\_\+\+REG~0\+X40}
|
|
|
|
|
|
|
|
在文件 \mbox{\hyperlink{mpu6050_8h_source}{mpu6050.\+h}} 第 \mbox{\hyperlink{mpu6050_8h_source_l00059}{59}} 行定义.
|
|
|
|
\mbox{\Hypertarget{mpu6050_8h_ac3281ee64415e63422da7d65db161891}\label{mpu6050_8h_ac3281ee64415e63422da7d65db161891}}
|
|
\index{mpu6050.h@{mpu6050.h}!MPU\_ADDR@{MPU\_ADDR}}
|
|
\index{MPU\_ADDR@{MPU\_ADDR}!mpu6050.h@{mpu6050.h}}
|
|
\doxysubsubsection{\texorpdfstring{MPU\_ADDR}{MPU\_ADDR}}
|
|
{\footnotesize\ttfamily \#define MPU\+\_\+\+ADDR~0\+X68}
|
|
|
|
|
|
|
|
在文件 \mbox{\hyperlink{mpu6050_8h_source}{mpu6050.\+h}} 第 \mbox{\hyperlink{mpu6050_8h_source_l00089}{89}} 行定义.
|
|
|
|
\mbox{\Hypertarget{mpu6050_8h_a5034e2fc680fc68faa369a48f6955837}\label{mpu6050_8h_a5034e2fc680fc68faa369a48f6955837}}
|
|
\index{mpu6050.h@{mpu6050.h}!MPU\_CFG\_REG@{MPU\_CFG\_REG}}
|
|
\index{MPU\_CFG\_REG@{MPU\_CFG\_REG}!mpu6050.h@{mpu6050.h}}
|
|
\doxysubsubsection{\texorpdfstring{MPU\_CFG\_REG}{MPU\_CFG\_REG}}
|
|
{\footnotesize\ttfamily \#define MPU\+\_\+\+CFG\+\_\+\+REG~0\+X1A}
|
|
|
|
|
|
|
|
在文件 \mbox{\hyperlink{mpu6050_8h_source}{mpu6050.\+h}} 第 \mbox{\hyperlink{mpu6050_8h_source_l00025}{25}} 行定义.
|
|
|
|
\mbox{\Hypertarget{mpu6050_8h_a9668e5ccfcfb0aa64da044a381a56f9c}\label{mpu6050_8h_a9668e5ccfcfb0aa64da044a381a56f9c}}
|
|
\index{mpu6050.h@{mpu6050.h}!MPU\_DEVICE\_ID\_REG@{MPU\_DEVICE\_ID\_REG}}
|
|
\index{MPU\_DEVICE\_ID\_REG@{MPU\_DEVICE\_ID\_REG}!mpu6050.h@{mpu6050.h}}
|
|
\doxysubsubsection{\texorpdfstring{MPU\_DEVICE\_ID\_REG}{MPU\_DEVICE\_ID\_REG}}
|
|
{\footnotesize\ttfamily \#define MPU\+\_\+\+DEVICE\+\_\+\+ID\+\_\+\+REG~0\+X75}
|
|
|
|
|
|
|
|
在文件 \mbox{\hyperlink{mpu6050_8h_source}{mpu6050.\+h}} 第 \mbox{\hyperlink{mpu6050_8h_source_l00085}{85}} 行定义.
|
|
|
|
\mbox{\Hypertarget{mpu6050_8h_a9c04be29f6f59066df910560a1eb9ddf}\label{mpu6050_8h_a9c04be29f6f59066df910560a1eb9ddf}}
|
|
\index{mpu6050.h@{mpu6050.h}!MPU\_FIFO\_CNTH\_REG@{MPU\_FIFO\_CNTH\_REG}}
|
|
\index{MPU\_FIFO\_CNTH\_REG@{MPU\_FIFO\_CNTH\_REG}!mpu6050.h@{mpu6050.h}}
|
|
\doxysubsubsection{\texorpdfstring{MPU\_FIFO\_CNTH\_REG}{MPU\_FIFO\_CNTH\_REG}}
|
|
{\footnotesize\ttfamily \#define MPU\+\_\+\+FIFO\+\_\+\+CNTH\+\_\+\+REG~0\+X72}
|
|
|
|
|
|
|
|
在文件 \mbox{\hyperlink{mpu6050_8h_source}{mpu6050.\+h}} 第 \mbox{\hyperlink{mpu6050_8h_source_l00082}{82}} 行定义.
|
|
|
|
\mbox{\Hypertarget{mpu6050_8h_a66dc73eec1f79cfefe8ad3d4c2a81c0d}\label{mpu6050_8h_a66dc73eec1f79cfefe8ad3d4c2a81c0d}}
|
|
\index{mpu6050.h@{mpu6050.h}!MPU\_FIFO\_CNTL\_REG@{MPU\_FIFO\_CNTL\_REG}}
|
|
\index{MPU\_FIFO\_CNTL\_REG@{MPU\_FIFO\_CNTL\_REG}!mpu6050.h@{mpu6050.h}}
|
|
\doxysubsubsection{\texorpdfstring{MPU\_FIFO\_CNTL\_REG}{MPU\_FIFO\_CNTL\_REG}}
|
|
{\footnotesize\ttfamily \#define MPU\+\_\+\+FIFO\+\_\+\+CNTL\+\_\+\+REG~0\+X73}
|
|
|
|
|
|
|
|
在文件 \mbox{\hyperlink{mpu6050_8h_source}{mpu6050.\+h}} 第 \mbox{\hyperlink{mpu6050_8h_source_l00083}{83}} 行定义.
|
|
|
|
\mbox{\Hypertarget{mpu6050_8h_a6ac27367cd834a85810e99df72b97621}\label{mpu6050_8h_a6ac27367cd834a85810e99df72b97621}}
|
|
\index{mpu6050.h@{mpu6050.h}!MPU\_FIFO\_EN\_REG@{MPU\_FIFO\_EN\_REG}}
|
|
\index{MPU\_FIFO\_EN\_REG@{MPU\_FIFO\_EN\_REG}!mpu6050.h@{mpu6050.h}}
|
|
\doxysubsubsection{\texorpdfstring{MPU\_FIFO\_EN\_REG}{MPU\_FIFO\_EN\_REG}}
|
|
{\footnotesize\ttfamily \#define MPU\+\_\+\+FIFO\+\_\+\+EN\+\_\+\+REG~0\+X23}
|
|
|
|
|
|
|
|
在文件 \mbox{\hyperlink{mpu6050_8h_source}{mpu6050.\+h}} 第 \mbox{\hyperlink{mpu6050_8h_source_l00029}{29}} 行定义.
|
|
|
|
\mbox{\Hypertarget{mpu6050_8h_af3acc9068f9c3b6a54c3d65ca91dc52e}\label{mpu6050_8h_af3acc9068f9c3b6a54c3d65ca91dc52e}}
|
|
\index{mpu6050.h@{mpu6050.h}!MPU\_FIFO\_RW\_REG@{MPU\_FIFO\_RW\_REG}}
|
|
\index{MPU\_FIFO\_RW\_REG@{MPU\_FIFO\_RW\_REG}!mpu6050.h@{mpu6050.h}}
|
|
\doxysubsubsection{\texorpdfstring{MPU\_FIFO\_RW\_REG}{MPU\_FIFO\_RW\_REG}}
|
|
{\footnotesize\ttfamily \#define MPU\+\_\+\+FIFO\+\_\+\+RW\+\_\+\+REG~0\+X74}
|
|
|
|
|
|
|
|
在文件 \mbox{\hyperlink{mpu6050_8h_source}{mpu6050.\+h}} 第 \mbox{\hyperlink{mpu6050_8h_source_l00084}{84}} 行定义.
|
|
|
|
\mbox{\Hypertarget{mpu6050_8h_ac8ce2e66126327cf30cfba19c4c38db5}\label{mpu6050_8h_ac8ce2e66126327cf30cfba19c4c38db5}}
|
|
\index{mpu6050.h@{mpu6050.h}!MPU\_GYRO\_CFG\_REG@{MPU\_GYRO\_CFG\_REG}}
|
|
\index{MPU\_GYRO\_CFG\_REG@{MPU\_GYRO\_CFG\_REG}!mpu6050.h@{mpu6050.h}}
|
|
\doxysubsubsection{\texorpdfstring{MPU\_GYRO\_CFG\_REG}{MPU\_GYRO\_CFG\_REG}}
|
|
{\footnotesize\ttfamily \#define MPU\+\_\+\+GYRO\+\_\+\+CFG\+\_\+\+REG~0\+X1B}
|
|
|
|
|
|
|
|
在文件 \mbox{\hyperlink{mpu6050_8h_source}{mpu6050.\+h}} 第 \mbox{\hyperlink{mpu6050_8h_source_l00026}{26}} 行定义.
|
|
|
|
\mbox{\Hypertarget{mpu6050_8h_a7e16f1a459d902b070ca67df67be862b}\label{mpu6050_8h_a7e16f1a459d902b070ca67df67be862b}}
|
|
\index{mpu6050.h@{mpu6050.h}!MPU\_GYRO\_XOUTH\_REG@{MPU\_GYRO\_XOUTH\_REG}}
|
|
\index{MPU\_GYRO\_XOUTH\_REG@{MPU\_GYRO\_XOUTH\_REG}!mpu6050.h@{mpu6050.h}}
|
|
\doxysubsubsection{\texorpdfstring{MPU\_GYRO\_XOUTH\_REG}{MPU\_GYRO\_XOUTH\_REG}}
|
|
{\footnotesize\ttfamily \#define MPU\+\_\+\+GYRO\+\_\+\+XOUTH\+\_\+\+REG~0\+X43}
|
|
|
|
|
|
|
|
在文件 \mbox{\hyperlink{mpu6050_8h_source}{mpu6050.\+h}} 第 \mbox{\hyperlink{mpu6050_8h_source_l00064}{64}} 行定义.
|
|
|
|
\mbox{\Hypertarget{mpu6050_8h_a0b2e09225774ed67f49666ec1bbea501}\label{mpu6050_8h_a0b2e09225774ed67f49666ec1bbea501}}
|
|
\index{mpu6050.h@{mpu6050.h}!MPU\_GYRO\_XOUTL\_REG@{MPU\_GYRO\_XOUTL\_REG}}
|
|
\index{MPU\_GYRO\_XOUTL\_REG@{MPU\_GYRO\_XOUTL\_REG}!mpu6050.h@{mpu6050.h}}
|
|
\doxysubsubsection{\texorpdfstring{MPU\_GYRO\_XOUTL\_REG}{MPU\_GYRO\_XOUTL\_REG}}
|
|
{\footnotesize\ttfamily \#define MPU\+\_\+\+GYRO\+\_\+\+XOUTL\+\_\+\+REG~0\+X44}
|
|
|
|
|
|
|
|
在文件 \mbox{\hyperlink{mpu6050_8h_source}{mpu6050.\+h}} 第 \mbox{\hyperlink{mpu6050_8h_source_l00065}{65}} 行定义.
|
|
|
|
\mbox{\Hypertarget{mpu6050_8h_af71ca06f446573faed7a73979237e51e}\label{mpu6050_8h_af71ca06f446573faed7a73979237e51e}}
|
|
\index{mpu6050.h@{mpu6050.h}!MPU\_GYRO\_YOUTH\_REG@{MPU\_GYRO\_YOUTH\_REG}}
|
|
\index{MPU\_GYRO\_YOUTH\_REG@{MPU\_GYRO\_YOUTH\_REG}!mpu6050.h@{mpu6050.h}}
|
|
\doxysubsubsection{\texorpdfstring{MPU\_GYRO\_YOUTH\_REG}{MPU\_GYRO\_YOUTH\_REG}}
|
|
{\footnotesize\ttfamily \#define MPU\+\_\+\+GYRO\+\_\+\+YOUTH\+\_\+\+REG~0\+X45}
|
|
|
|
|
|
|
|
在文件 \mbox{\hyperlink{mpu6050_8h_source}{mpu6050.\+h}} 第 \mbox{\hyperlink{mpu6050_8h_source_l00066}{66}} 行定义.
|
|
|
|
\mbox{\Hypertarget{mpu6050_8h_a0007fe50b455737a3076e38f300bce14}\label{mpu6050_8h_a0007fe50b455737a3076e38f300bce14}}
|
|
\index{mpu6050.h@{mpu6050.h}!MPU\_GYRO\_YOUTL\_REG@{MPU\_GYRO\_YOUTL\_REG}}
|
|
\index{MPU\_GYRO\_YOUTL\_REG@{MPU\_GYRO\_YOUTL\_REG}!mpu6050.h@{mpu6050.h}}
|
|
\doxysubsubsection{\texorpdfstring{MPU\_GYRO\_YOUTL\_REG}{MPU\_GYRO\_YOUTL\_REG}}
|
|
{\footnotesize\ttfamily \#define MPU\+\_\+\+GYRO\+\_\+\+YOUTL\+\_\+\+REG~0\+X46}
|
|
|
|
|
|
|
|
在文件 \mbox{\hyperlink{mpu6050_8h_source}{mpu6050.\+h}} 第 \mbox{\hyperlink{mpu6050_8h_source_l00067}{67}} 行定义.
|
|
|
|
\mbox{\Hypertarget{mpu6050_8h_ad5811a104c711b123b648b46bcc6f929}\label{mpu6050_8h_ad5811a104c711b123b648b46bcc6f929}}
|
|
\index{mpu6050.h@{mpu6050.h}!MPU\_GYRO\_ZOUTH\_REG@{MPU\_GYRO\_ZOUTH\_REG}}
|
|
\index{MPU\_GYRO\_ZOUTH\_REG@{MPU\_GYRO\_ZOUTH\_REG}!mpu6050.h@{mpu6050.h}}
|
|
\doxysubsubsection{\texorpdfstring{MPU\_GYRO\_ZOUTH\_REG}{MPU\_GYRO\_ZOUTH\_REG}}
|
|
{\footnotesize\ttfamily \#define MPU\+\_\+\+GYRO\+\_\+\+ZOUTH\+\_\+\+REG~0\+X47}
|
|
|
|
|
|
|
|
在文件 \mbox{\hyperlink{mpu6050_8h_source}{mpu6050.\+h}} 第 \mbox{\hyperlink{mpu6050_8h_source_l00068}{68}} 行定义.
|
|
|
|
\mbox{\Hypertarget{mpu6050_8h_a289046a426f3c6ef18cb504c5e991652}\label{mpu6050_8h_a289046a426f3c6ef18cb504c5e991652}}
|
|
\index{mpu6050.h@{mpu6050.h}!MPU\_GYRO\_ZOUTL\_REG@{MPU\_GYRO\_ZOUTL\_REG}}
|
|
\index{MPU\_GYRO\_ZOUTL\_REG@{MPU\_GYRO\_ZOUTL\_REG}!mpu6050.h@{mpu6050.h}}
|
|
\doxysubsubsection{\texorpdfstring{MPU\_GYRO\_ZOUTL\_REG}{MPU\_GYRO\_ZOUTL\_REG}}
|
|
{\footnotesize\ttfamily \#define MPU\+\_\+\+GYRO\+\_\+\+ZOUTL\+\_\+\+REG~0\+X48}
|
|
|
|
|
|
|
|
在文件 \mbox{\hyperlink{mpu6050_8h_source}{mpu6050.\+h}} 第 \mbox{\hyperlink{mpu6050_8h_source_l00069}{69}} 行定义.
|
|
|
|
\mbox{\Hypertarget{mpu6050_8h_a077d9362ddf1c52a0fca0740164533ca}\label{mpu6050_8h_a077d9362ddf1c52a0fca0740164533ca}}
|
|
\index{mpu6050.h@{mpu6050.h}!MPU\_I2CMST\_CTRL\_REG@{MPU\_I2CMST\_CTRL\_REG}}
|
|
\index{MPU\_I2CMST\_CTRL\_REG@{MPU\_I2CMST\_CTRL\_REG}!mpu6050.h@{mpu6050.h}}
|
|
\doxysubsubsection{\texorpdfstring{MPU\_I2CMST\_CTRL\_REG}{MPU\_I2CMST\_CTRL\_REG}}
|
|
{\footnotesize\ttfamily \#define MPU\+\_\+\+I2\+CMST\+\_\+\+CTRL\+\_\+\+REG~0\+X24}
|
|
|
|
|
|
|
|
在文件 \mbox{\hyperlink{mpu6050_8h_source}{mpu6050.\+h}} 第 \mbox{\hyperlink{mpu6050_8h_source_l00030}{30}} 行定义.
|
|
|
|
\mbox{\Hypertarget{mpu6050_8h_ad7209fcea0ea70f90f6cb43e862f8f5b}\label{mpu6050_8h_ad7209fcea0ea70f90f6cb43e862f8f5b}}
|
|
\index{mpu6050.h@{mpu6050.h}!MPU\_I2CMST\_DELAY\_REG@{MPU\_I2CMST\_DELAY\_REG}}
|
|
\index{MPU\_I2CMST\_DELAY\_REG@{MPU\_I2CMST\_DELAY\_REG}!mpu6050.h@{mpu6050.h}}
|
|
\doxysubsubsection{\texorpdfstring{MPU\_I2CMST\_DELAY\_REG}{MPU\_I2CMST\_DELAY\_REG}}
|
|
{\footnotesize\ttfamily \#define MPU\+\_\+\+I2\+CMST\+\_\+\+DELAY\+\_\+\+REG~0\+X67}
|
|
|
|
|
|
|
|
在文件 \mbox{\hyperlink{mpu6050_8h_source}{mpu6050.\+h}} 第 \mbox{\hyperlink{mpu6050_8h_source_l00076}{76}} 行定义.
|
|
|
|
\mbox{\Hypertarget{mpu6050_8h_a818abd42a819632acfee736d8db636f5}\label{mpu6050_8h_a818abd42a819632acfee736d8db636f5}}
|
|
\index{mpu6050.h@{mpu6050.h}!MPU\_I2CMST\_STA\_REG@{MPU\_I2CMST\_STA\_REG}}
|
|
\index{MPU\_I2CMST\_STA\_REG@{MPU\_I2CMST\_STA\_REG}!mpu6050.h@{mpu6050.h}}
|
|
\doxysubsubsection{\texorpdfstring{MPU\_I2CMST\_STA\_REG}{MPU\_I2CMST\_STA\_REG}}
|
|
{\footnotesize\ttfamily \#define MPU\+\_\+\+I2\+CMST\+\_\+\+STA\+\_\+\+REG~0\+X36}
|
|
|
|
|
|
|
|
在文件 \mbox{\hyperlink{mpu6050_8h_source}{mpu6050.\+h}} 第 \mbox{\hyperlink{mpu6050_8h_source_l00049}{49}} 行定义.
|
|
|
|
\mbox{\Hypertarget{mpu6050_8h_a0482943c31faa0c896d63ef5d66755e1}\label{mpu6050_8h_a0482943c31faa0c896d63ef5d66755e1}}
|
|
\index{mpu6050.h@{mpu6050.h}!MPU\_I2CSLV0\_ADDR\_REG@{MPU\_I2CSLV0\_ADDR\_REG}}
|
|
\index{MPU\_I2CSLV0\_ADDR\_REG@{MPU\_I2CSLV0\_ADDR\_REG}!mpu6050.h@{mpu6050.h}}
|
|
\doxysubsubsection{\texorpdfstring{MPU\_I2CSLV0\_ADDR\_REG}{MPU\_I2CSLV0\_ADDR\_REG}}
|
|
{\footnotesize\ttfamily \#define MPU\+\_\+\+I2\+CSLV0\+\_\+\+ADDR\+\_\+\+REG~0\+X25}
|
|
|
|
|
|
|
|
在文件 \mbox{\hyperlink{mpu6050_8h_source}{mpu6050.\+h}} 第 \mbox{\hyperlink{mpu6050_8h_source_l00031}{31}} 行定义.
|
|
|
|
\mbox{\Hypertarget{mpu6050_8h_a22b266f1daab1a09f9257cfeb96fbb68}\label{mpu6050_8h_a22b266f1daab1a09f9257cfeb96fbb68}}
|
|
\index{mpu6050.h@{mpu6050.h}!MPU\_I2CSLV0\_CTRL\_REG@{MPU\_I2CSLV0\_CTRL\_REG}}
|
|
\index{MPU\_I2CSLV0\_CTRL\_REG@{MPU\_I2CSLV0\_CTRL\_REG}!mpu6050.h@{mpu6050.h}}
|
|
\doxysubsubsection{\texorpdfstring{MPU\_I2CSLV0\_CTRL\_REG}{MPU\_I2CSLV0\_CTRL\_REG}}
|
|
{\footnotesize\ttfamily \#define MPU\+\_\+\+I2\+CSLV0\+\_\+\+CTRL\+\_\+\+REG~0\+X27}
|
|
|
|
|
|
|
|
在文件 \mbox{\hyperlink{mpu6050_8h_source}{mpu6050.\+h}} 第 \mbox{\hyperlink{mpu6050_8h_source_l00033}{33}} 行定义.
|
|
|
|
\mbox{\Hypertarget{mpu6050_8h_a93d37f52e6ac87e1ef103339b22770af}\label{mpu6050_8h_a93d37f52e6ac87e1ef103339b22770af}}
|
|
\index{mpu6050.h@{mpu6050.h}!MPU\_I2CSLV0\_DO\_REG@{MPU\_I2CSLV0\_DO\_REG}}
|
|
\index{MPU\_I2CSLV0\_DO\_REG@{MPU\_I2CSLV0\_DO\_REG}!mpu6050.h@{mpu6050.h}}
|
|
\doxysubsubsection{\texorpdfstring{MPU\_I2CSLV0\_DO\_REG}{MPU\_I2CSLV0\_DO\_REG}}
|
|
{\footnotesize\ttfamily \#define MPU\+\_\+\+I2\+CSLV0\+\_\+\+DO\+\_\+\+REG~0\+X63}
|
|
|
|
|
|
|
|
在文件 \mbox{\hyperlink{mpu6050_8h_source}{mpu6050.\+h}} 第 \mbox{\hyperlink{mpu6050_8h_source_l00071}{71}} 行定义.
|
|
|
|
\mbox{\Hypertarget{mpu6050_8h_a53122cbda4565a4a060e5df3bb9a37a7}\label{mpu6050_8h_a53122cbda4565a4a060e5df3bb9a37a7}}
|
|
\index{mpu6050.h@{mpu6050.h}!MPU\_I2CSLV0\_REG@{MPU\_I2CSLV0\_REG}}
|
|
\index{MPU\_I2CSLV0\_REG@{MPU\_I2CSLV0\_REG}!mpu6050.h@{mpu6050.h}}
|
|
\doxysubsubsection{\texorpdfstring{MPU\_I2CSLV0\_REG}{MPU\_I2CSLV0\_REG}}
|
|
{\footnotesize\ttfamily \#define MPU\+\_\+\+I2\+CSLV0\+\_\+\+REG~0\+X26}
|
|
|
|
|
|
|
|
在文件 \mbox{\hyperlink{mpu6050_8h_source}{mpu6050.\+h}} 第 \mbox{\hyperlink{mpu6050_8h_source_l00032}{32}} 行定义.
|
|
|
|
\mbox{\Hypertarget{mpu6050_8h_a9123fc86edcdc301cbb75f7ebe4b5875}\label{mpu6050_8h_a9123fc86edcdc301cbb75f7ebe4b5875}}
|
|
\index{mpu6050.h@{mpu6050.h}!MPU\_I2CSLV1\_ADDR\_REG@{MPU\_I2CSLV1\_ADDR\_REG}}
|
|
\index{MPU\_I2CSLV1\_ADDR\_REG@{MPU\_I2CSLV1\_ADDR\_REG}!mpu6050.h@{mpu6050.h}}
|
|
\doxysubsubsection{\texorpdfstring{MPU\_I2CSLV1\_ADDR\_REG}{MPU\_I2CSLV1\_ADDR\_REG}}
|
|
{\footnotesize\ttfamily \#define MPU\+\_\+\+I2\+CSLV1\+\_\+\+ADDR\+\_\+\+REG~0\+X28}
|
|
|
|
|
|
|
|
在文件 \mbox{\hyperlink{mpu6050_8h_source}{mpu6050.\+h}} 第 \mbox{\hyperlink{mpu6050_8h_source_l00034}{34}} 行定义.
|
|
|
|
\mbox{\Hypertarget{mpu6050_8h_a237cf43cb562d63ea2f2d98eeac464bc}\label{mpu6050_8h_a237cf43cb562d63ea2f2d98eeac464bc}}
|
|
\index{mpu6050.h@{mpu6050.h}!MPU\_I2CSLV1\_CTRL\_REG@{MPU\_I2CSLV1\_CTRL\_REG}}
|
|
\index{MPU\_I2CSLV1\_CTRL\_REG@{MPU\_I2CSLV1\_CTRL\_REG}!mpu6050.h@{mpu6050.h}}
|
|
\doxysubsubsection{\texorpdfstring{MPU\_I2CSLV1\_CTRL\_REG}{MPU\_I2CSLV1\_CTRL\_REG}}
|
|
{\footnotesize\ttfamily \#define MPU\+\_\+\+I2\+CSLV1\+\_\+\+CTRL\+\_\+\+REG~0\+X2A}
|
|
|
|
|
|
|
|
在文件 \mbox{\hyperlink{mpu6050_8h_source}{mpu6050.\+h}} 第 \mbox{\hyperlink{mpu6050_8h_source_l00036}{36}} 行定义.
|
|
|
|
\mbox{\Hypertarget{mpu6050_8h_af03578391ec1c0c6b357207c83ce28bb}\label{mpu6050_8h_af03578391ec1c0c6b357207c83ce28bb}}
|
|
\index{mpu6050.h@{mpu6050.h}!MPU\_I2CSLV1\_DO\_REG@{MPU\_I2CSLV1\_DO\_REG}}
|
|
\index{MPU\_I2CSLV1\_DO\_REG@{MPU\_I2CSLV1\_DO\_REG}!mpu6050.h@{mpu6050.h}}
|
|
\doxysubsubsection{\texorpdfstring{MPU\_I2CSLV1\_DO\_REG}{MPU\_I2CSLV1\_DO\_REG}}
|
|
{\footnotesize\ttfamily \#define MPU\+\_\+\+I2\+CSLV1\+\_\+\+DO\+\_\+\+REG~0\+X64}
|
|
|
|
|
|
|
|
在文件 \mbox{\hyperlink{mpu6050_8h_source}{mpu6050.\+h}} 第 \mbox{\hyperlink{mpu6050_8h_source_l00072}{72}} 行定义.
|
|
|
|
\mbox{\Hypertarget{mpu6050_8h_a7a0758891de15a4b4bf0ef2c4e75efeb}\label{mpu6050_8h_a7a0758891de15a4b4bf0ef2c4e75efeb}}
|
|
\index{mpu6050.h@{mpu6050.h}!MPU\_I2CSLV1\_REG@{MPU\_I2CSLV1\_REG}}
|
|
\index{MPU\_I2CSLV1\_REG@{MPU\_I2CSLV1\_REG}!mpu6050.h@{mpu6050.h}}
|
|
\doxysubsubsection{\texorpdfstring{MPU\_I2CSLV1\_REG}{MPU\_I2CSLV1\_REG}}
|
|
{\footnotesize\ttfamily \#define MPU\+\_\+\+I2\+CSLV1\+\_\+\+REG~0\+X29}
|
|
|
|
|
|
|
|
在文件 \mbox{\hyperlink{mpu6050_8h_source}{mpu6050.\+h}} 第 \mbox{\hyperlink{mpu6050_8h_source_l00035}{35}} 行定义.
|
|
|
|
\mbox{\Hypertarget{mpu6050_8h_a5a7b90007c003c428c098d0073fa4f9c}\label{mpu6050_8h_a5a7b90007c003c428c098d0073fa4f9c}}
|
|
\index{mpu6050.h@{mpu6050.h}!MPU\_I2CSLV2\_ADDR\_REG@{MPU\_I2CSLV2\_ADDR\_REG}}
|
|
\index{MPU\_I2CSLV2\_ADDR\_REG@{MPU\_I2CSLV2\_ADDR\_REG}!mpu6050.h@{mpu6050.h}}
|
|
\doxysubsubsection{\texorpdfstring{MPU\_I2CSLV2\_ADDR\_REG}{MPU\_I2CSLV2\_ADDR\_REG}}
|
|
{\footnotesize\ttfamily \#define MPU\+\_\+\+I2\+CSLV2\+\_\+\+ADDR\+\_\+\+REG~0\+X2B}
|
|
|
|
|
|
|
|
在文件 \mbox{\hyperlink{mpu6050_8h_source}{mpu6050.\+h}} 第 \mbox{\hyperlink{mpu6050_8h_source_l00037}{37}} 行定义.
|
|
|
|
\mbox{\Hypertarget{mpu6050_8h_a1c2971fc921e219f0060640349d4a58a}\label{mpu6050_8h_a1c2971fc921e219f0060640349d4a58a}}
|
|
\index{mpu6050.h@{mpu6050.h}!MPU\_I2CSLV2\_CTRL\_REG@{MPU\_I2CSLV2\_CTRL\_REG}}
|
|
\index{MPU\_I2CSLV2\_CTRL\_REG@{MPU\_I2CSLV2\_CTRL\_REG}!mpu6050.h@{mpu6050.h}}
|
|
\doxysubsubsection{\texorpdfstring{MPU\_I2CSLV2\_CTRL\_REG}{MPU\_I2CSLV2\_CTRL\_REG}}
|
|
{\footnotesize\ttfamily \#define MPU\+\_\+\+I2\+CSLV2\+\_\+\+CTRL\+\_\+\+REG~0\+X2D}
|
|
|
|
|
|
|
|
在文件 \mbox{\hyperlink{mpu6050_8h_source}{mpu6050.\+h}} 第 \mbox{\hyperlink{mpu6050_8h_source_l00039}{39}} 行定义.
|
|
|
|
\mbox{\Hypertarget{mpu6050_8h_a14db443ae863599bc0f16fa3733d4056}\label{mpu6050_8h_a14db443ae863599bc0f16fa3733d4056}}
|
|
\index{mpu6050.h@{mpu6050.h}!MPU\_I2CSLV2\_DO\_REG@{MPU\_I2CSLV2\_DO\_REG}}
|
|
\index{MPU\_I2CSLV2\_DO\_REG@{MPU\_I2CSLV2\_DO\_REG}!mpu6050.h@{mpu6050.h}}
|
|
\doxysubsubsection{\texorpdfstring{MPU\_I2CSLV2\_DO\_REG}{MPU\_I2CSLV2\_DO\_REG}}
|
|
{\footnotesize\ttfamily \#define MPU\+\_\+\+I2\+CSLV2\+\_\+\+DO\+\_\+\+REG~0\+X65}
|
|
|
|
|
|
|
|
在文件 \mbox{\hyperlink{mpu6050_8h_source}{mpu6050.\+h}} 第 \mbox{\hyperlink{mpu6050_8h_source_l00073}{73}} 行定义.
|
|
|
|
\mbox{\Hypertarget{mpu6050_8h_a1d01e992631966ee1af8795ec14710bc}\label{mpu6050_8h_a1d01e992631966ee1af8795ec14710bc}}
|
|
\index{mpu6050.h@{mpu6050.h}!MPU\_I2CSLV2\_REG@{MPU\_I2CSLV2\_REG}}
|
|
\index{MPU\_I2CSLV2\_REG@{MPU\_I2CSLV2\_REG}!mpu6050.h@{mpu6050.h}}
|
|
\doxysubsubsection{\texorpdfstring{MPU\_I2CSLV2\_REG}{MPU\_I2CSLV2\_REG}}
|
|
{\footnotesize\ttfamily \#define MPU\+\_\+\+I2\+CSLV2\+\_\+\+REG~0\+X2C}
|
|
|
|
|
|
|
|
在文件 \mbox{\hyperlink{mpu6050_8h_source}{mpu6050.\+h}} 第 \mbox{\hyperlink{mpu6050_8h_source_l00038}{38}} 行定义.
|
|
|
|
\mbox{\Hypertarget{mpu6050_8h_a0627354a9a7143a3967bbf1552952e11}\label{mpu6050_8h_a0627354a9a7143a3967bbf1552952e11}}
|
|
\index{mpu6050.h@{mpu6050.h}!MPU\_I2CSLV3\_ADDR\_REG@{MPU\_I2CSLV3\_ADDR\_REG}}
|
|
\index{MPU\_I2CSLV3\_ADDR\_REG@{MPU\_I2CSLV3\_ADDR\_REG}!mpu6050.h@{mpu6050.h}}
|
|
\doxysubsubsection{\texorpdfstring{MPU\_I2CSLV3\_ADDR\_REG}{MPU\_I2CSLV3\_ADDR\_REG}}
|
|
{\footnotesize\ttfamily \#define MPU\+\_\+\+I2\+CSLV3\+\_\+\+ADDR\+\_\+\+REG~0\+X2E}
|
|
|
|
|
|
|
|
在文件 \mbox{\hyperlink{mpu6050_8h_source}{mpu6050.\+h}} 第 \mbox{\hyperlink{mpu6050_8h_source_l00040}{40}} 行定义.
|
|
|
|
\mbox{\Hypertarget{mpu6050_8h_ac907afde99231069287fa0d78c305549}\label{mpu6050_8h_ac907afde99231069287fa0d78c305549}}
|
|
\index{mpu6050.h@{mpu6050.h}!MPU\_I2CSLV3\_CTRL\_REG@{MPU\_I2CSLV3\_CTRL\_REG}}
|
|
\index{MPU\_I2CSLV3\_CTRL\_REG@{MPU\_I2CSLV3\_CTRL\_REG}!mpu6050.h@{mpu6050.h}}
|
|
\doxysubsubsection{\texorpdfstring{MPU\_I2CSLV3\_CTRL\_REG}{MPU\_I2CSLV3\_CTRL\_REG}}
|
|
{\footnotesize\ttfamily \#define MPU\+\_\+\+I2\+CSLV3\+\_\+\+CTRL\+\_\+\+REG~0\+X30}
|
|
|
|
|
|
|
|
在文件 \mbox{\hyperlink{mpu6050_8h_source}{mpu6050.\+h}} 第 \mbox{\hyperlink{mpu6050_8h_source_l00042}{42}} 行定义.
|
|
|
|
\mbox{\Hypertarget{mpu6050_8h_a4343d92e344dd56343094d46798a5e0e}\label{mpu6050_8h_a4343d92e344dd56343094d46798a5e0e}}
|
|
\index{mpu6050.h@{mpu6050.h}!MPU\_I2CSLV3\_DO\_REG@{MPU\_I2CSLV3\_DO\_REG}}
|
|
\index{MPU\_I2CSLV3\_DO\_REG@{MPU\_I2CSLV3\_DO\_REG}!mpu6050.h@{mpu6050.h}}
|
|
\doxysubsubsection{\texorpdfstring{MPU\_I2CSLV3\_DO\_REG}{MPU\_I2CSLV3\_DO\_REG}}
|
|
{\footnotesize\ttfamily \#define MPU\+\_\+\+I2\+CSLV3\+\_\+\+DO\+\_\+\+REG~0\+X66}
|
|
|
|
|
|
|
|
在文件 \mbox{\hyperlink{mpu6050_8h_source}{mpu6050.\+h}} 第 \mbox{\hyperlink{mpu6050_8h_source_l00074}{74}} 行定义.
|
|
|
|
\mbox{\Hypertarget{mpu6050_8h_a82236d7861a3a175cff0058d5d5b4716}\label{mpu6050_8h_a82236d7861a3a175cff0058d5d5b4716}}
|
|
\index{mpu6050.h@{mpu6050.h}!MPU\_I2CSLV3\_REG@{MPU\_I2CSLV3\_REG}}
|
|
\index{MPU\_I2CSLV3\_REG@{MPU\_I2CSLV3\_REG}!mpu6050.h@{mpu6050.h}}
|
|
\doxysubsubsection{\texorpdfstring{MPU\_I2CSLV3\_REG}{MPU\_I2CSLV3\_REG}}
|
|
{\footnotesize\ttfamily \#define MPU\+\_\+\+I2\+CSLV3\+\_\+\+REG~0\+X2F}
|
|
|
|
|
|
|
|
在文件 \mbox{\hyperlink{mpu6050_8h_source}{mpu6050.\+h}} 第 \mbox{\hyperlink{mpu6050_8h_source_l00041}{41}} 行定义.
|
|
|
|
\mbox{\Hypertarget{mpu6050_8h_a6fbb07805d44b04e97f4f7d30d7c65bf}\label{mpu6050_8h_a6fbb07805d44b04e97f4f7d30d7c65bf}}
|
|
\index{mpu6050.h@{mpu6050.h}!MPU\_I2CSLV4\_ADDR\_REG@{MPU\_I2CSLV4\_ADDR\_REG}}
|
|
\index{MPU\_I2CSLV4\_ADDR\_REG@{MPU\_I2CSLV4\_ADDR\_REG}!mpu6050.h@{mpu6050.h}}
|
|
\doxysubsubsection{\texorpdfstring{MPU\_I2CSLV4\_ADDR\_REG}{MPU\_I2CSLV4\_ADDR\_REG}}
|
|
{\footnotesize\ttfamily \#define MPU\+\_\+\+I2\+CSLV4\+\_\+\+ADDR\+\_\+\+REG~0\+X31}
|
|
|
|
|
|
|
|
在文件 \mbox{\hyperlink{mpu6050_8h_source}{mpu6050.\+h}} 第 \mbox{\hyperlink{mpu6050_8h_source_l00043}{43}} 行定义.
|
|
|
|
\mbox{\Hypertarget{mpu6050_8h_a144d40f6321e971c85d9987ceaedf539}\label{mpu6050_8h_a144d40f6321e971c85d9987ceaedf539}}
|
|
\index{mpu6050.h@{mpu6050.h}!MPU\_I2CSLV4\_CTRL\_REG@{MPU\_I2CSLV4\_CTRL\_REG}}
|
|
\index{MPU\_I2CSLV4\_CTRL\_REG@{MPU\_I2CSLV4\_CTRL\_REG}!mpu6050.h@{mpu6050.h}}
|
|
\doxysubsubsection{\texorpdfstring{MPU\_I2CSLV4\_CTRL\_REG}{MPU\_I2CSLV4\_CTRL\_REG}}
|
|
{\footnotesize\ttfamily \#define MPU\+\_\+\+I2\+CSLV4\+\_\+\+CTRL\+\_\+\+REG~0\+X34}
|
|
|
|
|
|
|
|
在文件 \mbox{\hyperlink{mpu6050_8h_source}{mpu6050.\+h}} 第 \mbox{\hyperlink{mpu6050_8h_source_l00046}{46}} 行定义.
|
|
|
|
\mbox{\Hypertarget{mpu6050_8h_ab62d9fd87688d16052273b6598d5572f}\label{mpu6050_8h_ab62d9fd87688d16052273b6598d5572f}}
|
|
\index{mpu6050.h@{mpu6050.h}!MPU\_I2CSLV4\_DI\_REG@{MPU\_I2CSLV4\_DI\_REG}}
|
|
\index{MPU\_I2CSLV4\_DI\_REG@{MPU\_I2CSLV4\_DI\_REG}!mpu6050.h@{mpu6050.h}}
|
|
\doxysubsubsection{\texorpdfstring{MPU\_I2CSLV4\_DI\_REG}{MPU\_I2CSLV4\_DI\_REG}}
|
|
{\footnotesize\ttfamily \#define MPU\+\_\+\+I2\+CSLV4\+\_\+\+DI\+\_\+\+REG~0\+X35}
|
|
|
|
|
|
|
|
在文件 \mbox{\hyperlink{mpu6050_8h_source}{mpu6050.\+h}} 第 \mbox{\hyperlink{mpu6050_8h_source_l00047}{47}} 行定义.
|
|
|
|
\mbox{\Hypertarget{mpu6050_8h_a5bf6ae395ef8815c28c23d5343116871}\label{mpu6050_8h_a5bf6ae395ef8815c28c23d5343116871}}
|
|
\index{mpu6050.h@{mpu6050.h}!MPU\_I2CSLV4\_DO\_REG@{MPU\_I2CSLV4\_DO\_REG}}
|
|
\index{MPU\_I2CSLV4\_DO\_REG@{MPU\_I2CSLV4\_DO\_REG}!mpu6050.h@{mpu6050.h}}
|
|
\doxysubsubsection{\texorpdfstring{MPU\_I2CSLV4\_DO\_REG}{MPU\_I2CSLV4\_DO\_REG}}
|
|
{\footnotesize\ttfamily \#define MPU\+\_\+\+I2\+CSLV4\+\_\+\+DO\+\_\+\+REG~0\+X33}
|
|
|
|
|
|
|
|
在文件 \mbox{\hyperlink{mpu6050_8h_source}{mpu6050.\+h}} 第 \mbox{\hyperlink{mpu6050_8h_source_l00045}{45}} 行定义.
|
|
|
|
\mbox{\Hypertarget{mpu6050_8h_a838f7301336bd077e84a3a4fbe6e16e7}\label{mpu6050_8h_a838f7301336bd077e84a3a4fbe6e16e7}}
|
|
\index{mpu6050.h@{mpu6050.h}!MPU\_I2CSLV4\_REG@{MPU\_I2CSLV4\_REG}}
|
|
\index{MPU\_I2CSLV4\_REG@{MPU\_I2CSLV4\_REG}!mpu6050.h@{mpu6050.h}}
|
|
\doxysubsubsection{\texorpdfstring{MPU\_I2CSLV4\_REG}{MPU\_I2CSLV4\_REG}}
|
|
{\footnotesize\ttfamily \#define MPU\+\_\+\+I2\+CSLV4\+\_\+\+REG~0\+X32}
|
|
|
|
|
|
|
|
在文件 \mbox{\hyperlink{mpu6050_8h_source}{mpu6050.\+h}} 第 \mbox{\hyperlink{mpu6050_8h_source_l00044}{44}} 行定义.
|
|
|
|
\mbox{\Hypertarget{mpu6050_8h_afa56d3602a6044562c45cecf6403fb8b}\label{mpu6050_8h_afa56d3602a6044562c45cecf6403fb8b}}
|
|
\index{mpu6050.h@{mpu6050.h}!MPU\_INT\_EN\_REG@{MPU\_INT\_EN\_REG}}
|
|
\index{MPU\_INT\_EN\_REG@{MPU\_INT\_EN\_REG}!mpu6050.h@{mpu6050.h}}
|
|
\doxysubsubsection{\texorpdfstring{MPU\_INT\_EN\_REG}{MPU\_INT\_EN\_REG}}
|
|
{\footnotesize\ttfamily \#define MPU\+\_\+\+INT\+\_\+\+EN\+\_\+\+REG~0\+X38}
|
|
|
|
|
|
|
|
在文件 \mbox{\hyperlink{mpu6050_8h_source}{mpu6050.\+h}} 第 \mbox{\hyperlink{mpu6050_8h_source_l00051}{51}} 行定义.
|
|
|
|
\mbox{\Hypertarget{mpu6050_8h_a186faa987a57c9d2a3ea6bfaba0bdd46}\label{mpu6050_8h_a186faa987a57c9d2a3ea6bfaba0bdd46}}
|
|
\index{mpu6050.h@{mpu6050.h}!MPU\_INT\_STA\_REG@{MPU\_INT\_STA\_REG}}
|
|
\index{MPU\_INT\_STA\_REG@{MPU\_INT\_STA\_REG}!mpu6050.h@{mpu6050.h}}
|
|
\doxysubsubsection{\texorpdfstring{MPU\_INT\_STA\_REG}{MPU\_INT\_STA\_REG}}
|
|
{\footnotesize\ttfamily \#define MPU\+\_\+\+INT\+\_\+\+STA\+\_\+\+REG~0\+X3A}
|
|
|
|
|
|
|
|
在文件 \mbox{\hyperlink{mpu6050_8h_source}{mpu6050.\+h}} 第 \mbox{\hyperlink{mpu6050_8h_source_l00052}{52}} 行定义.
|
|
|
|
\mbox{\Hypertarget{mpu6050_8h_a41676476ba5dbb1b213f8f8e252d17f9}\label{mpu6050_8h_a41676476ba5dbb1b213f8f8e252d17f9}}
|
|
\index{mpu6050.h@{mpu6050.h}!MPU\_INTBP\_CFG\_REG@{MPU\_INTBP\_CFG\_REG}}
|
|
\index{MPU\_INTBP\_CFG\_REG@{MPU\_INTBP\_CFG\_REG}!mpu6050.h@{mpu6050.h}}
|
|
\doxysubsubsection{\texorpdfstring{MPU\_INTBP\_CFG\_REG}{MPU\_INTBP\_CFG\_REG}}
|
|
{\footnotesize\ttfamily \#define MPU\+\_\+\+INTBP\+\_\+\+CFG\+\_\+\+REG~0\+X37}
|
|
|
|
|
|
|
|
在文件 \mbox{\hyperlink{mpu6050_8h_source}{mpu6050.\+h}} 第 \mbox{\hyperlink{mpu6050_8h_source_l00050}{50}} 行定义.
|
|
|
|
\mbox{\Hypertarget{mpu6050_8h_a1e60421d39a0a24b0c513f309e1d6910}\label{mpu6050_8h_a1e60421d39a0a24b0c513f309e1d6910}}
|
|
\index{mpu6050.h@{mpu6050.h}!MPU\_MDETECT\_CTRL\_REG@{MPU\_MDETECT\_CTRL\_REG}}
|
|
\index{MPU\_MDETECT\_CTRL\_REG@{MPU\_MDETECT\_CTRL\_REG}!mpu6050.h@{mpu6050.h}}
|
|
\doxysubsubsection{\texorpdfstring{MPU\_MDETECT\_CTRL\_REG}{MPU\_MDETECT\_CTRL\_REG}}
|
|
{\footnotesize\ttfamily \#define MPU\+\_\+\+MDETECT\+\_\+\+CTRL\+\_\+\+REG~0\+X69}
|
|
|
|
|
|
|
|
在文件 \mbox{\hyperlink{mpu6050_8h_source}{mpu6050.\+h}} 第 \mbox{\hyperlink{mpu6050_8h_source_l00078}{78}} 行定义.
|
|
|
|
\mbox{\Hypertarget{mpu6050_8h_ad214879acffccefd843d291949a2abb6}\label{mpu6050_8h_ad214879acffccefd843d291949a2abb6}}
|
|
\index{mpu6050.h@{mpu6050.h}!MPU\_MOTION\_DET\_REG@{MPU\_MOTION\_DET\_REG}}
|
|
\index{MPU\_MOTION\_DET\_REG@{MPU\_MOTION\_DET\_REG}!mpu6050.h@{mpu6050.h}}
|
|
\doxysubsubsection{\texorpdfstring{MPU\_MOTION\_DET\_REG}{MPU\_MOTION\_DET\_REG}}
|
|
{\footnotesize\ttfamily \#define MPU\+\_\+\+MOTION\+\_\+\+DET\+\_\+\+REG~0\+X1F}
|
|
|
|
|
|
|
|
在文件 \mbox{\hyperlink{mpu6050_8h_source}{mpu6050.\+h}} 第 \mbox{\hyperlink{mpu6050_8h_source_l00028}{28}} 行定义.
|
|
|
|
\mbox{\Hypertarget{mpu6050_8h_abbe7ea135ee03eb0f1296ecb22be7554}\label{mpu6050_8h_abbe7ea135ee03eb0f1296ecb22be7554}}
|
|
\index{mpu6050.h@{mpu6050.h}!MPU\_PWR\_MGMT1\_REG@{MPU\_PWR\_MGMT1\_REG}}
|
|
\index{MPU\_PWR\_MGMT1\_REG@{MPU\_PWR\_MGMT1\_REG}!mpu6050.h@{mpu6050.h}}
|
|
\doxysubsubsection{\texorpdfstring{MPU\_PWR\_MGMT1\_REG}{MPU\_PWR\_MGMT1\_REG}}
|
|
{\footnotesize\ttfamily \#define MPU\+\_\+\+PWR\+\_\+\+MGMT1\+\_\+\+REG~0\+X6B}
|
|
|
|
|
|
|
|
在文件 \mbox{\hyperlink{mpu6050_8h_source}{mpu6050.\+h}} 第 \mbox{\hyperlink{mpu6050_8h_source_l00080}{80}} 行定义.
|
|
|
|
\mbox{\Hypertarget{mpu6050_8h_a3fa9eb0485744e73d0274b198f0ad705}\label{mpu6050_8h_a3fa9eb0485744e73d0274b198f0ad705}}
|
|
\index{mpu6050.h@{mpu6050.h}!MPU\_PWR\_MGMT2\_REG@{MPU\_PWR\_MGMT2\_REG}}
|
|
\index{MPU\_PWR\_MGMT2\_REG@{MPU\_PWR\_MGMT2\_REG}!mpu6050.h@{mpu6050.h}}
|
|
\doxysubsubsection{\texorpdfstring{MPU\_PWR\_MGMT2\_REG}{MPU\_PWR\_MGMT2\_REG}}
|
|
{\footnotesize\ttfamily \#define MPU\+\_\+\+PWR\+\_\+\+MGMT2\+\_\+\+REG~0\+X6C}
|
|
|
|
|
|
|
|
在文件 \mbox{\hyperlink{mpu6050_8h_source}{mpu6050.\+h}} 第 \mbox{\hyperlink{mpu6050_8h_source_l00081}{81}} 行定义.
|
|
|
|
\mbox{\Hypertarget{mpu6050_8h_a4b95cfafadb4b30146a17fac36819ca3}\label{mpu6050_8h_a4b95cfafadb4b30146a17fac36819ca3}}
|
|
\index{mpu6050.h@{mpu6050.h}!MPU\_SAMPLE\_RATE\_REG@{MPU\_SAMPLE\_RATE\_REG}}
|
|
\index{MPU\_SAMPLE\_RATE\_REG@{MPU\_SAMPLE\_RATE\_REG}!mpu6050.h@{mpu6050.h}}
|
|
\doxysubsubsection{\texorpdfstring{MPU\_SAMPLE\_RATE\_REG}{MPU\_SAMPLE\_RATE\_REG}}
|
|
{\footnotesize\ttfamily \#define MPU\+\_\+\+SAMPLE\+\_\+\+RATE\+\_\+\+REG~0\+X19}
|
|
|
|
|
|
|
|
在文件 \mbox{\hyperlink{mpu6050_8h_source}{mpu6050.\+h}} 第 \mbox{\hyperlink{mpu6050_8h_source_l00024}{24}} 行定义.
|
|
|
|
\mbox{\Hypertarget{mpu6050_8h_a9f2d6b09b992598daadf6a0afa9a8b9c}\label{mpu6050_8h_a9f2d6b09b992598daadf6a0afa9a8b9c}}
|
|
\index{mpu6050.h@{mpu6050.h}!MPU\_SELF\_TESTA\_REG@{MPU\_SELF\_TESTA\_REG}}
|
|
\index{MPU\_SELF\_TESTA\_REG@{MPU\_SELF\_TESTA\_REG}!mpu6050.h@{mpu6050.h}}
|
|
\doxysubsubsection{\texorpdfstring{MPU\_SELF\_TESTA\_REG}{MPU\_SELF\_TESTA\_REG}}
|
|
{\footnotesize\ttfamily \#define MPU\+\_\+\+SELF\+\_\+\+TESTA\+\_\+\+REG~0\+X10}
|
|
|
|
|
|
|
|
在文件 \mbox{\hyperlink{mpu6050_8h_source}{mpu6050.\+h}} 第 \mbox{\hyperlink{mpu6050_8h_source_l00023}{23}} 行定义.
|
|
|
|
\mbox{\Hypertarget{mpu6050_8h_af02b592f85ebbfcc6f5e13d8287832de}\label{mpu6050_8h_af02b592f85ebbfcc6f5e13d8287832de}}
|
|
\index{mpu6050.h@{mpu6050.h}!MPU\_SELF\_TESTX\_REG@{MPU\_SELF\_TESTX\_REG}}
|
|
\index{MPU\_SELF\_TESTX\_REG@{MPU\_SELF\_TESTX\_REG}!mpu6050.h@{mpu6050.h}}
|
|
\doxysubsubsection{\texorpdfstring{MPU\_SELF\_TESTX\_REG}{MPU\_SELF\_TESTX\_REG}}
|
|
{\footnotesize\ttfamily \#define MPU\+\_\+\+SELF\+\_\+\+TESTX\+\_\+\+REG~0\+X0D}
|
|
|
|
|
|
|
|
在文件 \mbox{\hyperlink{mpu6050_8h_source}{mpu6050.\+h}} 第 \mbox{\hyperlink{mpu6050_8h_source_l00020}{20}} 行定义.
|
|
|
|
\mbox{\Hypertarget{mpu6050_8h_a029c571acc0e3a941d14d4af3e3ecd5f}\label{mpu6050_8h_a029c571acc0e3a941d14d4af3e3ecd5f}}
|
|
\index{mpu6050.h@{mpu6050.h}!MPU\_SELF\_TESTY\_REG@{MPU\_SELF\_TESTY\_REG}}
|
|
\index{MPU\_SELF\_TESTY\_REG@{MPU\_SELF\_TESTY\_REG}!mpu6050.h@{mpu6050.h}}
|
|
\doxysubsubsection{\texorpdfstring{MPU\_SELF\_TESTY\_REG}{MPU\_SELF\_TESTY\_REG}}
|
|
{\footnotesize\ttfamily \#define MPU\+\_\+\+SELF\+\_\+\+TESTY\+\_\+\+REG~0\+X0E}
|
|
|
|
|
|
|
|
在文件 \mbox{\hyperlink{mpu6050_8h_source}{mpu6050.\+h}} 第 \mbox{\hyperlink{mpu6050_8h_source_l00021}{21}} 行定义.
|
|
|
|
\mbox{\Hypertarget{mpu6050_8h_aa7f091c311c419133b4799a37919ce24}\label{mpu6050_8h_aa7f091c311c419133b4799a37919ce24}}
|
|
\index{mpu6050.h@{mpu6050.h}!MPU\_SELF\_TESTZ\_REG@{MPU\_SELF\_TESTZ\_REG}}
|
|
\index{MPU\_SELF\_TESTZ\_REG@{MPU\_SELF\_TESTZ\_REG}!mpu6050.h@{mpu6050.h}}
|
|
\doxysubsubsection{\texorpdfstring{MPU\_SELF\_TESTZ\_REG}{MPU\_SELF\_TESTZ\_REG}}
|
|
{\footnotesize\ttfamily \#define MPU\+\_\+\+SELF\+\_\+\+TESTZ\+\_\+\+REG~0\+X0F}
|
|
|
|
|
|
|
|
在文件 \mbox{\hyperlink{mpu6050_8h_source}{mpu6050.\+h}} 第 \mbox{\hyperlink{mpu6050_8h_source_l00022}{22}} 行定义.
|
|
|
|
\mbox{\Hypertarget{mpu6050_8h_a82c9cecb9ee30b37f8b054feca2bc1da}\label{mpu6050_8h_a82c9cecb9ee30b37f8b054feca2bc1da}}
|
|
\index{mpu6050.h@{mpu6050.h}!MPU\_SIGPATH\_RST\_REG@{MPU\_SIGPATH\_RST\_REG}}
|
|
\index{MPU\_SIGPATH\_RST\_REG@{MPU\_SIGPATH\_RST\_REG}!mpu6050.h@{mpu6050.h}}
|
|
\doxysubsubsection{\texorpdfstring{MPU\_SIGPATH\_RST\_REG}{MPU\_SIGPATH\_RST\_REG}}
|
|
{\footnotesize\ttfamily \#define MPU\+\_\+\+SIGPATH\+\_\+\+RST\+\_\+\+REG~0\+X68}
|
|
|
|
|
|
|
|
在文件 \mbox{\hyperlink{mpu6050_8h_source}{mpu6050.\+h}} 第 \mbox{\hyperlink{mpu6050_8h_source_l00077}{77}} 行定义.
|
|
|
|
\mbox{\Hypertarget{mpu6050_8h_af2665b26b7f1ce9b3982a9f6418748e9}\label{mpu6050_8h_af2665b26b7f1ce9b3982a9f6418748e9}}
|
|
\index{mpu6050.h@{mpu6050.h}!MPU\_TEMP\_OUTH\_REG@{MPU\_TEMP\_OUTH\_REG}}
|
|
\index{MPU\_TEMP\_OUTH\_REG@{MPU\_TEMP\_OUTH\_REG}!mpu6050.h@{mpu6050.h}}
|
|
\doxysubsubsection{\texorpdfstring{MPU\_TEMP\_OUTH\_REG}{MPU\_TEMP\_OUTH\_REG}}
|
|
{\footnotesize\ttfamily \#define MPU\+\_\+\+TEMP\+\_\+\+OUTH\+\_\+\+REG~0\+X41}
|
|
|
|
|
|
|
|
在文件 \mbox{\hyperlink{mpu6050_8h_source}{mpu6050.\+h}} 第 \mbox{\hyperlink{mpu6050_8h_source_l00061}{61}} 行定义.
|
|
|
|
\mbox{\Hypertarget{mpu6050_8h_a5f4a1c425564e1e56bfe51576ba3ea82}\label{mpu6050_8h_a5f4a1c425564e1e56bfe51576ba3ea82}}
|
|
\index{mpu6050.h@{mpu6050.h}!MPU\_TEMP\_OUTL\_REG@{MPU\_TEMP\_OUTL\_REG}}
|
|
\index{MPU\_TEMP\_OUTL\_REG@{MPU\_TEMP\_OUTL\_REG}!mpu6050.h@{mpu6050.h}}
|
|
\doxysubsubsection{\texorpdfstring{MPU\_TEMP\_OUTL\_REG}{MPU\_TEMP\_OUTL\_REG}}
|
|
{\footnotesize\ttfamily \#define MPU\+\_\+\+TEMP\+\_\+\+OUTL\+\_\+\+REG~0\+X42}
|
|
|
|
|
|
|
|
在文件 \mbox{\hyperlink{mpu6050_8h_source}{mpu6050.\+h}} 第 \mbox{\hyperlink{mpu6050_8h_source_l00062}{62}} 行定义.
|
|
|
|
\mbox{\Hypertarget{mpu6050_8h_a0146ef35d7ff0b037eafb0a5dac53b0f}\label{mpu6050_8h_a0146ef35d7ff0b037eafb0a5dac53b0f}}
|
|
\index{mpu6050.h@{mpu6050.h}!MPU\_USER\_CTRL\_REG@{MPU\_USER\_CTRL\_REG}}
|
|
\index{MPU\_USER\_CTRL\_REG@{MPU\_USER\_CTRL\_REG}!mpu6050.h@{mpu6050.h}}
|
|
\doxysubsubsection{\texorpdfstring{MPU\_USER\_CTRL\_REG}{MPU\_USER\_CTRL\_REG}}
|
|
{\footnotesize\ttfamily \#define MPU\+\_\+\+USER\+\_\+\+CTRL\+\_\+\+REG~0\+X6A}
|
|
|
|
|
|
|
|
在文件 \mbox{\hyperlink{mpu6050_8h_source}{mpu6050.\+h}} 第 \mbox{\hyperlink{mpu6050_8h_source_l00079}{79}} 行定义.
|
|
|
|
|
|
|
|
\doxysubsection{函数说明}
|
|
\mbox{\Hypertarget{mpu6050_8h_a2a0a02f6d7c597828a0cc282c76e99e3}\label{mpu6050_8h_a2a0a02f6d7c597828a0cc282c76e99e3}}
|
|
\index{mpu6050.h@{mpu6050.h}!MPU\_Get\_Accelerometer@{MPU\_Get\_Accelerometer}}
|
|
\index{MPU\_Get\_Accelerometer@{MPU\_Get\_Accelerometer}!mpu6050.h@{mpu6050.h}}
|
|
\doxysubsubsection{\texorpdfstring{MPU\_Get\_Accelerometer()}{MPU\_Get\_Accelerometer()}}
|
|
{\footnotesize\ttfamily \mbox{\hyperlink{varint_8h_a92c50087ca0e64fa93fc59402c55f8ca}{u8}} MPU\+\_\+\+Get\+\_\+\+Accelerometer (\begin{DoxyParamCaption}\item[{short $\ast$}]{ax, }\item[{short $\ast$}]{ay, }\item[{short $\ast$}]{az }\end{DoxyParamCaption})}
|
|
|
|
|
|
|
|
得到加速度值(原始值)
|
|
|
|
|
|
\begin{DoxyParams}{参数}
|
|
{\em ax} & 陀螺仪a轴的原始读数(带符号) \\
|
|
\hline
|
|
{\em ay} & 陀螺仪a轴的原始读数(带符号) \\
|
|
\hline
|
|
{\em ax} & 陀螺仪a轴的原始读数(带符号) \\
|
|
\hline
|
|
\end{DoxyParams}
|
|
\begin{DoxyReturn}{返回}
|
|
0,设置成功
|
|
\end{DoxyReturn}
|
|
|
|
|
|
在文件 \mbox{\hyperlink{mpu6050_8cpp_source}{mpu6050.\+cpp}} 第 \mbox{\hyperlink{mpu6050_8cpp_source_l00137}{137}} 行定义.
|
|
|
|
函数调用图\+:\nopagebreak
|
|
\begin{figure}[H]
|
|
\begin{center}
|
|
\leavevmode
|
|
\includegraphics[width=350pt]{mpu6050_8h_a2a0a02f6d7c597828a0cc282c76e99e3_cgraph}
|
|
\end{center}
|
|
\end{figure}
|
|
\mbox{\Hypertarget{mpu6050_8h_a8f28105f9dcccc709b78d7d0ce497633}\label{mpu6050_8h_a8f28105f9dcccc709b78d7d0ce497633}}
|
|
\index{mpu6050.h@{mpu6050.h}!MPU\_Get\_Gyroscope@{MPU\_Get\_Gyroscope}}
|
|
\index{MPU\_Get\_Gyroscope@{MPU\_Get\_Gyroscope}!mpu6050.h@{mpu6050.h}}
|
|
\doxysubsubsection{\texorpdfstring{MPU\_Get\_Gyroscope()}{MPU\_Get\_Gyroscope()}}
|
|
{\footnotesize\ttfamily \mbox{\hyperlink{varint_8h_a92c50087ca0e64fa93fc59402c55f8ca}{u8}} MPU\+\_\+\+Get\+\_\+\+Gyroscope (\begin{DoxyParamCaption}\item[{short $\ast$}]{gx, }\item[{short $\ast$}]{gy, }\item[{short $\ast$}]{gz }\end{DoxyParamCaption})}
|
|
|
|
|
|
|
|
得到陀螺仪值(原始值)
|
|
|
|
|
|
\begin{DoxyParams}{参数}
|
|
{\em gx} & 陀螺仪x轴的原始读数(带符号) \\
|
|
\hline
|
|
{\em gy} & 陀螺仪y轴的原始读数(带符号) \\
|
|
\hline
|
|
{\em gx} & 陀螺仪z轴的原始读数(带符号) \\
|
|
\hline
|
|
\end{DoxyParams}
|
|
\begin{DoxyReturn}{返回}
|
|
0,设置成功
|
|
\end{DoxyReturn}
|
|
|
|
|
|
在文件 \mbox{\hyperlink{mpu6050_8cpp_source}{mpu6050.\+cpp}} 第 \mbox{\hyperlink{mpu6050_8cpp_source_l00121}{121}} 行定义.
|
|
|
|
函数调用图\+:\nopagebreak
|
|
\begin{figure}[H]
|
|
\begin{center}
|
|
\leavevmode
|
|
\includegraphics[width=350pt]{mpu6050_8h_a8f28105f9dcccc709b78d7d0ce497633_cgraph}
|
|
\end{center}
|
|
\end{figure}
|
|
\mbox{\Hypertarget{mpu6050_8h_a41eaf87c26b1281d9d5fc6a06abcf2a8}\label{mpu6050_8h_a41eaf87c26b1281d9d5fc6a06abcf2a8}}
|
|
\index{mpu6050.h@{mpu6050.h}!MPU\_Get\_Temperature@{MPU\_Get\_Temperature}}
|
|
\index{MPU\_Get\_Temperature@{MPU\_Get\_Temperature}!mpu6050.h@{mpu6050.h}}
|
|
\doxysubsubsection{\texorpdfstring{MPU\_Get\_Temperature()}{MPU\_Get\_Temperature()}}
|
|
{\footnotesize\ttfamily short MPU\+\_\+\+Get\+\_\+\+Temperature (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption})}
|
|
|
|
|
|
|
|
得到温度值
|
|
|
|
\begin{DoxyReturn}{返回}
|
|
温度值(扩大了100倍)
|
|
\end{DoxyReturn}
|
|
|
|
|
|
在文件 \mbox{\hyperlink{mpu6050_8cpp_source}{mpu6050.\+cpp}} 第 \mbox{\hyperlink{mpu6050_8cpp_source_l00105}{105}} 行定义.
|
|
|
|
函数调用图\+:\nopagebreak
|
|
\begin{figure}[H]
|
|
\begin{center}
|
|
\leavevmode
|
|
\includegraphics[width=350pt]{mpu6050_8h_a41eaf87c26b1281d9d5fc6a06abcf2a8_cgraph}
|
|
\end{center}
|
|
\end{figure}
|
|
\mbox{\Hypertarget{mpu6050_8h_ab1f8c6111d59b60a2edb4ee3e8aa3113}\label{mpu6050_8h_ab1f8c6111d59b60a2edb4ee3e8aa3113}}
|
|
\index{mpu6050.h@{mpu6050.h}!MPU\_Init@{MPU\_Init}}
|
|
\index{MPU\_Init@{MPU\_Init}!mpu6050.h@{mpu6050.h}}
|
|
\doxysubsubsection{\texorpdfstring{MPU\_Init()}{MPU\_Init()}}
|
|
{\footnotesize\ttfamily \mbox{\hyperlink{varint_8h_a92c50087ca0e64fa93fc59402c55f8ca}{u8}} MPU\+\_\+\+Init (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption})}
|
|
|
|
|
|
|
|
初始化\+MPU6050
|
|
|
|
\begin{DoxyReturn}{返回}
|
|
0,成功
|
|
\end{DoxyReturn}
|
|
|
|
|
|
在文件 \mbox{\hyperlink{mpu6050_8cpp_source}{mpu6050.\+cpp}} 第 \mbox{\hyperlink{mpu6050_8cpp_source_l00025}{25}} 行定义.
|
|
|
|
函数调用图\+:\nopagebreak
|
|
\begin{figure}[H]
|
|
\begin{center}
|
|
\leavevmode
|
|
\includegraphics[width=350pt]{mpu6050_8h_ab1f8c6111d59b60a2edb4ee3e8aa3113_cgraph}
|
|
\end{center}
|
|
\end{figure}
|
|
\mbox{\Hypertarget{mpu6050_8h_a17c11d19a2bb21d61610f08cb2cbe2f7}\label{mpu6050_8h_a17c11d19a2bb21d61610f08cb2cbe2f7}}
|
|
\index{mpu6050.h@{mpu6050.h}!MPU\_Read\_Byte@{MPU\_Read\_Byte}}
|
|
\index{MPU\_Read\_Byte@{MPU\_Read\_Byte}!mpu6050.h@{mpu6050.h}}
|
|
\doxysubsubsection{\texorpdfstring{MPU\_Read\_Byte()}{MPU\_Read\_Byte()}}
|
|
{\footnotesize\ttfamily \mbox{\hyperlink{varint_8h_a92c50087ca0e64fa93fc59402c55f8ca}{u8}} MPU\+\_\+\+Read\+\_\+\+Byte (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{varint_8h_a92c50087ca0e64fa93fc59402c55f8ca}{u8}}}]{reg }\end{DoxyParamCaption})}
|
|
|
|
|
|
|
|
IIC读一个字节
|
|
|
|
|
|
\begin{DoxyParams}{参数}
|
|
{\em reg} & 寄存器地址 \\
|
|
\hline
|
|
\end{DoxyParams}
|
|
\begin{DoxyReturn}{返回}
|
|
0,设置成功
|
|
\end{DoxyReturn}
|
|
|
|
|
|
在文件 \mbox{\hyperlink{mpu6050_8cpp_source}{mpu6050.\+cpp}} 第 \mbox{\hyperlink{mpu6050_8cpp_source_l00187}{187}} 行定义.
|
|
|
|
函数调用图\+:\nopagebreak
|
|
\begin{figure}[H]
|
|
\begin{center}
|
|
\leavevmode
|
|
\includegraphics[width=350pt]{mpu6050_8h_a17c11d19a2bb21d61610f08cb2cbe2f7_cgraph}
|
|
\end{center}
|
|
\end{figure}
|
|
这是这个函数的调用关系图\+:\nopagebreak
|
|
\begin{figure}[H]
|
|
\begin{center}
|
|
\leavevmode
|
|
\includegraphics[width=264pt]{mpu6050_8h_a17c11d19a2bb21d61610f08cb2cbe2f7_icgraph}
|
|
\end{center}
|
|
\end{figure}
|
|
\mbox{\Hypertarget{mpu6050_8h_a63161fa966899e4e7c5791e40ebf2b0a}\label{mpu6050_8h_a63161fa966899e4e7c5791e40ebf2b0a}}
|
|
\index{mpu6050.h@{mpu6050.h}!MPU\_Read\_Len@{MPU\_Read\_Len}}
|
|
\index{MPU\_Read\_Len@{MPU\_Read\_Len}!mpu6050.h@{mpu6050.h}}
|
|
\doxysubsubsection{\texorpdfstring{MPU\_Read\_Len()}{MPU\_Read\_Len()}}
|
|
{\footnotesize\ttfamily \mbox{\hyperlink{varint_8h_a92c50087ca0e64fa93fc59402c55f8ca}{u8}} MPU\+\_\+\+Read\+\_\+\+Len (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{varint_8h_a92c50087ca0e64fa93fc59402c55f8ca}{u8}}}]{addr, }\item[{\mbox{\hyperlink{varint_8h_a92c50087ca0e64fa93fc59402c55f8ca}{u8}}}]{reg, }\item[{\mbox{\hyperlink{varint_8h_a92c50087ca0e64fa93fc59402c55f8ca}{u8}}}]{len, }\item[{\mbox{\hyperlink{varint_8h_a92c50087ca0e64fa93fc59402c55f8ca}{u8}} $\ast$}]{buf }\end{DoxyParamCaption})}
|
|
|
|
|
|
|
|
IIC连续读
|
|
|
|
|
|
\begin{DoxyParams}{参数}
|
|
{\em addr} & 器件地址 \\
|
|
\hline
|
|
{\em reg} & 寄存器地址 \\
|
|
\hline
|
|
{\em len} & 读取长度 \\
|
|
\hline
|
|
{\em $\ast$buf} & 读取数据区 \\
|
|
\hline
|
|
\end{DoxyParams}
|
|
\begin{DoxyReturn}{返回}
|
|
0,设置成功
|
|
\end{DoxyReturn}
|
|
|
|
|
|
在文件 \mbox{\hyperlink{mpu6050_8cpp_source}{mpu6050.\+cpp}} 第 \mbox{\hyperlink{mpu6050_8cpp_source_l00168}{168}} 行定义.
|
|
|
|
函数调用图\+:\nopagebreak
|
|
\begin{figure}[H]
|
|
\begin{center}
|
|
\leavevmode
|
|
\includegraphics[width=350pt]{mpu6050_8h_a63161fa966899e4e7c5791e40ebf2b0a_cgraph}
|
|
\end{center}
|
|
\end{figure}
|
|
这是这个函数的调用关系图\+:\nopagebreak
|
|
\begin{figure}[H]
|
|
\begin{center}
|
|
\leavevmode
|
|
\includegraphics[width=331pt]{mpu6050_8h_a63161fa966899e4e7c5791e40ebf2b0a_icgraph}
|
|
\end{center}
|
|
\end{figure}
|
|
\mbox{\Hypertarget{mpu6050_8h_a6c391137bc5880c3b5e15e84c5a3380f}\label{mpu6050_8h_a6c391137bc5880c3b5e15e84c5a3380f}}
|
|
\index{mpu6050.h@{mpu6050.h}!MPU\_Set\_Accel\_Fsr@{MPU\_Set\_Accel\_Fsr}}
|
|
\index{MPU\_Set\_Accel\_Fsr@{MPU\_Set\_Accel\_Fsr}!mpu6050.h@{mpu6050.h}}
|
|
\doxysubsubsection{\texorpdfstring{MPU\_Set\_Accel\_Fsr()}{MPU\_Set\_Accel\_Fsr()}}
|
|
{\footnotesize\ttfamily \mbox{\hyperlink{varint_8h_a92c50087ca0e64fa93fc59402c55f8ca}{u8}} MPU\+\_\+\+Set\+\_\+\+Accel\+\_\+\+Fsr (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{varint_8h_a92c50087ca0e64fa93fc59402c55f8ca}{u8}}}]{fsr }\end{DoxyParamCaption})}
|
|
|
|
|
|
|
|
设置\+MPU6050加速度传感器满量程范围
|
|
|
|
|
|
\begin{DoxyParams}{参数}
|
|
{\em fsr} & 0,±2g 1,±4g 2,±8g 3,±16g \\
|
|
\hline
|
|
\end{DoxyParams}
|
|
\begin{DoxyReturn}{返回}
|
|
0,设置成功
|
|
\end{DoxyReturn}
|
|
|
|
|
|
在文件 \mbox{\hyperlink{mpu6050_8cpp_source}{mpu6050.\+cpp}} 第 \mbox{\hyperlink{mpu6050_8cpp_source_l00067}{67}} 行定义.
|
|
|
|
函数调用图\+:\nopagebreak
|
|
\begin{figure}[H]
|
|
\begin{center}
|
|
\leavevmode
|
|
\includegraphics[width=350pt]{mpu6050_8h_a6c391137bc5880c3b5e15e84c5a3380f_cgraph}
|
|
\end{center}
|
|
\end{figure}
|
|
这是这个函数的调用关系图\+:\nopagebreak
|
|
\begin{figure}[H]
|
|
\begin{center}
|
|
\leavevmode
|
|
\includegraphics[width=280pt]{mpu6050_8h_a6c391137bc5880c3b5e15e84c5a3380f_icgraph}
|
|
\end{center}
|
|
\end{figure}
|
|
\mbox{\Hypertarget{mpu6050_8h_a91e0ee4610726fcf9f45570245269a0e}\label{mpu6050_8h_a91e0ee4610726fcf9f45570245269a0e}}
|
|
\index{mpu6050.h@{mpu6050.h}!MPU\_Set\_Fifo@{MPU\_Set\_Fifo}}
|
|
\index{MPU\_Set\_Fifo@{MPU\_Set\_Fifo}!mpu6050.h@{mpu6050.h}}
|
|
\doxysubsubsection{\texorpdfstring{MPU\_Set\_Fifo()}{MPU\_Set\_Fifo()}}
|
|
{\footnotesize\ttfamily \mbox{\hyperlink{varint_8h_a92c50087ca0e64fa93fc59402c55f8ca}{u8}} MPU\+\_\+\+Set\+\_\+\+Fifo (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{varint_8h_a92c50087ca0e64fa93fc59402c55f8ca}{u8}}}]{sens }\end{DoxyParamCaption})}
|
|
|
|
\mbox{\Hypertarget{mpu6050_8h_aa27cc30326ce4980b289a0e1c3f76b5e}\label{mpu6050_8h_aa27cc30326ce4980b289a0e1c3f76b5e}}
|
|
\index{mpu6050.h@{mpu6050.h}!MPU\_Set\_Gyro\_Fsr@{MPU\_Set\_Gyro\_Fsr}}
|
|
\index{MPU\_Set\_Gyro\_Fsr@{MPU\_Set\_Gyro\_Fsr}!mpu6050.h@{mpu6050.h}}
|
|
\doxysubsubsection{\texorpdfstring{MPU\_Set\_Gyro\_Fsr()}{MPU\_Set\_Gyro\_Fsr()}}
|
|
{\footnotesize\ttfamily \mbox{\hyperlink{varint_8h_a92c50087ca0e64fa93fc59402c55f8ca}{u8}} MPU\+\_\+\+Set\+\_\+\+Gyro\+\_\+\+Fsr (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{varint_8h_a92c50087ca0e64fa93fc59402c55f8ca}{u8}}}]{fsr }\end{DoxyParamCaption})}
|
|
|
|
|
|
|
|
设置\+MPU6050陀螺仪传感器满量程范围
|
|
|
|
|
|
\begin{DoxyParams}{参数}
|
|
{\em fsr} & 0,±250dps 1,±500dps 2,±1000dps 3,±2000dps \\
|
|
\hline
|
|
\end{DoxyParams}
|
|
\begin{DoxyReturn}{返回}
|
|
0,设置成功
|
|
\end{DoxyReturn}
|
|
|
|
|
|
在文件 \mbox{\hyperlink{mpu6050_8cpp_source}{mpu6050.\+cpp}} 第 \mbox{\hyperlink{mpu6050_8cpp_source_l00055}{55}} 行定义.
|
|
|
|
函数调用图\+:\nopagebreak
|
|
\begin{figure}[H]
|
|
\begin{center}
|
|
\leavevmode
|
|
\includegraphics[width=350pt]{mpu6050_8h_aa27cc30326ce4980b289a0e1c3f76b5e_cgraph}
|
|
\end{center}
|
|
\end{figure}
|
|
这是这个函数的调用关系图\+:\nopagebreak
|
|
\begin{figure}[H]
|
|
\begin{center}
|
|
\leavevmode
|
|
\includegraphics[width=276pt]{mpu6050_8h_aa27cc30326ce4980b289a0e1c3f76b5e_icgraph}
|
|
\end{center}
|
|
\end{figure}
|
|
\mbox{\Hypertarget{mpu6050_8h_a2fb9973c9f5ea5327649d0eef5e96217}\label{mpu6050_8h_a2fb9973c9f5ea5327649d0eef5e96217}}
|
|
\index{mpu6050.h@{mpu6050.h}!MPU\_Set\_LPF@{MPU\_Set\_LPF}}
|
|
\index{MPU\_Set\_LPF@{MPU\_Set\_LPF}!mpu6050.h@{mpu6050.h}}
|
|
\doxysubsubsection{\texorpdfstring{MPU\_Set\_LPF()}{MPU\_Set\_LPF()}}
|
|
{\footnotesize\ttfamily \mbox{\hyperlink{varint_8h_a92c50087ca0e64fa93fc59402c55f8ca}{u8}} MPU\+\_\+\+Set\+\_\+\+LPF (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{varint_8h_ace9d960e74685e2cd84b36132dbbf8aa}{u16}}}]{lpf }\end{DoxyParamCaption})}
|
|
|
|
|
|
|
|
设置\+MPU6050的数字低通滤波器
|
|
|
|
|
|
\begin{DoxyParams}{参数}
|
|
{\em lpf} & 数字低通滤波频率(\+Hz) \\
|
|
\hline
|
|
\end{DoxyParams}
|
|
\begin{DoxyReturn}{返回}
|
|
0,设置成功
|
|
\end{DoxyReturn}
|
|
|
|
|
|
在文件 \mbox{\hyperlink{mpu6050_8cpp_source}{mpu6050.\+cpp}} 第 \mbox{\hyperlink{mpu6050_8cpp_source_l00076}{76}} 行定义.
|
|
|
|
函数调用图\+:\nopagebreak
|
|
\begin{figure}[H]
|
|
\begin{center}
|
|
\leavevmode
|
|
\includegraphics[width=350pt]{mpu6050_8h_a2fb9973c9f5ea5327649d0eef5e96217_cgraph}
|
|
\end{center}
|
|
\end{figure}
|
|
这是这个函数的调用关系图\+:\nopagebreak
|
|
\begin{figure}[H]
|
|
\begin{center}
|
|
\leavevmode
|
|
\includegraphics[width=350pt]{mpu6050_8h_a2fb9973c9f5ea5327649d0eef5e96217_icgraph}
|
|
\end{center}
|
|
\end{figure}
|
|
\mbox{\Hypertarget{mpu6050_8h_a04e58232ce838e94d54aa2b53287cb41}\label{mpu6050_8h_a04e58232ce838e94d54aa2b53287cb41}}
|
|
\index{mpu6050.h@{mpu6050.h}!MPU\_Set\_Rate@{MPU\_Set\_Rate}}
|
|
\index{MPU\_Set\_Rate@{MPU\_Set\_Rate}!mpu6050.h@{mpu6050.h}}
|
|
\doxysubsubsection{\texorpdfstring{MPU\_Set\_Rate()}{MPU\_Set\_Rate()}}
|
|
{\footnotesize\ttfamily \mbox{\hyperlink{varint_8h_a92c50087ca0e64fa93fc59402c55f8ca}{u8}} MPU\+\_\+\+Set\+\_\+\+Rate (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{varint_8h_ace9d960e74685e2cd84b36132dbbf8aa}{u16}}}]{rate }\end{DoxyParamCaption})}
|
|
|
|
|
|
|
|
设置\+MPU6050的采样率(假定\+Fs=1KHz)
|
|
|
|
|
|
\begin{DoxyParams}{参数}
|
|
{\em rate} & 4$\sim$1000(Hz) \\
|
|
\hline
|
|
\end{DoxyParams}
|
|
\begin{DoxyReturn}{返回}
|
|
0,设置成功
|
|
\end{DoxyReturn}
|
|
|
|
|
|
在文件 \mbox{\hyperlink{mpu6050_8cpp_source}{mpu6050.\+cpp}} 第 \mbox{\hyperlink{mpu6050_8cpp_source_l00092}{92}} 行定义.
|
|
|
|
函数调用图\+:\nopagebreak
|
|
\begin{figure}[H]
|
|
\begin{center}
|
|
\leavevmode
|
|
\includegraphics[width=350pt]{mpu6050_8h_a04e58232ce838e94d54aa2b53287cb41_cgraph}
|
|
\end{center}
|
|
\end{figure}
|
|
这是这个函数的调用关系图\+:\nopagebreak
|
|
\begin{figure}[H]
|
|
\begin{center}
|
|
\leavevmode
|
|
\includegraphics[width=256pt]{mpu6050_8h_a04e58232ce838e94d54aa2b53287cb41_icgraph}
|
|
\end{center}
|
|
\end{figure}
|
|
\mbox{\Hypertarget{mpu6050_8h_a0be9b422bb8613f8444db4af5234e1a1}\label{mpu6050_8h_a0be9b422bb8613f8444db4af5234e1a1}}
|
|
\index{mpu6050.h@{mpu6050.h}!MPU\_Write\_Byte@{MPU\_Write\_Byte}}
|
|
\index{MPU\_Write\_Byte@{MPU\_Write\_Byte}!mpu6050.h@{mpu6050.h}}
|
|
\doxysubsubsection{\texorpdfstring{MPU\_Write\_Byte()}{MPU\_Write\_Byte()}}
|
|
{\footnotesize\ttfamily \mbox{\hyperlink{varint_8h_a92c50087ca0e64fa93fc59402c55f8ca}{u8}} MPU\+\_\+\+Write\+\_\+\+Byte (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{varint_8h_a92c50087ca0e64fa93fc59402c55f8ca}{u8}}}]{reg, }\item[{\mbox{\hyperlink{varint_8h_a92c50087ca0e64fa93fc59402c55f8ca}{u8}}}]{data }\end{DoxyParamCaption})}
|
|
|
|
|
|
|
|
IIC写一个字节
|
|
|
|
|
|
\begin{DoxyParams}{参数}
|
|
{\em reg} & 寄存器地址 \\
|
|
\hline
|
|
{\em data} & 数据 \\
|
|
\hline
|
|
\end{DoxyParams}
|
|
\begin{DoxyReturn}{返回}
|
|
0,设置成功
|
|
\end{DoxyReturn}
|
|
|
|
|
|
在文件 \mbox{\hyperlink{mpu6050_8cpp_source}{mpu6050.\+cpp}} 第 \mbox{\hyperlink{mpu6050_8cpp_source_l00178}{178}} 行定义.
|
|
|
|
函数调用图\+:\nopagebreak
|
|
\begin{figure}[H]
|
|
\begin{center}
|
|
\leavevmode
|
|
\includegraphics[width=350pt]{mpu6050_8h_a0be9b422bb8613f8444db4af5234e1a1_cgraph}
|
|
\end{center}
|
|
\end{figure}
|
|
这是这个函数的调用关系图\+:\nopagebreak
|
|
\begin{figure}[H]
|
|
\begin{center}
|
|
\leavevmode
|
|
\includegraphics[width=350pt]{mpu6050_8h_a0be9b422bb8613f8444db4af5234e1a1_icgraph}
|
|
\end{center}
|
|
\end{figure}
|
|
\mbox{\Hypertarget{mpu6050_8h_a59b1c26b234be88e97435a1b3c061330}\label{mpu6050_8h_a59b1c26b234be88e97435a1b3c061330}}
|
|
\index{mpu6050.h@{mpu6050.h}!MPU\_Write\_Len@{MPU\_Write\_Len}}
|
|
\index{MPU\_Write\_Len@{MPU\_Write\_Len}!mpu6050.h@{mpu6050.h}}
|
|
\doxysubsubsection{\texorpdfstring{MPU\_Write\_Len()}{MPU\_Write\_Len()}}
|
|
{\footnotesize\ttfamily \mbox{\hyperlink{varint_8h_a92c50087ca0e64fa93fc59402c55f8ca}{u8}} MPU\+\_\+\+Write\+\_\+\+Len (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{varint_8h_a92c50087ca0e64fa93fc59402c55f8ca}{u8}}}]{addr, }\item[{\mbox{\hyperlink{varint_8h_a92c50087ca0e64fa93fc59402c55f8ca}{u8}}}]{reg, }\item[{\mbox{\hyperlink{varint_8h_a92c50087ca0e64fa93fc59402c55f8ca}{u8}}}]{len, }\item[{\mbox{\hyperlink{varint_8h_a92c50087ca0e64fa93fc59402c55f8ca}{u8}} $\ast$}]{buf }\end{DoxyParamCaption})}
|
|
|
|
|
|
|
|
IIC连续写
|
|
|
|
|
|
\begin{DoxyParams}{参数}
|
|
{\em addr} & 器件地址 \\
|
|
\hline
|
|
{\em reg} & 寄存器地址 \\
|
|
\hline
|
|
{\em len} & 写入长度 \\
|
|
\hline
|
|
{\em $\ast$buf} & 数据区 \\
|
|
\hline
|
|
\end{DoxyParams}
|
|
\begin{DoxyReturn}{返回}
|
|
0,设置成功
|
|
\end{DoxyReturn}
|
|
|
|
|
|
在文件 \mbox{\hyperlink{mpu6050_8cpp_source}{mpu6050.\+cpp}} 第 \mbox{\hyperlink{mpu6050_8cpp_source_l00156}{156}} 行定义.
|
|
|
|
函数调用图\+:\nopagebreak
|
|
\begin{figure}[H]
|
|
\begin{center}
|
|
\leavevmode
|
|
\includegraphics[width=350pt]{mpu6050_8h_a59b1c26b234be88e97435a1b3c061330_cgraph}
|
|
\end{center}
|
|
\end{figure}
|