You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

42 lines
1.9 KiB

  1. /***************************************************************************
  2. * Copyright (C) 2007 by Pavel Chromy *
  3. * chromy@asix.cz *
  4. * *
  5. * This program is free software; you can redistribute it and/or modify *
  6. * it under the terms of the GNU General Public License as published by *
  7. * the Free Software Foundation; either version 2 of the License, or *
  8. * (at your option) any later version. *
  9. * *
  10. * This program is distributed in the hope that it will be useful, *
  11. * but WITHOUT ANY WARRANTY; without even the implied warranty of *
  12. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
  13. * GNU General Public License for more details. *
  14. * *
  15. * You should have received a copy of the GNU General Public License *
  16. * along with this program; if not, write to the *
  17. * Free Software Foundation, Inc., *
  18. * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. *
  19. ***************************************************************************/
  20. #ifndef OCL_H
  21. #define OCL_H
  22. /* command/response mask */
  23. #define OCL_CMD_MASK 0xFFFF0000L
  24. /* commads */
  25. #define OCL_FLASH_BLOCK 0x0CFB0000L
  26. #define OCL_ERASE_BLOCK 0x0CEB0000L
  27. #define OCL_ERASE_ALL 0x0CEA0000L
  28. #define OCL_PROBE 0x0CBE0000L
  29. /* responses */
  30. #define OCL_CMD_DONE 0x0ACD0000L
  31. #define OCL_CMD_ERR 0x0ACE0000L
  32. #define OCL_CHKS_FAIL 0x0ACF0000L
  33. #define OCL_BUFF_OVER 0x0AB00000L
  34. #define OCL_CHKS_INIT 0xC100CD0CL
  35. #endif /* OCL_H */