
modelPWM
Extends from Modelica.Blocks.Icons.Block (Basic graphical layout of input/output block).
Parameters
| Type | Name | Default | Description |
| General › Constants |
| Boolean | fastPWM | false | |
| AVR.Types.TimerSelect | timer | | |
| AVR.Types.TimerPrescaler | prescaler | | Pre-scaler for the clock. |
| AVR.Types.TimerNumber[:] | timerNumbers | | Which PWM outputs on the associated timer should be used (usually {A}, {B}, or {A,B}) |
| Integer[size(timerNumbers, 1)] | initialValues | fill(0, size(timerNumbers, 1)) | The value that is used to initialize the PWM before the first call to PWM.set |