C2A_Core
nbc_start_hk_tlm.c
[詳解]
1
#pragma section REPRO
2
#include "
nbc_header.h
"
3
4
#include "../block_command_definitions.h"
5
#include "../command_definitions.h"
6
#include "../telemetry_definitions.h"
7
8
#include <
src_core/Applications/timeline_command_dispatcher_id_define.h
>
9
#include <
src_core/TlmCmd/block_command_loader.h
>
10
11
12
void
BCL_load_start_hk_tlm
(
void
)
13
{
14
BCL_tool_prepare_param_uint8
(
Tlm_CODE_HK
);
15
BCL_tool_register_cmd
(1,
Cmd_CODE_TG_GENERATE_RT_TLM
);
16
17
BCL_tool_register_deploy
(10,
BC_HK_CYCLIC_TLM
,
TLCD_ID_DEPLOY_TLM
);
18
}
19
20
#pragma section
BC_HK_CYCLIC_TLM
@ BC_HK_CYCLIC_TLM
Definition:
block_command_definitions.h:35
BCL_tool_register_deploy
void BCL_tool_register_deploy(cycle_t ti, bct_id_t bct_id, TLCD_ID tlcd_id)
ブロックコマンドの最後にブロックコマンドの展開コマンドを追加する
Definition:
block_command_loader.c:134
BCL_tool_prepare_param_uint8
void BCL_tool_prepare_param_uint8(uint8_t val)
コマンド登録前にコマンドの引数としてuint8のパラメータを追加する
Definition:
block_command_loader.c:159
BCL_tool_register_cmd
void BCL_tool_register_cmd(cycle_t ti, CMD_CODE cmd_id)
ブロックコマンドの最後にコマンドを追加する
Definition:
block_command_loader.c:72
block_command_loader.h
ブロックコマンド登録関連のユーティリティ
Cmd_CODE_TG_GENERATE_RT_TLM
@ Cmd_CODE_TG_GENERATE_RT_TLM
Definition:
command_definitions.h:40
nbc_header.h
BCL_load_start_hk_tlm
void BCL_load_start_hk_tlm(void)
Definition:
nbc_start_hk_tlm.c:12
Tlm_CODE_HK
@ Tlm_CODE_HK
Definition:
telemetry_definitions.h:31
timeline_command_dispatcher_id_define.h
TLCD_ID の定義
TLCD_ID_DEPLOY_TLM
@ TLCD_ID_DEPLOY_TLM
Definition:
timeline_command_dispatcher_id_define.h:20
src
src_user
TlmCmd
NormalBlockCommandDefinition
nbc_start_hk_tlm.c
構築:
1.9.1