functionconstructor
Initialize timer
Extends from Modelica.Icons.Function (Icon for functions).
Inputs
| Type | Name | Default | Description |
|---|---|---|---|
| Types.TimerSelect | timerSelect | ||
| Types.TimerPrescaler | clockSelect | ||
| Boolean | clearTimerOnMatch | CTC1/WGM12, for periodic tasks. If using PWM, does fast PWM |
Outputs
| Type | Name | Default | Description |
|---|---|---|---|
| Timer | timer |