The `cdsFiltCtrl` block adds two additional inputs and 1 additional outputs.
The `cdsFiltCtrl` block adds two additional inputs and 1 additional output.
| Port Name | Function |
| --------- | -------- |
| In1 | Input sample, same as `cdsFilt`. |
| Cin | Control input. A bitfield containing controls bits for the filter provided by the realtime logic, instead of EPICS channels like in the `cdsFilt` case. |
| Mask | Local control (LC) bitfield mask. This specifies the control bits that are controlled by the models realtime logic, instead of EPICS channels like in the `cdsFilt` case.|
#### Cin/Mask Explanation
When valid bits are set in the Mask input the filter module will use the corresponding bits from the Cin input instead of the normal `_SW1` and `_SW2` EPICS channels. This allows the realtime model to control a subset of the filters control flags.
The `_MASK` channel is made available with `cdsFiltCtrl` and `cdsFiltCtrl2` parts. This is a read only channel that records the value of the Mask input port.