.Modelica_DeviceDrivers.EmbeddedTargets.AVR.Functions.PWM.Init.constructor

Information

Initialize PWM timer. Note that if you setup both
  A and B pins, you need to use the same settings for both or you randomly
  get the settings for one of them controlling the same timer.

Interface

function constructor
  extends .Modelica.Icons.Function;
  import Modelica_DeviceDrivers.EmbeddedTargets.AVR.Functions;
  import Modelica_DeviceDrivers.EmbeddedTargets.AVR.Types;
  input Functions.Timers.Timer timer;
  input Types.TimerNumber pin = Types.TimerNumber.A;
  input Integer initialValue = 0;
  input Boolean inverted = false;
  output Init pwm;
end constructor;

Generated at 2024-12-22T19:25:51Z by OpenModelicaOpenModelica 1.24.3 using GenerateDoc.mos