gpib_state_machines.h 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637
  1. /***************************************************************************
  2. gpib_state_machines.h
  3. -------------------
  4. begin : June 2006
  5. copyright : (C) 2006 by Frank Mori Hess
  6. email : fmhess@users.sourceforge.net
  7. ***************************************************************************/
  8. /***************************************************************************
  9. * *
  10. * This program is free software; you can redistribute it and/or modify *
  11. * it under the terms of the GNU General Public License as published by *
  12. * the Free Software Foundation; either version 2 of the License, or *
  13. * (at your option) any later version. *
  14. * *
  15. ***************************************************************************/
  16. #ifndef _GPIB_STATE_MACHINES_H
  17. #define _GPIB_STATE_MACHINES_H
  18. enum talker_function_state
  19. {
  20. talker_idle,
  21. talker_addressed,
  22. talker_active,
  23. serial_poll_active
  24. };
  25. enum listener_function_state
  26. {
  27. listener_idle,
  28. listener_addressed,
  29. listener_active
  30. };
  31. #endif // _GPIB_STATE_MACHINES_H