Struct sh2_SensorConfig

Struct Documentation

struct sh2_SensorConfig

Sensor Configuration settings.

See the SH-2 Reference Manual for more detail.

Public Members

bool changeSensitivityEnabled

Enable reports on change.

bool changeSensitivityRelative

Change reports relative (vs absolute)

bool wakeupEnabled

Wake host on event.

bool alwaysOnEnabled

Sensor remains on in sleep state.

uint16_t changeSensitivity

Report-on-change threshold.

uint32_t reportInterval_us

[uS] Report interval

uint32_t batchInterval_us

[uS] Batch interval

uint32_t sensorSpecific

See SH-2 Reference Manual for details.