functionconstructor
Initialize device
Extends from Modelica.Icons.Function.
Inputs
| Type | Name | Default | Description |
|---|---|---|---|
| HAL.Init | handle | handle of HAL init | |
| Types.Port | port | A digital port A-I | |
| Types.Pin | pin | A pin 0-15, ALL | |
| Types.Mode | mode | interrupt on rising, falling, rising and falling edge | |
| Types.Prio | preemptPrio | preemption priority for interrupt | |
| Types.Prio | subPrio | sub priority for interrupt |
Outputs
| Type | Name | Default | Description |
|---|---|---|---|
| InitExtInt | hport |