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-platf-ard.c File Reference

TLx4966 Hardware Platform Arduino. More...

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 const int speedGPIO = 4
 
STATIC const int dirGPIO = 9
 
STATIC uint32_t curTime = 0
 
TLx4966_GPIO_t speed
 
TLx4966_GPIO_t direction
 
TLx4966_Timer_t TLx4966timer
 
TLx4966_HwIntf_t TLx4966_Shield2Go_poll
 
TLx4966_HwIntf_t TLx4966_Shield2Go_interrupt
 

Detailed Description

TLx4966 Hardware Platform Arduino.

         The hardware interfaces for the specific Arduino hardware platforms.
         As Arduino platform is considered any interface implementation using the 
         Arduino Functions set (https://www.arduino.cc/reference/en/).  
         Platforms:
         - Shield2Go (polling mode)
Date
April 2019