<< Previous | Next >>

pktXsetParity

void pktXsetParity( char mode ); /* X is A-F */

Description

Configures parity generation and checking. Can also configure for 2 stop bits.

The functions pktEsetParity() and pktFsetParity() may be used with the Rabbit 3000 and Rabbit 4000.

Parameters

mode
Code for mode of parity bit:

  • PKT_NOPARITY - no parity bit (8N1 format, default)

  • PKT_OPARITY - odd parity (8O1 format)

  • PKT_EPARITY - even parity (8E1 format)

  • PKT_TWOSTOP - an extra stop bit (8N2 format)

Library

PACKET.LIB


Dynamic C Functions << Previous | Next >> rabbit.com