function hLib = Ifl_Interpolate_CRLEntry(hLib)
% Key: Single Point Interpolation
% y1 : result
% u1 : value 1
% u2 : value 2
% u3 : coefficient
% AUTOSAR 4.0.3 IFL030

%   Copyright 2022 The MathWorks, Inc.

hEntry = RTW.TflCFunctionEntry;

% Set Function Entry Parameters
hEntry.setTflCFunctionEntryParameters( ...
          'Key', 'singlePointInterpolation', ...
          'Priority', 100, ...
          'SupportSymbolicDimensions', true, ...
          'ImplementationName', 'Ifl_Interpolate_f32', ...
          'ArrayLayout', 'COLUMN_AND_ROW', ...
          'ImplementationHeaderFile', 'Ifl.h');

% Add Conceptual Arguments
outArg = hEntry.getTflArgFromString('y1','single');
outArg.IOType = 'RTW_IO_OUTPUT';
hEntry.addConceptualArg(outArg);

inArg1 = hEntry.getTflArgFromString('u1','single');
inArg1.IOType = 'RTW_IO_INPUT';
hEntry.addConceptualArg(inArg1);

inArg2 = hEntry.getTflArgFromString('u2','single');
inArg2.IOType = 'RTW_IO_INPUT';
hEntry.addConceptualArg(inArg2);

inArg3 = hEntry.getTflArgFromString('u3','single');
inArg3.IOType = 'RTW_IO_INPUT';
hEntry.addConceptualArg(inArg3);

% Copy Implementation Arguments from Conceptual Arguments
hEntry.copyConceptualArgsToImplementation();

hLib.addEntry(hEntry);
end
