C2A_Core
realtime_command_dispatcher.c
[詳解]
1 #pragma section REPRO
3 #include "../TlmCmd/packet_handler.h"
4 #include "../TlmCmd/common_cmd_packet_util.h"
5 
8 
9 static void RTCD_init_(void);
10 static void RTCD_dispatch_(void);
11 
13 {
14  return AI_create_app_info("realtime_command_dispatcher", RTCD_init_, RTCD_dispatch_);
15 }
16 
17 static void RTCD_init_(void)
18 {
20 }
21 
22 static void RTCD_dispatch_(void)
23 {
25 }
26 
28 {
29  (void)packet;
30 
33 }
34 
36 {
37  (void)packet;
38 
39  // 記録されたエラー情報を解除。
42 }
43 #pragma section
AppInfo AI_create_app_info(const char *name, void(*initializer)(void), void(*entry_point)(void))
AppInfo を作る
Definition: app_info.c:9
void CDIS_clear_command_list(CommandDispatcher *cdis)
CDIS に登録されているコマンドキューからコマンドを削除
CommandDispatcher CDIS_init(PacketList *pl)
CDIS の初期化と取得
void CDIS_dispatch_command(CommandDispatcher *cdis)
CDIS に登録されているコマンドキューからコマンドを実行
void CDIS_clear_error_status(CommandDispatcher *cdis)
CDIS に登録されているコマンドキューのコマンド実行エラー情報を削除
@ CCP_EXEC_SUCCESS
CCP_CmdRet CCP_make_cmd_ret_without_err_code(CCP_EXEC_STS exec_sts)
コマンド返り値である CCP_CmdRet を作成(エラーコード不使用版)
PacketList PH_rt_cmd_list
AppInfo RTCD_create_app(void)
static void RTCD_init_(void)
static void RTCD_dispatch_(void)
CCP_CmdRet Cmd_RTCD_CLEAR_ERR_LOG(const CommonCmdPacket *packet)
CCP_CmdRet Cmd_RTCD_CLEAR_ALL_REALTIME(const CommonCmdPacket *packet)
const CommandDispatcher *const realtime_command_dispatcher
static CommandDispatcher realtime_command_dispatcher_
コマンド返り値
Space Packet (コマンド用)
CommandDispatcher の Info 構造体