| ICM42370P eMD Driver 2.2.7 Documentation of the eMD Driver API

- Main Page
- Related Pages
- Modules
- Classes
- Files

- File List
- File Members

Classes | Macros | Typedefs | Functions
inv_imu_transport.h File Reference
Transport
`#include <stdint.h>`
`#include "imu/inv_imu_defs.h"`
Include dependency graph for inv_imu_transport.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

## Classes
struct | inv_imu_serif
| Serial interface definition. More...
struct | inv_imu_transport
| Transport interface definition. More...
struct | inv_imu_transport::register_cache
| Contains mirrored values of some IP registers. More...

## Macros
#define | UI_I2C 0
| identifies I2C interface. More...
#define | UI_SPI4 1
| identifies 4-wire SPI interface. More...
#define | UI_SPI3 2
| identifies 3-wire SPI interface. More...

## Typedefs
typedef uint32_t | SERIAL_IF_TYPE_t
| Serif type definition. More...

## Functions
int | inv_imu_init_transport (struct inv_imu_device *s)
| Init cache variable. More...
int | inv_imu_read_reg (struct inv_imu_device *s, uint32_t reg, uint32_t len, uint8_t *buf)
| Reads data from a register on IMU. More...
int | inv_imu_write_reg (struct inv_imu_device *s, uint32_t reg, uint32_t len, const uint8_t *buf)
| Writes data to a register on IMU. More...
int | inv_imu_switch_on_mclk (struct inv_imu_device *s)
| Enable MCLK. More...
int | inv_imu_switch_off_mclk (struct inv_imu_device *s)
| Disable MCLK. More...