63 lines
1.6 KiB
Plaintext
63 lines
1.6 KiB
Plaintext
%% File : hal_serial_echoline.tlc
|
|
%% Created : Tue Dec 15 10:45:38 2020
|
|
%%
|
|
%% Description:
|
|
%% Simulink Coder wrapper functions interface generated for
|
|
%% S-function "hal_serial_echoline.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_serial_echoline "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_serial_echoline_Start_wrapper(void);
|
|
|
|
extern void hal_serial_echoline_Outputs_wrapper(uint8_T *data,
|
|
uint8_T *len);
|
|
|
|
extern void hal_serial_echoline_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 py0 = LibBlockOutputSignalAddr(0, "", "", 0)
|
|
%assign py1 = LibBlockOutputSignalAddr(1, "", "", 0)
|
|
hal_serial_echoline_Outputs_wrapper(%<py0>, %<py1>);
|
|
%%
|
|
%endfunction
|
|
|
|
|
|
%% [EOF] hal_serial_echoline.tlc
|
|
|