C2A_Core
app_info.h
[詳解]
1
5
#ifndef APP_INFO_H_
6
#define APP_INFO_H_
7
8
#include "../TimeManager/obc_time.h"
9
10
typedef
struct
11
{
12
const
char
*
name
;
13
step_t
init_duration
;
14
step_t
prev
;
15
step_t
min
;
16
step_t
max
;
17
void (*initializer)(void);
18
void (*entry_point)(void);
19
}
AppInfo
;
20
28
AppInfo
AI_create_app_info
(
const
char
* name,
29
void
(*initializer)(
void
),
30
void
(*entry_point)(
void
));
31
32
#endif
AI_create_app_info
AppInfo AI_create_app_info(const char *name, void(*initializer)(void), void(*entry_point)(void))
AppInfo を作る
Definition:
app_info.c:9
step_t
uint32_t step_t
Definition:
obc_time.h:11
AppInfo
Definition:
app_info.h:11
AppInfo::prev
step_t prev
アプリ実行処理時間(直近)
Definition:
app_info.h:14
AppInfo::min
step_t min
アプリ実行処理時間(最小値)
Definition:
app_info.h:15
AppInfo::name
const char * name
アプリ名 (C2A 内部では使用されていない )
Definition:
app_info.h:12
AppInfo::max
step_t max
アプリ実行処理時間(最大値)
Definition:
app_info.h:16
AppInfo::init_duration
step_t init_duration
アプリ初期化処理時間
Definition:
app_info.h:13
src
src_core
System
ApplicationManager
app_info.h
構築:
1.9.1