DevLab_ICM20948 1.0.0 Driver para sensor ICM-20948

Loading...
Searching...
No Matches
DevLab_ICM20948.h File Reference
`#include <Arduino.h>`
`#include <Wire.h>`
`#include <SPI.h>`
`#include "ICM20948_regs.h"`
`#include "7Semi_Interface.h"`
`#include "7Semi_I2C_Interface.h"`
`#include "7Semi_SPI_Interface.h"`
`#include "BusIO_7Semi.h"`
Include dependency graph for DevLab_ICM20948.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

## Classes
struct | ICM20948_IntPinConfig
struct | ICM20948_IntEnableConfig
struct | ICM20948_IntStatus
class | DevLab_ICM20948

## Enumerations
enum class | ICM20948_Op_Mode : uint8_t { MODE_POWER_DOWN = 0x00 , MODE_SINGLE_MEASUREMENT = 0x01 , MODE_CONTINUOUS_1 = 0x02 , MODE_CONTINUOUS_2 = 0x04 , MODE_CONTINUOUS_3 = 0x06 , MODE_CONTINUOUS_4 = 0x08 , MODE_SELF_TEST = 0x10 }
enum class | ICM20948_Clock_Source : uint8_t { INTERNAL_20MHZ_0 = 0x00 , AUTO_PLL_1 = 0x01 , AUTO_PLL_2 = 0x02 , AUTO_PLL_3 = 0x03 , AUTO_PLL_4 = 0x04 , AUTO_PLL_5 = 0x05 , INTERNAL_20MHZ_6 = 0x06 , STOP_CLOCK = 0x07 }
enum class | ICM20948_Gyro_DLPF : uint8_t { DLPF_196HZ = 0x00 , DLPF_151HZ = 0x01 , DLPF_119HZ = 0x02 , DLPF_51HZ = 0x03 , DLPF_23HZ = 0x04 , DLPF_11HZ = 0x05 , DLPF_5HZ = 0x06 , DLPF_361HZ = 0x07 }
enum class | ICM20948_Gyro_Average : uint8_t { AVG_1 = 0x00 , AVG_2 = 0x01 , AVG_4 = 0x02 , AVG_8 = 0x03 , AVG_16 = 0x04 , AVG_32 = 0x05 , AVG_64 = 0x06 , AVG_128 = 0x07 }
enum class | ICM20948_Gyro_FullScale : uint8_t { DPS_250 = 0x00 , DPS_500 = 0x01 , DPS_1000 = 0x02 , DPS_2000 = 0x03 }
enum class | ICM20948_Accel_FullScale : uint8_t { G_2 = 0x00 , G_4 = 0x01 , G_8 = 0x02 , G_16 = 0x03 }
enum class | ICM20948_Accel_Average : uint8_t { AVG_1_OR_4 = 0x00 , AVG_8 = 0x01 , AVG_16 = 0x02 , AVG_32 = 0x03 }
enum class | ICM20948_Accel_DLPFCFG : uint8_t { DLPF0_246HZ = 0x00 , DLPF_246HZ = 0x01 , DLPF_111HZ = 0x02 , DLPF_50HZ = 0x03 , DLPF_24HZ = 0x04 , DLPF_12HZ = 0x05 , DLPF_6HZ = 0x06 , DLPF_473HZ = 0x07 }

## Enumeration Type Documentation

## ◆ ICM20948_Accel_Average

enum class ICM20948_Accel_Average : uint8_t
| strong

Enumerator
AVG_1_OR_4 |
AVG_8 |
AVG_16 |
AVG_32 |

Definition at line 76 of file DevLab_ICM20948.h.

## ◆ ICM20948_Accel_DLPFCFG

enum class ICM20948_Accel_DLPFCFG : uint8_t
| strong

Enumerator
DLPF0_246HZ |
DLPF_246HZ |
DLPF_111HZ |
DLPF_50HZ |
DLPF_24HZ |
DLPF_12HZ |
DLPF_6HZ |
DLPF_473HZ |

Definition at line 84 of file DevLab_ICM20948.h.

## ◆ ICM20948_Accel_FullScale

enum class ICM20948_Accel_FullScale : uint8_t
| strong

Enumerator
G_2 |
G_4 |
G_8 |
G_16 |

Definition at line 68 of file DevLab_ICM20948.h.

## ◆ ICM20948_Clock_Source

enum class ICM20948_Clock_Source : uint8_t
| strong

Enumerator
INTERNAL_20MHZ_0 |
AUTO_PLL_1 |
AUTO_PLL_2 |
AUTO_PLL_3 |
AUTO_PLL_4 |
AUTO_PLL_5 |
INTERNAL_20MHZ_6 |
STOP_CLOCK |

Definition at line 25 of file DevLab_ICM20948.h.

## ◆ ICM20948_Gyro_Average

enum class ICM20948_Gyro_Average : uint8_t
| strong

Enumerator
AVG_1 |
AVG_2 |
AVG_4 |
AVG_8 |
AVG_16 |
AVG_32 |
AVG_64 |
AVG_128 |

Definition at line 49 of file DevLab_ICM20948.h.

## ◆ ICM20948_Gyro_DLPF

enum class ICM20948_Gyro_DLPF : uint8_t
| strong

Enumerator
DLPF_196HZ |
DLPF_151HZ |
DLPF_119HZ |
DLPF_51HZ |
DLPF_23HZ |
DLPF_11HZ |
DLPF_5HZ |
DLPF_361HZ |

Definition at line 37 of file DevLab_ICM20948.h.

## ◆ ICM20948_Gyro_FullScale

enum class ICM20948_Gyro_FullScale : uint8_t
| strong

Enumerator
DPS_250 |
DPS_500 |
DPS_1000 |
DPS_2000 |

Definition at line 60 of file DevLab_ICM20948.h.

## ◆ ICM20948_Op_Mode

enum class ICM20948_Op_Mode : uint8_t
| strong

Enumerator
MODE_POWER_DOWN |
MODE_SINGLE_MEASUREMENT |
MODE_CONTINUOUS_1 |
MODE_CONTINUOUS_2 |
MODE_CONTINUOUS_3 |
MODE_CONTINUOUS_4 |
MODE_SELF_TEST |

Definition at line 14 of file DevLab_ICM20948.h.