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... | |
Timer hardware interface.
| TLx4966_Error_t(* TLx4966_Timer_t::delay) (uint32_t timeout) |
Introduces a delay during the specified time.
| [in] | timeout | Delay time in milliseconds |
| TLx4966_OK | if success |
| TLx4966_INTF_ERROR | if hardware interface error |
| uint32_t(* TLx4966_Timer_t::elapsed) (void) |
Elapsed time since the timer was started.
| TLx4966_Error_t(* TLx4966_Timer_t::init) (void) |
Initialiazes the timer.
| TLx4966_OK | if success |
| TLx4966_INTF_ERROR | if hardware interface error |
| void(* TLx4966_Timer_t::start) (void) |
Starts the timer.
| void(* TLx4966_Timer_t::stop) (void) |
Stops the timer.