User`s manual

Software Manual • EKF Intelligent I/O Controller Family On
CompactPCI
- 65 -
EKF Elektronik GmbH * Philipp-Reis-Str. 4 * D-59065 HAMM (Germany)
Tel. +49 (0)2381/6890-0 * Fax. +49 (0)2381/6890-90 * E-Mail info@ekf.de * Internet http://www.ekf.de
Errors:
A set of flags that reflect the possible errors occurred on a serial port:
EKF16550_ERROR_BREAK: a break condition was detected,
EKF16550_ERROR_FRAMING: a framing error was detected,
EKF16550_ERROR_OVERRUN: an overrun of the serial controller’s internal
receiver FIFO occurred,
EKF16550_ERROR_BUFFEROVERRUN: an overrun of the read ring buffer
maintained by the firmware occurred,
EKF16550_ERROR_PARITY: a parity error was detected.
HoldReasons:
A set of flags that reflects the reasons why a port could be holding:
EKF16550_TX_WAITING_FOR_CTS
EKF16550_TX_WAITING_FOR_DSR
EKF16550_TX_WAITING_FOR_DCD
EKF16550_TX_WAITING_FOR_XON
EKF16550_TX_WAITING_XOFF_SENT
EKF16550_TX_WAITING_ON_BREAK
EKF16550_RX_WAITING_FOR_DSR
AmountInInQueue:
The number of bytes that reside currently in the port’s read ring buffer.
AmountInOutQueue:
The number of bytes that reside currently in the port’s write buffer.
SJA1000_STATUS
A structure that is used to get the current error and general status of a CANbus port.
typedef struct _SJA1000_STATUS
{
UINT32 Errors;
UINT8 LastErrorCapture;
UINT8 LastArbitLostCapture;
UINT8 pad[2];
UINT32 AmountInInQueue;
UINT32 AmountInOutQueue;
} SJA1000_STATUS, *PSJA1000_STATUS;
Errors:
A set of flags that reflect the possible errors occurred on a CANbus port:
SJA1000_ERROR_BUSERROR: a bus error on the CANbus was detected,
SJA1000_ERROR_ARBITLOST: an arbitration was lost by the CANbus
controller,
SJA1000_ERROR_WRITE_FRAME: a frame with bad format was passed on
a WRITE_DATA command,