blockEdge
Output y is true, if the input u has a rising edge (y = edge(u))
Extends from Blocks.Interfaces.partialBooleanSISO (Partial block with 1 input and 1 output Boolean signal).
Information
The output is true if the Boolean input has a rising edge from false to true, otherwise the output is false.
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| Boolean | pre_u_start | false | Start value of pre(u) at initial time |
Connectors
| Type | Name | Default | Description |
|---|---|---|---|
| Blocks.Interfaces.BooleanInput | u (from partialBooleanSISO) | Connector of Boolean input signal | |
| Blocks.Interfaces.BooleanOutput | y (from partialBooleanSISO) | Connector of Boolean output signal |