functionconstructor
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.
Extends from Modelica.Icons.Function.
Inputs
| Type | Name | Default | Description |
|---|---|---|---|
| Functions.Timers.Timer | timer | ||
| Types.TimerNumber | pin | Types.TimerNumber.A | |
| Integer | initialValue | 0 | |
| Boolean | inverted | false |
Outputs
| Type | Name | Default | Description |
|---|---|---|---|
| Init | pwm |