MCPcopy Create free account

hub / github.com/ElectronicCats/mpu6050 / functions

Functions394 in github.com/ElectronicCats/mpu6050

MethodgetSlave4WriteMode
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
MethodgetSlaveAddress
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
MethodgetSlaveDataLength
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
MethodgetSlaveDelayEnabled
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
MethodgetSlaveEnabled
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
MethodgetSlaveReadWriteTransitionEnabled
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
MethodgetSlaveRegister
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
MethodgetSlaveWordByteSwap
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
MethodgetSlaveWordGroupOffset
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
MethodgetSlaveWriteMode
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
MethodgetSleepEnabled
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
MethodgetStandbyXAccelEnabled
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
MethodgetStandbyXGyroEnabled
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
MethodgetStandbyYAccelEnabled
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
MethodgetStandbyYGyroEnabled
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
MethodgetStandbyZAccelEnabled
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
MethodgetStandbyZGyroEnabled
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
MethodgetTempFIFOEnabled
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
MethodgetTempSensorEnabled
Get temperature sensor enabled status. * Control the usage of the internal temperature sensor. * * Note: this register stores the *disabled* value,
src/MPU6050.cpp:2609
MethodgetTemperature
Get current internal temperature. * @return Temperature reading in 16-bit 2's complement format * @see MPU6050_RA_TEMP_OUT_H */
src/MPU6050.cpp:2002
MethodgetWaitForExternalSensorEnabled
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
MethodgetWakeCycleEnabled
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
MethodgetWakeFrequency
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
MethodgetXAccelOffset
src/MPU6050.cpp:3039
MethodgetXFineGain
src/MPU6050.cpp:3009
MethodgetXGyroFIFOEnabled
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
MethodgetXGyroOffset
src/MPU6050.cpp:3075
MethodgetXGyroOffsetTC
src/MPU6050.cpp:2979
MethodgetXNegMotionDetected
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
MethodgetXPosMotionDetected
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
MethodgetYAccelOffset
src/MPU6050.cpp:3051
MethodgetYFineGain
src/MPU6050.cpp:3019
MethodgetYGyroFIFOEnabled
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
MethodgetYGyroOffset
src/MPU6050.cpp:3085
MethodgetYGyroOffsetTC
src/MPU6050.cpp:2989
MethodgetYNegMotionDetected
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
MethodgetYPosMotionDetected
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
MethodgetZAccelOffset
src/MPU6050.cpp:3063
MethodgetZFineGain
src/MPU6050.cpp:3029
MethodgetZGyroFIFOEnabled
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
MethodgetZGyroOffset
src/MPU6050.cpp:3095
MethodgetZGyroOffsetTC
src/MPU6050.cpp:2999
MethodgetZNegMotionDetected
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
MethodgetZPosMotionDetected
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
MethodgetZeroMotionDetected
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
MethodgetZeroMotionDetectionDuration
Get zero motion detection event duration threshold. * This register configures the duration counter threshold for Zero Motion * interrupt generation
src/MPU6050.cpp:743
MethodgetZeroMotionDetectionThreshold
Get zero motion detection event acceleration threshold. * This register configures the detection threshold for Zero Motion interrupt * generation. T
src/MPU6050.cpp:712
Methodget_acce_resolution
Get the accelration resolution. */
src/MPU6050.cpp:138
Methodget_gyro_resolution
Get the gyroscope resolution. */
src/MPU6050.cpp:144
Methodinitialize
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
MethodnbendTransmission
src/I2Cdev.cpp:1389
MethodnbrequestFrom
src/I2Cdev.cpp:1448
Methodnormalize
src/helper_3dmath.h:114
Methodnormalize
src/helper_3dmath.h:181
MethodreadBit
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
MethodreadBitW
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
MethodreadBits
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
MethodreadBitsW
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
MethodreadBuf
src/I2Cdev.cpp:834
MethodreadByte
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
MethodreadBytes
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
MethodreadMemoryBlock
src/MPU6050.cpp:3195
MethodreadMemoryByte
src/MPU6050.cpp:3188
MethodreadWord
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
MethodreadWords
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
Methodreset
src/I2Cdev.cpp:897
Methodreset
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
MethodresetAccelerometerPath
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
MethodresetDMP
src/MPU6050.cpp:3167
MethodresetFIFO
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
MethodresetGyroscopePath
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
MethodresetI2CMaster
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
MethodresetSensors
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
MethodresetTemperaturePath
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
Methodrotate
src/helper_3dmath.h:194
MethodsetAccelFIFOEnabled
Set accelerometer FIFO enabled value. * @param enabled New accelerometer FIFO enabled value * @see getAccelFIFOEnabled() * @see MPU6050_RA_FIFO_EN
src/MPU6050.cpp:846
MethodsetAccelXSelfTest
Get self-test enabled setting for accelerometer X axis. * @param enabled Self-test enabled value * @see MPU6050_RA_ACCEL_CONFIG */
src/MPU6050.cpp:428
MethodsetAccelYSelfTest
Get self-test enabled value for accelerometer Y axis. * @param enabled Self-test enabled value * @see MPU6050_RA_ACCEL_CONFIG */
src/MPU6050.cpp:443
MethodsetAccelZSelfTest
Set self-test enabled value for accelerometer Z axis. * @param enabled Self-test enabled value * @see MPU6050_RA_ACCEL_CONFIG */
src/MPU6050.cpp:458
MethodsetAccelerometerPowerOnDelay
Set accelerometer power-on delay. * @param delay New accelerometer power-on delay (0-3) * @see getAccelerometerPowerOnDelay() * @see MPU6050_RA_MOT
src/MPU6050.cpp:2376
MethodsetAuxVDDIOLevel
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
MethodsetClockOutputEnabled
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
MethodsetClockSource
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
MethodsetDHPFMode
Set the high-pass filter configuration. * @param bandwidth New high-pass filter configuration * @see setDHPFMode() * @see MPU6050_DHPF_RESET * @se
src/MPU6050.cpp:555
MethodsetDLPFMode
Set digital low-pass filter configuration. * @param mode New DLFP configuration setting * @see getDLPFBandwidth() * @see MPU6050_DLPF_BW_256 * @se
src/MPU6050.cpp:296
MethodsetDMPConfig1
src/MPU6050.cpp:3391
MethodsetDMPConfig2
src/MPU6050.cpp:3401
MethodsetDMPEnabled
src/MPU6050.cpp:3164
MethodsetDeviceID
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
MethodsetExternalFrameSync
Set external FSYNC configuration. * @see getExternalFrameSync() * @see MPU6050_RA_CONFIG * @param sync New FSYNC configuration value */
src/MPU6050.cpp:253
MethodsetExternalShadowDelayEnabled
Set external data shadow delay enabled status. * @param enabled New external data shadow delay enabled status. * @see getExternalShadowDelayEnabled(
src/MPU6050.cpp:2283
MethodsetFIFOByte
Write byte to FIFO buffer. * @see getFIFOByte() * @see MPU6050_RA_FIFO_R_W */
src/MPU6050.cpp:2938
MethodsetFIFOEnabled
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
MethodsetFIFOTimeout
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
MethodsetFSyncInterruptEnabled
Set FSYNC pin interrupt enabled setting. * @param enabled New FSYNC pin interrupt enabled setting * @see getFSyncInterruptEnabled() * @see MPU6050_
src/MPU6050.cpp:1599
MethodsetFSyncInterruptLevel
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
MethodsetFreefallDetectionCounterDecrement
Set Free Fall detection counter decrement configuration. * @param decrement New decrement configuration value * @see getFreefallDetectionCounterDecr
src/MPU6050.cpp:2415
MethodsetFreefallDetectionDuration
Get free-fall event duration threshold. * @param duration New free-fall duration threshold value (LSB = 1ms) * @see getFreefallDetectionDuration()
src/MPU6050.cpp:617
MethodsetFreefallDetectionThreshold
Get free-fall event acceleration threshold. * @param threshold New free-fall acceleration threshold value (LSB = 2mg) * @see getFreefallDetectionThr
src/MPU6050.cpp:585
MethodsetFullScaleAccelRange
Set full-scale accelerometer range. * @param range New full-scale accelerometer range setting * @see getFullScaleAccelRange() */
src/MPU6050.cpp:486
← previousnext →201–300 of 394, ranked by callers