Structure to configure the Hall effect sensor device.

Definition at line 67 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 69 of file hall.h .

Referenced by HALL_configure() .

bool __HALL_Config::outputInvert

The polarity of the output pin

Definition at line 71 of file hall.h .

Referenced by HALL_configure() .

uint8_t __HALL_Config::polarity

Magnetic field polarity setting

Definition at line 70 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 68 of file hall.h .

Referenced by HALL_configure() .


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