Contenido principal

Acceptance Mask 1

Acceptance mask value for filter 1

Model Configuration Pane: Hardware Implementation / Hardware board settings / Target hardware resources / Groups / CAN

Description

The Acceptance Mask 1 parameter specifies the acceptance mask value for filter 1. If you set the mask bit to 0, the block accepts the corresponding message ID bit regardless of the value you set in the Acceptance Filter 1 parameter. If you set the mask bit to 1, the block compares the corresponding message ID bit with the value of the Acceptance Filter 1 parameter. The block accepts the frame if the values match, otherwise it rejects the frame.

Settings

0 (default) | 1

If you set the mask bit to 0, the block accepts the corresponding message ID bit regardless of the value you set in the Acceptance Filter 1 parameter. If you set the mask bit to 1, the block compares the corresponding message ID bit with the value of the Acceptance Filter 1 parameter. The block accepts the frame if the values match, otherwise it rejects the frame.

Recommended Settings

No recommendation.

Programmatic Use

No programmatic use is available.

Version History

Introduced in R2019b