mirror of
https://github.com/Ai-Thinker-Open/Ai-Thinker-Open_RTL8710BX_ALIOS_SDK.git
synced 2026-08-29 09:41:32 +00:00
rel_1.6.0 init
This commit is contained in:
commit
27b3e2883d
19359 changed files with 8093121 additions and 0 deletions
62
Living_SDK/include/aos/aos.h
Normal file
62
Living_SDK/include/aos/aos.h
Normal file
|
|
@ -0,0 +1,62 @@
|
|||
/*
|
||||
* Copyright (C) 2015-2017 Alibaba Group Holding Limited
|
||||
*/
|
||||
|
||||
#ifndef AOS_AOS_H
|
||||
#define AOS_AOS_H
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
#include <aos/types.h>
|
||||
#include <aos/cli.h>
|
||||
#include <aos/cloud.h>
|
||||
#include <aos/debug.h>
|
||||
#include <aos/kernel.h>
|
||||
#include <aos/kv.h>
|
||||
#include <aos/list.h>
|
||||
#include <aos/log.h>
|
||||
#include <aos/vfs.h>
|
||||
#include <aos/version.h>
|
||||
#include <aos/yloop.h>
|
||||
#include <aos/errno.h>
|
||||
#include <aos/init.h>
|
||||
|
||||
/*
|
||||
#include <aos/alink.h>
|
||||
#include <aos/network.h>
|
||||
*/
|
||||
|
||||
/**
|
||||
* Transmit data on a UART interface
|
||||
*
|
||||
* @param data pointer to the start of data
|
||||
* @param size number of bytes to transmit
|
||||
* @param timeout time to wait
|
||||
*
|
||||
* @return 0 success, EIO if an error occurred with any step
|
||||
*/
|
||||
int32_t aos_uart_send(void *data, uint32_t size, uint32_t timeout);
|
||||
|
||||
|
||||
/**
|
||||
* Recv data on a UART interface
|
||||
*
|
||||
* @param data pointer to the start of recv buf
|
||||
* @param expect_size number of bytes expect to recv
|
||||
* @param recv_size number of bytes trully received
|
||||
* @param timeout time to wait
|
||||
*
|
||||
* @return 0 success, EIO if an error occurred with any step
|
||||
*/
|
||||
int32_t aos_uart_recv(void *data, uint32_t expect_size, uint32_t *recv_size, uint32_t timeout);
|
||||
|
||||
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif /* AOS_AOS_H */
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue