%% File : hal_rec.tlc %% Created : Wed Oct 14 12:13:07 2020 %% %% Description: %% Simulink Coder wrapper functions interface generated for %% S-function "hal_rec.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_rec "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_rec_Start_wrapper(void); extern void hal_rec_Outputs_wrapper(const uint8_T *id, const uint32_T *time_stamp, uint8_T *pkg, uint16_T *len, const int_T y_width); extern void hal_rec_Terminate_wrapper(void); #ifdef __cplusplus } #endif %closefile externs % %% %endfunction %% Function: Outputs ========================================================== %% %% Purpose: %% Code generation rules for mdlOutputs function. %% %function Outputs(block, system) Output %% %assign pu0 = LibBlockInputSignalAddr(0, "", "", 0) %assign pu1 = LibBlockInputSignalAddr(1, "", "", 0) %assign py0 = LibBlockOutputSignalAddr(0, "", "", 0) %assign py1 = LibBlockOutputSignalAddr(1, "", "", 0) %assign py_width = LibBlockOutputSignalWidth(0) hal_rec_Outputs_wrapper(%, %, %, %, %); %% %endfunction %% [EOF] hal_rec.tlc