|
int32_t | PIOS_MPU_I2C_Init (pios_mpu_dev_t *dev, pios_i2c_t i2c_id, const struct pios_mpu_cfg *cfg) |
| Initialize the MPU-xxxx 6/9-axis sensor on I2C. More...
|
|
int32_t | PIOS_MPU_SPI_Init (pios_mpu_dev_t *dev, pios_spi_t spi_id, uint32_t slave_num, const struct pios_mpu_cfg *cfg) |
| Initialize the MPU-xxxx 6/9-axis sensor on SPI. More...
|
|
int32_t | PIOS_MPU_Test () |
|
int32_t | PIOS_MPU_SetGyroRange (enum pios_mpu_gyro_range range) |
|
int32_t | PIOS_MPU_SetAccelRange (enum pios_mpu_accel_range range) |
|
int32_t | PIOS_MPU_SetSampleRate (uint16_t samplerate_hz) |
|
void | PIOS_MPU_SetGyroBandwidth (uint16_t bandwidth) |
| Sets the bandwidth desired from the gyro. The driver will automatically select the lowest bandwidth low-pass filter capable of providing the desired bandwidth. More...
|
|
void | PIOS_MPU_SetAccelBandwidth (uint16_t bandwidth) |
| Sets the bandwidth desired from the accelerometer. The driver will automatically select the lowest bandwidth low-pass filter capable of providing the desired bandwidth. More...
|
|
bool | PIOS_MPU_IRQHandler (void) |
| The IMU interrupt handler. Fetches new data from the IMU. More...
|
|
enum pios_mpu_type | PIOS_MPU_GetType (void) |
| Which type of MPU was detected? More...
|
|