System API¶
-
group
System
-
Enums
-
enum
csp_color_t
¶ Values:
-
COLOR_RESET
= 0xF0¶
-
COLOR_BLACK
= 0x01¶
-
COLOR_RED
= 0x02¶
-
COLOR_GREEN
= 0x03¶
-
COLOR_YELLOW
= 0x04¶
-
COLOR_BLUE
= 0x05¶
-
COLOR_MAGENTA
= 0x06¶
-
COLOR_CYAN
= 0x07¶
-
COLOR_WHITE
= 0x08¶
-
COLOR_NORMAL
= 0x0F¶
-
COLOR_BOLD
= 0x10¶
-
COLOR_UNDERLINE
= 0x20¶
-
COLOR_BLINK
= 0x30¶
-
COLOR_HIDE
= 0x40¶
-
Functions
-
int
csp_sys_tasklist
(char *out)¶ Writes out a task list into a pre-allocate buffer, use csp_sys_tasklist_size to get sizeof buffer to allocate.
- Return
- Parameters
out
: pointer to output buffer
-
int
csp_sys_tasklist_size
(void)¶ - Return
- Size of tasklist buffer to allocate for the csp_sys_tasklist call
-
uint32_t
csp_sys_memfree
(void)¶
-
int
csp_sys_reboot
(void)¶
-
int
csp_sys_shutdown
(void)¶
-
void
csp_sys_set_color
(csp_color_t color)¶
-
enum