Advertisement
Guest User

Common.INC (V1.04)

a guest
Dec 21st, 2012
373
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.17 KB | None | 0 0
  1. ;---------------------------------------------------;
  2. ; Name: COMMON.INC ;
  3. ; Use: Common Usage Include File ;
  4. ;---------------------------------------------------;
  5. ; Copyright: (C) 2012 DTI ;
  6. ; Dysfunctional Technologies, Inc. ;
  7. ; All Rights Reserved ;
  8. ;---------------------------------------------------;
  9. ; Author: Timothy S. Carlson ;
  10. ; Dysfunctional Technologies, Inc. ;
  11. ; Date: March 19, 2012 ;
  12. ; Version: V1.04 ;
  13. ;---------------------------------------------------;
  14. ; Description: Common defines, equates, and macros ;
  15. ; used in all modules ;
  16. ;---------------------------------------------------;
  17. ; Code is specific to the PIC12F629! ;
  18. ;---------------------------------------------------;
  19. LIST P=12F629 ;
  20. #INCLUDE <P12F629.INC> ;
  21. ;
  22. ;-----------------------------------------------;
  23. ; Set default radix to DECIMAL (Was HEX) ;
  24. ;-----------------------------------------------;
  25. RADIX DEC ;
  26. ;-----------------------------------------------;
  27. ; Suppress message 207 from list file ;
  28. ; (Found label after column 1) ;
  29. ;-----------------------------------------------;
  30. ; ERRORLEVEL -207 ;
  31. ;-----------------------------------------------;
  32. ; Suppress message 302 from list file ;
  33. ; (Register in operand not in bank 0) ;
  34. ;-----------------------------------------------;
  35. ERRORLEVEL -302 ;
  36. ;-----------------------------------------------;
  37. ; Set configuration registers ;
  38. ;-----------------------------------------------;
  39. __CONFIG _CPD_OFF & _CP_OFF & _BODEN_OFF & _MCLRE_OFF & _PWRTE_ON & _WDT_OFF & _INTRC_OSC_NOCLKOUT
  40. ;---------------------------------------------------;
  41.  
  42. ;---------------------------------------------------;
  43. ; Macros ;
  44. ;---------------------------------------------------;
  45. ;---------------------------------------------------;
  46.  
  47. ;---------------------------------------------------;
  48. ; Defines ;
  49. ;---------------------------------------------------;
  50. #DEFINE MSB 7 ;
  51. #DEFINE LSB 0 ;
  52. #DEFINE MEMORY 0 ;
  53. ;---------------------------------------------------;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement