#include <STAR_ISM330DH.h>
#include <cstdint>
Go to the source code of this file.
◆ ISM330_ACCEL_FS
◆ ISM330_ACCEL_FS_G
| #define ISM330_ACCEL_FS_G 16.0f |
◆ ISM330_CS_PIN
◆ ISM330_INT1_PIN
| #define ISM330_INT1_PIN 21 |
◆ ISM330_INT2_PIN
| #define ISM330_INT2_PIN 22 |
◆ ISM330_MISO_PIN
| #define ISM330_MISO_PIN 16 |
◆ ISM330_MOSI_PIN
| #define ISM330_MOSI_PIN 3 |
◆ ISM330_ROUTE_DRDY_TO_INT1
| #define ISM330_ROUTE_DRDY_TO_INT1 false |
◆ ISM330_SCLK_PIN
| #define ISM330_SCLK_PIN 2 |
◆ ISM330_SPI_HZ
| #define ISM330_SPI_HZ 3000000 |
◆ ISM330_WAKEUP_DUR
| #define ISM330_WAKEUP_DUR 2 |
◆ ISM330_WAKEUP_THRESHOLD_G
| #define ISM330_WAKEUP_THRESHOLD_G 2.5f |
◆ ISM330_WKUP_THS
Initial value:= []() -> uint8_t {
uint8_t v = (raw > 63.0f) ? 63 : static_cast<uint8_t>(raw);
return (v < 1) ? 1 : v;
}()
#define ISM330_ACCEL_FS_G
#define ISM330_WAKEUP_THRESHOLD_G
Definition at line 34 of file main.h.