VSF Documented
|
#include "service/vsf_service_cfg.h"
#include "hal/arch/vsf_arch.h"
#include "./vsf_distbus.h"
#include "service/trace/vsf_trace.h"
Macros | |
#define | __VSF_DISTBUS_CLASS_IMPLEMENT |
#define | __vsf_distbus_trace_msg(__msg, __dir) |
#define | __vsf_distbus_trace_msg_rx(__msg) __vsf_distbus_trace_msg((__msg), "rx") |
#define | __vsf_distbus_trace_msg_tx(__msg) __vsf_distbus_trace_msg((__msg), "tx") |
Functions | |
vsf_distbus_msg_t * | vsf_distbus_alloc_msg (vsf_distbus_t *distbus, uint_fast32_t size, uint8_t **buf) |
void | vsf_distbus_free_msg (vsf_distbus_t *distbus, vsf_distbus_msg_t *msg) |
void | vsf_distbus_send_msg (vsf_distbus_t *distbus, vsf_distbus_service_t *service, vsf_distbus_msg_t *msg) |
vsf_err_t | vsf_distbus_init (vsf_distbus_t *distbus) |
vsf_err_t | vsf_distbus_start (vsf_distbus_t *distbus) |
void | vsf_distbus_register_service (vsf_distbus_t *distbus, vsf_distbus_service_t *service) |
#define __VSF_DISTBUS_CLASS_IMPLEMENT |
#define __vsf_distbus_trace_msg | ( | __msg, | |
__dir | |||
) |
#define __vsf_distbus_trace_msg_rx | ( | __msg | ) | __vsf_distbus_trace_msg((__msg), "rx") |
#define __vsf_distbus_trace_msg_tx | ( | __msg | ) | __vsf_distbus_trace_msg((__msg), "tx") |
vsf_distbus_msg_t * vsf_distbus_alloc_msg | ( | vsf_distbus_t * | distbus, |
uint_fast32_t | size, | ||
uint8_t ** | buf | ||
) |
void vsf_distbus_free_msg | ( | vsf_distbus_t * | distbus, |
vsf_distbus_msg_t * | msg | ||
) |
void vsf_distbus_send_msg | ( | vsf_distbus_t * | distbus, |
vsf_distbus_service_t * | service, | ||
vsf_distbus_msg_t * | msg | ||
) |
vsf_err_t vsf_distbus_init | ( | vsf_distbus_t * | distbus | ) |
vsf_err_t vsf_distbus_start | ( | vsf_distbus_t * | distbus | ) |
void vsf_distbus_register_service | ( | vsf_distbus_t * | distbus, |
vsf_distbus_service_t * | service | ||
) |