Main Page   Alphabetical List   Data Structures   File List   Data Fields   Globals  

td_s_sInitParameter Struct Reference

#include <init.h>


Data Fields

BYTE bNodeID
WORD wBaudRateIndex
WORD wProcSpeed
BYTE bIRQ
WORD wIO


Detailed Description

This struct is used for initialising the CAN controller/interface. Therefore baudrate, node-id, processor- speed, irq and IO adress are needed (the latter two are only used for PC based can-controllers)


Field Documentation

BYTE td_s_sInitParameter::bIRQ
 

IRQ number (only used for PC-based cards)

BYTE td_s_sInitParameter::bNodeID
 

Node-Id of this device (1..127)

WORD td_s_sInitParameter::wBaudRateIndex
 

Baudrate (see above) possible values: see eBaudRate enumeration

WORD td_s_sInitParameter::wIO
 

IO-Adress (only used for PC-based cards)

WORD td_s_sInitParameter::wProcSpeed
 

Processor speed in kHz (e.g. 4000 for 4MHz). Needed for setting up timer and baudrate


The documentation for this struct was generated from the following file:
Generated on Wed Dec 25 01:04:58 2002 for CANopen SlaveLib by doxygen1.2.17