ICM42670 Portable Driver
Public API reference for the ICM-42670-P IMU driver
Loading...
Searching...
No Matches
ICM42670_internal.h File Reference

Private helpers shared by the portable ICM-42670-P driver modules. More...

#include "ICM42670_driver.h"
#include <stdint.h>
Include dependency graph for ICM42670_internal.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

ICM42670_Status_t ICM42670_ValidateConfig (const ICM42670_Config *config)
 
ICM42670_Status_t ICM42670_ValidateMregConfig (const ICM42670_Config *config)
 
ICM42670_Status_t ICM42670_ReadReg (const ICM42670_Config *config, uint8_t reg_addr, uint8_t *data, uint16_t len)
 
ICM42670_Status_t ICM42670_WriteReg (const ICM42670_Config *config, uint8_t reg_addr, const uint8_t *data, uint16_t len)
 
ICM42670_Status_t ICM42670_WriteReg8 (const ICM42670_Config *config, uint8_t reg_addr, uint8_t value)
 
ICM42670_Status_t ICM42670_UpdateRegBits (const ICM42670_Config *config, uint8_t reg_addr, uint8_t mask, uint8_t field_value)
 
ICM42670_Status_t ICM42670_WaitForMclk (const ICM42670_Config *config)
 
ICM42670_Status_t ICM42670_ReadMreg1 (const ICM42670_Config *config, uint8_t reg_addr, uint8_t *value)
 
ICM42670_Status_t ICM42670_WriteMreg1 (const ICM42670_Config *config, uint8_t reg_addr, uint8_t value)
 
ICM42670_Status_t ICM42670_UpdateMreg1Bits (const ICM42670_Config *config, uint8_t reg_addr, uint8_t mask, uint8_t field_value)
 
int16_t ICM42670_CombineBytes (uint8_t msb, uint8_t lsb)
 

Detailed Description

Private helpers shared by the portable ICM-42670-P driver modules.