Advertisement
mike2545

18F2685.inc

Oct 3rd, 2011
362
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 1.30 KB | None | 0 0
  1. ;****************************************************************
  2. ;*  18F2685.INC                                                 *
  3. ;*                                                              *
  4. ;*  By        : Leonard Zerman, Jeff Schmoyer                   *
  5. ;*  Notice    : Copyright (c) 2008 microEngineering Labs, Inc.  *
  6. ;*              All Rights Reserved                             *
  7. ;*  Date      : 09/15/08                                        *
  8. ;*  Version   : 2.60                                            *
  9. ;*  Notes     :                                                 *
  10. ;****************************************************************
  11.         NOLIST
  12.     ifdef PM_USED
  13.         LIST
  14.         "Error: PM does not support this device.  Use MPASM."
  15.         NOLIST
  16.     else
  17.         LIST
  18.         LIST p = 18F2685, r = dec, w = -311, w = -230, f = inhx32
  19.         INCLUDE "P18F2685.INC"  ; MPASM  Header
  20.         __CONFIG    _CONFIG1H, _OSC_IRCIO67_1H & _FCMEN_OFF_1H & _IESO_OFF_1H
  21.         __CONFIG    _CONFIG2H, _WDT_ON_2H & _WDTPS_512_2H
  22.         __CONFIG    _CONFIG3H, _PBADEN_OFF_3H & _LPT1OSC_OFF_3H & _MCLRE_ON_3H
  23.         __CONFIG    _CONFIG4L, _STVREN_ON_4L & _LVP_OFF_4L & _BBSIZ_1024_4L & _XINST_OFF_4L
  24.         NOLIST
  25.     endif
  26.         LIST
  27. EEPROM_START    EQU 0F00000h
  28. BLOCK_SIZE  EQU 64
  29.  
  30.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement