%% Copyright (C) 2013-2014 Czech Technical University in Prague %% %% Authors: %% - Carlos Jenkins %% %% This document contains proprietary information belonging to Czech %% Technical University in Prague. Passing on and copying of this %% document, and communication of its contents is not permitted %% without prior written authorization. %% %% File : sfunction_scic.tlc %% Abstract: %% TLC file for inlining RPP serial communication configure block. %% %% References: %% BlockTypeSetup() : refs/rtw_tlc.pdf p. 277 %% Outputs() : refs/rtw_tlc.pdf p. 281 %implements sfunction_scic "C" %include "common.tlc" %% Function: BlockInstanceSetup ================================================ %function BlockInstanceSetup(block, system) void %if EXISTS("rpp_scic_in_model") == 0 %assign ::rpp_scic_in_model = 1 % %else % %endif %endfunction %% Function: BlockTypeSetup ==================================================== %function BlockTypeSetup(block, system) void %% Ensure required header files are included % %assign ::rpp_sci_present=1 %endfunction %% Function: Start ============================================================= %function Start(block, system) Output %if !SLibCodeGenForSim() %if extMode %return %endif %assign p1_val = LibBlockParameterValue(p1, 0) rpp_sci_setup(%); %endif %endfunction %% [EOF]