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
TLx4966-types.h File Reference

TLx4966 Types. More...

Go to the source code of this file.

Classes

struct  TLx4966_Params_t
 

Typedefs

typedef void(* TLx4966_GPIO_IntCallback) (void *)
 Interrupt callback.
 

Enumerations

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 }
 
TLx4966 interruption events
enum  TLx4966_IntEvent_t { TLx4966_INT_RISING_EDGE = 0 , TLx4966_INT_FALLING_EDGE = 1 }
 
TLx4966 GPIO levels
enum  TLx4966_GPIOLevel_t { TLx4966_GPIO_LOW = 0 , TLx4966_GPIO_HIGH = 1 }
 

Detailed Description

TLx4966 Types.

Date
April 2019

Typedef Documentation

◆ TLx4966_GPIO_IntCallback

typedef void(* TLx4966_GPIO_IntCallback) (void *)

Interrupt callback.

Parameters
[in]void* Generic function argument
Returns
void

Enumeration Type Documentation

◆ TLx4966_IntEvent_t

Enumerator
TLx4966_INT_RISING_EDGE 

Rising edge interruption

TLx4966_INT_FALLING_EDGE 

Falling edge interruption

◆ TLx4966_GPIOLevel_t

Enumerator
TLx4966_GPIO_LOW 

GPIO voltage low. Positive logic

TLx4966_GPIO_HIGH 

GPIO voltage high. Positive logic