TM STM32Fxxx HAL Libraries  v1.0.0
Libraries for STM32Fxxx (F0, F4 and F7 series) devices based on HAL drivers from ST from Tilen Majerle

Library defines. More...

Macros

#define MPU6050_I2C   I2C1
 
#define MPU6050_I2C_PINSPACK   TM_I2C_PinsPack_1
 
#define MPU6050_I2C_CLOCK   400000
 
#define TM_MPU6050_DataRate_8KHz   0
 Data rates predefined constants. More...
 
#define TM_MPU6050_DataRate_4KHz   1
 
#define TM_MPU6050_DataRate_2KHz   3
 
#define TM_MPU6050_DataRate_1KHz   7
 
#define TM_MPU6050_DataRate_500Hz   15
 
#define TM_MPU6050_DataRate_250Hz   31
 
#define TM_MPU6050_DataRate_125Hz   63
 
#define TM_MPU6050_DataRate_100Hz   79
 

Detailed Description

Library defines.

Macro Definition Documentation

#define MPU6050_I2C   I2C1

Default I2C

#define MPU6050_I2C_CLOCK   400000

Default I2C clock speed

#define MPU6050_I2C_PINSPACK   TM_I2C_PinsPack_1

Default I2C pinspack. Check TM_I2C for more information

#define TM_MPU6050_DataRate_100Hz   79

Sample rate set to 100 Hz

#define TM_MPU6050_DataRate_125Hz   63

Sample rate set to 125 Hz

#define TM_MPU6050_DataRate_1KHz   7

Sample rate set to 1 kHz

#define TM_MPU6050_DataRate_250Hz   31

Sample rate set to 250 Hz

#define TM_MPU6050_DataRate_2KHz   3

Sample rate set to 2 kHz

#define TM_MPU6050_DataRate_4KHz   1

Sample rate set to 4 kHz

#define TM_MPU6050_DataRate_500Hz   15

Sample rate set to 500 Hz

#define TM_MPU6050_DataRate_8KHz   0

Data rates predefined constants.

Sample rate set to 8 kHz