		LIST
;mc32f7062.inc    Standard Header File, Version 1.00 by Sinomcu
		NOLIST

;==========================================================================
;
;	Verify Processor
;
;==========================================================================

;	IFNDEF __32P7062
;		MESSG "Processor-header file mismatch.  Verify selected processor."
;	ENDIF

;==========================================================================
;
;	Register Definitions
;
;==========================================================================

;----- Register Files ---------------------------------------------------

INDF0     		EQU		H'0180'
INDF1     		EQU		H'0181'
INDF2     		EQU		H'0182'
HIBYTE    		EQU		H'0183'
FSR0      		EQU		H'0184'
FSR1      		EQU		H'0185'
PCL       		EQU		H'0186'
PFLAG     		EQU		H'0187'
MCR       		EQU		H'0188'
INDF3     		EQU		H'0189'
INTE0     		EQU		H'018A'
INTF0     		EQU		H'018B'
OSCMR     		EQU		H'018C'
HIRCCAL   		EQU		H'018D'
INTE1     		EQU		H'018E'
INTF1     		EQU		H'018F'
IOP0      		EQU		H'0190'
OEP0      		EQU		H'0191'
PUP0      		EQU		H'0192'
PDP0      		EQU		H'0193'
IOP1      		EQU		H'0194'
OEP1      		EQU		H'0195'
PUP1      		EQU		H'0196'
PDP1      		EQU		H'0197'
IOP2      		EQU		H'0198'
OEP2      		EQU		H'0199'
PUP2      		EQU		H'019A'
PDP2      		EQU		H'019B'
P1KBCR    		EQU		H'019C'
OPACR0    		EQU		H'019D'
OPACR1    		EQU		H'019E'
T0CR      		EQU		H'01A0'
T0CNT     		EQU		H'01A1'
T0LOAD    		EQU		H'01A2'
LVDCR     		EQU		H'01A4'
CMPCR0    		EQU		H'01A5'
CMPCR1    		EQU		H'01A6'
CMPCLR    		EQU		H'01A7'
T1CR0     		EQU		H'01A8'
T1CR1     		EQU		H'01A9'
T1CNTH    		EQU		H'01AA'
T1CNTL    		EQU		H'01AB'
T1LOADH   		EQU		H'01AC'
T1LOADL   		EQU		H'01AD'
T2CR      		EQU		H'01B0'
T2CNT     		EQU		H'01B1'
T2LOAD    		EQU		H'01B2'
T2DATA    		EQU		H'01B3'
PWM2CR0   		EQU		H'01B4'
PWM2CR1   		EQU		H'01B5'
PWM2CR2   		EQU		H'01B6'
T3CR      		EQU		H'01B8'
T3CNT     		EQU		H'01B9'
T3LOAD    		EQU		H'01BA'
T3DATA    		EQU		H'01BB'
T3DATB    		EQU		H'01BC'
T3DATC    		EQU		H'01BD'
PWM3CR0   		EQU		H'01BE'
PWM3CR1   		EQU		H'01BF'
PWM3CR2   		EQU		H'01C0'
PWM3CR3   		EQU		H'01C1'
PWM3CR4   		EQU		H'01C2'
EECR      		EQU		H'01C4'
EEPR      		EQU		H'01C5'
EEAR      		EQU		H'01C6'
EEDR      		EQU		H'01C7'
ADCR0     		EQU		H'01C8'
ADCR1     		EQU		H'01C9'
ADRH      		EQU		H'01CA'
ADRL      		EQU		H'01CB'
OSADJCR   		EQU		H'01CC'
P0ADCR    		EQU		H'01CD'
P1ADCR    		EQU		H'01CE'
P2ADCR    		EQU		H'01CF'

;----- INDF0 Bits ---------------------------------------------------

#define 	INDF00    	INDF0,0
#define 	INDF01    	INDF0,1
#define 	INDF02    	INDF0,2
#define 	INDF03    	INDF0,3
#define 	INDF04    	INDF0,4
#define 	INDF05    	INDF0,5
#define 	INDF06    	INDF0,6
#define 	INDF07    	INDF0,7

;----- INDF1 Bits ---------------------------------------------------

#define 	INDF10    	INDF1,0
#define 	INDF11    	INDF1,1
#define 	INDF12    	INDF1,2
#define 	INDF13    	INDF1,3
#define 	INDF14    	INDF1,4
#define 	INDF15    	INDF1,5
#define 	INDF16    	INDF1,6
#define 	INDF17    	INDF1,7

;----- INDF2 Bits ---------------------------------------------------

#define 	INDF20    	INDF2,0
#define 	INDF21    	INDF2,1
#define 	INDF22    	INDF2,2
#define 	INDF23    	INDF2,3
#define 	INDF24    	INDF2,4
#define 	INDF25    	INDF2,5
#define 	INDF26    	INDF2,6
#define 	INDF27    	INDF2,7

;----- HIBYTE Bits ---------------------------------------------------

#define 	HIBYTE0   	HIBYTE,0
#define 	HIBYTE1   	HIBYTE,1
#define 	HIBYTE2   	HIBYTE,2
#define 	HIBYTE3   	HIBYTE,3
#define 	HIBYTE4   	HIBYTE,4
#define 	HIBYTE5   	HIBYTE,5
#define 	HIBYTE6   	HIBYTE,6
#define 	HIBYTE7   	HIBYTE,7

;----- FSR0 Bits ---------------------------------------------------

#define 	FSR00     	FSR0,0
#define 	FSR01     	FSR0,1
#define 	FSR02     	FSR0,2
#define 	FSR03     	FSR0,3
#define 	FSR04     	FSR0,4
#define 	FSR05     	FSR0,5
#define 	FSR06     	FSR0,6
#define 	FSR07     	FSR0,7

;----- FSR1 Bits ---------------------------------------------------

#define 	FSR10     	FSR1,0
#define 	FSR11     	FSR1,1
#define 	FSR12     	FSR1,2
#define 	FSR13     	FSR1,3
#define 	FSR14     	FSR1,4
#define 	FSR15     	FSR1,5
#define 	FSR16     	FSR1,6
#define 	FSR17     	FSR1,7

;----- PCL Bits ---------------------------------------------------

#define 	PC0       	PCL,0
#define 	PC1       	PCL,1
#define 	PC2       	PCL,2
#define 	PC3       	PCL,3
#define 	PC4       	PCL,4
#define 	PC5       	PCL,5
#define 	PC6       	PCL,6
#define 	PC7       	PCL,7

;----- PFLAG Bits ---------------------------------------------------

#define 	C         	PFLAG,0
#define 	DC        	PFLAG,1
#define 	Z         	PFLAG,2

;----- MCR Bits ---------------------------------------------------

#define 	INT0M0    	MCR,0
#define 	INT0M1    	MCR,1
#define 	INT1M0    	MCR,2
#define 	INT1M1    	MCR,3
#define 	PD        	MCR,4
#define 	TO        	MCR,5
#define 	GIE       	MCR,7

;----- INDF3 Bits ---------------------------------------------------

#define 	INDF30    	INDF3,0
#define 	INDF31    	INDF3,1
#define 	INDF32    	INDF3,2
#define 	INDF33    	INDF3,3
#define 	INDF34    	INDF3,4
#define 	INDF35    	INDF3,5
#define 	INDF36    	INDF3,6
#define 	INDF37    	INDF3,7

;----- INTE0 Bits ---------------------------------------------------

#define 	T0IE      	INTE0,0
#define 	T1IE      	INTE0,1
#define 	INT0IE    	INTE0,2
#define 	INT1IE    	INTE0,3
#define 	KBIE      	INTE0,4
#define 	T2IE      	INTE0,5
#define 	ADIE      	INTE0,6
#define 	LVDIE     	INTE0,7

;----- INTF0 Bits ---------------------------------------------------

#define 	T0IF      	INTF0,0
#define 	T1IF      	INTF0,1
#define 	INT0IF    	INTF0,2
#define 	INT1IF    	INTF0,3
#define 	KBIF      	INTF0,4
#define 	T2IF      	INTF0,5
#define 	ADIF      	INTF0,6
#define 	LVDIF     	INTF0,7

;----- OSCMR Bits ---------------------------------------------------

#define 	HFEN      	OSCMR,0
#define 	LFEN      	OSCMR,1
#define 	CLKS      	OSCMR,2
#define 	STBH      	OSCMR,4
#define 	STBL      	OSCMR,5

;----- HIRCCAL Bits ---------------------------------------------------

#define 	HIRCCAL0  	HIRCCAL,0
#define 	HIRCCAL1  	HIRCCAL,1
#define 	HIRCCAL2  	HIRCCAL,2
#define 	HIRCCAL3  	HIRCCAL,3
#define 	HIRCCAL4  	HIRCCAL,4
#define 	HIRCCAL5  	HIRCCAL,5
#define 	HIRCCAL6  	HIRCCAL,6
#define 	HIRCCAL7  	HIRCCAL,7

;----- INTE1 Bits ---------------------------------------------------

#define 	CMPIE     	INTE1,0
#define 	T3IE      	INTE1,2
#define 	T1CIE     	INTE1,3

;----- INTF1 Bits ---------------------------------------------------

#define 	CMPIF     	INTF1,0
#define 	T3IF      	INTF1,2
#define 	T1CIF     	INTF1,3

;----- IOP0 Bits ---------------------------------------------------

#define 	P00D      	IOP0,0
#define 	P01D      	IOP0,1
#define 	P02D      	IOP0,2
#define 	P03D      	IOP0,3
#define 	P04D      	IOP0,4
#define 	P05D      	IOP0,5
#define 	P06D      	IOP0,6
#define 	P07D      	IOP0,7

;----- OEP0 Bits ---------------------------------------------------

#define 	P00OE     	OEP0,0
#define 	P01OE     	OEP0,1
#define 	P02OE     	OEP0,2
#define 	P03OE     	OEP0,3
#define 	P04OE     	OEP0,4
#define 	P05OE     	OEP0,5
#define 	P06OE     	OEP0,6
#define 	P07OE     	OEP0,7

;----- PUP0 Bits ---------------------------------------------------

#define 	P00PU     	PUP0,0
#define 	P01PU     	PUP0,1
#define 	P02PU     	PUP0,2
#define 	P03PU     	PUP0,3
#define 	P04PU     	PUP0,4
#define 	P05PU     	PUP0,5
#define 	P06PU     	PUP0,6
#define 	P07PU     	PUP0,7

;----- PDP0 Bits ---------------------------------------------------

#define 	P00PD     	PDP0,0
#define 	P01PD     	PDP0,1
#define 	P02PD     	PDP0,2
#define 	P03PD     	PDP0,3
#define 	P04PD     	PDP0,4
#define 	P05PD     	PDP0,5
#define 	P06PD     	PDP0,6
#define 	P07PD     	PDP0,7

;----- IOP1 Bits ---------------------------------------------------

#define 	P10D      	IOP1,0
#define 	P11D      	IOP1,1
#define 	P12D      	IOP1,2
#define 	P13D      	IOP1,3
#define 	P14D      	IOP1,4
#define 	P15D      	IOP1,5
#define 	P16D      	IOP1,6
#define 	P17D      	IOP1,7

;----- OEP1 Bits ---------------------------------------------------

#define 	P10OE     	OEP1,0
#define 	P11OE     	OEP1,1
#define 	P12OE     	OEP1,2
#define 	P13OE     	OEP1,3
#define 	P14OE     	OEP1,4
#define 	P15OE     	OEP1,5
#define 	P16OE     	OEP1,6
#define 	P17OE     	OEP1,7

;----- PUP1 Bits ---------------------------------------------------

#define 	P10PU     	PUP1,0
#define 	P11PU     	PUP1,1
#define 	P12PU     	PUP1,2
#define 	P13PU     	PUP1,3
#define 	P14PU     	PUP1,4
#define 	P15PU     	PUP1,5
#define 	P16PU     	PUP1,6
#define 	P17PU     	PUP1,7

;----- PDP1 Bits ---------------------------------------------------

#define 	P10PD     	PDP1,0
#define 	P11PD     	PDP1,1
#define 	P12PD     	PDP1,2
#define 	P13PD     	PDP1,3
#define 	P14PD     	PDP1,4
#define 	P15PD     	PDP1,5
#define 	P16PD     	PDP1,6
#define 	P17PD     	PDP1,7

;----- IOP2 Bits ---------------------------------------------------

#define 	P20D      	IOP2,0
#define 	P21D      	IOP2,1

;----- OEP2 Bits ---------------------------------------------------

#define 	P20OE     	OEP2,0
#define 	P21OE     	OEP2,1

;----- PUP2 Bits ---------------------------------------------------

#define 	P20PU     	PUP2,0
#define 	P21PU     	PUP2,1

;----- PDP2 Bits ---------------------------------------------------

#define 	P20PD     	PDP2,0
#define 	P21PD     	PDP2,1

;----- P1KBCR Bits ---------------------------------------------------

#define 	P10KE     	P1KBCR,0
#define 	P11KE     	P1KBCR,1
#define 	P12KE     	P1KBCR,2
#define 	P13KE     	P1KBCR,3
#define 	P14KE     	P1KBCR,4
#define 	P15KE     	P1KBCR,5
#define 	P16KE     	P1KBCR,6
#define 	P17KE     	P1KBCR,7

;----- OPACR0 Bits ---------------------------------------------------

#define 	OPAOE     	OPACR0,2
#define 	OPAEN     	OPACR0,7

;----- OPACR1 Bits ---------------------------------------------------

#define 	OPAVS0    	OPACR1,0
#define 	OPAVS1    	OPACR1,1
#define 	OPAVS2    	OPACR1,2
#define 	OPAPS0    	OPACR1,3
#define 	OPAPS1    	OPACR1,4

;----- T0CR Bits ---------------------------------------------------

#define 	T0PRS0    	T0CR,0
#define 	T0PRS1    	T0CR,1
#define 	T0PRS2    	T0CR,2
#define 	T0CKS0    	T0CR,3
#define 	T0CKS1    	T0CR,4
#define 	BUZ0OE    	T0CR,5
#define 	T0EN      	T0CR,7

;----- T0CNT Bits ---------------------------------------------------

#define 	T0CNT0    	T0CNT,0
#define 	T0CNT1    	T0CNT,1
#define 	T0CNT2    	T0CNT,2
#define 	T0CNT3    	T0CNT,3
#define 	T0CNT4    	T0CNT,4
#define 	T0CNT5    	T0CNT,5
#define 	T0CNT6    	T0CNT,6
#define 	T0CNT7    	T0CNT,7

;----- T0LOAD Bits ---------------------------------------------------

#define 	T0LOAD0   	T0LOAD,0
#define 	T0LOAD1   	T0LOAD,1
#define 	T0LOAD2   	T0LOAD,2
#define 	T0LOAD3   	T0LOAD,3
#define 	T0LOAD4   	T0LOAD,4
#define 	T0LOAD5   	T0LOAD,5
#define 	T0LOAD6   	T0LOAD,6
#define 	T0LOAD7   	T0LOAD,7

;----- LVDCR Bits ---------------------------------------------------

#define 	LVDF      	LVDCR,0
#define 	LVDVS0    	LVDCR,3
#define 	LVDVS1    	LVDCR,4
#define 	LVDVS2    	LVDCR,5
#define 	LVDEN     	LVDCR,7

;----- CMPCR0 Bits ---------------------------------------------------

#define 	CMPOF     	CMPCR0,0
#define 	CMPIM     	CMPCR0,1
#define 	CMPOE     	CMPCR0,2
#define 	CMPNV     	CMPCR0,3
#define 	CMPDB0    	CMPCR0,4
#define 	CMPDB1    	CMPCR0,5
#define 	CMPDB2    	CMPCR0,6
#define 	CMPEN     	CMPCR0,7

;----- CMPCR1 Bits ---------------------------------------------------

#define 	CMPNS0    	CMPCR1,0
#define 	CMPNS1    	CMPCR1,1
#define 	CMPPS0    	CMPCR1,2
#define 	CMPPS1    	CMPCR1,3
#define 	CMPPS2    	CMPCR1,4
#define 	CMPPS3    	CMPCR1,5

;----- CMPCLR Bits ---------------------------------------------------

#define 	CMPCLR0   	CMPCLR,0
#define 	CMPCLR1   	CMPCLR,1
#define 	CMPCLR2   	CMPCLR,2
#define 	CMPCLR3   	CMPCLR,3
#define 	CMPCLR4   	CMPCLR,4
#define 	CMPCLR5   	CMPCLR,5
#define 	CMPCLRS   	CMPCLR,6
#define 	CMPCLRE   	CMPCLR,7

;----- T1CR0 Bits ---------------------------------------------------

#define 	T1PRS0    	T1CR0,0
#define 	T1PRS1    	T1CR0,1
#define 	T1PRS2    	T1CR0,2
#define 	T1CKS0    	T1CR0,3
#define 	T1CKS1    	T1CR0,4
#define 	BUZ1OE    	T1CR0,5
#define 	T1MOD     	T1CR0,6
#define 	T1EN      	T1CR0,7

;----- T1CR1 Bits ---------------------------------------------------

#define 	T1CCT0    	T1CR1,0
#define 	T1CCT1    	T1CR1,1
#define 	T1CSTP    	T1CR1,2
#define 	T1CSTR    	T1CR1,3
#define 	T1CINS0   	T1CR1,4
#define 	T1CINS1   	T1CR1,5
#define 	T1CINS2   	T1CR1,6
#define 	T1CEOC    	T1CR1,7

;----- T1CNTH Bits ---------------------------------------------------

#define 	T1CNT8    	T1CNTH,0
#define 	T1CNT9    	T1CNTH,1
#define 	T1CNT10   	T1CNTH,2
#define 	T1CNT11   	T1CNTH,3
#define 	T1CNT12   	T1CNTH,4
#define 	T1CNT13   	T1CNTH,5
#define 	T1CNT14   	T1CNTH,6
#define 	T1CNT15   	T1CNTH,7

;----- T1CNTL Bits ---------------------------------------------------

#define 	T1CNT0    	T1CNTL,0
#define 	T1CNT1    	T1CNTL,1
#define 	T1CNT2    	T1CNTL,2
#define 	T1CNT3    	T1CNTL,3
#define 	T1CNT4    	T1CNTL,4
#define 	T1CNT5    	T1CNTL,5
#define 	T1CNT6    	T1CNTL,6
#define 	T1CNT7    	T1CNTL,7

;----- T1LOADH Bits ---------------------------------------------------

#define 	T1LOAD8   	T1LOADH,0
#define 	T1LOAD9   	T1LOADH,1
#define 	T1LOAD10  	T1LOADH,2
#define 	T1LOAD11  	T1LOADH,3
#define 	T1LOAD12  	T1LOADH,4
#define 	T1LOAD13  	T1LOADH,5
#define 	T1LOAD14  	T1LOADH,6
#define 	T1LOAD15  	T1LOADH,7

;----- T1LOADL Bits ---------------------------------------------------

#define 	T1LOAD0   	T1LOADL,0
#define 	T1LOAD1   	T1LOADL,1
#define 	T1LOAD2   	T1LOADL,2
#define 	T1LOAD3   	T1LOADL,3
#define 	T1LOAD4   	T1LOADL,4
#define 	T1LOAD5   	T1LOADL,5
#define 	T1LOAD6   	T1LOADL,6
#define 	T1LOAD7   	T1LOADL,7

;----- T2CR Bits ---------------------------------------------------

#define 	T2PRS0    	T2CR,0
#define 	T2PRS1    	T2CR,1
#define 	T2PRS2    	T2CR,2
#define 	T2CKS0    	T2CR,3
#define 	T2CKS1    	T2CR,4
#define 	FPWM2EN   	T2CR,5
#define 	PWM2EN    	T2CR,6
#define 	T2EN      	T2CR,7

;----- T2CNT Bits ---------------------------------------------------

#define 	T2CNT0    	T2CNT,0
#define 	T2CNT1    	T2CNT,1
#define 	T2CNT2    	T2CNT,2
#define 	T2CNT3    	T2CNT,3
#define 	T2CNT4    	T2CNT,4
#define 	T2CNT5    	T2CNT,5
#define 	T2CNT6    	T2CNT,6
#define 	T2CNT7    	T2CNT,7

;----- T2LOAD Bits ---------------------------------------------------

#define 	T2LOAD0   	T2LOAD,0
#define 	T2LOAD1   	T2LOAD,1
#define 	T2LOAD2   	T2LOAD,2
#define 	T2LOAD3   	T2LOAD,3
#define 	T2LOAD4   	T2LOAD,4
#define 	T2LOAD5   	T2LOAD,5
#define 	T2LOAD6   	T2LOAD,6
#define 	T2LOAD7   	T2LOAD,7

;----- T2DATA Bits ---------------------------------------------------

#define 	T2DATA0   	T2DATA,0
#define 	T2DATA1   	T2DATA,1
#define 	T2DATA2   	T2DATA,2
#define 	T2DATA3   	T2DATA,3
#define 	T2DATA4   	T2DATA,4
#define 	T2DATA5   	T2DATA,5
#define 	T2DATA6   	T2DATA,6
#define 	T2DATA7   	T2DATA,7

;----- PWM2CR0 Bits ---------------------------------------------------

#define 	PWM2OE    	PWM2CR0,0
#define 	PWM2NV    	PWM2CR0,1
#define 	FPWM2OE   	PWM2CR0,2
#define 	FPWM2NV   	PWM2CR0,3

;----- PWM2CR1 Bits ---------------------------------------------------

#define 	FPWM2E0   	PWM2CR1,0
#define 	FPWM2E1   	PWM2CR1,1
#define 	FPWM2E2   	PWM2CR1,2
#define 	FPWM2E3   	PWM2CR1,3
#define 	FPWM2E4   	PWM2CR1,4
#define 	FPWM2E5   	PWM2CR1,5

;----- PWM2CR2 Bits ---------------------------------------------------

#define 	PWM2D0    	PWM2CR2,0
#define 	PWM2D1    	PWM2CR2,1
#define 	PWM2D2    	PWM2CR2,2
#define 	PWM2DB    	PWM2CR2,3

;----- T3CR Bits ---------------------------------------------------

#define 	T3PRS0    	T3CR,0
#define 	T3PRS1    	T3CR,1
#define 	T3PRS2    	T3CR,2
#define 	T3CKS0    	T3CR,3
#define 	T3CKS1    	T3CR,4
#define 	FPWM3AEN  	T3CR,5
#define 	PWM3AEN   	T3CR,6
#define 	T3EN      	T3CR,7

;----- T3CNT Bits ---------------------------------------------------

#define 	T3CNT0    	T3CNT,0
#define 	T3CNT1    	T3CNT,1
#define 	T3CNT2    	T3CNT,2
#define 	T3CNT3    	T3CNT,3
#define 	T3CNT4    	T3CNT,4
#define 	T3CNT5    	T3CNT,5
#define 	T3CNT6    	T3CNT,6
#define 	T3CNT7    	T3CNT,7

;----- T3LOAD Bits ---------------------------------------------------

#define 	T3LOAD0   	T3LOAD,0
#define 	T3LOAD1   	T3LOAD,1
#define 	T3LOAD2   	T3LOAD,2
#define 	T3LOAD3   	T3LOAD,3
#define 	T3LOAD4   	T3LOAD,4
#define 	T3LOAD5   	T3LOAD,5
#define 	T3LOAD6   	T3LOAD,6
#define 	T3LOAD7   	T3LOAD,7

;----- T3DATA Bits ---------------------------------------------------

#define 	T3DATA0   	T3DATA,0
#define 	T3DATA1   	T3DATA,1
#define 	T3DATA2   	T3DATA,2
#define 	T3DATA3   	T3DATA,3
#define 	T3DATA4   	T3DATA,4
#define 	T3DATA5   	T3DATA,5
#define 	T3DATA6   	T3DATA,6
#define 	T3DATA7   	T3DATA,7

;----- T3DATB Bits ---------------------------------------------------

#define 	T3DATB0   	T3DATB,0
#define 	T3DATB1   	T3DATB,1
#define 	T3DATB2   	T3DATB,2
#define 	T3DATB3   	T3DATB,3
#define 	T3DATB4   	T3DATB,4
#define 	T3DATB5   	T3DATB,5
#define 	T3DATB6   	T3DATB,6
#define 	T3DATB7   	T3DATB,7

;----- T3DATC Bits ---------------------------------------------------

#define 	T3DATC0   	T3DATC,0
#define 	T3DATC1   	T3DATC,1
#define 	T3DATC2   	T3DATC,2
#define 	T3DATC3   	T3DATC,3
#define 	T3DATC4   	T3DATC,4
#define 	T3DATC5   	T3DATC,5
#define 	T3DATC6   	T3DATC,6
#define 	T3DATC7   	T3DATC,7

;----- PWM3CR0 Bits ---------------------------------------------------

#define 	FPWM3ANV  	PWM3CR0,0
#define 	PWM3ANV   	PWM3CR0,1
#define 	PWM3BNV   	PWM3CR0,2
#define 	PWM3CNV   	PWM3CR0,3
#define 	PWM3BOS   	PWM3CR0,4
#define 	PWM3COS   	PWM3CR0,5
#define 	PWM3BEN   	PWM3CR0,6
#define 	PWM3CEN   	PWM3CR0,7

;----- PWM3CR1 Bits ---------------------------------------------------

#define 	FPWM3A0E  	PWM3CR1,0
#define 	PWM3A0E   	PWM3CR1,1
#define 	PWM3BOE   	PWM3CR1,2
#define 	PWM3COE   	PWM3CR1,3
#define 	FPWM3A1E  	PWM3CR1,4
#define 	PWM3A1E   	PWM3CR1,5

;----- PWM3CR2 Bits ---------------------------------------------------

#define 	PWM3AP0T  	PWM3CR2,0
#define 	PWM3AP0E  	PWM3CR2,1
#define 	PWM3APF   	PWM3CR2,4

;----- PWM3CR3 Bits ---------------------------------------------------

#define 	FPWM3AE0  	PWM3CR3,0
#define 	FPWM3AE1  	PWM3CR3,1
#define 	FPWM3AE2  	PWM3CR3,2
#define 	FPWM3AE3  	PWM3CR3,3
#define 	FPWM3AE4  	PWM3CR3,4
#define 	FPWM3AE5  	PWM3CR3,5

;----- PWM3CR4 Bits ---------------------------------------------------

#define 	PWM3AD0   	PWM3CR4,0
#define 	PWM3AD1   	PWM3CR4,1
#define 	PWM3AD2   	PWM3CR4,2
#define 	PWM3ADB   	PWM3CR4,3

;----- EECR Bits ---------------------------------------------------

#define 	EEWRITE   	EECR,0
#define 	EEREAD    	EECR,1

;----- EEPR Bits ---------------------------------------------------

#define 	EEP0      	EEPR,0
#define 	EEP1      	EEPR,1
#define 	EEP2      	EEPR,2
#define 	EEP3      	EEPR,3
#define 	EEP4      	EEPR,4
#define 	EEP5      	EEPR,5
#define 	EEP6      	EEPR,6
#define 	EEP7      	EEPR,7

;----- EEAR Bits ---------------------------------------------------

#define 	EEA0      	EEAR,0
#define 	EEA1      	EEAR,1
#define 	EEA2      	EEAR,2
#define 	EEA3      	EEAR,3
#define 	EEA4      	EEAR,4
#define 	EEA5      	EEAR,5
#define 	EEA6      	EEAR,6
#define 	EEA7      	EEAR,7

;----- EEDR Bits ---------------------------------------------------

#define 	EED0      	EEDR,0
#define 	EED1      	EEDR,1
#define 	EED2      	EEDR,2
#define 	EED3      	EEDR,3
#define 	EED4      	EEDR,4
#define 	EED5      	EEDR,5
#define 	EED6      	EEDR,6
#define 	EED7      	EEDR,7

;----- ADCR0 Bits ---------------------------------------------------

#define 	ADCHS0    	ADCR0,0
#define 	ADCHS1    	ADCR0,1
#define 	ADCHS2    	ADCR0,2
#define 	ADCHS3    	ADCR0,3
#define 	ADCKS0    	ADCR0,4
#define 	ADCKS1    	ADCR0,5
#define 	ADEOC     	ADCR0,6
#define 	ADEN      	ADCR0,7

;----- ADCR1 Bits ---------------------------------------------------

#define 	ADSPS0    	ADCR1,0
#define 	ADSPS1    	ADCR1,1
#define 	ADVRS0    	ADCR1,4
#define 	ADVRS1    	ADCR1,5
#define 	ADVRS2    	ADCR1,6
#define 	ADRSEL    	ADCR1,7

;----- ADRH Bits ---------------------------------------------------

#define 	ADR4      	ADRH,0
#define 	ADR5      	ADRH,1
#define 	ADR6      	ADRH,2
#define 	ADR7      	ADRH,3
#define 	ADR8      	ADRH,4
#define 	ADR9      	ADRH,5
#define 	ADR10     	ADRH,6
#define 	ADR11     	ADRH,7

;----- ADRL Bits ---------------------------------------------------

#define 	ADR0      	ADRL,0
#define 	ADR1      	ADRL,1
#define 	ADR2      	ADRL,2
#define 	ADR3      	ADRL,3

;----- OSADJCR Bits ---------------------------------------------------

#define 	OSADJT0   	OSADJCR,0
#define 	OSADJT1   	OSADJCR,1
#define 	OSADJT2   	OSADJCR,2
#define 	OSADJT3   	OSADJCR,3
#define 	OSADJT4   	OSADJCR,4
#define 	OSADJT5   	OSADJCR,5
#define 	OSADJTD   	OSADJCR,6
#define 	OSADJEN   	OSADJCR,7

;----- P0ADCR Bits ---------------------------------------------------

#define 	P00DC     	P0ADCR,0
#define 	P01DC     	P0ADCR,1
#define 	P02DC     	P0ADCR,2
#define 	P03DC     	P0ADCR,3
#define 	P04DC     	P0ADCR,4
#define 	P05DC     	P0ADCR,5
#define 	P06DC     	P0ADCR,6
#define 	P07DC     	P0ADCR,7

;----- P1ADCR Bits ---------------------------------------------------

#define 	P10DC     	P1ADCR,0
#define 	P11DC     	P1ADCR,1
#define 	P13DC     	P1ADCR,3
#define 	P14DC     	P1ADCR,4
#define 	P15DC     	P1ADCR,5
#define 	P16DC     	P1ADCR,6
#define 	P17DC     	P1ADCR,7

;----- P2ADCR Bits ---------------------------------------------------

#define 	P20DC     	P2ADCR,0
#define 	P21DC     	P2ADCR,1

;==========================================================================
;
;	RAM Definition
;
;==========================================================================

	__MAXRAM H'FF'
	__BADRAM H'80'-H'81'
	__BADRAM H'85'


;==========================================================================
;
;	Configuration Bits
;
;==========================================================================

_CONFIG1  		EQU		H'8001'
_CONFIG0  		EQU		H'8000'

;OPBIT1

;OPBIT0

		LIST
