#include <TLx4966-ino.h>
|
| TLx4966 (uint8_t polesPair, TLx4966_SpeedUnit_t speedUnit=TLx4966_SPEED_RPM, ArduinoHwPlatf ardHwPlatf=Shield_2Go, TLx4966_MeasMode_t measMode=TLx4966_MEASMODE_POLLING) |
| Double hall switch instance constructor Mandatory hw interfaces: dir, speed, timer. Optional hw interfaces: power (only for switch mode platform). More...
|
|
| TLx4966 (uint8_t polesPair, TLx4966_PowerMode_t powMode, TLx4966_MeasMode_t measMode, TLx4966_SpeedUnit_t speedUnit, TLx4966_HwIntf_t *hwIntf) |
| Double hall switch instance constructor Mandatory hw interfaces: dir, speed, timer. Optional hw interfaces: power (only for switch mode platform). More...
|
|
| ~TLx4966 () |
| Double hall switch instance destructor. More...
|
|
TLx4966_Error_t | begin () |
| Initilializes the hardware interfaces. More...
|
|
TLx4966_Error_t | enable () |
| Enables the sensor. More...
|
|
TLx4966_Error_t | disable () |
| Disables the sensor. More...
|
|
void | measureLoop () |
| Updates the rotation direction and speed. More...
|
|
TLx4966_Status_t | readStatus () |
| Reads the sensor status. More...
|
|
TLx4966_Dir_t | readDirection () |
| Gets the rotation direction The direction definition (clock-wise/anticlock-wise, left/rigth, positive/negative...) is dependant of the mechanical configuration of the sensor with repect to the rotor. The library just provide voltage-low/voltage-high directions. More...
|
|
double | readSpeed () |
| Gets the rotation speed. More...
|
|
◆ ArduinoHwPlatf
Arduino hardware platforms.
Enumerator |
---|
Shield_2Go | Shield 2Go
|
The documentation for this class was generated from the following files:
- C:/Users/Enriquez/Documents/Arduino/libraries/tlx4966-direction-speed-sensor/src/TLx4966-ino.h
- C:/Users/Enriquez/Documents/Arduino/libraries/tlx4966-direction-speed-sensor/src/TLx4966-ino.cpp