Cleaned up ANSTO code to merge with sinqdev.sics
This is our new RELEASE-4_0 branch which was taken from ansto/93d9a7c Conflicts: .gitignore SICSmain.c asynnet.c confvirtualmot.c counter.c devexec.c drive.c event.h exebuf.c exeman.c histmem.c interface.h motor.c motorlist.c motorsec.c multicounter.c napi.c napi.h napi4.c network.c nwatch.c nxscript.c nxxml.c nxxml.h ofac.c reflist.c scan.c sicshipadaba.c sicsobj.c site_ansto/docs/Copyright.txt site_ansto/instrument/lyrebird/config/tasmad/sicscommon/nxsupport.tcl site_ansto/instrument/lyrebird/config/tasmad/taspub_sics/tasscript.tcl statusfile.c tasdrive.c tasub.c tasub.h tasublib.c tasublib.h
This commit is contained in:
29
ascon.i
29
ascon.i
@@ -25,20 +25,21 @@
|
||||
* The state of the connection.
|
||||
*/
|
||||
typedef enum {
|
||||
AsconNotConnected, /**< unconnected, not to be connected automatically */
|
||||
AsconConnectStart, /**< after initialisation or after AsconFailed */
|
||||
AsconConnecting, /**< after AsconConnectStart or AsconConnecting */
|
||||
AsconConnectDone, /**< after AsconConnecting */
|
||||
AsconWriteStart, /**< set by the AsconWrite function */
|
||||
AsconWriting, /**< after AsconWriteStart or AsconWriting */
|
||||
AsconWriteDone, /**< after AsconWriting */
|
||||
AsconReadStart, /**< after AsconWriteDone */
|
||||
AsconReading, /**< after AsconReadStart or AsconReading */
|
||||
AsconReadDone, /**< after AsconReading */
|
||||
AsconIdle, /**< after AsconWriteDone, AsconReadDone, AsconTimeout, AsconIdle */
|
||||
AsconFailed, /**< after any state */
|
||||
AsconTimeout, /**< after AsconReading */
|
||||
AsconMaxState /**< number of states */
|
||||
AsconNotConnected, /**< unconnected, not to be connected automatically */
|
||||
AsconConnectStart, /**< after initialisation or after AsconFailed */
|
||||
AsconConnecting, /**< after AsconConnectStart or AsconConnecting */
|
||||
AsconConnectDone, /**< after AsconConnecting */
|
||||
AsconWriteStart, /**< set by the AsconWrite function */
|
||||
AsconWriting, /**< after AsconWriteStart or AsconWriting */
|
||||
AsconWriteDone, /**< after AsconWriting */
|
||||
AsconReadStart, /**< after AsconWriteDone */
|
||||
AsconReading, /**< after AsconReadStart or AsconReading */
|
||||
AsconReadDone, /**< after AsconReading */
|
||||
AsconReadDoneReconnect, /**< after AsconReading, read success, but need to reconnect */
|
||||
AsconIdle, /**< after AsconWriteDone, AsconReadDone, AsconTimeout, AsconIdle */
|
||||
AsconFailed, /**< after any state */
|
||||
AsconTimeout, /**< after AsconReading */
|
||||
AsconMaxState /**< number of states */
|
||||
} AsconState;
|
||||
|
||||
/** \brief the task handler function prototype
|
||||
|
||||
Reference in New Issue
Block a user