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.

Functions

STATIC TLx4966_Error_t GPIO_Speed_Init ()
 
STATIC TLx4966_GPIOLevel_t GPIO_Speed_Read ()
 
STATIC TLx4966_Error_t GPIO_Dir_Init (void)
 
STATIC TLx4966_GPIOLevel_t GPIO_Dir_Read ()
 
STATIC TLx4966_Error_t Timer_Init ()
 
STATIC void Timer_Start ()
 
STATIC uint32_t Timer_Elapsed ()
 
STATIC void Timer_Stop ()
 
STATIC TLx4966_Error_t Timer_Delay (uint32_t timeout)
 

Variables

STATIC uint32_t curTime = 0
 
TLx4966_GPIO_t speed
 
TLx4966_GPIO_t direction
 
TLx4966_Timer_t timer
 
TLx4966_HwIntf_t TLx4966_Shield2Go_poll
 
TLx4966_HwIntf_t TLx4966_Shield2Go_interrupt
 

Detailed Description

Function Documentation

◆ GPIO_Dir_Init()

STATIC TLx4966_Error_t GPIO_Dir_Init ( void  )

◆ GPIO_Dir_Read()

STATIC TLx4966_GPIOLevel_t GPIO_Dir_Read ( )

◆ GPIO_Speed_Init()

STATIC TLx4966_Error_t GPIO_Speed_Init ( )

◆ GPIO_Speed_Read()

STATIC TLx4966_GPIOLevel_t GPIO_Speed_Read ( )

◆ Timer_Delay()

STATIC TLx4966_Error_t Timer_Delay ( uint32_t  timeout)

◆ Timer_Elapsed()

STATIC uint32_t Timer_Elapsed ( )

◆ Timer_Init()

STATIC TLx4966_Error_t Timer_Init ( )

◆ Timer_Start()

STATIC void Timer_Start ( )

◆ Timer_Stop()

STATIC void Timer_Stop ( )

Variable Documentation

◆ curTime

STATIC uint32_t curTime = 0

< xmc2go + Shield2Go < xmc arduino and arduino uno boards < Custom Arduino Configuration Current time

◆ direction

TLx4966_GPIO_t direction
Initial value:
=
{
NULL,
NULL,
NULL,
NULL,
NULL
}
STATIC TLx4966_GPIOLevel_t GPIO_Dir_Read()
Definition: TLx4966-platf-ard.c:71
STATIC TLx4966_Error_t GPIO_Dir_Init(void)
Definition: TLx4966-platf-ard.c:65

◆ speed

Initial value:
=
{
NULL,
NULL,
NULL,
NULL,
NULL
}
STATIC TLx4966_Error_t GPIO_Speed_Init()
Definition: TLx4966-platf-ard.c:43
STATIC TLx4966_GPIOLevel_t GPIO_Speed_Read()
Definition: TLx4966-platf-ard.c:49

◆ timer

Initial value:
=
{
}
STATIC TLx4966_Error_t Timer_Init()
Definition: TLx4966-platf-ard.c:87
STATIC void Timer_Start()
Definition: TLx4966-platf-ard.c:92
STATIC uint32_t Timer_Elapsed()
Definition: TLx4966-platf-ard.c:97
STATIC TLx4966_Error_t Timer_Delay(uint32_t timeout)
Definition: TLx4966-platf-ard.c:107
STATIC void Timer_Stop()
Definition: TLx4966-platf-ard.c:102

◆ TLx4966_Shield2Go_interrupt

TLx4966_HwIntf_t TLx4966_Shield2Go_interrupt
Initial value:
=
{
NULL,
NULL,
NULL,
NULL
}

Not available.

◆ TLx4966_Shield2Go_poll

TLx4966_HwIntf_t TLx4966_Shield2Go_poll
Initial value:
=
{
NULL,
}
TLx4966_GPIO_t direction
Definition: TLx4966-platf-ard.c:76
TLx4966_Timer_t timer
Definition: TLx4966-platf-ard.c:113
TLx4966_GPIO_t speed
Definition: TLx4966-platf-ard.c:54

Not available. TODO