Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ElectronicCats/mpu6050
/ functions
Functions
394 in github.com/ElectronicCats/mpu6050
⨍
Functions
394
◇
Types & classes
12
Method
getSlave4WriteMode
Get write mode for Slave 4. * When set to 1, the transaction will read or write data only. When cleared to * 0, the transaction will write a registe
src/MPU6050.cpp:1342
Method
getSlaveAddress
Get the I2C address of the specified slave (0-3). * Note that Bit 7 (MSB) controls read/write mode. If Bit 7 is set, it's a read * operation, and if
src/MPU6050.cpp:1080
Method
getSlaveDataLength
Get number of bytes to read for the specified slave (0-3). * Specifies the number of bytes transferred to and from Slave 0. Clearing this * bit to 0
src/MPU6050.cpp:1227
Method
getSlaveDelayEnabled
Get slave delay enabled status. * When a particular slave delay is enabled, the rate of access for the that * slave device is reduced. When a slave'
src/MPU6050.cpp:2304
Method
getSlaveEnabled
Get the enabled value for the specified slave (0-3). * When set to 1, this bit enables Slave 0 for data transfer operations. When * cleared to 0, th
src/MPU6050.cpp:1128
Method
getSlaveReadWriteTransitionEnabled
Get slave read/write transition enabled value. * The I2C_MST_P_NSR bit configures the I2C Master's transition from one slave * read to the next slav
src/MPU6050.cpp:984
Method
getSlaveRegister
Get the active internal register for the specified slave (0-3). * Read/write operations for this slave will be done to whatever internal * register
src/MPU6050.cpp:1106
Method
getSlaveWordByteSwap
Get word pair byte-swapping enabled for the specified slave (0-3). * When set to 1, this bit enables byte swapping. When byte swapping is enabled, *
src/MPU6050.cpp:1154
Method
getSlaveWordGroupOffset
Get word pair grouping order offset for the specified slave (0-3). * This sets specifies the grouping order of word pairs received from registers. *
src/MPU6050.cpp:1205
Method
getSlaveWriteMode
Get write mode for the specified slave (0-3). * When set to 1, the transaction will read or write data only. When cleared to * 0, the transaction wi
src/MPU6050.cpp:1179
Method
getSleepEnabled
Get sleep mode status. * Setting the SLEEP bit in the register puts the device into very low power * sleep mode. In this mode, only the serial inter
src/MPU6050.cpp:2564
Method
getStandbyXAccelEnabled
Get X-axis accelerometer standby enabled status. * If enabled, the X-axis will not gather or report data (or use power). * @return Current X-axis st
src/MPU6050.cpp:2714
Method
getStandbyXGyroEnabled
Get X-axis gyroscope standby enabled status. * If enabled, the X-axis will not gather or report data (or use power). * @return Current X-axis standb
src/MPU6050.cpp:2771
Method
getStandbyYAccelEnabled
Get Y-axis accelerometer standby enabled status. * If enabled, the Y-axis will not gather or report data (or use power). * @return Current Y-axis st
src/MPU6050.cpp:2733
Method
getStandbyYGyroEnabled
Get Y-axis gyroscope standby enabled status. * If enabled, the Y-axis will not gather or report data (or use power). * @return Current Y-axis standb
src/MPU6050.cpp:2790
Method
getStandbyZAccelEnabled
Get Z-axis accelerometer standby enabled status. * If enabled, the Z-axis will not gather or report data (or use power). * @return Current Z-axis st
src/MPU6050.cpp:2752
Method
getStandbyZGyroEnabled
Get Z-axis gyroscope standby enabled status. * If enabled, the Z-axis will not gather or report data (or use power). * @return Current Z-axis standb
src/MPU6050.cpp:2809
Method
getTempFIFOEnabled
Get temperature FIFO enabled value. * When set to 1, this bit enables TEMP_OUT_H and TEMP_OUT_L (Registers 65 and * 66) to be written into the FIFO
src/MPU6050.cpp:764
Method
getTempSensorEnabled
Get temperature sensor enabled status. * Control the usage of the internal temperature sensor. * * Note: this register stores the *disabled* value,
src/MPU6050.cpp:2609
Method
getTemperature
Get current internal temperature. * @return Temperature reading in 16-bit 2's complement format * @see MPU6050_RA_TEMP_OUT_H */
src/MPU6050.cpp:2002
Method
getWaitForExternalSensorEnabled
Get wait-for-external-sensor-data enabled value. * When the WAIT_FOR_ES bit is set to 1, the Data Ready interrupt will be * delayed until External S
src/MPU6050.cpp:944
Method
getWakeCycleEnabled
Get wake cycle enabled status. * When this bit is set to 1 and SLEEP is disabled, the MPU-60X0 will cycle * between sleep mode and waking up to take
src/MPU6050.cpp:2585
Method
getWakeFrequency
Get wake frequency in Accel-Only Low Power Mode. * The MPU-60X0 can be put into Accerlerometer Only Low Power Mode by setting * PWRSEL to 1 in the P
src/MPU6050.cpp:2696
Method
getXAccelOffset
src/MPU6050.cpp:3039
Method
getXFineGain
src/MPU6050.cpp:3009
Method
getXGyroFIFOEnabled
Get gyroscope X-axis FIFO enabled value. * When set to 1, this bit enables GYRO_XOUT_H and GYRO_XOUT_L (Registers 67 and * 68) to be written into th
src/MPU6050.cpp:782
Method
getXGyroOffset
src/MPU6050.cpp:3075
Method
getXGyroOffsetTC
src/MPU6050.cpp:2979
Method
getXNegMotionDetected
Get X-axis negative motion detection interrupt status. * @return Motion detection status * @see MPU6050_RA_MOT_DETECT_STATUS * @see MPU6050_MOTION_
src/MPU6050.cpp:2189
Method
getXPosMotionDetected
Get X-axis positive motion detection interrupt status. * @return Motion detection status * @see MPU6050_RA_MOT_DETECT_STATUS * @see MPU6050_MOTION_
src/MPU6050.cpp:2198
Method
getYAccelOffset
src/MPU6050.cpp:3051
Method
getYFineGain
src/MPU6050.cpp:3019
Method
getYGyroFIFOEnabled
Get gyroscope Y-axis FIFO enabled value. * When set to 1, this bit enables GYRO_YOUT_H and GYRO_YOUT_L (Registers 69 and * 70) to be written into th
src/MPU6050.cpp:800
Method
getYGyroOffset
src/MPU6050.cpp:3085
Method
getYGyroOffsetTC
src/MPU6050.cpp:2989
Method
getYNegMotionDetected
Get Y-axis negative motion detection interrupt status. * @return Motion detection status * @see MPU6050_RA_MOT_DETECT_STATUS * @see MPU6050_MOTION_
src/MPU6050.cpp:2207
Method
getYPosMotionDetected
Get Y-axis positive motion detection interrupt status. * @return Motion detection status * @see MPU6050_RA_MOT_DETECT_STATUS * @see MPU6050_MOTION_
src/MPU6050.cpp:2216
Method
getZAccelOffset
src/MPU6050.cpp:3063
Method
getZFineGain
src/MPU6050.cpp:3029
Method
getZGyroFIFOEnabled
Get gyroscope Z-axis FIFO enabled value. * When set to 1, this bit enables GYRO_ZOUT_H and GYRO_ZOUT_L (Registers 71 and * 72) to be written into th
src/MPU6050.cpp:818
Method
getZGyroOffset
src/MPU6050.cpp:3095
Method
getZGyroOffsetTC
src/MPU6050.cpp:2999
Method
getZNegMotionDetected
Get Z-axis negative motion detection interrupt status. * @return Motion detection status * @see MPU6050_RA_MOT_DETECT_STATUS * @see MPU6050_MOTION_
src/MPU6050.cpp:2225
Method
getZPosMotionDetected
Get Z-axis positive motion detection interrupt status. * @return Motion detection status * @see MPU6050_RA_MOT_DETECT_STATUS * @see MPU6050_MOTION_
src/MPU6050.cpp:2234
Method
getZeroMotionDetected
Get zero motion detection interrupt status. * @return Motion detection status * @see MPU6050_RA_MOT_DETECT_STATUS * @see MPU6050_MOTION_MOT_ZRMOT_B
src/MPU6050.cpp:2243
Method
getZeroMotionDetectionDuration
Get zero motion detection event duration threshold. * This register configures the duration counter threshold for Zero Motion * interrupt generation
src/MPU6050.cpp:743
Method
getZeroMotionDetectionThreshold
Get zero motion detection event acceleration threshold. * This register configures the detection threshold for Zero Motion interrupt * generation. T
src/MPU6050.cpp:712
Method
get_acce_resolution
Get the accelration resolution. */
src/MPU6050.cpp:138
Method
get_gyro_resolution
Get the gyroscope resolution. */
src/MPU6050.cpp:144
Method
initialize
Power on and prepare for general usage. * This will activate the device and take it out of sleep mode (which must be done * after start-up). This fu
src/MPU6050.cpp:65
Method
nbendTransmission
src/I2Cdev.cpp:1389
Method
nbrequestFrom
src/I2Cdev.cpp:1448
Method
normalize
src/helper_3dmath.h:114
Method
normalize
src/helper_3dmath.h:181
Method
readBit
Read a single bit from an 8-bit device register. * @param devAddr I2C slave device address * @param regAddr Register regAddr to read from * @param
src/I2Cdev.cpp:106
Method
readBitW
Read a single bit from a 16-bit device register. * @param devAddr I2C slave device address * @param regAddr Register regAddr to read from * @param
src/I2Cdev.cpp:121
Method
readBits
Read multiple bits from an 8-bit device register. * @param devAddr I2C slave device address * @param regAddr Register regAddr to read from * @param
src/I2Cdev.cpp:137
Method
readBitsW
Read multiple bits from a 16-bit device register. * @param devAddr I2C slave device address * @param regAddr Register regAddr to read from * @param
src/I2Cdev.cpp:162
Method
readBuf
src/I2Cdev.cpp:834
Method
readByte
Read single byte from an 8-bit device register. * @param devAddr I2C slave device address * @param regAddr Register regAddr to read from * @param d
src/I2Cdev.cpp:186
Method
readBytes
Read multiple bytes from an 8-bit device register. * @param devAddr I2C slave device address * @param regAddr First register regAddr to read from *
src/I2Cdev.cpp:209
Method
readMemoryBlock
src/MPU6050.cpp:3195
Method
readMemoryByte
src/MPU6050.cpp:3188
Method
readWord
Read single word from a 16-bit device register. * @param devAddr I2C slave device address * @param regAddr Register regAddr to read from * @param d
src/I2Cdev.cpp:197
Method
readWords
Read multiple words from a 16-bit device register. * @param devAddr I2C slave device address * @param regAddr First register regAddr to read from *
src/I2Cdev.cpp:325
Method
reset
src/I2Cdev.cpp:897
Method
reset
Trigger a full device reset. * A small delay of ~50ms may be desirable after triggering a reset. * @see MPU6050_RA_PWR_MGMT_1 * @see MPU6050_PWR1_D
src/MPU6050.cpp:2550
Method
resetAccelerometerPath
Reset accelerometer signal path. * The reset will revert the signal path analog to digital converters and * filters to their power up configurations
src/MPU6050.cpp:2337
Method
resetDMP
src/MPU6050.cpp:3167
Method
resetFIFO
Reset the FIFO. * This bit resets the FIFO buffer when set to 1 while FIFO_EN equals 0. This * bit automatically clears to 0 after the reset has bee
src/MPU6050.cpp:2515
Method
resetGyroscopePath
Reset gyroscope signal path. * The reset will revert the signal path analog to digital converters and * filters to their power up configurations. *
src/MPU6050.cpp:2328
Method
resetI2CMaster
Reset the I2C Master. * This bit resets the I2C Master when set to 1 while I2C_MST_EN equals 0. * This bit automatically clears to 0 after the reset
src/MPU6050.cpp:2524
Method
resetSensors
Reset all sensor registers and signal paths. * When set to 1, this bit resets the signal paths for all sensors (gyroscopes, * accelerometers, and te
src/MPU6050.cpp:2539
Method
resetTemperaturePath
Reset temperature sensor signal path. * The reset will revert the signal path analog to digital converters and * filters to their power up configura
src/MPU6050.cpp:2346
Method
rotate
src/helper_3dmath.h:194
Method
setAccelFIFOEnabled
Set accelerometer FIFO enabled value. * @param enabled New accelerometer FIFO enabled value * @see getAccelFIFOEnabled() * @see MPU6050_RA_FIFO_EN
src/MPU6050.cpp:846
Method
setAccelXSelfTest
Get self-test enabled setting for accelerometer X axis. * @param enabled Self-test enabled value * @see MPU6050_RA_ACCEL_CONFIG */
src/MPU6050.cpp:428
Method
setAccelYSelfTest
Get self-test enabled value for accelerometer Y axis. * @param enabled Self-test enabled value * @see MPU6050_RA_ACCEL_CONFIG */
src/MPU6050.cpp:443
Method
setAccelZSelfTest
Set self-test enabled value for accelerometer Z axis. * @param enabled Self-test enabled value * @see MPU6050_RA_ACCEL_CONFIG */
src/MPU6050.cpp:458
Method
setAccelerometerPowerOnDelay
Set accelerometer power-on delay. * @param delay New accelerometer power-on delay (0-3) * @see getAccelerometerPowerOnDelay() * @see MPU6050_RA_MOT
src/MPU6050.cpp:2376
Method
setAuxVDDIOLevel
Set the auxiliary I2C supply voltage level. * When set to 1, the auxiliary I2C bus high logic level is VDD. When cleared to * 0, the auxiliary I2C b
src/MPU6050.cpp:175
Method
setClockOutputEnabled
Set reference clock output enabled status. * When this bit is equal to 1, a reference clock output is provided at the * CLKOUT pin. When this bit is
src/MPU6050.cpp:1653
Method
setClockSource
Set clock source setting. * An internal 8MHz oscillator, gyroscope based clock, or external sources can * be selected as the MPU-60X0 clock source.
src/MPU6050.cpp:2667
Method
setDHPFMode
Set the high-pass filter configuration. * @param bandwidth New high-pass filter configuration * @see setDHPFMode() * @see MPU6050_DHPF_RESET * @se
src/MPU6050.cpp:555
Method
setDLPFMode
Set digital low-pass filter configuration. * @param mode New DLFP configuration setting * @see getDLPFBandwidth() * @see MPU6050_DLPF_BW_256 * @se
src/MPU6050.cpp:296
Method
setDMPConfig1
src/MPU6050.cpp:3391
Method
setDMPConfig2
src/MPU6050.cpp:3401
Method
setDMPEnabled
src/MPU6050.cpp:3164
Method
setDeviceID
Set Device ID. * Write a new ID into the WHO_AM_I register (no idea why this should ever be * necessary though). * @param id New device ID to set.
src/MPU6050.cpp:2964
Method
setExternalFrameSync
Set external FSYNC configuration. * @see getExternalFrameSync() * @see MPU6050_RA_CONFIG * @param sync New FSYNC configuration value */
src/MPU6050.cpp:253
Method
setExternalShadowDelayEnabled
Set external data shadow delay enabled status. * @param enabled New external data shadow delay enabled status. * @see getExternalShadowDelayEnabled(
src/MPU6050.cpp:2283
Method
setFIFOByte
Write byte to FIFO buffer. * @see getFIFOByte() * @see MPU6050_RA_FIFO_R_W */
src/MPU6050.cpp:2938
Method
setFIFOEnabled
Set FIFO enabled status. * @param enabled New FIFO enabled status * @see getFIFOEnabled() * @see MPU6050_RA_USER_CTRL * @see MPU6050_USERCTRL_FIFO
src/MPU6050.cpp:2475
Method
setFIFOTimeout
Set timeout to get a packet from FIFO buffer. * @param New timeout to get a packet from FIFO buffer * @see MPU6050_FIFO_DEFAULT_TIMEOUT */
src/MPU6050.cpp:2888
Method
setFSyncInterruptEnabled
Set FSYNC pin interrupt enabled setting. * @param enabled New FSYNC pin interrupt enabled setting * @see getFSyncInterruptEnabled() * @see MPU6050_
src/MPU6050.cpp:1599
Method
setFSyncInterruptLevel
Set FSYNC interrupt logic level mode. * @param mode New FSYNC interrupt mode (0=active-high, 1=active-low) * @see getFSyncInterruptMode() * @see MP
src/MPU6050.cpp:1580
Method
setFreefallDetectionCounterDecrement
Set Free Fall detection counter decrement configuration. * @param decrement New decrement configuration value * @see getFreefallDetectionCounterDecr
src/MPU6050.cpp:2415
Method
setFreefallDetectionDuration
Get free-fall event duration threshold. * @param duration New free-fall duration threshold value (LSB = 1ms) * @see getFreefallDetectionDuration()
src/MPU6050.cpp:617
Method
setFreefallDetectionThreshold
Get free-fall event acceleration threshold. * @param threshold New free-fall acceleration threshold value (LSB = 2mg) * @see getFreefallDetectionThr
src/MPU6050.cpp:585
Method
setFullScaleAccelRange
Set full-scale accelerometer range. * @param range New full-scale accelerometer range setting * @see getFullScaleAccelRange() */
src/MPU6050.cpp:486
← previous
next →
201–300 of 394, ranked by callers