![]() |
LibDriver MPU9250
1.0.0
MPU9250 full function driver
|
mpu9250 extern driver modules More...
Functions | |
| uint8_t | mpu9250_set_reg (mpu9250_handle_t *handle, uint8_t reg, uint8_t *buf, uint16_t len) |
| set the chip register More... | |
| uint8_t | mpu9250_get_reg (mpu9250_handle_t *handle, uint8_t reg, uint8_t *buf, uint16_t len) |
| get the chip register More... | |
mpu9250 extern driver modules
| uint8_t mpu9250_get_reg | ( | mpu9250_handle_t * | handle, |
| uint8_t | reg, | ||
| uint8_t * | buf, | ||
| uint16_t | len | ||
| ) |
get the chip register
| [in] | *handle | points to an mpu9250 handle structure |
| [in] | reg | is the register address |
| [out] | *buf | points to a data buffer |
| [in] | len | is the data buffer length |
Definition at line 13061 of file driver_mpu9250.c.
| uint8_t mpu9250_set_reg | ( | mpu9250_handle_t * | handle, |
| uint8_t | reg, | ||
| uint8_t * | buf, | ||
| uint16_t | len | ||
| ) |
set the chip register
| [in] | *handle | points to an mpu9250 handle structure |
| [in] | reg | is the register address |
| [in] | *buf | points to a data buffer |
| [in] | len | is the data buffer length |
Definition at line 13034 of file driver_mpu9250.c.