Files
sunny360vfe_proj/controllers/ascll_num.tlc
T
2025-06-10 14:39:20 +08:00

73 lines
2.0 KiB
Plaintext

%% File : ascll_num.tlc
%% Created : Fri Sep 08 20:33:32 2023
%%
%% Description:
%% Simulink Coder wrapper functions interface generated for
%% S-function "ascll_num.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 ascll_num "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 ascll_num_Start_wrapper(void);
extern void ascll_num_Outputs_wrapper(const uint8_T *string,
uint8_T *head,
uint8_T *sign,
uint8_T *id,
real32_T *value,
uint32_T *error_code,
const int_T u_width);
extern void ascll_num_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)
%assign pu_width = LibBlockInputSignalWidth(0)
%assign py0 = LibBlockOutputSignalAddr(0, "", "", 0)
%assign py1 = LibBlockOutputSignalAddr(1, "", "", 0)
%assign py2 = LibBlockOutputSignalAddr(2, "", "", 0)
%assign py3 = LibBlockOutputSignalAddr(3, "", "", 0)
%assign py4 = LibBlockOutputSignalAddr(4, "", "", 0)
ascll_num_Outputs_wrapper(%<pu0>, %<py0>, %<py1>, %<py2>, %<py3>, %<py4>, %<pu_width>);
%%
%endfunction
%% [EOF] ascll_num.tlc