#include <hall-pal-timer.hpp>
Initializes the timer.
- Returns
- Timer error code
- Return values
-
| OK | if success |
| INIT_ERROR | if hardware interface error |
Implemented in TimerIno.
Deinitializes the timer.
- Returns
- Timer error code
- Return values
-
| OK | if success |
| INIT_ERROR | if hardware interface error |
Implemented in TimerIno.
Starts the timer.
- Returns
- Timer error code
- Return values
-
| OK | if success |
| INIT_ERROR | if hardware interface error |
Implemented in TimerIno.
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.
Stops the timer.
- Returns
- Timer error code
- Return values
-
| OK | if success |
| INIT_ERROR | if hardware interface error |
Implemented in TimerIno.
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: