Skyward boardcore
Loading...
Searching...
No Matches
Boardcore::Kernel Namespace Reference

Namespaces

namespace  Thread
 

Functions

long long getOldTick ()
 Get the current time in milliseconds.
 
long long IRQgetOldTick ()
 Get the current time in milliseconds.
 

Function Documentation

◆ getOldTick()

long long Boardcore::Kernel::getOldTick ( )
inline

Get the current time in milliseconds.

Calls miosix::getTime() and converts the result to milliseconds. This function is not safe to call from an IRQ context.

Deprecated
Use miosix::getTime() instead and migrate to using nanoseconds.

Definition at line 43 of file KernelTime.h.

◆ IRQgetOldTick()

long long Boardcore::Kernel::IRQgetOldTick ( )
inline

Get the current time in milliseconds.

Calls miosix::IRQgetTime() and converts the result to milliseconds. This function is safe to call from an IRQ context.

Deprecated
Use miosix::getTime() instead and migrate to using nanoseconds.

Definition at line 53 of file KernelTime.h.