C Microkernel Realtime eXecutive
Realtime Operating System for Cortex-M based microcontrollers
 
Loading...
Searching...
No Matches
timer.h
1
19#pragma once
20
21#include <arch/sysenter.h>
22
34__SYSCALL int usleep(unsigned microseconds);
35
45__SYSCALL int setitimer(unsigned microseconds);
46
__SYSCALL int usleep(unsigned microseconds)
Suspend thread execution for short time.
Definition timer.c:4
__SYSCALL int setitimer(unsigned microseconds)
Set interval timer to be called periodically.
Definition timer.c:10
#define __SYSCALL
Mark function as syscall entrypoint in userspace.
Definition sysenter.h:14