![]() |
CI130X SDK API手册
2.2.0
本手册用于描述CI130X SDK各个组件和驱动API
|
示例程序 更多...
#include <stdio.h>
#include "FreeRTOS.h"
#include "semphr.h"
#include "event_groups.h"
#include "status_share.h"
#include "ci130x_system_ept.h"
#include "ci130x_nuclear_com.h"
宏定义 | |
#define | OTHER_FUNC_SERVE_MAX_PARA_NUM (8) |
函数 | |
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) |
设置状态信息,如果状态有变化且是可等待状态,发送状态等待事件标志位. 更多... | |
int32_t | other_func_serve_cb (void *payload, uint32_t payload_len, uint32_t src, void *priv) |
void | other_func_rpmsg_init (void) |
变量 | |
uint32_t | other_func_msg_buf [(8)] = {0} |
示例程序
#define OTHER_FUNC_SERVE_MAX_PARA_NUM (8) |
|
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 | 要设置的状态值. |
void other_func_rpmsg_init | ( | void | ) |
int32_t other_func_serve_cb | ( | void * | payload, |
uint32_t | payload_len, | ||
uint32_t | src, | ||
void * | priv | ||
) |
uint32_t other_func_msg_buf[(8)] = {0} |