ICM20948 API Reference

API Return Values

ICM20948_OK

No error generated by API call.

ICM20948_I2C_ERR

I2C communication error occurred during API execution.

ICM20948_DEV_NOT_FOUND

Device not found on bus error.

General Functions

uint8_t ICM20948_ReadWhoAmI(uint8_t *who_am_i)

Read WHO AM I Value from device.

Parameters

who_am_i[out] content of the WHO AM I register.

Returns