BooleanMatch¶
A processing block that takes a boolean input and generates a PMP event based on a level or edge based match condition.
The boolean match processing block can be found in the ‘Templates’ feature in the PMP installer.
Description¶
The implementation of the BooleanMatch processing block is shown in BooleanMatch implementation.
The MatchCondition specifies the condition when the Match event is active. The supported match conditions are given below.
- 0 = Disabled
The Match event is inactive.
- 1 = High level
The Match event is active when the Boolean input is True.
- 2 = Low level
The Match event is active when the Boolean input is False.
- 3 = Rising edge
The Match event is active one sample period each time the Boolean input changes from False to True.
- 4 = Falling edge
The Match event is active one sample period each time the Boolean input changes from True to False.
- 5 = Any edge
The Match event is active one sample period each time the Boolean input changes state.