Multi Half-Bridge 4.0.0
Library of Infineon's Multi Half-Bridge IC controllers family
 
Loading...
Searching...
No Matches
timer.hpp
Go to the documentation of this file.
1
9#ifndef TIMER_HPP_
10#define TIMER_HPP_
11
12#include <stdint.h>
13#include "tle94112-types.hpp"
14
15namespace tle94112
16{
17
23class Timer
24{
25 public:
26
33 virtual Error_t init () = 0;
34
41 virtual Error_t deinit () = 0;
42
49 virtual Error_t start () = 0;
50
59
66 virtual Error_t stop () = 0;
67
76
85};
86
89}
90
91#endif
virtual Error_t deinit()=0
Deinitialize the timer.
virtual Error_t delayMilli(uint32_t timeout)=0
Introduces a delay during the specified time.
virtual Error_t init()=0
Initialize the timer.
virtual Error_t stop()=0
Stops the timer.
virtual Error_t elapsed(uint32_t &elapsed)=0
Elapsed time since the timer was started.
virtual Error_t start()=0
Starts the timer.
virtual Error_t delayMicro(uint32_t timeout)=0
Introduces a delay during the specified time.
Definition timer.hpp:24
Error_t
Definition tle94112-types.hpp:26
Definition tle94112-types.hpp:14
TLE94112 Types.