CI130X SDK API手册  2.2.0
本手册用于描述CI130X SDK各个组件和驱动API
宏定义 | 函数
ci130x_mailbox_bnpu.h 文件参考
#include "ci130x_mailbox.h"

浏览源代码.

宏定义

#define CPU_CORE_NUM   0
 
#define NPU_CORE_NUM   1
 

函数

uint32_t bnpu_mail_rev_msg (uint32_t *data0, uint32_t *data1, mailbox_cmd_t *cmd)
 
uint32_t bnpu_mail_send_msg (uint32_t data0, uint32_t data1, mailbox_cmd_t cmd)
 
uint32_t get_core_number (void)
 

宏定义说明

◆ CPU_CORE_NUM

#define CPU_CORE_NUM   0

◆ NPU_CORE_NUM

#define NPU_CORE_NUM   1

函数说明

◆ bnpu_mail_rev_msg()

uint32_t bnpu_mail_rev_msg ( uint32_t *  data0,
uint32_t *  data1,
mailbox_cmd_t cmd 
)

◆ bnpu_mail_send_msg()

uint32_t bnpu_mail_send_msg ( uint32_t  data0,
uint32_t  data1,
mailbox_cmd_t  cmd 
)

◆ get_core_number()

uint32_t get_core_number ( void  )
inline