StateOS
Loading...
Searching...
No Matches
System

initialization of the system, system suspend mode More...

Functions

void sys_init (void)
 initialize system timer and enable services
void sys_suspend (void)
 enter to system suspend mode (executes only current task)
void sys_resume (void)
 exit from system suspend mode

Detailed Description

initialization of the system, system suspend mode

Function Documentation

◆ sys_init()

void sys_init ( void )

initialize system timer and enable services

Note
function sys_init should be invoked as a static constructor otherwise, call sys_init as the first instruction in function main

◆ sys_suspend()

void sys_suspend ( void )

enter to system suspend mode (executes only current task)

Note
use only in thread mode

◆ sys_resume()

void sys_resume ( void )

exit from system suspend mode

Note
use only in thread mode