Skip to content

Latest commit

 

History

History
41 lines (35 loc) · 1.07 KB

sys_fn.md

File metadata and controls

41 lines (35 loc) · 1.07 KB

🏠 Main Page

sys_fn - System Functions

💾File: sys_fn.h
📦Library: lib2_sys


Functions:


💠Function: sys_init - Init system enviroment

void sys_init()

💠Function: sys_ledon - Turn led on (indicate is ok)

void sys_ledon()

💠Function: sys_logmsg - Print text to stdout

void sys_logmsg(const int8_t *msg)
  • ▶️Param: msg Message to write stdout

💠Function: sys_logmsg2 - Print texts to stdout

void sys_logmsg2(const int8_t *msg1, const int8_t *msg2)
  • ▶️Param: msg1 Message 1 to write stdout
  • ▶️Param: msg2 Message 2 to write stdout

💠Function: sys_outerr - Print error, blink led and wait until watchdog bites

void sys_outerr(const int8_t *msg)
  • ▶️Param: msg Message to write stdout

💠Function: sys_loop - System loop (give watchdog a bone)

void sys_loop()