<< Previous | Next >>

pktXgetErrors

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

Description

Gets a bit field with flags set for any errors that occurred on port X. These flags are then cleared, so that a particular error will only cause the flag to be set once.

The functions pktEgetErrors() and pktFgetErrors() may be used with the Rabbit 3000 and Rabbit 4000.

Return value

A bit field with flags for various errors. The errors along with their bit masks are as follows:

   PKT_BUFFEROVERFLOW  0x01
   PKT_RXOVERRUN       0x02
   PKT_PARITYERROR     0x04
   PKT_NOBUFFER        0x08

Library

PACKET.LIB


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