没有合适的资源?快使用搜索试试~ 我知道了~
温馨提示
1 aos_reboot 2 aos_get_hz 3 aos_version_get 4 aos_task_new 5 aos_task_new_ext 6 aos_task_exit 7 aos_task_name 8 aos_task_key_create 9 aos_task_key_delete 10 aos_task_setspecific 11 aos_task_getspecific 12 aos_mutex_new 13 aos_mutex_free 14 aos_mutex_lock 15 aos_mutex_unlock 16 aos_mutex_is_valid 17 aos_sem_new 18 aos_sem_free 19 aos_sem_wait 20 aos_sem_signal 21 aos_sem_is_valid 22 aos_sem_signal_all 23 aos_queue_new 24 aos_queue_free 25 aos_queue_send 26 aos_queue_recv 27 aos_queue_is_valid 28 aos_queue_buf_ptr 29 aos_sched_disable 30 aos_sched_enable 31 aos_timer_new 32 aos_timer_free 33 aos_timer_start 34 aos_timer_stop 35 aos_timer_change 36 aos_workqueue_create ...
资源推荐
资源详情
资源评论
2018/6/7 AliOS Things API KERNEL Guide · alibaba/AliOS-Things Wiki · GitHub
https://github.com/alibaba/AliOS-Things/wiki/AliOS-Things-API-KERNEL-Guide 1/17
Home > API Reference
ALINK
CLI
CLOUD
HAL
OTA
TRACE
WiFi
SoC
ADC
FLASH
GPIO
I2C
PWM
RNG
RTC
SD
SPI
TIMER
UART
WDG
KERNEL
KV
LOG
SSL
VERSION
VFS
YLOOP
Clone this wiki locally
AliOS Things API KERNEL Guide
librae8226 edited this page on 1 Mar · 1 revision
API INDEX
1 aos_reboot
2 aos_get_hz
3 aos_version_get
4 aos_task_new
5 aos_task_new_ext
6 aos_task_exit
7 aos_task_name
8 aos_task_key_create
9 aos_task_key_delete
10 aos_task_setspecific
11 aos_task_getspecific
12 aos_mutex_new
13 aos_mutex_free
14 aos_mutex_lock
15 aos_mutex_unlock
16 aos_mutex_is_valid
17 aos_sem_new
18 aos_sem_free
19 aos_sem_wait
20 aos_sem_signal
21 aos_sem_is_valid
22 aos_sem_signal_all
23 aos_queue_new
24 aos_queue_free
25 aos_queue_send
26 aos_queue_recv
27 aos_queue_is_valid
28 aos_queue_buf_ptr
29 aos_sched_disable
30 aos_sched_enable
31 aos_timer_new
32 aos_timer_free
33 aos_timer_start
34 aos_timer_stop
35 aos_timer_change
36 aos_workqueue_create
37 aos_workqueue_del
38 aos_work_init
39 aos_work_destroy
40 aos_work_run
41 aos_work_sched
42 aos_work_cancel
43 aos_realloc
44 aos_malloc
45 aos_zalloc
alibaba / AliOS-Things
Pages 149
https://github.com/alibaba/AliOS-Things.wiki.git
C l one in Desktop
2018/6/7 AliOS Things API KERNEL Guide · alibaba/AliOS-Things Wiki · GitHub
https://github.com/alibaba/AliOS-Things/wiki/AliOS-Things-API-KERNEL-Guide 2/17
46 aos_alloc_trace
47 aos_free
48 aos_now
49 aos_now_ms
50 aos_msleep
1-aos_reboot
void aos_reboot(void)
Description
Reboot AliOS.
Parameters
None.
Returns
None.
2-aos_get_hz
int aos_get_hz(void)
Description
Get HZ(ticks per second).
Parameters
None.
Returns
RHINO_CONFIG_TICKS_PER_SECOND.
3-aos_version_get
const char *aos_version_get(void)
Description
Get kernel version.
Parameters
None.
Returns
SYSINFO_KERNEL_VERSION.
4-aos_task_new
int aos_task_new(const char *name, void (*fn)(void *), void *arg, int stack_size)
Description
Create a task.
2018/6/7 AliOS Things API KERNEL Guide · alibaba/AliOS-Things Wiki · GitHub
https://github.com/alibaba/AliOS-Things/wiki/AliOS-Things-API-KERNEL-Guide 3/17
Parameters
IN/OUT NAME DESC
[in] name task name.
[in] fn function to run.
[in] arg argument of the function.
[in] stacksize stack-size in bytes.
Returns
0: success.
5-aos_task_new_ext
int aos_task_new_ext(aos_task_t *task, const char *name, void (*fn)(void *), void *arg,
int stack_size, int prio)
Description
Create a task.
Parameters
IN/OUT NAME DESC
[in] task handle.
[in] name task name.
[in] fn task function.
[in] arg argument of the function..
[in] stack_buf stack-buf: if stack_buf==NULL, provided by kernel.
[in] stack_size stack-size in bytes.
[in] prio
priority value, the max is RHINO_CONFIG_USER_PRI_MAX(default
60).
Returns
0: success.
6-aos_task_exit
void aos_task_exit(int code)
Description
Exit a task.
Parameters
IN/OUT NAME DESC
[in] code not used now.
Returns
None.
7-aos_task_name
剩余16页未读,继续阅读
资源评论
SevenKZhou
- 粉丝: 8
- 资源: 8
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
最新资源
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功