src/win32/CanFestival-3.def
author Christian Taedcke <Christian.Taedcke@ica-traffic.de>
Tue, 23 Feb 2010 08:12:19 +0100
changeset 642 f77ad188c2b1
parent 640 e9a4e4c308bb
child 681 3c42b5df66b1
permissions -rw-r--r--
ADDED: - pause() for win32
* * *
CHANGED: - moved pause implementation to main.cpp
- default driver to ixxat, baudrate to 125K and slaveid to 0x40
* * *
FIXED: - append "K" to baudrate
- added TimerInit()
255
7b9f36dbfe5f *** empty log message ***
leonid
parents: 252
diff changeset
     1
; This file is part of CanFestival, a library implementing CanOpen Stack. 
7b9f36dbfe5f *** empty log message ***
leonid
parents: 252
diff changeset
     2
;
7b9f36dbfe5f *** empty log message ***
leonid
parents: 252
diff changeset
     3
; CanFestival Copyright (C): Edouard TISSERANT and Francis DUPIN
7b9f36dbfe5f *** empty log message ***
leonid
parents: 252
diff changeset
     4
; CanFestival Win32 port Copyright (C) 2007 Leonid Tochinski, ChattenAssociates, Inc.
7b9f36dbfe5f *** empty log message ***
leonid
parents: 252
diff changeset
     5
;
7b9f36dbfe5f *** empty log message ***
leonid
parents: 252
diff changeset
     6
; See COPYING file for copyrights details.
7b9f36dbfe5f *** empty log message ***
leonid
parents: 252
diff changeset
     7
; 
7b9f36dbfe5f *** empty log message ***
leonid
parents: 252
diff changeset
     8
; This library is free software; you can redistribute it and/or
7b9f36dbfe5f *** empty log message ***
leonid
parents: 252
diff changeset
     9
; modify it under the terms of the GNU Lesser General Public
7b9f36dbfe5f *** empty log message ***
leonid
parents: 252
diff changeset
    10
; License as published by the Free Software Foundation; either
7b9f36dbfe5f *** empty log message ***
leonid
parents: 252
diff changeset
    11
; version 2.1 of the License, or (at your option) any later version.
7b9f36dbfe5f *** empty log message ***
leonid
parents: 252
diff changeset
    12
;
7b9f36dbfe5f *** empty log message ***
leonid
parents: 252
diff changeset
    13
; This library is distributed in the hope that it will be useful,
7b9f36dbfe5f *** empty log message ***
leonid
parents: 252
diff changeset
    14
; but WITHOUT ANY WARRANTY; without even the implied warranty of
7b9f36dbfe5f *** empty log message ***
leonid
parents: 252
diff changeset
    15
; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
7b9f36dbfe5f *** empty log message ***
leonid
parents: 252
diff changeset
    16
; Lesser General Public License for more details.
7b9f36dbfe5f *** empty log message ***
leonid
parents: 252
diff changeset
    17
;
7b9f36dbfe5f *** empty log message ***
leonid
parents: 252
diff changeset
    18
; You should have received a copy of the GNU Lesser General Public
7b9f36dbfe5f *** empty log message ***
leonid
parents: 252
diff changeset
    19
; License along with this library; if not, write to the Free Software
7b9f36dbfe5f *** empty log message ***
leonid
parents: 252
diff changeset
    20
; Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
7b9f36dbfe5f *** empty log message ***
leonid
parents: 252
diff changeset
    21
252
b0dd37421d28 *** empty log message ***
leonid
parents: 225
diff changeset
    22
; CanFestival-3.def : Declares DLL exports.
145
e747d2e26af0 Win32 Native support and dynamicaly loaded CAN drivers for Linux, Cygwin and Win32.
etisserant
parents:
diff changeset
    23
e747d2e26af0 Win32 Native support and dynamicaly loaded CAN drivers for Linux, Cygwin and Win32.
etisserant
parents:
diff changeset
    24
LIBRARY      "CanFestival-3.DLL"
e747d2e26af0 Win32 Native support and dynamicaly loaded CAN drivers for Linux, Cygwin and Win32.
etisserant
parents:
diff changeset
    25
e747d2e26af0 Win32 Native support and dynamicaly loaded CAN drivers for Linux, Cygwin and Win32.
etisserant
parents:
diff changeset
    26
EXPORTS
252
b0dd37421d28 *** empty log message ***
leonid
parents: 225
diff changeset
    27
320
f82e758840bd Some fixes suggested by Luis Jim?nez, plus some minor enhancements in DCF.
etisserant
parents: 255
diff changeset
    28
        ; dcf.h
f82e758840bd Some fixes suggested by Luis Jim?nez, plus some minor enhancements in DCF.
etisserant
parents: 255
diff changeset
    29
        send_consise_dcf
252
b0dd37421d28 *** empty log message ***
leonid
parents: 225
diff changeset
    30
b0dd37421d28 *** empty log message ***
leonid
parents: 225
diff changeset
    31
        ; lifegrd.h
b0dd37421d28 *** empty log message ***
leonid
parents: 225
diff changeset
    32
        _heartbeatError
589
06f6c12d5f78 Update CanFestival-3.def for visual studio users :
greg
parents: 320
diff changeset
    33
        _post_SlaveBootup
635
30a0e926bb2e ADDED: - new callback post_SlaveStateChange so that a master can monitor the state of its slave nodes using a heartbeat.
Christian Taedcke
parents: 594
diff changeset
    34
        _post_SlaveStateChange
145
e747d2e26af0 Win32 Native support and dynamicaly loaded CAN drivers for Linux, Cygwin and Win32.
etisserant
parents:
diff changeset
    35
        getNodeState
e747d2e26af0 Win32 Native support and dynamicaly loaded CAN drivers for Linux, Cygwin and Win32.
etisserant
parents:
diff changeset
    36
        heartbeatInit
e747d2e26af0 Win32 Native support and dynamicaly loaded CAN drivers for Linux, Cygwin and Win32.
etisserant
parents:
diff changeset
    37
        heartbeatStop
e747d2e26af0 Win32 Native support and dynamicaly loaded CAN drivers for Linux, Cygwin and Win32.
etisserant
parents:
diff changeset
    38
        proceedNODE_GUARD
252
b0dd37421d28 *** empty log message ***
leonid
parents: 225
diff changeset
    39
        
b0dd37421d28 *** empty log message ***
leonid
parents: 225
diff changeset
    40
        ; nmtMaster.h
145
e747d2e26af0 Win32 Native support and dynamicaly loaded CAN drivers for Linux, Cygwin and Win32.
etisserant
parents:
diff changeset
    41
        masterSendNMTstateChange
e747d2e26af0 Win32 Native support and dynamicaly loaded CAN drivers for Linux, Cygwin and Win32.
etisserant
parents:
diff changeset
    42
        masterSendNMTnodeguard
e747d2e26af0 Win32 Native support and dynamicaly loaded CAN drivers for Linux, Cygwin and Win32.
etisserant
parents:
diff changeset
    43
        masterRequestNodeState
252
b0dd37421d28 *** empty log message ***
leonid
parents: 225
diff changeset
    44
        
b0dd37421d28 *** empty log message ***
leonid
parents: 225
diff changeset
    45
        ; nmtSlave.h
145
e747d2e26af0 Win32 Native support and dynamicaly loaded CAN drivers for Linux, Cygwin and Win32.
etisserant
parents:
diff changeset
    46
        proceedNMTstateChange
e747d2e26af0 Win32 Native support and dynamicaly loaded CAN drivers for Linux, Cygwin and Win32.
etisserant
parents:
diff changeset
    47
        slaveSendBootUp
252
b0dd37421d28 *** empty log message ***
leonid
parents: 225
diff changeset
    48
        
b0dd37421d28 *** empty log message ***
leonid
parents: 225
diff changeset
    49
        ; objacces.h
b0dd37421d28 *** empty log message ***
leonid
parents: 225
diff changeset
    50
        _storeODSubIndex
145
e747d2e26af0 Win32 Native support and dynamicaly loaded CAN drivers for Linux, Cygwin and Win32.
etisserant
parents:
diff changeset
    51
        accessDictionaryError
594
17a171fe7c56 re-use macro for objaccess
'Gr?gory Tr?lat <gregory.trelat@lolitech.fr>'
parents: 589
diff changeset
    52
        _getODentry
17a171fe7c56 re-use macro for objaccess
'Gr?gory Tr?lat <gregory.trelat@lolitech.fr>'
parents: 589
diff changeset
    53
        _setODentry
145
e747d2e26af0 Win32 Native support and dynamicaly loaded CAN drivers for Linux, Cygwin and Win32.
etisserant
parents:
diff changeset
    54
        scanIndexOD
e747d2e26af0 Win32 Native support and dynamicaly loaded CAN drivers for Linux, Cygwin and Win32.
etisserant
parents:
diff changeset
    55
        RegisterSetODentryCallBack
252
b0dd37421d28 *** empty log message ***
leonid
parents: 225
diff changeset
    56
        
b0dd37421d28 *** empty log message ***
leonid
parents: 225
diff changeset
    57
        ; pdo.h
b0dd37421d28 *** empty log message ***
leonid
parents: 225
diff changeset
    58
        buildPDO
145
e747d2e26af0 Win32 Native support and dynamicaly loaded CAN drivers for Linux, Cygwin and Win32.
etisserant
parents:
diff changeset
    59
        sendPDOrequest
e747d2e26af0 Win32 Native support and dynamicaly loaded CAN drivers for Linux, Cygwin and Win32.
etisserant
parents:
diff changeset
    60
        proceedPDO
252
b0dd37421d28 *** empty log message ***
leonid
parents: 225
diff changeset
    61
        sendPDOevent
b0dd37421d28 *** empty log message ***
leonid
parents: 225
diff changeset
    62
        _sendPDOevent
b0dd37421d28 *** empty log message ***
leonid
parents: 225
diff changeset
    63
		PDOInit
b0dd37421d28 *** empty log message ***
leonid
parents: 225
diff changeset
    64
		PDOStop
b0dd37421d28 *** empty log message ***
leonid
parents: 225
diff changeset
    65
		PDOEventTimerAlarm
b0dd37421d28 *** empty log message ***
leonid
parents: 225
diff changeset
    66
		PDOInhibitTimerAlarm
b0dd37421d28 *** empty log message ***
leonid
parents: 225
diff changeset
    67
		CopyBits
b0dd37421d28 *** empty log message ***
leonid
parents: 225
diff changeset
    68
b0dd37421d28 *** empty log message ***
leonid
parents: 225
diff changeset
    69
        ; sdo.h
b0dd37421d28 *** empty log message ***
leonid
parents: 225
diff changeset
    70
        SDOTimeoutAlarm
b0dd37421d28 *** empty log message ***
leonid
parents: 225
diff changeset
    71
        resetSDO
145
e747d2e26af0 Win32 Native support and dynamicaly loaded CAN drivers for Linux, Cygwin and Win32.
etisserant
parents:
diff changeset
    72
        SDOlineToObjdict
e747d2e26af0 Win32 Native support and dynamicaly loaded CAN drivers for Linux, Cygwin and Win32.
etisserant
parents:
diff changeset
    73
        objdictToSDOline
e747d2e26af0 Win32 Native support and dynamicaly loaded CAN drivers for Linux, Cygwin and Win32.
etisserant
parents:
diff changeset
    74
        lineToSDO
e747d2e26af0 Win32 Native support and dynamicaly loaded CAN drivers for Linux, Cygwin and Win32.
etisserant
parents:
diff changeset
    75
        SDOtoLine
e747d2e26af0 Win32 Native support and dynamicaly loaded CAN drivers for Linux, Cygwin and Win32.
etisserant
parents:
diff changeset
    76
        failedSDO
e747d2e26af0 Win32 Native support and dynamicaly loaded CAN drivers for Linux, Cygwin and Win32.
etisserant
parents:
diff changeset
    77
        resetSDOline
e747d2e26af0 Win32 Native support and dynamicaly loaded CAN drivers for Linux, Cygwin and Win32.
etisserant
parents:
diff changeset
    78
        initSDOline
e747d2e26af0 Win32 Native support and dynamicaly loaded CAN drivers for Linux, Cygwin and Win32.
etisserant
parents:
diff changeset
    79
        getSDOfreeLine
e747d2e26af0 Win32 Native support and dynamicaly loaded CAN drivers for Linux, Cygwin and Win32.
etisserant
parents:
diff changeset
    80
        getSDOlineOnUse
e747d2e26af0 Win32 Native support and dynamicaly loaded CAN drivers for Linux, Cygwin and Win32.
etisserant
parents:
diff changeset
    81
        closeSDOtransfer
e747d2e26af0 Win32 Native support and dynamicaly loaded CAN drivers for Linux, Cygwin and Win32.
etisserant
parents:
diff changeset
    82
        getSDOlineRestBytes
e747d2e26af0 Win32 Native support and dynamicaly loaded CAN drivers for Linux, Cygwin and Win32.
etisserant
parents:
diff changeset
    83
        setSDOlineRestBytes
e747d2e26af0 Win32 Native support and dynamicaly loaded CAN drivers for Linux, Cygwin and Win32.
etisserant
parents:
diff changeset
    84
        sendSDO
e747d2e26af0 Win32 Native support and dynamicaly loaded CAN drivers for Linux, Cygwin and Win32.
etisserant
parents:
diff changeset
    85
        sendSDOabort
e747d2e26af0 Win32 Native support and dynamicaly loaded CAN drivers for Linux, Cygwin and Win32.
etisserant
parents:
diff changeset
    86
        proceedSDO
e747d2e26af0 Win32 Native support and dynamicaly loaded CAN drivers for Linux, Cygwin and Win32.
etisserant
parents:
diff changeset
    87
        writeNetworkDict
252
b0dd37421d28 *** empty log message ***
leonid
parents: 225
diff changeset
    88
        writeNetworkDictCallBack
145
e747d2e26af0 Win32 Native support and dynamicaly loaded CAN drivers for Linux, Cygwin and Win32.
etisserant
parents:
diff changeset
    89
        readNetworkDict
e747d2e26af0 Win32 Native support and dynamicaly loaded CAN drivers for Linux, Cygwin and Win32.
etisserant
parents:
diff changeset
    90
        readNetworkDictCallback
e747d2e26af0 Win32 Native support and dynamicaly loaded CAN drivers for Linux, Cygwin and Win32.
etisserant
parents:
diff changeset
    91
        getReadResultNetworkDict
e747d2e26af0 Win32 Native support and dynamicaly loaded CAN drivers for Linux, Cygwin and Win32.
etisserant
parents:
diff changeset
    92
        getWriteResultNetworkDict
252
b0dd37421d28 *** empty log message ***
leonid
parents: 225
diff changeset
    93
        
b0dd37421d28 *** empty log message ***
leonid
parents: 225
diff changeset
    94
        ; states.h
b0dd37421d28 *** empty log message ***
leonid
parents: 225
diff changeset
    95
        _operational
b0dd37421d28 *** empty log message ***
leonid
parents: 225
diff changeset
    96
        _preOperational
b0dd37421d28 *** empty log message ***
leonid
parents: 225
diff changeset
    97
        _initialisation
b0dd37421d28 *** empty log message ***
leonid
parents: 225
diff changeset
    98
        _stopped
145
e747d2e26af0 Win32 Native support and dynamicaly loaded CAN drivers for Linux, Cygwin and Win32.
etisserant
parents:
diff changeset
    99
        canDispatch
e747d2e26af0 Win32 Native support and dynamicaly loaded CAN drivers for Linux, Cygwin and Win32.
etisserant
parents:
diff changeset
   100
        getState
e747d2e26af0 Win32 Native support and dynamicaly loaded CAN drivers for Linux, Cygwin and Win32.
etisserant
parents:
diff changeset
   101
        setState
e747d2e26af0 Win32 Native support and dynamicaly loaded CAN drivers for Linux, Cygwin and Win32.
etisserant
parents:
diff changeset
   102
        getNodeId
e747d2e26af0 Win32 Native support and dynamicaly loaded CAN drivers for Linux, Cygwin and Win32.
etisserant
parents:
diff changeset
   103
        setNodeId
252
b0dd37421d28 *** empty log message ***
leonid
parents: 225
diff changeset
   104
        ;initPreOperationalMode
b0dd37421d28 *** empty log message ***
leonid
parents: 225
diff changeset
   105
b0dd37421d28 *** empty log message ***
leonid
parents: 225
diff changeset
   106
        ; sync.h
b0dd37421d28 *** empty log message ***
leonid
parents: 225
diff changeset
   107
        startSYNC
b0dd37421d28 *** empty log message ***
leonid
parents: 225
diff changeset
   108
        stopSYNC
b0dd37421d28 *** empty log message ***
leonid
parents: 225
diff changeset
   109
        _post_sync
b0dd37421d28 *** empty log message ***
leonid
parents: 225
diff changeset
   110
        _post_TPDO
145
e747d2e26af0 Win32 Native support and dynamicaly loaded CAN drivers for Linux, Cygwin and Win32.
etisserant
parents:
diff changeset
   111
        sendSYNC
e747d2e26af0 Win32 Native support and dynamicaly loaded CAN drivers for Linux, Cygwin and Win32.
etisserant
parents:
diff changeset
   112
        proceedSYNC
252
b0dd37421d28 *** empty log message ***
leonid
parents: 225
diff changeset
   113
        
589
06f6c12d5f78 Update CanFestival-3.def for visual studio users :
greg
parents: 320
diff changeset
   114
        ; emcy.h
06f6c12d5f78 Update CanFestival-3.def for visual studio users :
greg
parents: 320
diff changeset
   115
        emergencyInit
06f6c12d5f78 Update CanFestival-3.def for visual studio users :
greg
parents: 320
diff changeset
   116
        emergencyStop
06f6c12d5f78 Update CanFestival-3.def for visual studio users :
greg
parents: 320
diff changeset
   117
        EMCY_setError
06f6c12d5f78 Update CanFestival-3.def for visual studio users :
greg
parents: 320
diff changeset
   118
        EMCY_errorRecovered
06f6c12d5f78 Update CanFestival-3.def for visual studio users :
greg
parents: 320
diff changeset
   119
        _post_emcy
252
b0dd37421d28 *** empty log message ***
leonid
parents: 225
diff changeset
   120
        
b0dd37421d28 *** empty log message ***
leonid
parents: 225
diff changeset
   121
        ; timer.h
145
e747d2e26af0 Win32 Native support and dynamicaly loaded CAN drivers for Linux, Cygwin and Win32.
etisserant
parents:
diff changeset
   122
        SetAlarm
e747d2e26af0 Win32 Native support and dynamicaly loaded CAN drivers for Linux, Cygwin and Win32.
etisserant
parents:
diff changeset
   123
        DelAlarm
e747d2e26af0 Win32 Native support and dynamicaly loaded CAN drivers for Linux, Cygwin and Win32.
etisserant
parents:
diff changeset
   124
        TimeDispatch
e747d2e26af0 Win32 Native support and dynamicaly loaded CAN drivers for Linux, Cygwin and Win32.
etisserant
parents:
diff changeset
   125
        setTimer
e747d2e26af0 Win32 Native support and dynamicaly loaded CAN drivers for Linux, Cygwin and Win32.
etisserant
parents:
diff changeset
   126
        getElapsedTime
252
b0dd37421d28 *** empty log message ***
leonid
parents: 225
diff changeset
   127
        
b0dd37421d28 *** empty log message ***
leonid
parents: 225
diff changeset
   128
        ; timers_driver.h
589
06f6c12d5f78 Update CanFestival-3.def for visual studio users :
greg
parents: 320
diff changeset
   129
        TimerInit
06f6c12d5f78 Update CanFestival-3.def for visual studio users :
greg
parents: 320
diff changeset
   130
        TimerCleanup
145
e747d2e26af0 Win32 Native support and dynamicaly loaded CAN drivers for Linux, Cygwin and Win32.
etisserant
parents:
diff changeset
   131
        StartTimerLoop
e747d2e26af0 Win32 Native support and dynamicaly loaded CAN drivers for Linux, Cygwin and Win32.
etisserant
parents:
diff changeset
   132
        StopTimerLoop
e747d2e26af0 Win32 Native support and dynamicaly loaded CAN drivers for Linux, Cygwin and Win32.
etisserant
parents:
diff changeset
   133
        CreateReceiveTask
252
b0dd37421d28 *** empty log message ***
leonid
parents: 225
diff changeset
   134
        
b0dd37421d28 *** empty log message ***
leonid
parents: 225
diff changeset
   135
        ; win32/canfestival.h
b0dd37421d28 *** empty log message ***
leonid
parents: 225
diff changeset
   136
		LoadCanDriver
b0dd37421d28 *** empty log message ***
leonid
parents: 225
diff changeset
   137
		canSend
b0dd37421d28 *** empty log message ***
leonid
parents: 225
diff changeset
   138
		canOpen
b0dd37421d28 *** empty log message ***
leonid
parents: 225
diff changeset
   139
		canClose
640
e9a4e4c308bb ADDED: - LeaveMutex and EnterMutex to exported symbols
Christian Taedcke <Christian.Taedcke@ica-traffic.de>
parents: 635
diff changeset
   140
		
e9a4e4c308bb ADDED: - LeaveMutex and EnterMutex to exported symbols
Christian Taedcke <Christian.Taedcke@ica-traffic.de>
parents: 635
diff changeset
   141
		LeaveMutex
e9a4e4c308bb ADDED: - LeaveMutex and EnterMutex to exported symbols
Christian Taedcke <Christian.Taedcke@ica-traffic.de>
parents: 635
diff changeset
   142
		EnterMutex
e9a4e4c308bb ADDED: - LeaveMutex and EnterMutex to exported symbols
Christian Taedcke <Christian.Taedcke@ica-traffic.de>
parents: 635
diff changeset
   143