#include <linux_hal_common.hpp>
|
virtual unsigned long | sleep (unsigned long micros) |
| Sleeps for a given amount of time in microsseconds. More...
|
|
Extends the OSTimer generic class to Linux
LinuxTimer::LinuxTimer |
( |
| ) |
|
|
inlineprotected |
virtual unsigned long LinuxTimer::sleep |
( |
unsigned long |
micros | ) |
|
|
virtual |
Sleeps for a given amount of time in microsseconds.
- Parameters
-
micros | Time in micro-seconds |
- Returns
- -1 if error, micros (input argument) if success
Implements OSTimer.
The documentation for this class was generated from the following file: