A
download pic18fregs.h
Language: C
LOC: 64
Project Info
Small Device C Compiler(sdcc)
Server: SourceForge
Type: cvs
...\sdcc\device\include\pic16\
   adc.h
   ctype.h
   delay.h
   errno.h
   float.h
   gstack.h
   i2c.h
   limits.h
   malloc.h
   math.h
   p18fxxx.inc
   pic18f1220.h
   pic18f2220.h
   pic18f242.h
   pic18f2455.h
   pic18f248.h
   pic18f252.h
   pic18f2550.h
   pic18f258.h
   pic18f4220.h
   pic18f4331.h
   pic18f442.h
   pic18f4455.h
   pic18f448.h
   pic18f452.h
   pic18f4520.h
   pic18f458.h
   pic18f6520.h
   pic18f6620.h
   pic18f6680.h
   pic18f6720.h
   pic18f8520.h
   pic18f8620.h
   pic18f8680.h
   pic18f8720.h
   pic18fregs.h
   sdcc-lib.h
   signal.h
   stdarg.h
   stdbool.h
   stddef.h
   stdint.h
   stdio.h
   stdlib.h
   string.h
   usart.h

/*
 * pic18fregs.h - 18F Family Device Library Header
 *
 * This file is part of the GNU PIC Library.
 *
 * January, 2004
 * The GNU PIC Library is maintained by,
 * 	Vangelis Rokas <vrokas@otenet.gr>
 *
 * $Id: pic18fregs.h,v 1.11 2005/10/04 10:01:11 tecodev Exp $
 *
 */

#ifndef __PIC18FREGS_H__
#define __PIC18FREGS_H__


#if defined(pic18f242)
#  include <pic18f242.h>

#elif defined(pic18f248)
#  include <pic18f248.h>

#elif defined(pic18f252)
#  include <pic18f252.h>

#elif defined(pic18f258)
#  include <pic18f258.h>

#elif defined(pic18f442)
#  include <pic18f442.h>

#elif defined(pic18f448)
#  include <pic18f448.h>

#elif defined(pic18f452)
#  include <pic18f452.h>

#elif defined(pic18f458)
#  include <pic18f458.h>

#elif defined(pic18f1220)
#  include <pic18f1220.h>

#elif defined(pic18f1320)
# include <pic18f1220.h>	/* Yes, it's 1220.h */

#elif defined(pic18f2220)
#  include <pic18f2220.h>
#elif defined(pic18f2320)
#  include <pic18f2220.h>	/* Yes, it's 2220.h */

#elif defined(pic18f2455)
#  include <pic18f2455.h>

#elif defined(pic18f2550)
#  include <pic18f2550.h>

#elif defined(pic18f4220)
#  include <pic18f4220.h>

#elif defined(pic18f4320)
#  include <pic18f4220.h>	/* Yes, it's 4220.h */

#elif defined(pic18f4331)
#  include <pic18f4331.h>

#elif defined(pic18f4455)
#  include <pic18f4455.h>

#elif defined(pic18f4520)
#  include <pic18f4520.h>

#elif defined(pic18f6520)
#  include <pic18f6520.h>

#elif defined(pic18f6620)
#  include <pic18f6620.h>

#elif defined(pic18f6680)
#  include <pic18f6680.h>

#elif defined(pic18f6720)
#  include <pic18f6720.h>

#elif defined(pic18f8520)
#  include <pic18f8520.h>

#elif defined(pic18f8620)
#  include <pic18f8620.h>

#elif defined(pic18f8680)
#  include <pic18f8680.h>

#elif defined(pic18f8720)
#  include <pic18f8720.h>

#else
#  error Unsupported processor

#endif


#define Nop()           do { _asm nop _endasm; } while(0)
#define ClrWdt()        do { _asm clrwdt _endasm; } while(0)
#define Sleep()         do { _asm sleep _endasm; } while(0)
#define Reset()         do { _asm reset _endasm; } while(0)


#endif /* __PIC18FREGS_H__ */

About Koders | Resources | Downloads | Support | Black Duck | Terms of Service | DMCA | Privacy Policy | Contact Us