sl_si7210_configure Struct Reference

Structure to configure the Si7210 sensor.

#include <sl_si7210.h>

Data Fields

float threshold
 Decision point for magnetic field high or low in mT

 
float hysteresis
 Hysteresis in mT

 
uint8_t polarity
 Magnetic field polarity setting

 
bool output_invert
 The polarity of the output pin

 

Structure to configure the Si7210 sensor.

Field Documentation

◆ threshold

float sl_si7210_configure::threshold

Decision point for magnetic field high or low in mT

◆ hysteresis

float sl_si7210_configure::hysteresis

Hysteresis in mT

◆ polarity

uint8_t sl_si7210_configure::polarity

Magnetic field polarity setting

◆ output_invert

bool sl_si7210_configure::output_invert

The polarity of the output pin