StateOS
Loading...
Searching...
No Matches
Clock

system time More...

Functions

cnt_t sys_time (void)
 return current value of system counter
cnt_t sys_timeISR (void)
 ISR alias of sys_time().

Detailed Description

system time

Function Documentation

◆ sys_time()

cnt_t sys_time ( void )

return current value of system counter

Returns
current value of system counter
Note
can be used in both thread and handler mode (for blockable interrupts)
use ISR alias in blockable interrupt handlers