|
STAR
Cal STAR — firmware, DAQ server, and engine design
|
Go to the source code of this file.
Functions | |
| static SPISettings | ismSpiSettings (ISM330_SPI_HZ, MSBFIRST, SPI_MODE3) |
| void IRAM_ATTR | onInt1Isr () |
| void | setup () |
| void | loop () |
Variables | |
| static ISM330DH_SPI | imu |
| static sfe_ism_data_t | accelData {} |
| static sfe_ism_data_t | gyroData {} |
| static volatile bool | g_intFlag = false |
|
static |
References ISM330_SPI_HZ.
Referenced by setup().
| void loop | ( | ) |
Definition at line 115 of file main.cpp.
References accelData, sfe_ism330_wake_event_t::axisX, sfe_ism330_wake_event_t::axisY, sfe_ism330_wake_event_t::axisZ, delay(), g_intFlag, gyroData, imu, and Serial.
| void IRAM_ATTR onInt1Isr | ( | ) |
| void setup | ( | void | ) |
Definition at line 18 of file main.cpp.
References delay(), delayMicroseconds(), digitalWrite(), HIGH, imu, INPUT, ISM330_ACCEL_FS, ISM330_ACCEL_FS_G, ISM330_CS_PIN, ISM330_INT1_PIN, ISM330_MISO_PIN, ISM330_MOSI_PIN, ISM330_ROUTE_DRDY_TO_INT1, ISM330_SCLK_PIN, ISM330_WAKEUP_DUR, ISM330_WAKEUP_THRESHOLD_G, ISM330_WKUP_THS, ISM_500dps, ISM_GY_ODR_104Hz, ISM_LP_ODR_DIV_100, ISM_MEDIUM, ISM_XL_ODR_104Hz, ismSpiSettings(), LOW, onInt1Isr(), OUTPUT, pinMode(), and Serial.
|
static |
Definition at line 9 of file main.cpp.
Referenced by QwDevISM330DHCX::getAccel(), QwDevISM330DHCX::getAccelCal(), QwDevISM330DHCX::getRawAccel(), and loop().
|
static |
Definition at line 12 of file main.cpp.
Referenced by loop(), and onInt1Isr().
|
static |
Definition at line 10 of file main.cpp.
Referenced by QwDevISM330DHCX::getGyro(), QwDevISM330DHCX::getGyroCal(), QwDevISM330DHCX::getRawGyro(), and loop().
|
static |
Definition at line 7 of file main.cpp.
Referenced by check_sensor_rates(), loop(), and setup().