Structure to configure the Si7210 sensor.

Public Attributes#

float

Decision point for magnetic field high or low in mT

float

Hysteresis in mT

uint8_t

Magnetic field polarity setting

bool

The polarity of the output pin

Public Attribute Documentation#

threshold#

float sl_si7210_configure_t::threshold

Decision point for magnetic field high or low in mT


Definition at line 78 of file hardware/driver/si7210/inc/sl_si7210.h

hysteresis#

float sl_si7210_configure_t::hysteresis

Hysteresis in mT


Definition at line 79 of file hardware/driver/si7210/inc/sl_si7210.h

polarity#

uint8_t sl_si7210_configure_t::polarity

Magnetic field polarity setting


Definition at line 80 of file hardware/driver/si7210/inc/sl_si7210.h

output_invert#

bool sl_si7210_configure_t::output_invert

The polarity of the output pin


Definition at line 81 of file hardware/driver/si7210/inc/sl_si7210.h