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


hysteresis#

float sl_si7210_configure_t::hysteresis

Hysteresis in mT


polarity#

uint8_t sl_si7210_configure_t::polarity

Magnetic field polarity setting


output_invert#

bool sl_si7210_configure_t::output_invert

The polarity of the output pin