#include <hall-pal-timer.hpp>
◆ init()
Initializes the timer.
- Returns
- Timer error code
- Return values
-
| OK | if success |
| INIT_ERROR | if hardware interface error |
Implemented in TimerIno.
◆ deinit()
Deinitializes the timer.
- Returns
- Timer error code
- Return values
-
| OK | if success |
| INIT_ERROR | if hardware interface error |
Implemented in TimerIno.
◆ start()
Starts the timer.
- Returns
- Timer error code
- Return values
-
| OK | if success |
| INIT_ERROR | if hardware interface error |
Implemented in TimerIno.
◆ elapsed()
Elapsed time since the timer was started.
- Parameters
-
| [out] | elapsed | Time in milliseconds |
- Returns
- Timer error code
- Return values
-
| OK | if success |
| INIT_ERROR | if hardware interface error
|
Implemented in TimerIno.
◆ stop()
Stops the timer.
- Returns
- Timer error code
- Return values
-
| OK | if success |
| INIT_ERROR | if hardware interface error |
Implemented in TimerIno.
◆ delay()
Introduces a delay during the specified time
- Parameters
-
| [in] | timeout | Delay time in milliseconds
|
- Returns
- Timer error code
- Return values
-
| OK | if success |
| INIT_ERROR | if hardware interface error |
Implemented in TimerIno.
The documentation for this class was generated from the following file: