.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-11-21T19:25:40Z by OpenModelicaOpenModelica 1.24.2 using GenerateDoc.mos