Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/adafruit/Adafruit_MPU6050
/ functions
Functions
45 in github.com/adafruit/Adafruit_MPU6050
⨍
Functions
45
◇
Types & classes
6
↓ 3 callers
Method
_read
Adafruit_Sensor functions *****************/ ! * @brief Updates the measurement data for all sensors simultaneously */ /
Adafruit_MPU6050.cpp:638
↓ 1 callers
Method
fillAccelEvent
Adafruit_MPU6050.cpp:730
↓ 1 callers
Method
fillGyroEvent
Adafruit_MPU6050.cpp:742
↓ 1 callers
Method
fillTempEvent
Adafruit_MPU6050.cpp:719
Method
Adafruit_MPU6050
! * @brief Instantiates a new MPU6050 class */
Adafruit_MPU6050.cpp:43
Method
Adafruit_MPU6050_Accelerometer
@brief Create an Adafruit_Sensor compatible object for the accelerometer sensor @param parent A pointer to the MPU6050 class */
Adafruit_MPU6050.h:176
Method
Adafruit_MPU6050_Gyro
@brief Create an Adafruit_Sensor compatible object for the gyro sensor @param parent A pointer to the MPU6050 class */
Adafruit_MPU6050.h:192
Method
Adafruit_MPU6050_Temp
@brief Create an Adafruit_Sensor compatible object for the temp sensor @param parent A pointer to the MPU6050 class */
Adafruit_MPU6050.h:161
Method
_init
! @brief Initilizes the sensor * @param sensor_id Optional unique ID for the sensor set * @returns True if chip identified and initialized */
Adafruit_MPU6050.cpp:105
Method
begin
Adafruit_MPU6050.cpp:70
Method
enableCycle
/ ! * @brief Controls sensor's 'Cycle' measurement mode * @param enable If `true` the sensor will take measurements at the rat
Adafruit_MPU6050.cpp:521
Method
enableSleep
/ ! * @brief Controls the sleep state of the sensor * @param enable If `true` the sensor is put into a low power state
Adafruit_MPU6050.cpp:499
Method
getAccelerometerRange
/ ! @brief Gets the acceleration measurement range. @return The acceleration measurement range */ /
Adafruit_MPU6050.cpp:200
Method
getAccelerometerSensor
! @brief Gets an Adafruit Unified Sensor object for the accelerometer sensor component @return Adafruit_Sensor pointer to accelerometer s
Adafruit_MPU6050.cpp:767
Method
getClock
/ ! @brief Gets clock source. @return The current `mpu6050_clock_select_t` clock source */ /
Adafruit_MPU6050.cpp:277
Method
getCycleRate
/ ! * @brief Gets the frequencey of measurements in 'Cycle' mode * @return The current 'Cycle' measurement frequency */ /
Adafruit_MPU6050.cpp:536
Method
getEvent
/ ! @brief Gets the most recent sensor event, Adafruit Unified Sensor format @param accel Pointer to an Adafruit Unified sensor_
Adafruit_MPU6050.cpp:707
Method
getFilterBandwidth
/ ! * @brief Gets bandwidth of the Digital Low Pass Filter * @return The current `mpu6050_bandwidth_t` filter bandwidth */ /
Adafruit_MPU6050.cpp:322
Method
getFsyncSampleOutput
/ ! * @brief Sets the location that the FSYNC pin sample is stored * @return fsync_output */ /
Adafruit_MPU6050.cpp:292
Method
getGyroRange
/ ! @brief Gets the gyroscope measurement range @return The `mpu6050_gyro_range_t` gyroscope measurement range */ /
Adafruit_MPU6050.cpp:230
Method
getGyroSensor
! @brief Gets an Adafruit Unified Sensor object for the gyro sensor component @return Adafruit_Sensor pointer to gyro sensor */
Adafruit_MPU6050.cpp:775
Method
getHighPassFilter
/ ! * @brief Gets bandwidth of the Digital High Pass Filter * @return The current `mpu6050_highpass_t` filter bandwidth */ /
Adafruit_MPU6050.cpp:352
Method
getMotionInterruptStatus
/ ! * @brief Gets motion interrupt status * @return motion_interrupt */ /
Adafruit_MPU6050.cpp:430
Method
getSampleRateDivisor
/ ! @brief Gets the sample rate divisor. @return The sample rate divisor */ /
Adafruit_MPU6050.cpp:174
Method
getSensor
/ ! @brief Gets the sensor_t data for the MPU6050's gyroscope sensor */ /
Adafruit_MPU6050.cpp:782
Method
getTemperatureSensor
! @brief Gets an Adafruit Unified Sensor object for the temp sensor component @return Adafruit_Sensor pointer to temperature sensor */
Adafruit_MPU6050.cpp:758
Method
reset
/ ! @brief Resets registers to their initial value and resets the sensors' analog and digital signal paths. */ /
Adafruit_MPU6050.cpp:148
Method
setAccelerometerRange
/ ! @brief Sets the accelerometer measurement range @param new_range The new range to set. Must be a `mpu6050_accel_range_t` */ /
Adafruit_MPU6050.cpp:216
Method
setAccelerometerStandby
/ ! * @brief Sets standbye mode for each of the accelerometer axes. * @param xAxisStandby * If `true` the accelerometer stops
Adafruit_MPU6050.cpp:602
Method
setClock
/ ! @brief Sets clock source. @param new_clock The clock source to set. Must be a `mpu6050_clock_select_t` */ /
Adafruit_MPU6050.cpp:262
Method
setCycleRate
/ ! * @brief Sets the frequency of measurement in 'Cycle' mode * @param rate * The `mpu6050_cycle_rate_t` specifying the des
Adafruit_MPU6050.cpp:553
Method
setFilterBandwidth
/ ! * @brief Sets the bandwidth of the Digital Low-Pass Filter * @param bandwidth the new `mpu6050_bandwidth_t` bandwidth */ /
Adafruit_MPU6050.cpp:337
Method
setFsyncSampleOutput
/ ! * @brief Sets the location that the FSYNC pin sample is stored * @param fsync_output a `mpu6050_fsync_out_t` to specify th
Adafruit_MPU6050.cpp:308
Method
setGyroRange
/ ! @brief Sets the gyroscope measurement range @param new_range The new range to set. Must be a `mpu6050_gyro_range_t` */ /
Adafruit_MPU6050.cpp:246
Method
setGyroStandby
/ ! * @brief Sets standbye mode for each of the gyroscope axes. * @param xAxisStandby * If `true` the gyroscope stops sensing
Adafruit_MPU6050.cpp:577
Method
setHighPassFilter
/ ! * @brief Sets the bandwidth of the Digital High-Pass Filter * @param bandwidth the new `mpu6050_highpass_t` bandwidth */ /
Adafruit_MPU6050.cpp:367
Method
setI2CBypass
/ ! * @brief Connects or disconects the I2C master pins to the main I2C pins * @param bypass If `true` the I2C Master pins are
Adafruit_MPU6050.cpp:473
Method
setInterruptPinLatch
/ ! * @brief Sets the latch behavior of the INT pin when active * @param held If `true` the pin will remain held until cleared
Adafruit_MPU6050.cpp:400
Method
setInterruptPinPolarity
/ ! * @brief Sets the polarity of the INT pin when active * @param active_low If `true` the pin will be low when an interrupt
Adafruit_MPU6050.cpp:384
Method
setMotionDetectionDuration
/ ! * @brief Sets the motion detection duration * @param dur */ /
Adafruit_MPU6050.cpp:457
Method
setMotionDetectionThreshold
/ ! * @brief Sets the motion detection threshold * @param thr */ /
Adafruit_MPU6050.cpp:445
Method
setMotionInterrupt
/ ! * @brief Sets the motion interrupt * @param active If `true` motion interrupt will activate based on thr and dur
Adafruit_MPU6050.cpp:416
Method
setSampleRateDivisor
/ ! @brief Sets the divisor used to divide the base clock rate into a measurement rate @param divisor The new clock
Adafruit_MPU6050.cpp:188
Method
setTemperatureStandby
/ ! * @brief Sets disable mode for thermometer sensor. * @param enable * If `true` the temperature sensor will stop taking me
Adafruit_MPU6050.cpp:624
Method
~Adafruit_MPU6050
! * @brief Cleans up the MPU6050 class */
Adafruit_MPU6050.cpp:48