download p18fxxx.inc
Language: NonCode
LOC: 0
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

#ifndef __P18FXXX__
#define	__P18FXXX__	1


		list	r=dec, n=96, st=off, mm=off

	        nolist

; This header file defines configurations, registers, and other useful bits of
; information common to all PIC18Fxxx microcontrollers.

FSR0            equ	0
FSR1            equ	1
FSR2            equ	2

FAST            equ	1

W               equ	0
A               equ	0
ACCESS          equ	0
BANKED		equ	1

;	Register Files

TOSU            equ	0x0FFF
TOSH            equ	0x0FFE
TOSL            equ	0x0FFD

STKPTR          equ	0x0FFC

PCLATU          equ	0x0FFB
PCLATH          equ	0x0FFA
PCL             equ	0x0FF9

TBLPTRU         equ	0x0FF8
TBLPTRH         equ	0x0FF7
TBLPTRL         equ	0x0FF6
TABLAT          equ	0x0FF5

PRODH           equ	0x0FF4
PRODL           equ	0x0FF3

INDF0           equ	0x0FEF
POSTINC0        equ	0x0FEE
POSTDEC0        equ	0x0FED
PREINC0         equ	0x0FEC
PLUSW0          equ	0x0FEB
FSR0H           equ	0x0FEA
FSR0L           equ	0x0FE9

WREG            equ	0x0FE8

INDF1           equ	0x0FE7
POSTINC1        equ	0x0FE6
POSTDEC1        equ	0x0FE5
PREINC1         equ	0x0FE4
PLUSW1          equ	0x0FE3
FSR1H           equ	0x0FE2
FSR1L           equ	0x0FE1

BSR             equ	0x0FE0

INDF2           equ	0x0FDF
POSTINC2        equ	0x0FDE
POSTDEC2        equ	0x0FDD
PREINC2         equ	0x0FDC
PLUSW2          equ	0x0FDB
FSR2H           equ	0x0FDA
FSR2L           equ	0x0FD9

STATUS          equ	0x0FD8

PORTC		equ	0x0F82
PORTB		equ	0x0F81
PORTA		equ	0x0F80

;	Status Register Bit Definitions

C		equ	0
DC		equ	1
Z		equ	2
OV		equ	3
N		equ	4

		list
#endif

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