ICM20948 sensor instance. More...
#include <icm20948.h>
Data Fields | |
| spp_uint8_t | spiDevIdx |
| spp_uint32_t | intPin |
| spp_uint32_t | intIntrType |
| spp_uint32_t | intPull |
| void * | p_spi |
| ICM20948_Data_t | icmData |
| ICM20948_SensorData_t | lastData |
| spp_uint16_t | seq |
ICM20948 sensor instance.
One static instance (s_icmData) is kept inside icm20948.c; its hardware fields are set from K_ICM20948_* constants by SPP_SERVICES_ICM20948_init.
Definition at line 572 of file icm20948.h.
| spp_uint8_t ICM20948_t::spiDevIdx |
SPI device handle index.
Definition at line 575 of file icm20948.h.
Referenced by SPP_SERVICES_ICM20948_init().
| spp_uint32_t ICM20948_t::intPin |
GPIO interrupt pin number.
Definition at line 576 of file icm20948.h.
Referenced by SPP_SERVICES_ICM20948_init().
| spp_uint32_t ICM20948_t::intIntrType |
Interrupt edge type (1=rising).
Definition at line 577 of file icm20948.h.
Referenced by SPP_SERVICES_ICM20948_init().
| spp_uint32_t ICM20948_t::intPull |
Pull resistor (0=none, 1=up).
Definition at line 578 of file icm20948.h.
Referenced by SPP_SERVICES_ICM20948_init().
| void* ICM20948_t::p_spi |
SPI device handle.
Definition at line 581 of file icm20948.h.
Referenced by SPP_SERVICES_ICM20948_checkFifoData(), and SPP_SERVICES_ICM20948_init().
| ICM20948_Data_t ICM20948_t::icmData |
Interrupt flag and ISR context.
Definition at line 582 of file icm20948.h.
Referenced by SPP_SERVICES_ICM20948_acquireData(), and SPP_SERVICES_ICM20948_init().
| ICM20948_SensorData_t ICM20948_t::lastData |
Last parsed FIFO sample.
Definition at line 583 of file icm20948.h.
Referenced by SPP_SERVICES_ICM20948_acquireData(), and SPP_SERVICES_ICM20948_checkFifoData().
| spp_uint16_t ICM20948_t::seq |
Packet sequence counter.
Definition at line 584 of file icm20948.h.
Referenced by SPP_SERVICES_ICM20948_acquireData(), and SPP_SERVICES_ICM20948_init().