functionconstructor

Initialize timer

Extends from Modelica.Icons.Function (Icon for functions).

Inputs

TypeNameDefaultDescription
Types.TimerSelecttimerSelect
Types.TimerPrescalerclockSelect
BooleanclearTimerOnMatchCTC1/WGM12, for periodic tasks. If using PWM, does fast PWM

Outputs

TypeNameDefaultDescription
Timertimer