TLx4966 Direction Speed Sensor 1.1.1
C/C++ library of Infineons double Hall-effect direction and speed sensor TLx4966(K)/(G)/(L)/(V) family for magnetic sensing applications.
 
Loading...
Searching...
No Matches
Collaboration diagram for Data Types:

TLx4966 error codes

enum  TLx4966_Error_t { TLx4966_OK = 0 , TLx4966_INTF_ERROR = -1 , TLx4966_CONF_ERROR = -2 }
 

TLx4966 status

enum  TLx4966_Status_t { TLx4966_UNINITED = 0 , TLx4966_INITED = 1 , TLx4966_OFF = 2 , TLx4966_ON = 3 }
 

TLx4966 measuring modes

enum  TLx4966_MeasMode_t { TLx4966_MEASMODE_INTERRUPT = 1 , TLx4966_MEASMODE_POLLING = 2 }
 

TLx4966 power modes

enum  TLx4966_PowerMode_t { TLx4966_POWMODE_MAIN = 1 , TLx4966_POWMODE_SWITCH = 2 }
 

TLx4966 direction

enum  TLx4966_Dir_t { TLx4966_DIR_UNDEF = -1 , TLx4966_DIR_LOW = 0 , TLx4966_DIR_HIGH = 1 }
 

TLx4966 speed units

enum  TLx4966_SpeedUnit_t { TLx4966_SPEED_HERTZ = 0 , TLx4966_SPEED_RADS = 1 , TLx4966_SPEED_RPM = 2 }
 

Detailed Description

Enumeration Type Documentation

◆ TLx4966_Error_t

Enumerator
TLx4966_OK 

No error

TLx4966_INTF_ERROR 

Interface error

TLx4966_CONF_ERROR 

Configuration error

◆ TLx4966_Status_t

Enumerator
TLx4966_UNINITED 

Not initialized

TLx4966_INITED 

Initialized (external interfaces initialized)

TLx4966_OFF 

Power off

TLx4966_ON 

Power on

◆ TLx4966_MeasMode_t

Enumerator
TLx4966_MEASMODE_INTERRUPT 

Interruption mode

TLx4966_MEASMODE_POLLING 

Polling mode

◆ TLx4966_PowerMode_t

Enumerator
TLx4966_POWMODE_MAIN 

Same as MCU VDD supply signal

TLx4966_POWMODE_SWITCH 

Switched controlled power from MCU

◆ TLx4966_Dir_t

Enumerator
TLx4966_DIR_UNDEF 

Direction Q1 output default high. Undefined.

TLx4966_DIR_LOW 

Direction Q1 output low

TLx4966_DIR_HIGH 

Direction Q1 output high

◆ TLx4966_SpeedUnit_t

Enumerator
TLx4966_SPEED_HERTZ 

cps-Hertz

TLx4966_SPEED_RADS 

rad/s

TLx4966_SPEED_RPM 

RPM