10 #ifndef PAS_CO2_PAL_TIMER_HPP_ 11 #define PAS_CO2_PAL_TIMER_HPP_ virtual Error_t init()=0
Initialiazes the timer.
Definition: pas-co2-i2c.hpp:21
Error_t
Definition: pas-co2-types.hpp:24
virtual Error_t start()=0
Starts the timer.
virtual Error_t deinit()=0
Deinitialiazes the timer.
virtual Error_t stop()=0
Stops the timer.
Definition: pas-co2-pal-timer.hpp:24
virtual Error_t elapsedMicro(uint32_t &elapsed)=0
Elapsed time since the timer was started in microseconds.
virtual Error_t elapsed(uint32_t &elapsed)=0
Elapsed time since the timer was started in milliseconds.
virtual Error_t delay(const uint32_t timeout)=0
Introduces a delay during the specified time.