Main Content

Parity mode

R2026b

Type of parity bit used to detect transmission errors

Model Configuration Pane: Hardware Implementation / Hardware board settings / Target hardware resources / Serial properties

Description

Type of parity bit used to detect transmission errors.

Settings

none | odd | even

Default:: none

The available options are:

  • none — Disables parity.

  • odd — Sets the parity bit to 1 if there is an odd number of ones in data frame, such as 00110010.

  • even — Sets the parity bit to 1 if there is an even number of ones in data frame, such as 00110011.

Programmatic Use

No programmatic use is available.

Version History

Introduced in R2019b