Advantech PCI-1682U Manual de usuario Pagina 56

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 104
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 55
PCI-1680U/1682U User Manual 50
4.4.2 CanStatusPar_t
DeviceIOControl's parameter dwIoControlCode is CAN_IOCTL_STATUS
(0x222554). It uses this structure.
typedef struct {
unsigned int baud;
unsigned int status;
unsigned int error_warning_limit;
unsigned int rx_errors;
unsigned int tx_errors;
unsigned int error_code;
unsigned int rx_buffer_size;
unsigned int rx_buffer_used;
unsigned int tx_buffer_size;
unsigned int tx_buffer_used;
ULONG retval;
unsigned int type;
unsigned int acceptancecode;
unsigned int acceptancemask;
unsigned int acceptancemode;
unsigned int selfreception;
unsigned int readtimeout;
unsigned int writetimeout;
} CanStatusPar_t, *PCcanStatusPar_t;
Member Description
Name Description
baud Actual bit rate.
status T he status register (SR); CAN address 2.
error_warning_limit The error warning limit register (EWLR); CAN address 13.
rx_errors The RX error counter register (RXERR); CAN address 14.
tx_errors The TX error counter register (TXERR); CAN address 15.
error_code The error code capture register (ECC); CAN address 12.
rx_buffer_size Size of rx buffer.
rx_buffer_used Number of received messages.
tx_buffer_size Size of tx buffer for wince.
tx_buffer_used Number of messages of tx buffer for wince.
retval Return Value. 0, SUCCESS; 0xFFFFFFFF, FAIL.
type CAN controller type. 1, SJA1000; 0 other device.
acceptancecode Acceptance code.
acceptancemask Acceptance mask.
acceptancemode Acceptance Filter Mode: 1:Single 0:Dual.
selfreception Self reception.
ReadTimeout Read timeout.
WriteTimeout Write timeout.
Vista de pagina 55
1 2 ... 51 52 53 54 55 56 57 58 59 60 61 ... 103 104

Comentarios a estos manuales

Sin comentarios