|
VSF Documented
|
#include "service/vsf_service_cfg.h"#include "hal/vsf_hal.h"#include "kernel/vsf_kernel.h"#include "./vsf_trace.h"#include <stdio.h>Data Structures | |
| struct | vsf_trace_t |
Macros | |
| #define | __VSF_TRACE_CLASS_IMPLEMENT |
| #define | VSF_TRACE_CFG_BUFSIZE 1024 |
| todo: remove this dependency | |
| #define | VSF_TRACE_CFG_COLOR_EN ENABLED |
| #define | VSF_TRACE_LINEBUF_SIZE 128 |
| #define | VSF_TRACE_CFG_PROTECT_LEVEL interrupt |
| #define | vsf_trace_protect vsf_protect(VSF_TRACE_CFG_PROTECT_LEVEL) |
| #define | vsf_trace_unprotect vsf_unprotect(VSF_TRACE_CFG_PROTECT_LEVEL) |
Typedefs | |
| typedef struct vsf_trace_t | vsf_trace_t |
Variables | |
| __VSF_VPLT_DECORATOR__ vsf_trace_vplt_t | vsf_trace_vplt |
| #define __VSF_TRACE_CLASS_IMPLEMENT |
| #define VSF_TRACE_CFG_BUFSIZE 1024 |
todo: remove this dependency
| #define VSF_TRACE_CFG_COLOR_EN ENABLED |
| #define VSF_TRACE_LINEBUF_SIZE 128 |
| #define VSF_TRACE_CFG_PROTECT_LEVEL interrupt |
| #define vsf_trace_protect vsf_protect(VSF_TRACE_CFG_PROTECT_LEVEL) |
| #define vsf_trace_unprotect vsf_unprotect(VSF_TRACE_CFG_PROTECT_LEVEL) |
| typedef struct vsf_trace_t vsf_trace_t |
| uint_fast32_t __vsf_trace_output | ( | const char * | buff, |
| uint_fast32_t | size | ||
| ) |
| void __vsf_trace_init | ( | vsf_stream_t * | stream | ) |
| void vsf_trace_fini | ( | void | ) |
| void vsf_trace_output_string | ( | const char * | str | ) |
| void vsf_trace_string | ( | vsf_trace_level_t | level, |
| const char * | str | ||
| ) |
| void __vsf_trace_buffer | ( | vsf_trace_level_t | level, |
| void * | buffer, | ||
| uint_fast16_t | len, | ||
| uint_fast32_t | flag | ||
| ) |
| void vsf_trace_arg | ( | vsf_trace_level_t | level, |
| const char * | format, | ||
| va_list | arg | ||
| ) |
| void vsf_trace | ( | vsf_trace_level_t | level, |
| const char * | format, | ||
| ... | |||
| ) |
| void vsf_trace_dump_stack | ( | void | ) |
| void vsf_trace_assert | ( | const char * | expr, |
| const char * | file, | ||
| int | line, | ||
| const char * | func | ||
| ) |
system macros
| void vsf_bgtrace_clear | ( | vsf_bgtrace_t * | bgtrace | ) |
| uint32_t vsf_bgtrace_total | ( | vsf_bgtrace_t * | bgtrace | ) |
| void vsf_bgtrace_append | ( | vsf_bgtrace_t * | bgtrace, |
| void * | element | ||
| ) |
| void vsf_bgtrace_print | ( | vsf_bgtrace_t * | bgtrace, |
| int | cnt | ||
| ) |
| void vsf_stdout_init | ( | void | ) |
| void vsf_stderr_init | ( | void | ) |
| void vsf_stdin_init | ( | void | ) |
| int vsf_stdout_putchar | ( | char | ch | ) |
| int vsf_stderr_putchar | ( | char | ch | ) |
| __VSF_VPLT_DECORATOR__ vsf_trace_vplt_t vsf_trace_vplt |