mirror of
https://github.com/Ai-Thinker-Open/Ai-Thinker-Open_RTL8710BX_ALIOS_SDK.git
synced 2026-08-27 17:01:31 +00:00
rel_1.6.0 init
This commit is contained in:
commit
27b3e2883d
19359 changed files with 8093121 additions and 0 deletions
42
Living_SDK/include/hal/trace.h
Normal file
42
Living_SDK/include/hal/trace.h
Normal file
|
|
@ -0,0 +1,42 @@
|
|||
/*
|
||||
* Copyright (C) 2015-2017 Alibaba Group Holding Limited
|
||||
*/
|
||||
|
||||
#ifndef HAL_TRACE_H
|
||||
#define HAL_TRACE_H
|
||||
|
||||
/**
|
||||
* trace data transfer init.
|
||||
*/
|
||||
void *trace_hal_init(void);
|
||||
|
||||
/**
|
||||
* trace data transfer send.
|
||||
*
|
||||
* @param[in] handle data transfer channel object
|
||||
* @param[in] buf the buffer store data
|
||||
* @param[in] len the len of data
|
||||
*
|
||||
* @return the size send success.
|
||||
*/
|
||||
ssize_t trace_hal_send(void *handle, void *buf, size_t len);
|
||||
|
||||
/**
|
||||
* trace data transfer receive.
|
||||
*
|
||||
* @param[in] handle data transfer channel object
|
||||
* @param[in] buf the buffer to store data
|
||||
*
|
||||
* @return the size receive success.
|
||||
*/
|
||||
ssize_t trace_hal_recv(void *handle, void *buf);
|
||||
|
||||
/**
|
||||
* trace data transfer init.
|
||||
*
|
||||
* @param[in] handle data transfer channel object
|
||||
*/
|
||||
void trace_hal_deinit(void *handle);
|
||||
|
||||
#endif /* HAL_TRACE_H */
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue