![]() |
CI13LC SDK API手册
2.1.1
本手册用于描述CI13LC SDK各个组件和驱动API
|
示例程序 更多...
#include <stdio.h>#include "FreeRTOS.h"#include "semphr.h"#include "event_groups.h"#include "status_share.h"函数 | |
| static volatile status_t | __attribute__ ((__section__(".share_mem"))) |
| void | ciss_init (void) |
| 信息共享模块初始化. 更多... | |
| status_t | ciss_get (status_id_t id) |
| 读取状态信息. 更多... | |
| void | ciss_set (status_id_t id, status_t value) |
| 设置状态信息,如果状态有变化且是可等待状态,发送状态等待事件标志位. 更多... | |
示例程序
|
static |
| status_t ciss_get | ( | status_id_t | id | ) |
读取状态信息.
| id | 状态信息标识,指定要读取的状态. |
| void ciss_init | ( | void | ) |
信息共享模块初始化.
| void ciss_set | ( | status_id_t | id, |
| status_t | value | ||
| ) |
设置状态信息,如果状态有变化且是可等待状态,发送状态等待事件标志位.
| id | 状态信息标识,指定要设置的状态. |
| value | 要设置的状态值. |
1.8.14