Files
slhal/hal_uart_set_param.tlc
T
2020-03-17 22:32:51 +08:00

67 lines
1.8 KiB
Plaintext

%% File : hal_uart_set_param.tlc
%% Created : Tue Mar 17 21:04:43 2020
%%
%% Description:
%% Simulink Coder wrapper functions interface generated for
%% S-function "hal_uart_set_param.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_uart_set_param "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_uart_set_param_Start_wrapper(void);
extern void hal_uart_set_param_Outputs_wrapper(const uint8_T *uart_id,
const uint16_T *param_id,
const real32_T *param_val,
int32_T *ErrorCode);
extern void hal_uart_set_param_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 pu1 = LibBlockInputSignalAddr(1, "", "", 0)
%assign pu2 = LibBlockInputSignalAddr(2, "", "", 0)
%assign py0 = LibBlockOutputSignalAddr(0, "", "", 0)
hal_uart_set_param_Outputs_wrapper(%<pu0>, %<pu1>, %<pu2>, %<py0>);
%%
%endfunction
%% [EOF] hal_uart_set_param.tlc