Files
slhal/hal_nvram_cancel.tlc
T

84 lines
2.5 KiB
Plaintext

%% File : hal_nvram_cancel.tlc
%% Created : Thu Mar 19 17:51:34 2020
%%
%% Description:
%% Simulink Coder wrapper functions interface generated for
%% S-function "hal_nvram_cancel.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_nvram_cancel "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_nvram_cancel_Start_wrapper(const uint8_T *nvram_id, const int_T p_width0);
extern void hal_nvram_cancel_Outputs_wrapper(const uint32_T *address,
int32_T *ErrorCode,
const uint8_T *nvram_id, const int_T p_width0);
extern void hal_nvram_cancel_Terminate_wrapper(const uint8_T *nvram_id, const int_T p_width0);
#ifdef __cplusplus
}
#endif
%closefile externs
%<LibCacheExtern(externs)>
%%
%endfunction
%% Function: Start ============================================================
%%
%function Start(block, system) Output
/* %<Type> Block: %<Name> */
%assign nelements1 = LibBlockParameterSize(P1)
%assign param_width1 = nelements1[0] * nelements1[1]
%if (param_width1) > 1
%assign pp1 = LibBlockMatrixParameterBaseAddr(P1)
%else
%assign pp1 = LibBlockParameterAddr(P1, "", "", 0)
%endif
hal_nvram_cancel_Start_wrapper(%<pp1>, %<param_width1>);
%endfunction
%% Function: Outputs ==========================================================
%%
%% Purpose:
%% Code generation rules for mdlOutputs function.
%%
%function Outputs(block, system) Output
%%
%assign pu0 = LibBlockInputSignalAddr(0, "", "", 0)
%assign py0 = LibBlockOutputSignalAddr(0, "", "", 0)
%assign nelements1 = LibBlockParameterSize(P1)
%assign param_width1 = nelements1[0] * nelements1[1]
%if (param_width1) > 1
%assign pp1 = LibBlockMatrixParameterBaseAddr(P1)
%else
%assign pp1 = LibBlockParameterAddr(P1, "", "", 0)
%endif
hal_nvram_cancel_Outputs_wrapper(%<pu0>, %<py0>, %<pp1>, %<param_width1>);
%%
%endfunction
%% [EOF] hal_nvram_cancel.tlc