radar-bgt60 1.1.1
C++ library for the BGT60LTR11AIP - XENSIV™ 60 Ghz Radar from Infineon
 
Loading...
Searching...
No Matches
bgt60-pal-timer.hpp
Go to the documentation of this file.
1
10#ifndef BGT60_PAL_TIMER_HPP_
11#define BGT60_PAL_TIMER_HPP_
12
13#include <stdint.h>
14#include "bgt60-types.hpp"
15
16namespace bgt60
17{
18
24class Timer
25{
26 public:
27
33 virtual Error_t init () = 0;
34
40 virtual Error_t deinit () = 0;
41
47 virtual Error_t start () = 0;
48
56
64
70 virtual Error_t stop () = 0;
71
78 virtual Error_t delay (const uint32_t timeout) = 0;
79};
80
83}
84#endif
Radar BGT60 Types.
Error_t
Definition bgt60-types.hpp:26
virtual Error_t deinit()=0
Deinitialiazes the timer.
virtual Error_t start()=0
Starts the timer.
virtual Error_t elapsed(uint32_t &elapsed)=0
Elapsed time since the timer was started in milliseconds.
virtual Error_t stop()=0
Stops the timer.
virtual Error_t elapsedMicro(uint32_t &elapsed)=0
Elapsed time since the timer was started in microseconds.
virtual Error_t delay(const uint32_t timeout)=0
Introduces a delay during the specified time.
virtual Error_t init()=0
Initialiazes the timer.
Definition bgt60-pal-timer.hpp:25
Definition bgt60-types.hpp:14