System
Macros | |
#define | COLOR_MASK_COLOR 0x0F |
#define | COLOR_MASK_MODIFIER 0xF0 |
Enumerations | |
enum | csp_color_t { 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. More... | |
int | csp_sys_tasklist_size (void) |
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) |
Macro Definition Documentation
#define COLOR_MASK_COLOR 0x0F |
#define COLOR_MASK_MODIFIER 0xF0 |
Enumeration Type Documentation
enum csp_color_t |
Function Documentation
uint32_t csp_sys_memfree | ( | void | ) |
int csp_sys_reboot | ( | void | ) |
void csp_sys_set_color | ( | csp_color_t | color | ) |
int csp_sys_shutdown | ( | void | ) |
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.
- Parameters
-
out pointer to output buffer
- Returns
int csp_sys_tasklist_size | ( | void | ) |
- Returns
- Size of tasklist buffer to allocate for the csp_sys_tasklist call