add more hal api
This commit is contained in:
@@ -0,0 +1,60 @@
|
||||
%% File : hal_save_mission.tlc
|
||||
%% Created : Tue Nov 01 14:35:05 2022
|
||||
%%
|
||||
%% Description:
|
||||
%% Simulink Coder wrapper functions interface generated for
|
||||
%% S-function "hal_save_mission.c".
|
||||
%%
|
||||
%% File generated by S-function Builder Block
|
||||
%%
|
||||
%% For more information on using the Target Language with the
|
||||
%% Simulink Coder, see the Target Language Compiler manual
|
||||
%% (under Simulink Coder) in the "Inlining S-Functions"
|
||||
%% chapter under the section and subsection:
|
||||
%% "Writing Block Target Files to Inline S-Functions",
|
||||
%% "Function-Based or Wrappered Code".
|
||||
%%
|
||||
%implements hal_save_mission "C"
|
||||
%% Function: BlockTypeSetup ===================================================
|
||||
%%
|
||||
%% Purpose:
|
||||
%% Set up external references for wrapper functions in the
|
||||
%% generated code.
|
||||
%%
|
||||
%function BlockTypeSetup(block, system) Output
|
||||
%openfile externs
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
extern void hal_save_mission_Start_wrapper(void);
|
||||
|
||||
extern void hal_save_mission_Outputs_wrapper(const uint8_T *typ);
|
||||
|
||||
extern void hal_save_mission_Terminate_wrapper(void);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
%closefile externs
|
||||
%<LibCacheExtern(externs)>
|
||||
%%
|
||||
%endfunction
|
||||
|
||||
|
||||
%% Function: Outputs ==========================================================
|
||||
%%
|
||||
%% Purpose:
|
||||
%% Code generation rules for mdlOutputs function.
|
||||
%%
|
||||
%function Outputs(block, system) Output
|
||||
%%
|
||||
%assign pu0 = LibBlockInputSignalAddr(0, "", "", 0)
|
||||
hal_save_mission_Outputs_wrapper(%<pu0>);
|
||||
%%
|
||||
%endfunction
|
||||
|
||||
|
||||
%% [EOF] hal_save_mission.tlc
|
||||
|
||||
Reference in New Issue
Block a user