Advertisement
mike2545

18F1320.inc

Oct 3rd, 2011
220
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 1.19 KB | None | 0 0
  1. ;****************************************************************
  2. ;*  18F1320.INC                                                 *
  3. ;*                                                              *
  4. ;*  By        : Leonard Zerman, Jeff Schmoyer                   *
  5. ;*  Notice    : Copyright (c) 2006 microEngineering Labs, Inc.  *
  6. ;*              All Rights Reserved                             *
  7. ;*  Date      : 06/05/06                                        *
  8. ;*  Version   : 2.47                                            *
  9. ;*  Notes     :  turned off the XT_OSC_1H                       *
  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 = 18F1320, r = dec, w = -311, w = -230, f = inhx32
  19.         INCLUDE "P18F1320.INC"  ; MPASM  Header
  20.        
  21.         __CONFIG    _CONFIG1H, _INTIO1_OSC_1H & _INTIO2_OSC_1H ;_XT_OSC_1H
  22.         __CONFIG    _CONFIG2H, _WDT_ON_2H & _WDTPS_512_2H
  23.         __CONFIG    _CONFIG4L, _LVP_OFF_4L
  24.        
  25.         NOLIST
  26.     endif
  27.         LIST
  28. EEPROM_START    EQU 0F00000h
  29. BLOCK_SIZE  EQU 8
  30.  
  31.  
  32.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement