FilteringCriterionSetMaskAndCode Method
Configures this instance for using a mask/code acceptance values filtering
Namespace: Peak.Can.BasicAssembly: PCANBasic.NET (in PCANBasic.NET.dll) Version: 5.1.0
public void SetMaskAndCode(
uint mask,
uint code,
FilterMode mode = FilterMode.Standard,
FilterBehavior behavior = FilterBehavior.Include
)
Public Sub SetMaskAndCode (
mask As UInteger,
code As UInteger,
Optional mode As FilterMode = FilterMode.Standard,
Optional behavior As FilterBehavior = FilterBehavior.Include
)
public:
void SetMaskAndCode(
unsigned int mask,
unsigned int code,
FilterMode mode = FilterMode::Standard,
FilterBehavior behavior = FilterBehavior::Include
)
Parameters
- mask UInt32
- A value representing the acceptance mask
- code UInt32
- A value representing the acceptance code
- mode FilterMode (Optional)
- A value indicating the filter mode used for CAN identifier verification.
- behavior FilterBehavior (Optional)
- Indicates the operation to perform when a CAN message matches this criterion.