11#include "stm32f4xx_hal.h"
23 Hall(ADC_HandleTypeDef* hadc);
38 static const uint16_t offsetTable[16384];
40 ADC_HandleTypeDef* hadc;
Hall(ADC_HandleTypeDef *hadc)
Constructs a Hall sensor interface.
Definition hall.cpp:10
int16_t getReading(uint16_t angle)
Returns offset-corrected ADC reading.
Definition hall.cpp:15