; Based on CPU DB MC68HC908AB32, version 2.89.068 (RegistersPrg V2.28) ; ################################################################### ; Filename : mc68hc908ab32.inc ; Processor : MC68HC908AB32CFU ; FileFormat: V2.28 ; DataSheet : MC68HC908AB32/D Rev. 1.1 August 2, 2005 ; Compiler : CodeWarrior compiler ; Date/Time : 27.5.2009, 9:58 ; Abstract : ; This header implements the mapping of I/O devices. ; ; Copyright : 1997 - 2009 Freescale Semiconductor, Inc. All Rights Reserved. ; ; http : www.freescale.com ; mail : support@freescale.com ; ; CPU Registers Revisions: ; - none ; ; File-Format-Revisions: ; - 14.11.2005, V2.00 : ; - Deprecated symbols added for backward compatibility (section at the end of this file) ; - 15.11.2005, V2.01 : ; - Changes have not affected this file (because they are related to another family) ; - 17.12.2005, V2.02 : ; - Arrays (symbols xx_ARR) are defined as pointer to volatile, see issue #2778 ; - 16.01.2006, V2.03 : ; - Fixed declaration of non volatile registers. Now it does not require (but allows) their initialization, see issue #2920. ; - "volatile" modifier removed from declaration of non volatile registers (that contain modifier "const") ; - 08.03.2006, V2.04 : ; - Support for bit(s) names duplicated with any register name in .h header files ; - 24.03.2006, V2.05 : ; - Changes have not affected this file (because they are related to another family) ; - 26.04.2006, V2.06 : ; - Absolute assembly supported (depreciated symbols are not defined) ; - 27.04.2006, V2.07 : ; - Fixed macro __RESET_WATCHDOG for HCS12, HCS12X ,HCS08 DZ and HCS08 EN derivatives (write 0x55,0xAA). ; - 07.06.2006, V2.08 : ; - For .inc files added constants "RAMStart" and "RAMEnd" even there is only Z_RAM. ; - 03.07.2006, V2.09 : ; - Flash commands constants supported ; - 27.10.2006, V2.10 : ; - __RESET_WATCHDOG improved formating and re-definition ; - 23.11.2006, V2.11 : ; - Changes have not affected this file (because they are related to another family) ; - 22.01.2007, V2.12 : ; - Changes have not affected this file (because they are related to another family) ; - 01.03.2007, V2.13 : ; - Flash commands constants values converted to HEX format ; - 02.03.2007, V2.14 : ; - Interrupt vector numbers added into .H, see VectorNumber_* ; - 26.03.2007, V2.15 : ; - Changes have not affected this file (because they are related to another family) ; - 10.05.2007, V2.16 : ; - Fixed flash commands definition for ColdFireV1 assembler (equ -> .equ) ; - 05.06.2007, V2.17 : ; - Changes have not affected this file (because they are related to another family) ; - 19.07.2007, V2.18 : ; - Improved number of blanked lines inside register structures ; - 06.08.2007, V2.19 : ; - CPUDB revisions generated ahead of the file-format revisions. ; - 11.09.2007, V2.20 : ; - Added comment about initialization of unbonded pins. ; - 02.01.2008, V2.21 : ; - Changes have not affected this file (because they are related to another family) ; - 13.02.2008, V2.22 : ; - Changes have not affected this file (because they are related to another family) ; - 20.02.2008, V2.23 : ; - Changes have not affected this file (because they are related to another family) ; - 03.07.2008, V2.24 : ; - Added support for bits with name starting with number (like "1HZ") ; - 28.11.2008, V2.25 : ; - StandBy RAM array declaration for ANSI-C added ; - 1.12.2008, V2.26 : ; - Duplication of bit (or bit-group) name with register name is not marked as a problem, is register is internal only and it is not displayed in I/O map. ; - 17.3.2009, V2.27 : ; - Merged bit-group is not generated, if the name matchs with anouther bit name in the register ; - 6.4.2009, V2.28 : ; - Fixed generation of merged bits for bit-groups with a digit at the end, if group-name is defined in CPUDB ; ; Not all general-purpose I/O pins are available on all packages or on all mask sets of a specific ; derivative device. To avoid extra current drain from floating input pins, the user’s reset ; initialization routine in the application program must either enable on-chip pull-up devices ; or change the direction of unconnected pins to outputs so the pins do not float. ; ################################################################### ;*** Memory Map and Interrupt Vectors ;****************************************** ROMStart: equ $00008000 ROMEnd: equ $0000FDFF Z_RAMStart: equ $00000050 Z_RAMEnd: equ $000000FF RAMStart: equ $00000100 RAMEnd: equ $0000044F EEPROMStart: equ $00000800 EEPROMEnd: equ $000009FF ; INT_ADC: equ $0000FFD0 INT_KBD: equ $0000FFD2 INT_SCITransmit: equ $0000FFD4 INT_SCIReceive: equ $0000FFD6 INT_SCIError: equ $0000FFD8 INT_Reserved5: equ $0000FFDA INT_Reserved6: equ $0000FFDC INT_TIMBCH3: equ $0000FFDE INT_TIMBCH2: equ $0000FFE0 INT_SPITransmit: equ $0000FFE2 INT_SPIReceive: equ $0000FFE4 INT_TIMBOvr: equ $0000FFE6 INT_TIMBCH1: equ $0000FFE8 INT_TIMBCH0: equ $0000FFEA INT_TIMAOvr: equ $0000FFEC INT_TIMACH3: equ $0000FFEE INT_TIMACH2: equ $0000FFF0 INT_TIMACH1: equ $0000FFF2 INT_TIMACH0: equ $0000FFF4 INT_PIT: equ $0000FFF6 INT_PLL: equ $0000FFF8 INT_IRQ1: equ $0000FFFA INT_SWI: equ $0000FFFC INT_RESET: equ $0000FFFE ; ;*** PTA - Port A Data Register; 0x00000000 *** PTA: equ $00000000 ;*** PTA - Port A Data Register; 0x00000000 *** ; bit numbers for usage in BCLR, BSET, BRCLR and BRSET PTA_PTA0: equ 0 ; Port A Data Bit 0 PTA_PTA1: equ 1 ; Port A Data Bit 1 PTA_PTA2: equ 2 ; Port A Data Bit 2 PTA_PTA3: equ 3 ; Port A Data Bit 3 PTA_PTA4: equ 4 ; Port A Data Bit 4 PTA_PTA5: equ 5 ; Port A Data Bit 5 PTA_PTA6: equ 6 ; Port A Data Bit 6 PTA_PTA7: equ 7 ; Port A Data Bit 7 ; bit position masks mPTA_PTA0: equ %00000001 mPTA_PTA1: equ %00000010 mPTA_PTA2: equ %00000100 mPTA_PTA3: equ %00001000 mPTA_PTA4: equ %00010000 mPTA_PTA5: equ %00100000 mPTA_PTA6: equ %01000000 mPTA_PTA7: equ %10000000 ;*** PTB - Port B Data Register; 0x00000001 *** PTB: equ $00000001 ;*** PTB - Port B Data Register; 0x00000001 *** ; bit numbers for usage in BCLR, BSET, BRCLR and BRSET PTB_PTB0: equ 0 ; Port B Data Bit 0 PTB_PTB1: equ 1 ; Port B Data Bit 1 PTB_PTB2: equ 2 ; Port B Data Bit 2 PTB_PTB3: equ 3 ; Port B Data Bit 3 PTB_PTB4: equ 4 ; Port B Data Bit 4 PTB_PTB5: equ 5 ; Port B Data Bit 5 PTB_PTB6: equ 6 ; Port B Data Bit 6 PTB_PTB7: equ 7 ; Port B Data Bit 7 ; bit position masks mPTB_PTB0: equ %00000001 mPTB_PTB1: equ %00000010 mPTB_PTB2: equ %00000100 mPTB_PTB3: equ %00001000 mPTB_PTB4: equ %00010000 mPTB_PTB5: equ %00100000 mPTB_PTB6: equ %01000000 mPTB_PTB7: equ %10000000 ;*** PTC - Port C Data Register; 0x00000002 *** PTC: equ $00000002 ;*** PTC - Port C Data Register; 0x00000002 *** ; bit numbers for usage in BCLR, BSET, BRCLR and BRSET PTC_PTC0: equ 0 ; Port C Data Bit 0 PTC_PTC1: equ 1 ; Port C Data Bit 1 PTC_PTC2: equ 2 ; Port C Data Bit 2 PTC_PTC3: equ 3 ; Port C Data Bit 3 PTC_PTC4: equ 4 ; Port C Data Bit 4 PTC_PTC5: equ 5 ; Port C Data Bit 5 ; bit position masks mPTC_PTC0: equ %00000001 mPTC_PTC1: equ %00000010 mPTC_PTC2: equ %00000100 mPTC_PTC3: equ %00001000 mPTC_PTC4: equ %00010000 mPTC_PTC5: equ %00100000 ;*** PTD - Port D Data Register; 0x00000003 *** PTD: equ $00000003 ;*** PTD - Port D Data Register; 0x00000003 *** ; bit numbers for usage in BCLR, BSET, BRCLR and BRSET PTD_PTD0: equ 0 ; Port D Data Bit 0 PTD_PTD1: equ 1 ; Port D Data Bit 1 PTD_PTD2: equ 2 ; Port D Data Bit 2 PTD_PTD3: equ 3 ; Port D Data Bit 3 PTD_PTD4: equ 4 ; Port D Data Bit 4 PTD_PTD5: equ 5 ; Port D Data Bit 5 PTD_PTD6: equ 6 ; Port D Data Bit 6 PTD_PTD7: equ 7 ; Port D Data Bit 7 ; bit position masks mPTD_PTD0: equ %00000001 mPTD_PTD1: equ %00000010 mPTD_PTD2: equ %00000100 mPTD_PTD3: equ %00001000 mPTD_PTD4: equ %00010000 mPTD_PTD5: equ %00100000 mPTD_PTD6: equ %01000000 mPTD_PTD7: equ %10000000 ;*** DDRA - Data Direction Register A; 0x00000004 *** DDRA: equ $00000004 ;*** DDRA - Data Direction Register A; 0x00000004 *** ; bit numbers for usage in BCLR, BSET, BRCLR and BRSET DDRA_DDRA0: equ 0 ; Data Direction Register A Bit 0 DDRA_DDRA1: equ 1 ; Data Direction Register A Bit 1 DDRA_DDRA2: equ 2 ; Data Direction Register A Bit 2 DDRA_DDRA3: equ 3 ; Data Direction Register A Bit 3 DDRA_DDRA4: equ 4 ; Data Direction Register A Bit 4 DDRA_DDRA5: equ 5 ; Data Direction Register A Bit 5 DDRA_DDRA6: equ 6 ; Data Direction Register A Bit 6 DDRA_DDRA7: equ 7 ; Data Direction Register A Bit 7 ; bit position masks mDDRA_DDRA0: equ %00000001 mDDRA_DDRA1: equ %00000010 mDDRA_DDRA2: equ %00000100 mDDRA_DDRA3: equ %00001000 mDDRA_DDRA4: equ %00010000 mDDRA_DDRA5: equ %00100000 mDDRA_DDRA6: equ %01000000 mDDRA_DDRA7: equ %10000000 ;*** DDRB - Data Direction Register B; 0x00000005 *** DDRB: equ $00000005 ;*** DDRB - Data Direction Register B; 0x00000005 *** ; bit numbers for usage in BCLR, BSET, BRCLR and BRSET DDRB_DDRB0: equ 0 ; Data Direction Register B Bit 0 DDRB_DDRB1: equ 1 ; Data Direction Register B Bit 1 DDRB_DDRB2: equ 2 ; Data Direction Register B Bit 2 DDRB_DDRB3: equ 3 ; Data Direction Register B Bit 3 DDRB_DDRB4: equ 4 ; Data Direction Register B Bit 4 DDRB_DDRB5: equ 5 ; Data Direction Register B Bit 5 DDRB_DDRB6: equ 6 ; Data Direction Register B Bit 6 DDRB_DDRB7: equ 7 ; Data Direction Register B Bit 7 ; bit position masks mDDRB_DDRB0: equ %00000001 mDDRB_DDRB1: equ %00000010 mDDRB_DDRB2: equ %00000100 mDDRB_DDRB3: equ %00001000 mDDRB_DDRB4: equ %00010000 mDDRB_DDRB5: equ %00100000 mDDRB_DDRB6: equ %01000000 mDDRB_DDRB7: equ %10000000 ;*** DDRC - Data Direction Register C; 0x00000006 *** DDRC: equ $00000006 ;*** DDRC - Data Direction Register C; 0x00000006 *** ; bit numbers for usage in BCLR, BSET, BRCLR and BRSET DDRC_DDRC0: equ 0 ; Data Direction Register C Bit 0 DDRC_DDRC1: equ 1 ; Data Direction Register C Bit 1 DDRC_DDRC2: equ 2 ; Data Direction Register C Bit 2 DDRC_DDRC3: equ 3 ; Data Direction Register C Bit 3 DDRC_DDRC4: equ 4 ; Data Direction Register C Bit 4 DDRC_DDRC5: equ 5 ; Data Direction Register C Bit 5 DDRC_MCLKEN: equ 7 ; MCLK Enable Bit ; bit position masks mDDRC_DDRC0: equ %00000001 mDDRC_DDRC1: equ %00000010 mDDRC_DDRC2: equ %00000100 mDDRC_DDRC3: equ %00001000 mDDRC_DDRC4: equ %00010000 mDDRC_DDRC5: equ %00100000 mDDRC_MCLKEN: equ %10000000 ;*** DDRD - Data Direction Register D; 0x00000007 *** DDRD: equ $00000007 ;*** DDRD - Data Direction Register D; 0x00000007 *** ; bit numbers for usage in BCLR, BSET, BRCLR and BRSET DDRD_DDRD0: equ 0 ; Data Direction Register D Bit 0 DDRD_DDRD1: equ 1 ; Data Direction Register D Bit 1 DDRD_DDRD2: equ 2 ; Data Direction Register D Bit 2 DDRD_DDRD3: equ 3 ; Data Direction Register D Bit 3 DDRD_DDRD4: equ 4 ; Data Direction Register D Bit 4 DDRD_DDRD5: equ 5 ; Data Direction Register D Bit 5 DDRD_DDRD6: equ 6 ; Data Direction Register D Bit 6 DDRD_DDRD7: equ 7 ; Data Direction Register D Bit 7 ; bit position masks mDDRD_DDRD0: equ %00000001 mDDRD_DDRD1: equ %00000010 mDDRD_DDRD2: equ %00000100 mDDRD_DDRD3: equ %00001000 mDDRD_DDRD4: equ %00010000 mDDRD_DDRD5: equ %00100000 mDDRD_DDRD6: equ %01000000 mDDRD_DDRD7: equ %10000000 ;*** PTE - Port E Data Register; 0x00000008 *** PTE: equ $00000008 ;*** PTE - Port E Data Register; 0x00000008 *** ; bit numbers for usage in BCLR, BSET, BRCLR and BRSET PTE_PTE0: equ 0 ; Port E Data Bit 0 PTE_PTE1: equ 1 ; Port E Data Bit 1 PTE_PTE2: equ 2 ; Port E Data Bit 2 PTE_PTE3: equ 3 ; Port E Data Bit 3 PTE_PTE4: equ 4 ; Port E Data Bit 4 PTE_PTE5: equ 5 ; Port E Data Bit 5 PTE_PTE6: equ 6 ; Port E Data Bit 6 PTE_PTE7: equ 7 ; Port E Data Bit 7 ; bit position masks mPTE_PTE0: equ %00000001 mPTE_PTE1: equ %00000010 mPTE_PTE2: equ %00000100 mPTE_PTE3: equ %00001000 mPTE_PTE4: equ %00010000 mPTE_PTE5: equ %00100000 mPTE_PTE6: equ %01000000 mPTE_PTE7: equ %10000000 ;*** PTF - Port F Data Register; 0x00000009 *** PTF: equ $00000009 ;*** PTF - Port F Data Register; 0x00000009 *** ; bit numbers for usage in BCLR, BSET, BRCLR and BRSET PTF_PTF0: equ 0 ; Port F Data Bit 0 PTF_PTF1: equ 1 ; Port F Data Bit 1 PTF_PTF2: equ 2 ; Port F Data Bit 2 PTF_PTF3: equ 3 ; Port F Data Bit 3 PTF_PTF4: equ 4 ; Port F Data Bit 4 PTF_PTF5: equ 5 ; Port F Data Bit 5 PTF_PTF6: equ 6 ; Port F Data Bit 6 PTF_PTF7: equ 7 ; Port F Data Bit 7 ; bit position masks mPTF_PTF0: equ %00000001 mPTF_PTF1: equ %00000010 mPTF_PTF2: equ %00000100 mPTF_PTF3: equ %00001000 mPTF_PTF4: equ %00010000 mPTF_PTF5: equ %00100000 mPTF_PTF6: equ %01000000 mPTF_PTF7: equ %10000000 ;*** PTG - Port G Data Register; 0x0000000A *** PTG: equ $0000000A ;*** PTG - Port G Data Register; 0x0000000A *** ; bit numbers for usage in BCLR, BSET, BRCLR and BRSET PTG_PTG0: equ 0 ; Port G Data Bit 0 PTG_PTG1: equ 1 ; Port G Data Bit 1 PTG_PTG2: equ 2 ; Port G Data Bit 2 ; bit position masks mPTG_PTG0: equ %00000001 mPTG_PTG1: equ %00000010 mPTG_PTG2: equ %00000100 ;*** PTH - Port H Data Register; 0x0000000B *** PTH: equ $0000000B ;*** PTH - Port H Data Register; 0x0000000B *** ; bit numbers for usage in BCLR, BSET, BRCLR and BRSET PTH_PTH0: equ 0 ; Port H Data Bit 0 PTH_PTH1: equ 1 ; Port H Data Bit 1 ; bit position masks mPTH_PTH0: equ %00000001 mPTH_PTH1: equ %00000010 ;*** DDRE - Data Direction Register E; 0x0000000C *** DDRE: equ $0000000C ;*** DDRE - Data Direction Register E; 0x0000000C *** ; bit numbers for usage in BCLR, BSET, BRCLR and BRSET DDRE_DDRE0: equ 0 ; Data Direction Register E Bit 0 DDRE_DDRE1: equ 1 ; Data Direction Register E Bit 1 DDRE_DDRE2: equ 2 ; Data Direction Register E Bit 2 DDRE_DDRE3: equ 3 ; Data Direction Register E Bit 3 DDRE_DDRE4: equ 4 ; Data Direction Register E Bit 4 DDRE_DDRE5: equ 5 ; Data Direction Register E Bit 5 DDRE_DDRE6: equ 6 ; Data Direction Register E Bit 6 DDRE_DDRE7: equ 7 ; Data Direction Register E Bit 7 ; bit position masks mDDRE_DDRE0: equ %00000001 mDDRE_DDRE1: equ %00000010 mDDRE_DDRE2: equ %00000100 mDDRE_DDRE3: equ %00001000 mDDRE_DDRE4: equ %00010000 mDDRE_DDRE5: equ %00100000 mDDRE_DDRE6: equ %01000000 mDDRE_DDRE7: equ %10000000 ;*** DDRF - Data Direction Register F; 0x0000000D *** DDRF: equ $0000000D ;*** DDRF - Data Direction Register F; 0x0000000D *** ; bit numbers for usage in BCLR, BSET, BRCLR and BRSET DDRF_DDRF0: equ 0 ; Data Direction Register F Bit 0 DDRF_DDRF1: equ 1 ; Data Direction Register F Bit 1 DDRF_DDRF2: equ 2 ; Data Direction Register F Bit 2 DDRF_DDRF3: equ 3 ; Data Direction Register F Bit 3 DDRF_DDRF4: equ 4 ; Data Direction Register F Bit 4 DDRF_DDRF5: equ 5 ; Data Direction Register F Bit 5 DDRF_DDRF6: equ 6 ; Data Direction Register F Bit 6 DDRF_DDRF7: equ 7 ; Data Direction Register F Bit 7 ; bit position masks mDDRF_DDRF0: equ %00000001 mDDRF_DDRF1: equ %00000010 mDDRF_DDRF2: equ %00000100 mDDRF_DDRF3: equ %00001000 mDDRF_DDRF4: equ %00010000 mDDRF_DDRF5: equ %00100000 mDDRF_DDRF6: equ %01000000 mDDRF_DDRF7: equ %10000000 ;*** DDRG - Data Direction Register G; 0x0000000E *** DDRG: equ $0000000E ;*** DDRG - Data Direction Register G; 0x0000000E *** ; bit numbers for usage in BCLR, BSET, BRCLR and BRSET DDRG_DDRG0: equ 0 ; Data Direction Register G Bit 0 DDRG_DDRG1: equ 1 ; Data Direction Register G Bit 1 DDRG_DDRG2: equ 2 ; Data Direction Register G Bit 2 ; bit position masks mDDRG_DDRG0: equ %00000001 mDDRG_DDRG1: equ %00000010 mDDRG_DDRG2: equ %00000100 ;*** DDRH - Data Direction Register H; 0x0000000F *** DDRH: equ $0000000F ;*** DDRH - Data Direction Register H; 0x0000000F *** ; bit numbers for usage in BCLR, BSET, BRCLR and BRSET DDRH_DDRH0: equ 0 ; Data Direction Register H Bit 0 DDRH_DDRH1: equ 1 ; Data Direction Register H Bit 1 ; bit position masks mDDRH_DDRH0: equ %00000001 mDDRH_DDRH1: equ %00000010 ;*** SPCR - SPI Control Register; 0x00000010 *** SPCR: equ $00000010 ;*** SPCR - SPI Control Register; 0x00000010 *** ; bit numbers for usage in BCLR, BSET, BRCLR and BRSET SPCR_SPTIE: equ 0 ; SPI Transmit Interrupt Enable Bit SPCR_SPE: equ 1 ; SPI Enable Bit SPCR_SPWOM: equ 2 ; SPI Wired-OR Mode Bit SPCR_CPHA: equ 3 ; Clock Phase Bit SPCR_CPOL: equ 4 ; Clock Polarity Bit SPCR_SPMSTR: equ 5 ; SPI Master Bit SPCR_SPRIE: equ 7 ; SPI Receiver Interrupt Enable Bit ; bit position masks mSPCR_SPTIE: equ %00000001 mSPCR_SPE: equ %00000010 mSPCR_SPWOM: equ %00000100 mSPCR_CPHA: equ %00001000 mSPCR_CPOL: equ %00010000 mSPCR_SPMSTR: equ %00100000 mSPCR_SPRIE: equ %10000000 ;*** SPSCR - SPI Status and Control Register; 0x00000011 *** SPSCR: equ $00000011 ;*** SPSCR - SPI Status and Control Register; 0x00000011 *** ; bit numbers for usage in BCLR, BSET, BRCLR and BRSET SPSCR_SPR0: equ 0 ; SPI Baud Rate Select Bit 0 SPSCR_SPR1: equ 1 ; SPI Baud Rate Select Bit 1 SPSCR_MODFEN: equ 2 ; Mode Fault Enable Bit SPSCR_SPTE: equ 3 ; SPI Transmitter Empty Bit SPSCR_MODF: equ 4 ; Mode Fault Bit SPSCR_OVRF: equ 5 ; Overflow Bit SPSCR_ERRIE: equ 6 ; Error Interrupt Enable Bit SPSCR_SPRF: equ 7 ; SPI Receiver Full Bit ; bit position masks mSPSCR_SPR0: equ %00000001 mSPSCR_SPR1: equ %00000010 mSPSCR_MODFEN: equ %00000100 mSPSCR_SPTE: equ %00001000 mSPSCR_MODF: equ %00010000 mSPSCR_OVRF: equ %00100000 mSPSCR_ERRIE: equ %01000000 mSPSCR_SPRF: equ %10000000 ;*** SPDR - SPI Data Register; 0x00000012 *** SPDR: equ $00000012 ;*** SPDR - SPI Data Register; 0x00000012 *** ; bit numbers for usage in BCLR, BSET, BRCLR and BRSET SPDR_R0_T0: equ 0 ; Receive/Transmit Data Bit 0 SPDR_R1_T1: equ 1 ; Receive/Transmit Data Bit 1 SPDR_R2_T2: equ 2 ; Receive/Transmit Data Bit 2 SPDR_R3_T3: equ 3 ; Receive/Transmit Data Bit 3 SPDR_R4_T4: equ 4 ; Receive/Transmit Data Bit 4 SPDR_R5_T5: equ 5 ; Receive/Transmit Data Bit 5 SPDR_R6_T6: equ 6 ; Receive/Transmit Data Bit 6 SPDR_R7_T7: equ 7 ; Receive/Transmit Data Bit 7 ; bit position masks mSPDR_R0_T0: equ %00000001 mSPDR_R1_T1: equ %00000010 mSPDR_R2_T2: equ %00000100 mSPDR_R3_T3: equ %00001000 mSPDR_R4_T4: equ %00010000 mSPDR_R5_T5: equ %00100000 mSPDR_R6_T6: equ %01000000 mSPDR_R7_T7: equ %10000000 ;*** SCC1 - SCI Control Register 1; 0x00000013 *** SCC1: equ $00000013 ;*** SCC1 - SCI Control Register 1; 0x00000013 *** ; bit numbers for usage in BCLR, BSET, BRCLR and BRSET SCC1_PTY: equ 0 ; Parity Bit SCC1_PEN: equ 1 ; Parity Enable Bit SCC1_ILTY: equ 2 ; Idle Line Type Bit SCC1_WAKE: equ 3 ; Wakeup Condition Bit SCC1_M: equ 4 ; Mode (Character Length) Bit SCC1_TXINV: equ 5 ; Transmit Inversion Bit SCC1_ENSCI: equ 6 ; Enable SCI Bit SCC1_LOOPS: equ 7 ; Loop Mode Select Bit ; bit position masks mSCC1_PTY: equ %00000001 mSCC1_PEN: equ %00000010 mSCC1_ILTY: equ %00000100 mSCC1_WAKE: equ %00001000 mSCC1_M: equ %00010000 mSCC1_TXINV: equ %00100000 mSCC1_ENSCI: equ %01000000 mSCC1_LOOPS: equ %10000000 ;*** SCC2 - SCI Control Register 2; 0x00000014 *** SCC2: equ $00000014 ;*** SCC2 - SCI Control Register 2; 0x00000014 *** ; bit numbers for usage in BCLR, BSET, BRCLR and BRSET SCC2_SBK: equ 0 ; Send Break Bit SCC2_RWU: equ 1 ; Receiver Wakeup Bit SCC2_RE: equ 2 ; Receiver Enable Bit SCC2_TE: equ 3 ; Transmitter Enable Bit SCC2_ILIE: equ 4 ; Idle Line Interrupt Enable Bit SCC2_SCRIE: equ 5 ; SCI Receive Interrupt Enable Bit SCC2_TCIE: equ 6 ; Transmission Complete Interrupt Enable Bit SCC2_SCTIE: equ 7 ; SCI Transmit Interrupt Enable Bit ; bit position masks mSCC2_SBK: equ %00000001 mSCC2_RWU: equ %00000010 mSCC2_RE: equ %00000100 mSCC2_TE: equ %00001000 mSCC2_ILIE: equ %00010000 mSCC2_SCRIE: equ %00100000 mSCC2_TCIE: equ %01000000 mSCC2_SCTIE: equ %10000000 ;*** SCC3 - SCI Control Register 3; 0x00000015 *** SCC3: equ $00000015 ;*** SCC3 - SCI Control Register 3; 0x00000015 *** ; bit numbers for usage in BCLR, BSET, BRCLR and BRSET SCC3_PEIE: equ 0 ; Receiver Parity Error Interrupt Enable Bit SCC3_FEIE: equ 1 ; Receiver Framing Error Interrupt Enable Bit SCC3_NEIE: equ 2 ; Receiver Noise Error Interrupt Enable Bit SCC3_ORIE: equ 3 ; Receiver Overrun Interrupt Enable Bit SCC3_T8: equ 6 ; Transmitted Bit 8 SCC3_R8: equ 7 ; Received Bit 8 ; bit position masks mSCC3_PEIE: equ %00000001 mSCC3_FEIE: equ %00000010 mSCC3_NEIE: equ %00000100 mSCC3_ORIE: equ %00001000 mSCC3_T8: equ %01000000 mSCC3_R8: equ %10000000 ;*** SCS1 - SCI Status Register 1; 0x00000016 *** SCS1: equ $00000016 ;*** SCS1 - SCI Status Register 1; 0x00000016 *** ; bit numbers for usage in BCLR, BSET, BRCLR and BRSET SCS1_PE: equ 0 ; Receiver Parity Error Bit SCS1_FE: equ 1 ; Receiver Framing Error Bit SCS1_NF: equ 2 ; Receiver Noise Flag Bit SCS1_OR: equ 3 ; Receiver Overrun Bit SCS1_IDLE: equ 4 ; Receiver Idle Bit SCS1_SCRF: equ 5 ; SCI Receiver Full Bit SCS1_TC: equ 6 ; Transmission Complete Bit SCS1_SCTE: equ 7 ; SCI Transmitter Empty Bit ; bit position masks mSCS1_PE: equ %00000001 mSCS1_FE: equ %00000010 mSCS1_NF: equ %00000100 mSCS1_OR: equ %00001000 mSCS1_IDLE: equ %00010000 mSCS1_SCRF: equ %00100000 mSCS1_TC: equ %01000000 mSCS1_SCTE: equ %10000000 ;*** SCS2 - SCI Status Register 2; 0x00000017 *** SCS2: equ $00000017 ;*** SCS2 - SCI Status Register 2; 0x00000017 *** ; bit numbers for usage in BCLR, BSET, BRCLR and BRSET SCS2_RPF: equ 0 ; Reception in Progress Flag Bit SCS2_BKF: equ 1 ; Break Flag Bit ; bit position masks mSCS2_RPF: equ %00000001 mSCS2_BKF: equ %00000010 ;*** SCDR - SCI Data Register; 0x00000018 *** SCDR: equ $00000018 ;*** SCDR - SCI Data Register; 0x00000018 *** ; bit numbers for usage in BCLR, BSET, BRCLR and BRSET SCDR_R0_T0: equ 0 ; Receive/Transmit Data Bit 0 SCDR_R1_T1: equ 1 ; Receive/Transmit Data Bit 1 SCDR_R2_T2: equ 2 ; Receive/Transmit Data Bit 2 SCDR_R3_T3: equ 3 ; Receive/Transmit Data Bit 3 SCDR_R4_T4: equ 4 ; Receive/Transmit Data Bit 4 SCDR_R5_T5: equ 5 ; Receive/Transmit Data Bit 5 SCDR_R6_T6: equ 6 ; Receive/Transmit Data Bit 6 SCDR_R7_T7: equ 7 ; Receive/Transmit Data Bit 7 ; bit position masks mSCDR_R0_T0: equ %00000001 mSCDR_R1_T1: equ %00000010 mSCDR_R2_T2: equ %00000100 mSCDR_R3_T3: equ %00001000 mSCDR_R4_T4: equ %00010000 mSCDR_R5_T5: equ %00100000 mSCDR_R6_T6: equ %01000000 mSCDR_R7_T7: equ %10000000 ;*** SCBR - SCI Baud Rate Register; 0x00000019 *** SCBR: equ $00000019 ;*** SCBR - SCI Baud Rate Register; 0x00000019 *** ; bit numbers for usage in BCLR, BSET, BRCLR and BRSET SCBR_SCR0: equ 0 ; SCI Baud Rate Select Bit 0 SCBR_SCR1: equ 1 ; SCI Baud Rate Select Bit 1 SCBR_SCR2: equ 2 ; SCI Baud Rate Select Bit 2 SCBR_SCP0: equ 4 ; SCI Baud Rate Prescaler Bit 0 SCBR_SCP1: equ 5 ; SCI Baud Rate Prescaler Bit 1 ; bit position masks mSCBR_SCR0: equ %00000001 mSCBR_SCR1: equ %00000010 mSCBR_SCR2: equ %00000100 mSCBR_SCP0: equ %00010000 mSCBR_SCP1: equ %00100000 ;*** ISCR - IRQ Status and Control Register; 0x0000001A *** ISCR: equ $0000001A ;*** ISCR - IRQ Status and Control Register; 0x0000001A *** ; bit numbers for usage in BCLR, BSET, BRCLR and BRSET ISCR_MODE: equ 0 ; IRQ Edge/Level Select Bit ISCR_IMASK: equ 1 ; IRQ Interrupt Mask Bit ISCR_ACK: equ 2 ; IRQ Interrupt Request Acknowledge Bit ISCR_IRQF: equ 3 ; IRQ Flag Bit ; bit position masks mISCR_MODE: equ %00000001 mISCR_IMASK: equ %00000010 mISCR_ACK: equ %00000100 mISCR_IRQF: equ %00001000 ;*** KBSCR - Keyboard Status and Control Register; 0x0000001B *** KBSCR: equ $0000001B ;*** KBSCR - Keyboard Status and Control Register; 0x0000001B *** ; bit numbers for usage in BCLR, BSET, BRCLR and BRSET KBSCR_MODEK: equ 0 ; Keyboard Triggering Sensitivity Bit KBSCR_IMASKK: equ 1 ; Keyboard Interrupt Mask Bit KBSCR_ACKK: equ 2 ; Keyboard Acknowledge Bit KBSCR_KEYF: equ 3 ; Keyboard Flag Bit ; bit position masks mKBSCR_MODEK: equ %00000001 mKBSCR_IMASKK: equ %00000010 mKBSCR_ACKK: equ %00000100 mKBSCR_KEYF: equ %00001000 ;*** PCTL - PLL Control Register; 0x0000001C *** PCTL: equ $0000001C ;*** PCTL - PLL Control Register; 0x0000001C *** ; bit numbers for usage in BCLR, BSET, BRCLR and BRSET PCTL_BCS: equ 4 ; Base Clock Select Bit PCTL_PLLON: equ 5 ; PLL On Bit PCTL_PLLF: equ 6 ; PLL Flag Bit PCTL_PLLIE: equ 7 ; PLL Interrupt Enable Bit ; bit position masks mPCTL_BCS: equ %00010000 mPCTL_PLLON: equ %00100000 mPCTL_PLLF: equ %01000000 mPCTL_PLLIE: equ %10000000 ;*** PBWC - PLL Bandwidth Control Register; 0x0000001D *** PBWC: equ $0000001D ;*** PBWC - PLL Bandwidth Control Register; 0x0000001D *** ; bit numbers for usage in BCLR, BSET, BRCLR and BRSET PBWC_XLD: equ 4 ; Crystal Loss Detect Bit PBWC_ACQ: equ 5 ; Acquisition Mode Bit PBWC_LOCK: equ 6 ; Lock Indicator Bit PBWC_AUTO: equ 7 ; Automatic Bandwidth Control Bit ; bit position masks mPBWC_XLD: equ %00010000 mPBWC_ACQ: equ %00100000 mPBWC_LOCK: equ %01000000 mPBWC_AUTO: equ %10000000 ;*** PPG - PLL Programming Register; 0x0000001E *** PPG: equ $0000001E ;*** PPG - PLL Programming Register; 0x0000001E *** ; bit numbers for usage in BCLR, BSET, BRCLR and BRSET PPG_VRS4: equ 0 ; VCO Range Select Bit 4 PPG_VRS5: equ 1 ; VCO Range Select Bit 5 PPG_VRS6: equ 2 ; VCO Range Select Bit 6 PPG_VRS7: equ 3 ; VCO Range Select Bit 7 PPG_MUL4: equ 4 ; Multiplier Select Bit 4 PPG_MUL5: equ 5 ; Multiplier Select Bit 5 PPG_MUL6: equ 6 ; Multiplier Select Bit 6 PPG_MUL7: equ 7 ; Multiplier Select Bit 7 ; bit position masks mPPG_VRS4: equ %00000001 mPPG_VRS5: equ %00000010 mPPG_VRS6: equ %00000100 mPPG_VRS7: equ %00001000 mPPG_MUL4: equ %00010000 mPPG_MUL5: equ %00100000 mPPG_MUL6: equ %01000000 mPPG_MUL7: equ %10000000 ;*** CONFIG1 - Configuration Register; 0x0000001F *** CONFIG1: equ $0000001F ;*** CONFIG1 - Configuration Register; 0x0000001F *** ; bit numbers for usage in BCLR, BSET, BRCLR and BRSET CONFIG1_COPD: equ 0 ; COP Disable Bit CONFIG1_STOP: equ 1 ; STOP Instruction Enable Bit CONFIG1_COPRS: equ 2 ; COP Rate Select Bit CONFIG1_SSREC: equ 3 ; Short Stop Recovery Bit CONFIG1_LVIPWRD: equ 4 ; LVI Power Disable Bit CONFIG1_LVIRSTD: equ 5 ; LVI Reset Disable Bit CONFIG1_LVISTOP: equ 7 ; LVI Stop Mode Enable Bit ; bit position masks mCONFIG1_COPD: equ %00000001 mCONFIG1_STOP: equ %00000010 mCONFIG1_COPRS: equ %00000100 mCONFIG1_SSREC: equ %00001000 mCONFIG1_LVIPWRD: equ %00010000 mCONFIG1_LVIRSTD: equ %00100000 mCONFIG1_LVISTOP: equ %10000000 ;*** TASC - TIMA Status and Control Register; 0x00000020 *** TASC: equ $00000020 ;*** TASC - TIMA Status and Control Register; 0x00000020 *** ; bit numbers for usage in BCLR, BSET, BRCLR and BRSET TASC_PS0: equ 0 ; Prescaler Select Bit 0 TASC_PS1: equ 1 ; Prescaler Select Bit 1 TASC_PS2: equ 2 ; Prescaler Select Bit 2 TASC_TRST: equ 4 ; TIMA Reset Bit TASC_TSTOP: equ 5 ; TIMA Stop Bit TASC_TOIE: equ 6 ; TIMA Overflow Interrupt Enable Bit TASC_TOF: equ 7 ; TIMA Overflow Flag Bit ; bit position masks mTASC_PS0: equ %00000001 mTASC_PS1: equ %00000010 mTASC_PS2: equ %00000100 mTASC_TRST: equ %00010000 mTASC_TSTOP: equ %00100000 mTASC_TOIE: equ %01000000 mTASC_TOF: equ %10000000 ;*** KBIER - Keyboard Interrupt Enable Register; 0x00000021 *** KBIER: equ $00000021 ;*** KBIER - Keyboard Interrupt Enable Register; 0x00000021 *** ; bit numbers for usage in BCLR, BSET, BRCLR and BRSET KBIER_KBIE0: equ 0 ; Keyboard Interrupt Enable Bit 0 KBIER_KBIE1: equ 1 ; Keyboard Interrupt Enable Bit 1 KBIER_KBIE2: equ 2 ; Keyboard Interrupt Enable Bit 2 KBIER_KBIE3: equ 3 ; Keyboard Interrupt Enable Bit 3 KBIER_KBIE4: equ 4 ; Keyboard Interrupt Enable Bit 4 ; bit position masks mKBIER_KBIE0: equ %00000001 mKBIER_KBIE1: equ %00000010 mKBIER_KBIE2: equ %00000100 mKBIER_KBIE3: equ %00001000 mKBIER_KBIE4: equ %00010000 ;*** TACNT - TIMA Counter Register; 0x00000022 *** TACNT: equ $00000022 ;*** TACNT - TIMA Counter Register; 0x00000022 *** ;*** TACNTH - TIMA Counter Register; 0x00000022 *** TACNTH: equ $00000022 ;*** TACNTH - TIMA Counter Register; 0x00000022 *** ;*** TACNTL - TIMA Counter Register; 0x00000023 *** TACNTL: equ $00000023 ;*** TACNTL - TIMA Counter Register; 0x00000023 *** ;*** TAMOD - TIMA Counter Modulo Register; 0x00000024 *** TAMOD: equ $00000024 ;*** TAMOD - TIMA Counter Modulo Register; 0x00000024 *** ;*** TAMODH - TIMA Counter Modulo Register; 0x00000024 *** TAMODH: equ $00000024 ;*** TAMODH - TIMA Counter Modulo Register; 0x00000024 *** ;*** TAMODL - TIMA Counter Modulo Register; 0x00000025 *** TAMODL: equ $00000025 ;*** TAMODL - TIMA Counter Modulo Register; 0x00000025 *** ;*** TASC0 - TIMA Channel Status and Control Register; 0x00000026 *** TASC0: equ $00000026 ;*** TASC0 - TIMA Channel Status and Control Register; 0x00000026 *** ; bit numbers for usage in BCLR, BSET, BRCLR and BRSET TASC0_CH0MAX: equ 0 ; Channel 0 Maximum Duty Cycle Bit TASC0_TOV0: equ 1 ; Toggle-On-Overflow Bit TASC0_ELS0A: equ 2 ; Edge/Level Select Bit TASC0_ELS0B: equ 3 ; Edge/Level Select Bit TASC0_MS0A: equ 4 ; Mode Select Bit A TASC0_MS0B: equ 5 ; Mode Select Bit B TASC0_CH0IE: equ 6 ; Channel 0 Interrupt Enable Bit TASC0_CH0F: equ 7 ; Channel 0 Flag Bit ; bit position masks mTASC0_CH0MAX: equ %00000001 mTASC0_TOV0: equ %00000010 mTASC0_ELS0A: equ %00000100 mTASC0_ELS0B: equ %00001000 mTASC0_MS0A: equ %00010000 mTASC0_MS0B: equ %00100000 mTASC0_CH0IE: equ %01000000 mTASC0_CH0F: equ %10000000 ;*** TACH0 - TIMA Channel Register; 0x00000027 *** TACH0: equ $00000027 ;*** TACH0 - TIMA Channel Register; 0x00000027 *** ;*** TACH0H - TIMA Channel Register; 0x00000027 *** TACH0H: equ $00000027 ;*** TACH0H - TIMA Channel Register; 0x00000027 *** ;*** TACH0L - TIMA Channel Register; 0x00000028 *** TACH0L: equ $00000028 ;*** TACH0L - TIMA Channel Register; 0x00000028 *** ;*** TASC1 - TIMA Channel Status and Control Register; 0x00000029 *** TASC1: equ $00000029 ;*** TASC1 - TIMA Channel Status and Control Register; 0x00000029 *** ; bit numbers for usage in BCLR, BSET, BRCLR and BRSET TASC1_CH1MAX: equ 0 ; Channel 1 Maximum Duty Cycle Bit TASC1_TOV1: equ 1 ; Toggle-On-Overflow Bit TASC1_ELS1A: equ 2 ; Edge/Level Select Bit TASC1_ELS1B: equ 3 ; Edge/Level Select Bit TASC1_MS1A: equ 4 ; Mode Select Bit A TASC1_CH1IE: equ 6 ; Channel 1 Interrupt Enable Bit TASC1_CH1F: equ 7 ; Channel 1 Flag Bit ; bit position masks mTASC1_CH1MAX: equ %00000001 mTASC1_TOV1: equ %00000010 mTASC1_ELS1A: equ %00000100 mTASC1_ELS1B: equ %00001000 mTASC1_MS1A: equ %00010000 mTASC1_CH1IE: equ %01000000 mTASC1_CH1F: equ %10000000 ;*** TACH1 - TIMA Channel Register; 0x0000002A *** TACH1: equ $0000002A ;*** TACH1 - TIMA Channel Register; 0x0000002A *** ;*** TACH1H - TIMA Channel Register; 0x0000002A *** TACH1H: equ $0000002A ;*** TACH1H - TIMA Channel Register; 0x0000002A *** ;*** TACH1L - TIMA Channel Register; 0x0000002B *** TACH1L: equ $0000002B ;*** TACH1L - TIMA Channel Register; 0x0000002B *** ;*** TASC2 - TIMA Channel Status and Control Register; 0x0000002C *** TASC2: equ $0000002C ;*** TASC2 - TIMA Channel Status and Control Register; 0x0000002C *** ; bit numbers for usage in BCLR, BSET, BRCLR and BRSET TASC2_CH2MAX: equ 0 ; Channel 2 Maximum Duty Cycle Bit TASC2_TOV2: equ 1 ; Toggle-On-Overflow Bit TASC2_ELS2A: equ 2 ; Edge_Level Select Bits TASC2_ELS2B: equ 3 ; Edge_Level Select Bits TASC2_MS2A: equ 4 ; Mode Select Bit A TASC2_MS2B: equ 5 ; Mode Select Bit B TASC2_CH2IE: equ 6 ; Channel 2 Interrupt Enable Bit TASC2_CH2F: equ 7 ; Channel 2 Flag Bit ; bit position masks mTASC2_CH2MAX: equ %00000001 mTASC2_TOV2: equ %00000010 mTASC2_ELS2A: equ %00000100 mTASC2_ELS2B: equ %00001000 mTASC2_MS2A: equ %00010000 mTASC2_MS2B: equ %00100000 mTASC2_CH2IE: equ %01000000 mTASC2_CH2F: equ %10000000 ;*** TACH2 - TIMA Channel Register; 0x0000002D *** TACH2: equ $0000002D ;*** TACH2 - TIMA Channel Register; 0x0000002D *** ;*** TACH2H - TIMA Channel Register; 0x0000002D *** TACH2H: equ $0000002D ;*** TACH2H - TIMA Channel Register; 0x0000002D *** ;*** TACH2L - TIMA Channel Register; 0x0000002E *** TACH2L: equ $0000002E ;*** TACH2L - TIMA Channel Register; 0x0000002E *** ;*** TASC3 - TIMA Channel Status and Control Register; 0x0000002F *** TASC3: equ $0000002F ;*** TASC3 - TIMA Channel Status and Control Register; 0x0000002F *** ; bit numbers for usage in BCLR, BSET, BRCLR and BRSET TASC3_CH3MAX: equ 0 ; Channel 3 Maximum Duty Cycle Bit TASC3_TOV3: equ 1 ; Toggle-On-Overflow Bit TASC3_ELS3A: equ 2 ; Edge_Level Select Bits TASC3_ELS3B: equ 3 ; Edge_Level Select Bits TASC3_MS3A: equ 4 ; Mode Select Bit A TASC3_CH3IE: equ 6 ; Channel 3 Interrupt Enable Bit TASC3_CH3F: equ 7 ; Channel 3 Flag Bit ; bit position masks mTASC3_CH3MAX: equ %00000001 mTASC3_TOV3: equ %00000010 mTASC3_ELS3A: equ %00000100 mTASC3_ELS3B: equ %00001000 mTASC3_MS3A: equ %00010000 mTASC3_CH3IE: equ %01000000 mTASC3_CH3F: equ %10000000 ;*** TACH3 - TIMA Channel Register; 0x00000030 *** TACH3: equ $00000030 ;*** TACH3 - TIMA Channel Register; 0x00000030 *** ;*** TACH3H - TIMA Channel Register; 0x00000030 *** TACH3H: equ $00000030 ;*** TACH3H - TIMA Channel Register; 0x00000030 *** ;*** TACH3L - TIMA Channel Register; 0x00000031 *** TACH3L: equ $00000031 ;*** TACH3L - TIMA Channel Register; 0x00000031 *** ;*** TBSC2 - Timer B Channel Status and Control Register; 0x00000032 *** TBSC2: equ $00000032 ;*** TBSC2 - Timer B Channel Status and Control Register; 0x00000032 *** ; bit numbers for usage in BCLR, BSET, BRCLR and BRSET TBSC2_CH2MAX: equ 0 ; Channel 2 Maximum Duty Cycle Bit TBSC2_TOV2: equ 1 ; Toggle-On-Overflow Bit TBSC2_ELS2A: equ 2 ; Edge_Level Select Bits TBSC2_ELS2B: equ 3 ; Edge_Level Select Bits TBSC2_MS2A: equ 4 ; Mode Select Bit A TBSC2_MS2B: equ 5 ; Mode Select Bit B TBSC2_CH2IE: equ 6 ; Channel 2 Interrupt Enable Bit TBSC2_CH2F: equ 7 ; Channel 2 Flag Bit ; bit position masks mTBSC2_CH2MAX: equ %00000001 mTBSC2_TOV2: equ %00000010 mTBSC2_ELS2A: equ %00000100 mTBSC2_ELS2B: equ %00001000 mTBSC2_MS2A: equ %00010000 mTBSC2_MS2B: equ %00100000 mTBSC2_CH2IE: equ %01000000 mTBSC2_CH2F: equ %10000000 ;*** TBCH2 - TIMB Channel Register; 0x00000033 *** TBCH2: equ $00000033 ;*** TBCH2 - TIMB Channel Register; 0x00000033 *** ;*** TBCH2H - TIMB Channel Register; 0x00000033 *** TBCH2H: equ $00000033 ;*** TBCH2H - TIMB Channel Register; 0x00000033 *** ;*** TBCH2L - TIMB Channel Register; 0x00000034 *** TBCH2L: equ $00000034 ;*** TBCH2L - TIMB Channel Register; 0x00000034 *** ;*** TBSC3 - TIMB Channel Status and Control Register; 0x00000035 *** TBSC3: equ $00000035 ;*** TBSC3 - TIMB Channel Status and Control Register; 0x00000035 *** ; bit numbers for usage in BCLR, BSET, BRCLR and BRSET TBSC3_CH3MAX: equ 0 ; Channel 3 Maximum Duty Cycle Bit TBSC3_TOV3: equ 1 ; Toggle-On-Overflow Bit TBSC3_ELS3A: equ 2 ; Edge_Level Select Bits TBSC3_ELS3B: equ 3 ; Edge_Level Select Bits TBSC3_MS3A: equ 4 ; Mode Select Bit A TBSC3_CH3IE: equ 6 ; Channel 3 Interrupt Enable Bit TBSC3_CH3F: equ 7 ; Channel 3 Flag Bit ; bit position masks mTBSC3_CH3MAX: equ %00000001 mTBSC3_TOV3: equ %00000010 mTBSC3_ELS3A: equ %00000100 mTBSC3_ELS3B: equ %00001000 mTBSC3_MS3A: equ %00010000 mTBSC3_CH3IE: equ %01000000 mTBSC3_CH3F: equ %10000000 ;*** TBCH3 - TIMB Channel Register; 0x00000036 *** TBCH3: equ $00000036 ;*** TBCH3 - TIMB Channel Register; 0x00000036 *** ;*** TBCH3H - TIMB Channel Register; 0x00000036 *** TBCH3H: equ $00000036 ;*** TBCH3H - TIMB Channel Register; 0x00000036 *** ;*** TBCH3L - TIMB Channel Register; 0x00000037 *** TBCH3L: equ $00000037 ;*** TBCH3L - TIMB Channel Register; 0x00000037 *** ;*** ADSCR - ADC Status and Control Register; 0x00000038 *** ADSCR: equ $00000038 ;*** ADSCR - ADC Status and Control Register; 0x00000038 *** ; bit numbers for usage in BCLR, BSET, BRCLR and BRSET ADSCR_ADCH0: equ 0 ; ADC Channel Select Bit 0 ADSCR_ADCH1: equ 1 ; ADC Channel Select Bit 1 ADSCR_ADCH2: equ 2 ; ADC Channel Select Bit 2 ADSCR_ADCH3: equ 3 ; ADC Channel Select Bit 3 ADSCR_ADCH4: equ 4 ; ADC Channel Select Bit 4 ADSCR_ADCO: equ 5 ; ADC Continuous Conversion Bit ADSCR_AIEN: equ 6 ; ADC Interrupt Enable Bit ADSCR_COCO: equ 7 ; Conversions Complete Bit ; bit position masks mADSCR_ADCH0: equ %00000001 mADSCR_ADCH1: equ %00000010 mADSCR_ADCH2: equ %00000100 mADSCR_ADCH3: equ %00001000 mADSCR_ADCH4: equ %00010000 mADSCR_ADCO: equ %00100000 mADSCR_AIEN: equ %01000000 mADSCR_COCO: equ %10000000 ;*** ADR - ADC Data Register; 0x00000039 *** ADR: equ $00000039 ;*** ADR - ADC Data Register; 0x00000039 *** ; bit numbers for usage in BCLR, BSET, BRCLR and BRSET ADR_AD0: equ 0 ; ADC Data Bit 0 ADR_AD1: equ 1 ; ADC Data Bit 1 ADR_AD2: equ 2 ; ADC Data Bit 2 ADR_AD3: equ 3 ; ADC Data Bit 3 ADR_AD4: equ 4 ; ADC Data Bit 4 ADR_AD5: equ 5 ; ADC Data Bit 5 ADR_AD6: equ 6 ; ADC Data Bit 6 ADR_AD7: equ 7 ; ADC Data Bit 7 ; bit position masks mADR_AD0: equ %00000001 mADR_AD1: equ %00000010 mADR_AD2: equ %00000100 mADR_AD3: equ %00001000 mADR_AD4: equ %00010000 mADR_AD5: equ %00100000 mADR_AD6: equ %01000000 mADR_AD7: equ %10000000 ;*** ADCLK - ADC Input Clock Register; 0x0000003A *** ADCLK: equ $0000003A ;*** ADCLK - ADC Input Clock Register; 0x0000003A *** ; bit numbers for usage in BCLR, BSET, BRCLR and BRSET ADCLK_ADICLK: equ 4 ; ADC Input Clock Register Bit ADCLK_ADIV0: equ 5 ; ADC Clock Prescaler Bit 0 ADCLK_ADIV1: equ 6 ; ADC Clock Prescaler Bit 1 ADCLK_ADIV2: equ 7 ; ADC Clock Prescaler Bit 2 ; bit position masks mADCLK_ADICLK: equ %00010000 mADCLK_ADIV0: equ %00100000 mADCLK_ADIV1: equ %01000000 mADCLK_ADIV2: equ %10000000 ;*** PTDPUE - Port D Input Pullup Enable Register; 0x0000003D *** PTDPUE: equ $0000003D ;*** PTDPUE - Port D Input Pullup Enable Register; 0x0000003D *** ; bit numbers for usage in BCLR, BSET, BRCLR and BRSET PTDPUE_PTDPUE0: equ 0 ; Port D Input Pullup Enable Bit PTDPUE_PTDPUE1: equ 1 ; Port D Input Pullup Enable Bit PTDPUE_PTDPUE2: equ 2 ; Port D Input Pullup Enable Bit PTDPUE_PTDPUE3: equ 3 ; Port D Input Pullup Enable Bit PTDPUE_PTDPUE4: equ 4 ; Port D Input Pullup Enable Bit PTDPUE_PTDPUE5: equ 5 ; Port D Input Pullup Enable Bit PTDPUE_PTDPUE6: equ 6 ; Port D Input Pullup Enable Bit PTDPUE_PTDPUE7: equ 7 ; Port D Input Pullup Enable Bit ; bit position masks mPTDPUE_PTDPUE0: equ %00000001 mPTDPUE_PTDPUE1: equ %00000010 mPTDPUE_PTDPUE2: equ %00000100 mPTDPUE_PTDPUE3: equ %00001000 mPTDPUE_PTDPUE4: equ %00010000 mPTDPUE_PTDPUE5: equ %00100000 mPTDPUE_PTDPUE6: equ %01000000 mPTDPUE_PTDPUE7: equ %10000000 ;*** PTFPUE - Port F Input Pullup Enable Register; 0x0000003E *** PTFPUE: equ $0000003E ;*** PTFPUE - Port F Input Pullup Enable Register; 0x0000003E *** ; bit numbers for usage in BCLR, BSET, BRCLR and BRSET PTFPUE_PTFPUE0: equ 0 ; Port F Input Pullup Enable Bit PTFPUE_PTFPUE1: equ 1 ; Port F Input Pullup Enable Bit PTFPUE_PTFPUE2: equ 2 ; Port F Input Pullup Enable Bit PTFPUE_PTFPUE3: equ 3 ; Port F Input Pullup Enable Bit PTFPUE_PTFPUE4: equ 4 ; Port F Input Pullup Enable Bit PTFPUE_PTFPUE5: equ 5 ; Port F Input Pullup Enable Bit PTFPUE_PTFPUE6: equ 6 ; Port F Input Pullup Enable Bit PTFPUE_PTFPUE7: equ 7 ; Port F Input Pullup Enable Bit ; bit position masks mPTFPUE_PTFPUE0: equ %00000001 mPTFPUE_PTFPUE1: equ %00000010 mPTFPUE_PTFPUE2: equ %00000100 mPTFPUE_PTFPUE3: equ %00001000 mPTFPUE_PTFPUE4: equ %00010000 mPTFPUE_PTFPUE5: equ %00100000 mPTFPUE_PTFPUE6: equ %01000000 mPTFPUE_PTFPUE7: equ %10000000 ;*** CONFIG2 - Configuration Register; 0x0000003F *** CONFIG2: equ $0000003F ;*** CONFIG2 - Configuration Register; 0x0000003F *** ; bit numbers for usage in BCLR, BSET, BRCLR and BRSET CONFIG2_EEDIVCLK: equ 6 ; LVI Stop Mode Enable Bit ; bit position masks mCONFIG2_EEDIVCLK: equ %01000000 ;*** TBSCR - TIMB Status and Control Register; 0x00000040 *** TBSCR: equ $00000040 ;*** TBSCR - TIMB Status and Control Register; 0x00000040 *** ; bit numbers for usage in BCLR, BSET, BRCLR and BRSET TBSCR_PS0: equ 0 ; Prescaler Select Bit TBSCR_PS1: equ 1 ; Prescaler Select Bit TBSCR_PS2: equ 2 ; Prescaler Select Bit TBSCR_TRST: equ 4 ; TIMB Reset Bit TBSCR_TSTOP: equ 5 ; TIMB Stop Bit TBSCR_TOIE: equ 6 ; TIMB Overflow Interrupt Enable Bit TBSCR_TOF: equ 7 ; TIMB Overflow Flag Bit ; bit position masks mTBSCR_PS0: equ %00000001 mTBSCR_PS1: equ %00000010 mTBSCR_PS2: equ %00000100 mTBSCR_TRST: equ %00010000 mTBSCR_TSTOP: equ %00100000 mTBSCR_TOIE: equ %01000000 mTBSCR_TOF: equ %10000000 ;*** TBCNT - TIMB Counter Register; 0x00000041 *** TBCNT: equ $00000041 ;*** TBCNT - TIMB Counter Register; 0x00000041 *** ;*** TBCNTH - TIMB Counter Register; 0x00000041 *** TBCNTH: equ $00000041 ;*** TBCNTH - TIMB Counter Register; 0x00000041 *** ;*** TBCNTL - TIMB Counter Register; 0x00000042 *** TBCNTL: equ $00000042 ;*** TBCNTL - TIMB Counter Register; 0x00000042 *** ;*** TBMOD - TIMB Counter Modulo Register; 0x00000043 *** TBMOD: equ $00000043 ;*** TBMOD - TIMB Counter Modulo Register; 0x00000043 *** ;*** TBMODH - TIMB Counter Modulo Register; 0x00000043 *** TBMODH: equ $00000043 ;*** TBMODH - TIMB Counter Modulo Register; 0x00000043 *** ;*** TBMODL - TIMB Counter Modulo Register; 0x00000044 *** TBMODL: equ $00000044 ;*** TBMODL - TIMB Counter Modulo Register; 0x00000044 *** ;*** TBSC0 - TIMB Channel Status and Control Register; 0x00000045 *** TBSC0: equ $00000045 ;*** TBSC0 - TIMB Channel Status and Control Register; 0x00000045 *** ; bit numbers for usage in BCLR, BSET, BRCLR and BRSET TBSC0_CH0MAX: equ 0 ; Channel 0 Maximum Duty Cycle Bit TBSC0_TOV0: equ 1 ; Toggle-On-Overflow Bit TBSC0_ELS0A: equ 2 ; Edge/Level Select Bit TBSC0_ELS0B: equ 3 ; Edge/Level Select Bit TBSC0_MS0A: equ 4 ; Mode Select Bit A TBSC0_MS0B: equ 5 ; Mode Select Bit B TBSC0_CH0IE: equ 6 ; Channel 0 Interrupt Enable Bit TBSC0_CH0F: equ 7 ; Channel 0 Flag Bit ; bit position masks mTBSC0_CH0MAX: equ %00000001 mTBSC0_TOV0: equ %00000010 mTBSC0_ELS0A: equ %00000100 mTBSC0_ELS0B: equ %00001000 mTBSC0_MS0A: equ %00010000 mTBSC0_MS0B: equ %00100000 mTBSC0_CH0IE: equ %01000000 mTBSC0_CH0F: equ %10000000 ;*** TBCH0 - TIMB Channel Register; 0x00000046 *** TBCH0: equ $00000046 ;*** TBCH0 - TIMB Channel Register; 0x00000046 *** ;*** TBCH0H - TIMB Channel Register; 0x00000046 *** TBCH0H: equ $00000046 ;*** TBCH0H - TIMB Channel Register; 0x00000046 *** ;*** TBCH0L - TIMB Channel Register; 0x00000047 *** TBCH0L: equ $00000047 ;*** TBCH0L - TIMB Channel Register; 0x00000047 *** ;*** TBSC1 - IMB Channel Status and Control Register; 0x00000048 *** TBSC1: equ $00000048 ;*** TBSC1 - IMB Channel Status and Control Register; 0x00000048 *** ; bit numbers for usage in BCLR, BSET, BRCLR and BRSET TBSC1_CH1MAX: equ 0 ; Channel 1 Maximum Duty Cycle Bit TBSC1_TOV1: equ 1 ; Toggle-On-Overflow Bit TBSC1_ELS1A: equ 2 ; Edge/Level Select Bit TBSC1_ELS1B: equ 3 ; Edge/Level Select Bit TBSC1_MS1A: equ 4 ; Mode Select Bit A TBSC1_CH1IE: equ 6 ; Channel 1 Interrupt Enable Bit TBSC1_CH1F: equ 7 ; Channel 1 Flag Bit ; bit position masks mTBSC1_CH1MAX: equ %00000001 mTBSC1_TOV1: equ %00000010 mTBSC1_ELS1A: equ %00000100 mTBSC1_ELS1B: equ %00001000 mTBSC1_MS1A: equ %00010000 mTBSC1_CH1IE: equ %01000000 mTBSC1_CH1F: equ %10000000 ;*** TBCH1 - TIMB Channel Register; 0x00000049 *** TBCH1: equ $00000049 ;*** TBCH1 - TIMB Channel Register; 0x00000049 *** ;*** TBCH1H - TIMB Channel Register; 0x00000049 *** TBCH1H: equ $00000049 ;*** TBCH1H - TIMB Channel Register; 0x00000049 *** ;*** TBCH1L - TIMB Channel Register; 0x0000004A *** TBCH1L: equ $0000004A ;*** TBCH1L - TIMB Channel Register; 0x0000004A *** ;*** PSC - Timer Status & Control; 0x0000004B *** PSC: equ $0000004B ;*** PSC - Timer Status & Control; 0x0000004B *** ; bit numbers for usage in BCLR, BSET, BRCLR and BRSET PSC_PPS0: equ 0 ; Prescaler Select Bit PSC_PPS1: equ 1 ; Prescaler Select Bit PSC_PPS2: equ 2 ; Prescaler Select Bit PSC_PRST: equ 4 ; PIT Reset Bit PSC_PSTOP: equ 5 ; PIT Stop Bit PSC_POIE: equ 6 ; PIT Overflow Interrupt Enable Bit PSC_POF: equ 7 ; PIT Overflow Flag Bit ; bit position masks mPSC_PPS0: equ %00000001 mPSC_PPS1: equ %00000010 mPSC_PPS2: equ %00000100 mPSC_PRST: equ %00010000 mPSC_PSTOP: equ %00100000 mPSC_POIE: equ %01000000 mPSC_POF: equ %10000000 ;*** PCNT - PIT Counter Register; 0x0000004C *** PCNT: equ $0000004C ;*** PCNT - PIT Counter Register; 0x0000004C *** ;*** PCNTH - PIT Counter Register; 0x0000004C *** PCNTH: equ $0000004C ;*** PCNTH - PIT Counter Register; 0x0000004C *** ;*** PCNTL - PIT Counter Register; 0x0000004D *** PCNTL: equ $0000004D ;*** PCNTL - PIT Counter Register; 0x0000004D *** ;*** PMOD - PIT Counter Modulo Register; 0x0000004E *** PMOD: equ $0000004E ;*** PMOD - PIT Counter Modulo Register; 0x0000004E *** ;*** PMODH - PIT Counter Modulo Register; 0x0000004E *** PMODH: equ $0000004E ;*** PMODH - PIT Counter Modulo Register; 0x0000004E *** ;*** PMODL - PIT Counter Modulo Register; 0x0000004F *** PMODL: equ $0000004F ;*** PMODL - PIT Counter Modulo Register; 0x0000004F *** ;*** SBSR - SIM Break Status Register; 0x0000FE00 *** SBSR: equ $0000FE00 ;*** SBSR - SIM Break Status Register; 0x0000FE00 *** ; bit numbers for usage in BCLR, BSET, BRCLR and BRSET SBSR_SBSW: equ 1 ; SIM Break Stop/Wait ; bit position masks mSBSR_SBSW: equ %00000010 ;*** SRSR - SIM Reset Status Register; 0x0000FE01 *** SRSR: equ $0000FE01 ;*** SRSR - SIM Reset Status Register; 0x0000FE01 *** ; bit numbers for usage in BCLR, BSET, BRCLR and BRSET SRSR_LVI: equ 1 ; Low-Voltage Inhibit Reset Bit SRSR_ILAD: equ 3 ; Illegal Address Reset Bit SRSR_ILOP: equ 4 ; Illegal Opcode Reset Bit SRSR_COP: equ 5 ; Computer Operating Properly Reset Bit SRSR_PIN: equ 6 ; External Reset Bit SRSR_POR: equ 7 ; Power-On Reset Bit ; bit position masks mSRSR_LVI: equ %00000010 mSRSR_ILAD: equ %00001000 mSRSR_ILOP: equ %00010000 mSRSR_COP: equ %00100000 mSRSR_PIN: equ %01000000 mSRSR_POR: equ %10000000 ;*** SBFCR - SIM Break Flag Control Register; 0x0000FE03 *** SBFCR: equ $0000FE03 ;*** SBFCR - SIM Break Flag Control Register; 0x0000FE03 *** ; bit numbers for usage in BCLR, BSET, BRCLR and BRSET SBFCR_BCFE: equ 7 ; Break Clear Flag Enable Bit ; bit position masks mSBFCR_BCFE: equ %10000000 ;*** FLCR - FLASH Control Register; 0x0000FE08 *** FLCR: equ $0000FE08 ;*** FLCR - FLASH Control Register; 0x0000FE08 *** ; bit numbers for usage in BCLR, BSET, BRCLR and BRSET FLCR_PGM: equ 0 ; Program Control Bit FLCR_ERASE: equ 1 ; Erase Control Bit FLCR_MASS: equ 2 ; Mass Erase Control Bit FLCR_HVEN: equ 3 ; High-Voltage Enable Bit ; bit position masks mFLCR_PGM: equ %00000001 mFLCR_ERASE: equ %00000010 mFLCR_MASS: equ %00000100 mFLCR_HVEN: equ %00001000 ;*** BRK - Break Address Register; 0x0000FE0C *** BRK: equ $0000FE0C ;*** BRK - Break Address Register; 0x0000FE0C *** ;*** BRKH - Break Address Register; 0x0000FE0C *** BRKH: equ $0000FE0C ;*** BRKH - Break Address Register; 0x0000FE0C *** ; bit numbers for usage in BCLR, BSET, BRCLR and BRSET BRKH_BIT8: equ 0 ; Break Address Register Bit BRKH_BIT9: equ 1 ; Break Address Register Bit BRKH_BIT10: equ 2 ; Break Address Register Bit BRKH_BIT11: equ 3 ; Break Address Register Bit BRKH_BIT12: equ 4 ; Break Address Register Bit BRKH_BIT13: equ 5 ; Break Address Register Bit BRKH_BIT14: equ 6 ; Break Address Register Bit BRKH_BIT15: equ 7 ; Break Address Register Bit ; bit position masks mBRKH_BIT8: equ %00000001 mBRKH_BIT9: equ %00000010 mBRKH_BIT10: equ %00000100 mBRKH_BIT11: equ %00001000 mBRKH_BIT12: equ %00010000 mBRKH_BIT13: equ %00100000 mBRKH_BIT14: equ %01000000 mBRKH_BIT15: equ %10000000 ;*** BRKL - Break Address Register; 0x0000FE0D *** BRKL: equ $0000FE0D ;*** BRKL - Break Address Register; 0x0000FE0D *** ; bit numbers for usage in BCLR, BSET, BRCLR and BRSET BRKL_BIT0: equ 0 ; Break Address Register Bit BRKL_BIT1: equ 1 ; Break Address Register Bit BRKL_BIT2: equ 2 ; Break Address Register Bit BRKL_BIT3: equ 3 ; Break Address Register Bit BRKL_BIT4: equ 4 ; Break Address Register Bit BRKL_BIT5: equ 5 ; Break Address Register Bit BRKL_BIT6: equ 6 ; Break Address Register Bit BRKL_BIT7: equ 7 ; Break Address Register Bit ; bit position masks mBRKL_BIT0: equ %00000001 mBRKL_BIT1: equ %00000010 mBRKL_BIT2: equ %00000100 mBRKL_BIT3: equ %00001000 mBRKL_BIT4: equ %00010000 mBRKL_BIT5: equ %00100000 mBRKL_BIT6: equ %01000000 mBRKL_BIT7: equ %10000000 ;*** BRKSCR - Break Status and Control Register; 0x0000FE0E *** BRKSCR: equ $0000FE0E ;*** BRKSCR - Break Status and Control Register; 0x0000FE0E *** ; bit numbers for usage in BCLR, BSET, BRCLR and BRSET BRKSCR_BRKA: equ 6 ; Break Active Bit BRKSCR_BRKE: equ 7 ; Break Enable Bit ; bit position masks mBRKSCR_BRKA: equ %01000000 mBRKSCR_BRKE: equ %10000000 ;*** LVISR - LVI Status Register; 0x0000FE0F *** LVISR: equ $0000FE0F ;*** LVISR - LVI Status Register; 0x0000FE0F *** ; bit numbers for usage in BCLR, BSET, BRCLR and BRSET LVISR_LVIOUT: equ 7 ; LVI Output Bit ; bit position masks mLVISR_LVIOUT: equ %10000000 ;*** EEDIVHNVR - EE1DIV Hi Non-volatile Register; 0x0000FE10 *** EEDIVHNVR: equ $0000FE10 ;*** EEDIVHNVR - EE1DIV Hi Non-volatile Register; 0x0000FE10 *** ; bit numbers for usage in BCLR, BSET, BRCLR and BRSET EEDIVHNVR_EEDIV8: equ 0 ; EEPROM-1 Divider Security Disable EEDIVHNVR_EEDIV9: equ 1 ; EEPROM-1 timebase prescaler EEDIVHNVR_EEDIV10: equ 2 ; EEPROM-1 timebase prescaler EEDIVHNVR_EEDIVSECD: equ 7 ; EEPROM-1 timebase prescaler ; bit position masks mEEDIVHNVR_EEDIV8: equ %00000001 mEEDIVHNVR_EEDIV9: equ %00000010 mEEDIVHNVR_EEDIV10: equ %00000100 mEEDIVHNVR_EEDIVSECD: equ %10000000 ;*** EEDIVLNVR - EE1DIV Lo Non-volatile Register; 0x0000FE11 *** EEDIVLNVR: equ $0000FE11 ;*** EEDIVLNVR - EE1DIV Lo Non-volatile Register; 0x0000FE11 *** ; bit numbers for usage in BCLR, BSET, BRCLR and BRSET EEDIVLNVR_EEDIV0: equ 0 ; EEPROM-1 timebase prescaler EEDIVLNVR_EEDIV1: equ 1 ; EEPROM-1 timebase prescaler EEDIVLNVR_EEDIV2: equ 2 ; EEPROM-1 timebase prescaler EEDIVLNVR_EEDIV3: equ 3 ; EEPROM-1 timebase prescaler EEDIVLNVR_EEDIV4: equ 4 ; EEPROM-1 timebase prescaler EEDIVLNVR_EEDIV5: equ 5 ; EEPROM-1 timebase prescaler EEDIVLNVR_EEDIV6: equ 6 ; EEPROM-1 timebase prescaler EEDIVLNVR_EEDIV7: equ 7 ; EEPROM-1 timebase prescaler ; bit position masks mEEDIVLNVR_EEDIV0: equ %00000001 mEEDIVLNVR_EEDIV1: equ %00000010 mEEDIVLNVR_EEDIV2: equ %00000100 mEEDIVLNVR_EEDIV3: equ %00001000 mEEDIVLNVR_EEDIV4: equ %00010000 mEEDIVLNVR_EEDIV5: equ %00100000 mEEDIVLNVR_EEDIV6: equ %01000000 mEEDIVLNVR_EEDIV7: equ %10000000 ;*** EEDIVH - EE1DIV Divider High Register; 0x0000FE1A *** EEDIVH: equ $0000FE1A ;*** EEDIVH - EE1DIV Divider High Register; 0x0000FE1A *** ; bit numbers for usage in BCLR, BSET, BRCLR and BRSET EEDIVH_EEDIV8: equ 0 ; EEPROM-1 Divider Security Disable EEDIVH_EEDIV9: equ 1 ; EEPROM-1 timebase prescaler EEDIVH_EEDIV10: equ 2 ; EEPROM-1 timebase prescaler EEDIVH_EEDIVSECD: equ 7 ; EEPROM-1 timebase prescaler ; bit position masks mEEDIVH_EEDIV8: equ %00000001 mEEDIVH_EEDIV9: equ %00000010 mEEDIVH_EEDIV10: equ %00000100 mEEDIVH_EEDIVSECD: equ %10000000 ;*** EEDIVL - EE1DIV Divider Low Register; 0x0000FE1B *** EEDIVL: equ $0000FE1B ;*** EEDIVL - EE1DIV Divider Low Register; 0x0000FE1B *** ; bit numbers for usage in BCLR, BSET, BRCLR and BRSET EEDIVL_EEDIV0: equ 0 ; EEPROM-1 timebase prescaler EEDIVL_EEDIV1: equ 1 ; EEPROM-1 timebase prescaler EEDIVL_EEDIV2: equ 2 ; EEPROM-1 timebase prescaler EEDIVL_EEDIV3: equ 3 ; EEPROM-1 timebase prescaler EEDIVL_EEDIV4: equ 4 ; EEPROM-1 timebase prescaler EEDIVL_EEDIV5: equ 5 ; EEPROM-1 timebase prescaler EEDIVL_EEDIV6: equ 6 ; EEPROM-1 timebase prescaler EEDIVL_EEDIV7: equ 7 ; EEPROM-1 timebase prescaler ; bit position masks mEEDIVL_EEDIV0: equ %00000001 mEEDIVL_EEDIV1: equ %00000010 mEEDIVL_EEDIV2: equ %00000100 mEEDIVL_EEDIV3: equ %00001000 mEEDIVL_EEDIV4: equ %00010000 mEEDIVL_EEDIV5: equ %00100000 mEEDIVL_EEDIV6: equ %01000000 mEEDIVL_EEDIV7: equ %10000000 ;*** EENVR - EEPROM1 Nonvolatile Register; 0x0000FE1C *** EENVR: equ $0000FE1C ;*** EENVR - EEPROM1 Nonvolatile Register; 0x0000FE1C *** ; bit numbers for usage in BCLR, BSET, BRCLR and BRSET EENVR_EEBP0: equ 0 ; EEPROM Block Protection Bit 0 EENVR_EEBP1: equ 1 ; EEPROM Block Protection Bit 1 EENVR_EEBP2: equ 2 ; EEPROM Block Protection Bit 2 EENVR_EEBP3: equ 3 ; EEPROM Block Protection Bit 3 EENVR_EEPRTCT: equ 4 ; EEPROM Protection EENVR_CON1: equ 5 ; MCU Configuration Bit 1 EENVR_CON2: equ 6 ; MCU Configuration Bit 2 EENVR_CON3: equ 7 ; MCU Configuration Bit 3 ; bit position masks mEENVR_EEBP0: equ %00000001 mEENVR_EEBP1: equ %00000010 mEENVR_EEBP2: equ %00000100 mEENVR_EEBP3: equ %00001000 mEENVR_EEPRTCT: equ %00010000 mEENVR_CON1: equ %00100000 mEENVR_CON2: equ %01000000 mEENVR_CON3: equ %10000000 ;*** EECR - EEPROM1 Control Register; 0x0000FE1D *** EECR: equ $0000FE1D ;*** EECR - EEPROM1 Control Register; 0x0000FE1D *** ; bit numbers for usage in BCLR, BSET, BRCLR and BRSET EECR_EEPGM: equ 0 ; EEPROM Program/Erase Enable EECR_AUTO: equ 1 ; Automatic termination of program/erase cycle EECR_EELAT: equ 2 ; EEPROM Latch Control EECR_EERAS0: equ 3 ; Erase Bit 0 EECR_EERAS1: equ 4 ; Erase Bit 1 EECR_EEOFF: equ 5 ; EEPROM Power Down ; bit position masks mEECR_EEPGM: equ %00000001 mEECR_AUTO: equ %00000010 mEECR_EELAT: equ %00000100 mEECR_EERAS0: equ %00001000 mEECR_EERAS1: equ %00010000 mEECR_EEOFF: equ %00100000 ;*** EEACR - EEPROM1 Array Control Register; 0x0000FE1F *** EEACR: equ $0000FE1F ;*** EEACR - EEPROM1 Array Control Register; 0x0000FE1F *** ; bit numbers for usage in BCLR, BSET, BRCLR and BRSET EEACR_EEBP0: equ 0 ; EEPROM Block Protection Bit 0 EEACR_EEBP1: equ 1 ; EEPROM Block Protection Bit 1 EEACR_EEBP2: equ 2 ; EEPROM Block Protection Bit 2 EEACR_EEBP3: equ 3 ; EEPROM Block Protection Bit 3 EEACR_EEPRTCT: equ 4 ; EEPROM Protection EEACR_CON1: equ 5 ; MCU Configuration Bit 1 EEACR_CON2: equ 6 ; MCU Configuration Bit 2 EEACR_CON3: equ 7 ; MCU Configuration Bit 3 ; bit position masks mEEACR_EEBP0: equ %00000001 mEEACR_EEBP1: equ %00000010 mEEACR_EEBP2: equ %00000100 mEEACR_EEBP3: equ %00001000 mEEACR_EEPRTCT: equ %00010000 mEEACR_CON1: equ %00100000 mEEACR_CON2: equ %01000000 mEEACR_CON3: equ %10000000 ;*** FLBPR - FLASH Block Protect Register; 0x0000FF7E *** FLBPR: equ $0000FF7E ;*** FLBPR - FLASH Block Protect Register; 0x0000FF7E *** ; bit numbers for usage in BCLR, BSET, BRCLR and BRSET FLBPR_BPR0: equ 0 ; FLASH Block Protect Register FLBPR_BPR1: equ 1 ; FLASH Block Protect Register FLBPR_BPR2: equ 2 ; FLASH Block Protect Register FLBPR_BPR3: equ 3 ; FLASH Block Protect Register FLBPR_BPR4: equ 4 ; FLASH Block Protect Register FLBPR_BPR5: equ 5 ; FLASH Block Protect Register FLBPR_BPR6: equ 6 ; FLASH Block Protect Register FLBPR_BPR7: equ 7 ; FLASH Block Protect Register ; bit position masks mFLBPR_BPR0: equ %00000001 mFLBPR_BPR1: equ %00000010 mFLBPR_BPR2: equ %00000100 mFLBPR_BPR3: equ %00001000 mFLBPR_BPR4: equ %00010000 mFLBPR_BPR5: equ %00100000 mFLBPR_BPR6: equ %01000000 mFLBPR_BPR7: equ %10000000 ;*** COPCTL - COP Control Register; 0x0000FFFF *** COPCTL: equ $0000FFFF ;*** COPCTL - COP Control Register; 0x0000FFFF *** ; bit numbers for usage in BCLR, BSET, BRCLR and BRSET COPCTL_BIT0: equ 0 ; Bit 0 COPCTL_BIT1: equ 1 ; Bit 1 COPCTL_BIT2: equ 2 ; Bit 2 COPCTL_BIT3: equ 3 ; Bit 3 COPCTL_BIT4: equ 4 ; Bit 4 COPCTL_BIT5: equ 5 ; Bit 5 COPCTL_BIT6: equ 6 ; Bit 6 COPCTL_BIT7: equ 7 ; Bit 7 ; bit position masks mCOPCTL_BIT0: equ %00000001 mCOPCTL_BIT1: equ %00000010 mCOPCTL_BIT2: equ %00000100 mCOPCTL_BIT3: equ %00001000 mCOPCTL_BIT4: equ %00010000 mCOPCTL_BIT5: equ %00100000 mCOPCTL_BIT6: equ %01000000 mCOPCTL_BIT7: equ %10000000 ;*********************************************** ;** D E P R E C I A T E D S Y M B O L S ** ;*********************************************** IFNDEF __GENERATE_APPLICATION__ ; not supported for absolute assembler XREF This_symb_has_been_depreciated ENDIF ; --------------------------------------------------------------------------- ; The following symbols were removed, because they were invalid or irrelevant ; --------------------------------------------------------------------------- ; EOF