function ret = MasterClkDividerEnable(hObj, varargin)
%MASTERCLKDIVIDERENABLE Enable the clock parameter

% Copyright 2013-2023 The MathWorks, Inc.
if nargin == 1
    paramName = 'I2C';
else
    paramName =  varargin{1};
end   

ret = 0;
if codertarget.target.isCoderTarget(hObj.getConfigSet())
    data = codertarget.data.getParameterValue(hObj, paramName);
    ret = strcmp(data.Mode, 'Controller');
end
end
