__HALL_Config Struct ReferenceBSP > Thunderboard Sense BSP > HALL - Hall Effect Sensor

Structure to configure the Hall effect sensor device.

Definition at line 54 of file hall.h .

#include < hall.h >

Data Fields

float hysteresis
bool outputInvert
uint8_t polarity
float threshold

Field Documentation

float __HALL_Config::hysteresis

Hysteresis in mT

Definition at line 56 of file hall.h .

Referenced by HALL_configure() .

bool __HALL_Config::outputInvert

The polarity of the output pin

Definition at line 58 of file hall.h .

Referenced by HALL_configure() .

uint8_t __HALL_Config::polarity

Magnetic field polarity setting

Definition at line 57 of file hall.h .

Referenced by HALL_configure() .

float __HALL_Config::threshold

Decision point for magnetic field high or low in mT

Definition at line 55 of file hall.h .

Referenced by HALL_configure() .


The documentation for this struct was generated from the following file:
  • C:/repos/super_h1/hardware/kit/common/bsp/thunderboard/ hall.h