displayð&i2c&pca9555&pin驱动与驱动框架支持
This commit is contained in:
5
mkrtos_user/lib/sys_util/inc/u_irq_helper.h
Normal file
5
mkrtos_user/lib/sys_util/inc/u_irq_helper.h
Normal file
@@ -0,0 +1,5 @@
|
||||
#pragma once
|
||||
|
||||
#include "u_hd_man.h"
|
||||
#include "u_irq_sender.h"
|
||||
int u_irq_request(int irq_no, void *stack, void *msg_buf, obj_handler_t *irq_obj, void (*irq_func)(void), u_irq_prio_t prio);
|
||||
@@ -73,7 +73,7 @@
|
||||
off = 0; \
|
||||
int off_map = 0; \
|
||||
RPC_SVR_MSG_TO_BUF_OUT(rpc_type0, svr_type0, &var0, dir0, value, off); \
|
||||
PRC_SVR_FILL_MAP_BUF(rpc_type0, svr_type0, &var0, dir0, value, off_map); \
|
||||
PRC_SVR_FILL_MAP_BUF(rpc_type0, svr_type0, &var0, dir0, ipc_msg->map_buf, off_map); \
|
||||
return msg_tag_init4(0, ROUND_UP(off, WORD_BYTES), ROUND_UP(off_map, WORD_BYTES), ret_val); \
|
||||
}
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user