timeouts.h 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. /****************************************************************************
  2. ******* *******
  3. ******* T I M E O U T S
  4. ******* *******
  5. ****************************************************************************
  6. Author : Ian Nandhra
  7. Date :
  8. *
  9. * (C) 1990 - 2000 Specialix International Ltd., Byfleet, Surrey, UK.
  10. *
  11. * This program is free software; you can redistribute it and/or modify
  12. * it under the terms of the GNU General Public License as published by
  13. * the Free Software Foundation; either version 2 of the License, or
  14. * (at your option) any later version.
  15. *
  16. * This program is distributed in the hope that it will be useful,
  17. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  18. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  19. * GNU General Public License for more details.
  20. *
  21. * You should have received a copy of the GNU General Public License
  22. * along with this program; if not, write to the Free Software
  23. * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
  24. Version : 0.01
  25. Mods
  26. ----------------------------------------------------------------------------
  27. Date By Description
  28. ----------------------------------------------------------------------------
  29. ***************************************************************************/
  30. #ifndef lint
  31. #ifdef SCCS_LABELS
  32. static char *_rio_defaults_h_sccs = "@(#)timeouts.h 1.3" ;
  33. #endif
  34. #endif
  35. #define MILLISECOND (int) (1000/64) /* 15.625 low ticks */
  36. #define SECOND (int) 15625 /* Low priority ticks */
  37. #define TX_TIMEOUT (int) (200 * MILLISECOND)
  38. /*********** end of file ***********/