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.
TLx4966_Timer_t Struct Reference

Timer hardware interface. More...

#include <TLx4966-hal.h>

Public Attributes

TLx4966_Error_t(* init )(void)
 Initialiazes the timer. More...
 
void(* start )(void)
 Starts the timer. More...
 
uint32_t(* elapsed )(void)
 Elapsed time since the timer was started. More...
 
void(* stop )(void)
 Stops the timer. More...
 
TLx4966_Error_t(* delay )(uint32_t timeout)
 Introduces a delay during the specified time. More...
 

Detailed Description

Timer hardware interface.

Member Data Documentation

◆ delay

TLx4966_Error_t(* TLx4966_Timer_t::delay) (uint32_t timeout)

Introduces a delay during the specified time.

Parameters
[in]timeoutDelay time in milliseconds
Returns
TLx4966 error code
Return values
TLx4966_OKif success
TLx4966_INTF_ERRORif hardware interface error

◆ elapsed

uint32_t(* TLx4966_Timer_t::elapsed) (void)

Elapsed time since the timer was started.

Returns
Elapsed time in milliseconds

◆ init

TLx4966_Error_t(* TLx4966_Timer_t::init) (void)

Initialiazes the timer.

Returns
TLx4966 error code
Return values
TLx4966_OKif success
TLx4966_INTF_ERRORif hardware interface error

◆ start

void(* TLx4966_Timer_t::start) (void)

Starts the timer.

Returns
void

◆ stop

void(* TLx4966_Timer_t::stop) (void)

Stops the timer.

Returns
void

The documentation for this struct was generated from the following file: