DUNE: Uniform Navigational Environment
2019.02.1
|
Routines to control timed delays.
Static Public Member Functions | |
static void | waitNsec (uint64_t nsec) |
static void | waitUsec (uint64_t usec) |
static void | waitMsec (uint64_t msec) |
static void | wait (double s) |
|
inlinestatic |
Suspends the execution of the calling thread for the specified amount of time (in seconds).
s | the amount of time to suspend. |
References waitNsec().
Referenced by DUNE::Hardware::UCTK::Bootloader::Bootloader(), DUNE::Hardware::LUCL::Protocol::consumeData(), DUNE::Tasks::Task::deactivationFailed(), DUNE::Hardware::BasicModem::initialize(), DUNE::Hardware::HayesModem::initialize(), DUNE::Tasks::Task::initializeResources(), DUNE::Tasks::Periodic::Periodic(), DUNE::Hardware::SerialPort::sendBreak(), and DUNE::Hardware::UCTK::Bootloader::~Bootloader().
|
inlinestatic |
Suspends the execution of the calling thread for the specified amount of time (in millisecond).
msec | the amount of milliseconds to suspend. |
References waitNsec().
|
static |
Suspends the execution of the calling thread for the specified amount of time (in nanosecond).
nsec | the amount of nanoseconds to suspend. |
Referenced by wait(), waitMsec(), and waitUsec().
|
inlinestatic |
Suspends the execution of the calling thread for the specified amount of time (in microsecond).
usec | the amount of microseconds to suspend. |
References waitNsec().