TLx4966 C library Hardware Abstraction Layer.
Definition TLx4966-ino.h:21
ArduinoHwPlatf
Arduino hardware platforms.
Definition TLx4966-ino.h:30
@ Shield_2Go
Definition TLx4966-ino.h:31
TLx4966_Error_t enable()
Enables the sensor.
Definition TLx4966-ino.cpp:131
TLx4966_Error_t disable()
Disables the sensor.
Definition TLx4966-ino.cpp:145
TLx4966_Error_t begin()
Initilializes the hardware interfaces.
Definition TLx4966-ino.cpp:107
double readSpeed()
Gets the rotation speed.
Definition TLx4966-ino.cpp:186
void measureLoop()
Updates the rotation direction and speed.
Definition TLx4966-ino.cpp:155
~TLx4966()
Double hall switch instance destructor Disables the switch
Definition TLx4966-ino.cpp:117
TLx4966_Dir_t readDirection()
Gets the rotation direction The direction definition (clock-wise/anticlock-wise, left/rigth,...
Definition TLx4966-ino.cpp:177
TLx4966_Status_t readStatus()
Reads the sensor status.
Definition TLx4966-ino.cpp:164
TLx4966_Status_t
Definition TLx4966-types.h:45
TLx4966_SpeedUnit_t
Definition TLx4966-types.h:92
TLx4966_PowerMode_t
Definition TLx4966-types.h:69
TLx4966_MeasMode_t
Definition TLx4966-types.h:58
TLx4966_Dir_t
Definition TLx4966-types.h:80
TLx4966_Error_t
Definition TLx4966-types.h:33
@ TLx4966_SPEED_RPM
Definition TLx4966-types.h:95
@ TLx4966_MEASMODE_POLLING
Definition TLx4966-types.h:60
Instance handle.
Definition TLx4966.h:18
Hardware interface.
Definition TLx4966-hal.h:118