###################################################################### # # MPLAB IDE .dev File Generated by `pic2dev.py' # # Device: PIC16F1455 # Family: 16Exxx # Programming Spec: 41620 # Date: Fri Oct 12 14:17:19 2012 # ###################################################################### ###################################################################### # # Memory Regions & Other General Device Information # ###################################################################### vpp (range=8.000-9.000 dflt=9.000) vdd (range=2.300-5.500 dfltrange=2.300-5.500 nominal=5.000) pgming (memtech=ee tries=1 lvpthresh=2.700 boundary=8) wait (pgm=2500 eedata=8000 cfg=5000 userid=2500 erase=6000 lvpgm=2500) latches (pgm=32 eedata=1 cfg=1 userid=1 rowerase=32) EraseAlg=1 HWStackDepth=16 breakpoints (numhwbp=3 datacapture=true idbyte=x) testmem (region=0x8000-0x81ff) userid (region=0x8000-0x8003) devid (region=0x8006-0x8006 idmask=0x3fff id=0x3021) ver (id=0x3021 desc="a0") cfgmem (region=0x8007-0x8008) bkbgvectmem (region=0x8004-0x8004) pgmmem (region=0x0-0x1fff) NumBanks=32 MirrorRegs (0x0-0xb 0x80-0x8b 0x100-0x10b 0x180-0x18b 0x200-0x20b 0x280-0x28b 0x300-0x30b 0x380-0x38b 0x400-0x40b 0x480-0x48b 0x500-0x50b 0x580-0x58b 0x600-0x60b 0x680-0x68b 0x700-0x70b 0x780-0x78b 0x800-0x80b 0x880-0x88b 0x900-0x90b 0x980-0x98b 0xa00-0xa0b 0xa80-0xa8b 0xb00-0xb0b 0xb80-0xb8b 0xc00-0xc0b 0xc80-0xc8b 0xd00-0xd0b 0xd80-0xd8b 0xe00-0xe0b 0xe80-0xe8b 0xf00-0xf0b 0xf80-0xf8b) MirrorRegs (0x70-0x7f 0xf0-0xff 0x170-0x17f 0x1f0-0x1ff 0x270-0x27f 0x2f0-0x2ff 0x370-0x37f 0x3f0-0x3ff 0x470-0x47f 0x4f0-0x4ff 0x570-0x57f 0x5f0-0x5ff 0x670-0x67f 0x6f0-0x6ff 0x770-0x77f 0x7f0-0x7ff 0x870-0x87f 0x8f0-0x8ff 0x970-0x97f 0x9f0-0x9ff 0xa70-0xa7f 0xaf0-0xaff 0xb70-0xb7f 0xbf0-0xbff 0xc70-0xc7f 0xcf0-0xcff 0xd70-0xd7f 0xdf0-0xdff 0xe70-0xe7f 0xef0-0xeff 0xf70-0xf7f 0xff0-0xfff) UnusedRegs (0x650-0x66f) UnusedRegs (0x6a0-0x6ef) UnusedRegs (0x720-0x76f) UnusedRegs (0x7a0-0x7ef) UnusedRegs (0x820-0x86f) UnusedRegs (0x8a0-0x8ef) UnusedRegs (0x920-0x96f) UnusedRegs (0x9a0-0x9ef) UnusedRegs (0xa20-0xa6f) UnusedRegs (0xaa0-0xaef) UnusedRegs (0xb20-0xb6f) UnusedRegs (0xba0-0xbef) UnusedRegs (0xc20-0xc6f) UnusedRegs (0xca0-0xcef) UnusedRegs (0xd20-0xd6f) UnusedRegs (0xda0-0xdef) UnusedRegs (0xe20-0xe6f) UnusedRegs (0xea0-0xeef) UnusedRegs (0xf20-0xf6f) ###################################################################### # # Special Function Registers # ###################################################################### sfr (key=INDF0 addr=0x0 size=1 flags=i access='rw rw rw rw rw rw rw rw') reset (por='xxxxxxxx' mclr='xxxxxxxx') bit (names='INDF0' width='8') sfr (key=INDF1 addr=0x1 size=1 flags=i access='rw rw rw rw rw rw rw rw') reset (por='xxxxxxxx' mclr='xxxxxxxx') bit (names='INDF1' width='8') sfr (key=PCL addr=0x2 size=1 access='rw rw rw rw rw rw rw rw') reset (por='00000000' mclr='00000000') bit (names='PCL' width='8') stimulus (scl=rwb pcfiles=rw regfiles=w) sfr (key=STATUS addr=0x3 size=1 access='u u u r r rw rw rw') reset (por='---11000' mclr='---qquuu') bit (names='- - - nTO nPD Z DC C' width='1 1 1 1 1 1 1 1') sfr (key=FSR0 addr=0x4 size=2 flags=j) sfr (key=FSR0L addr=0x4 size=1 access='rw rw rw rw rw rw rw rw') reset (por='00000000' mclr='uuuuuuuu') bit (names='FSR0L' width='8') stimulus (scl=rwb pcfiles=rw regfiles=w type=int) sfr (key=FSR0H addr=0x5 size=1 access='rw rw rw rw rw rw rw rw') reset (por='00000000' mclr='00000000') bit (names='FSR0H' width='8') sfr (key=FSR1 addr=0x6 size=2 flags=j) sfr (key=FSR1L addr=0x6 size=1 access='rw rw rw rw rw rw rw rw') reset (por='00000000' mclr='uuuuuuuu') bit (names='FSR1L' width='8') stimulus (scl=rwb pcfiles=rw regfiles=w type=int) sfr (key=FSR1H addr=0x7 size=1 access='rw rw rw rw rw rw rw rw') reset (por='00000000' mclr='00000000') bit (names='FSR1H' width='8') sfr (key=BSR addr=0x8 size=1 access='u u u rw rw rw rw rw') reset (por='---00000' mclr='---00000') bit (names='- - - BSR' width='1 1 1 5') sfr (key=WREG addr=0x9 size=1 access='rw rw rw rw rw rw rw rw') reset (por='00000000' mclr='uuuuuuuu') bit (names='WREG0' width='8') bit (tag=scl names='RE' width='8') stimulus (scl=rwb pcfiles=rw regfiles=rw) sfr (key=PCLATH addr=0xa size=1 access='u rw rw rw rw rw rw rw') reset (por='-0000000' mclr='-0000000') bit (names='- PCLATH' width='1 7') sfr (key=INTCON addr=0xb size=1 access='rw rw rw rw rw rw rw r') reset (por='0000000x' mclr='0000000u') bit (names='GIE PEIE TMR0IE INTE IOCIE TMR0IF INTF IOCIF' width='1 1 1 1 1 1 1 1') stimulus (scl=rwb pcfiles=rw regfiles=w) sfr (key=PORTA addr=0xc size=1 access='u u rw rw rw u rw rw') reset (por='--xxx-xx' mclr='--xxx-xx') bit (names='- - RA5 RA4 RA3 - RA1 RA0' width='1 1 1 1 1 1 1 1') bit (tag=scl names='RA' width='8') stimulus (scl=rwb pcfiles=rw regfiles=rw) UnusedRegs (0xd-0xd) sfr (key=PORTC addr=0xe size=1 access='u u rw rw rw rw rw rw') reset (por='--xxxxxx' mclr='--xxxxxx') bit (names='- - RC5 RC4 RC3 RC2 RC1 RC0' width='1 1 1 1 1 1 1 1') bit (tag=scl names='RC' width='8') stimulus (scl=rwb pcfiles=rw regfiles=rw) UnusedRegs (0xf-0xf) UnusedRegs (0x10-0x10) sfr (key=PIR1 addr=0x11 size=1 access='rw rw rw rw rw u rw rw') reset (por='00xx0-00' mclr='00xx0-00') bit (names='TMR1GIF ADIF RCIF TXIF SSP1IF - TMR2IF TMR1IF' width='1 1 1 1 1 1 1 1') stimulus (scl=rwb pcfiles=rw regfiles=w) sfr (key=PIR2 addr=0x12 size=1 access='rw rw rw u rw rw rw u') reset (por='000-000-' mclr='000-000-') bit (names='OSFIF C2IF C1IF - BCL1IF USBIF ACTIF -' width='1 1 1 1 1 1 1 1') UnusedRegs (0x13-0x14) sfr (key=TMR0 addr=0x15 size=1 access='rw rw rw rw rw rw rw rw') reset (por='xxxxxxxx' mclr='uuuuuuuu') bit (names='TMR0' width='8') stimulus (scl=rwb pcfiles=w regfiles=w type=int) sfr (key=TMR1 addr=0x16 size=2 flags=j) bit (names='TMR1' width='16') stimulus (scl=rwb regfiles=w type=int) sfr (key=TMR1L addr=0x16 size=1 access='rw rw rw rw rw rw rw rw') reset (por='xxxxxxxx' mclr='uuuuuuuu') bit (names='TMR1L' width='8') sfr (key=TMR1H addr=0x17 size=1 access='rw rw rw rw rw rw rw rw') reset (por='xxxxxxxx' mclr='uuuuuuuu') bit (names='TMR1H' width='8') sfr (key=T1CON addr=0x18 size=1 access='rw rw rw rw rw rw u rw') reset (por='000000-0' mclr='uuuuuu-u') bit (names='TMR1CS T1CKPS T1OSCEN nT1SYNC - TMR1ON' width='2 2 1 1 1 1') sfr (key=T1GCON addr=0x19 size=1 access='rw rw rw rw rw r rw rw') reset (por='00000x00' mclr='uuuuuxuu') bit (names='TMR1GE T1GPOL T1GTM T1GSPM T1GGO_nDONE T1GVAL T1GSS' width='1 1 1 1 1 1 2') sfr (key=TMR2 addr=0x1a size=1 access='rw rw rw rw rw rw rw rw') reset (por='00000000' mclr='00000000') bit (names='TMR2' width='8') stimulus (scl=rwb pcfiles=w regfiles=w type=int) sfr (key=PR2 addr=0x1b size=1 access='rw rw rw rw rw rw rw rw') reset (por='11111111' mclr='11111111') bit (names='PR2' width='8') sfr (key=T2CON addr=0x1c size=1 access='u rw rw rw rw rw rw rw') reset (por='-0000000' mclr='-0000000') bit (names='- T2OUTPS TMR2ON T2CKPS' width='1 4 1 2') UnusedRegs (0x1d-0x1f) sfr (key=TRISA addr=0x8c size=1 access='u u rw rw u u u u') reset (por='--11----' mclr='--11----') bit (names='- - TRISA5 TRISA4 - - - -' width='1 1 1 1 1 1 1 1') bit (tag=scl names='TRISA' width='8') stimulus (scl=rwb regfiles=w) UnusedRegs (0x8d-0x8d) sfr (key=TRISC addr=0x8e size=1 access='u u rw rw rw rw rw rw') reset (por='--111111' mclr='--111111') bit (names='- - TRISC5 TRISC4 TRISC3 TRISC2 TRISC1 TRISC0' width='1 1 1 1 1 1 1 1') bit (tag=scl names='TRISC' width='8') stimulus (scl=rwb regfiles=w) UnusedRegs (0x8f-0x8f) UnusedRegs (0x90-0x90) sfr (key=PIE1 addr=0x91 size=1 access='rw rw rw rw rw u rw rw') reset (por='00xx0-00' mclr='00xx0-00') bit (names='TMR1GIE ADIE RCIE TXIE SSP1IE - TMR2IE TMR1IE' width='1 1 1 1 1 1 1 1') stimulus (scl=rwb pcfiles=rw regfiles=w) sfr (key=PIE2 addr=0x92 size=1 access='rw rw rw u rw rw rw u') reset (por='x00-000-' mclr='x00-000-') bit (names='OSFIE C2IE C1IE - BCL1IE USBIE ACTIE -' width='1 1 1 1 1 1 1 1') stimulus (scl=rwb pcfiles=rw regfiles=w) UnusedRegs (0x93-0x94) sfr (key=OPTION_REG addr=0x95 size=1 access='rw rw rw rw rw rw rw rw') reset (por='11111111' mclr='11111111') bit (names='nWPUEN INTEDG TMR0CS TMR0SE PSA PS' width='1 1 1 1 1 3') stimulus (scl=rwb regfiles=w) sfr (key=PCON addr=0x96 size=1 access='rw rw u rw rw rw rw rw') reset (por='00-111qq' mclr='00-qqquu') bit (names='STKOVF STKUNF - nRWDT nRMCLR nRI nPOR nBOR' width='1 1 1 1 1 1 1 1') stimulus (scl=rwb regfiles=w) sfr (key=WDTCON addr=0x97 size=1 access='u u rw rw rw rw rw rw') reset (por='--010110' mclr='--010110') bit (names='- - WDTPS SWDTEN' width='1 1 5 1') stimulus (scl=rwb pcfiles=rw regfiles=w) sfr (key=OSCTUNE addr=0x98 size=1 access='u rw rw rw rw rw rw rw') reset (por='-0000000' mclr='-0000000') bit (names='- TUN' width='1 7') sfr (key=OSCCON addr=0x99 size=1 access='rw rw rw rw rw rw rw rw') reset (por='00000000' mclr='00000000') bit (names='SPLLEN SPLLMULT IRCF SCS' width='1 1 4 2') stimulus (scl=rwb pcfiles=rw regfiles=w) sfr (key=OSCSTAT addr=0x9a size=1 access='rw rw r r u u r r') reset (por='00q0--00' mclr='qqqq--qq') bit (names='SOSCR PLLRDY OSTS HFIOFR - - LFIOFR HFIOFS' width='1 1 1 1 1 1 1 1') stimulus (scl=rwb pcfiles=rw regfiles=w) sfr (key=ADRES addr=0x9b size=2 flags=j) sfr (key=ADRESL addr=0x9b size=1 access='rw rw rw rw rw rw rw rw') reset (por='xxxxxxxx' mclr='uuuuuuuu') bit (names='ADRESL' width='8') stimulus (scl=rwb regfiles=r type=int) sfr (key=ADRESH addr=0x9c size=1 access='rw rw rw rw rw rw rw rw') reset (por='xxxxxxxx' mclr='uuuuuuuu') bit (names='ADRESH' width='8') stimulus (scl=rwb type=int) sfr (key=ADCON0 addr=0x9d size=1 access='u rw rw rw rw rw rw rw') reset (por='-0000000' mclr='-0000000') bit (names='- CHS GO/nDONE ADON' width='1 5 1 1') stimulus (scl=rwb regfiles=w) sfr (key=ADCON1 addr=0x9e size=1 access='rw rw rw rw u u rw rw') reset (por='0000--00' mclr='0000--00') bit (names='ADFM ADCS - - ADPREF' width='1 3 1 1 2') stimulus (scl=rwb regfiles=w) sfr (key=ADCON2 addr=0x9f size=1 access='u rw rw rw u u u u') reset (por='-000----' mclr='-000----') bit (names='- TRIGSEL - - - -' width='1 3 1 1 1 1') sfr (key=LATA addr=0x10c size=1 access='u u rw rw u u u u') reset (por='--xx----' mclr='--uu----') bit (names='- - LATA5 LATA4 - - - -' width='1 1 1 1 1 1 1 1') bit (tag=scl names='LATA' width='8') stimulus (scl=rwb regfiles=w) UnusedRegs (0x10d-0x10d) sfr (key=LATC addr=0x10e size=1 access='u u rw rw rw rw rw rw') reset (por='--xxxxxx' mclr='--uuuuuu') bit (names='- - LATC5 LATC4 LATC3 LATC2 LATC1 LATC0' width='1 1 1 1 1 1 1 1') bit (tag=scl names='LATC' width='8') stimulus (scl=rwb regfiles=w) UnusedRegs (0x10f-0x110) sfr (key=CM1CON0 addr=0x111 size=1 access='rw r rw rw u rw rw rw') reset (por='0000-100' mclr='0000-100') bit (names='C1ON C1OUT C1OE C1POL - C1SP C1HYS C1SYNC' width='1 1 1 1 1 1 1 1') stimulus (scl=rwb regfiles=w) sfr (key=CM1CON1 addr=0x112 size=1 access='rw rw rw rw u rw rw rw') reset (por='0000-000' mclr='0000-000') bit (names='C1INTP C1INTN C1PCH1 C1PCH0 - C1NCH2 C1NCH1 C1NCH0' width='1 1 1 1 1 1 1 1') stimulus (scl=rwb regfiles=w) sfr (key=CM2CON0 addr=0x113 size=1 access='rw r rw rw u rw rw rw') reset (por='0000-100' mclr='0000-100') bit (names='C2ON C2OUT C2OE C2POL - C2SP C2HYS C2SYNC' width='1 1 1 1 1 1 1 1') stimulus (scl=rwb regfiles=w) sfr (key=CM2CON1 addr=0x114 size=1 access='rw rw rw rw u rw rw rw') reset (por='0000-000' mclr='0000-000') bit (names='C2INTP C2INTN C2PCH1 C2PCH0 - C2NCH2 C2NCH1 C2NCH0' width='1 1 1 1 1 1 1 1') stimulus (scl=rwb regfiles=w) sfr (key=CMOUT addr=0x115 size=1 access='u u u u u u r r') reset (por='------00' mclr='------00') bit (names='- - - - - - MC2OUT MC1OUT' width='1 1 1 1 1 1 1 1') sfr (key=BORCON addr=0x116 size=1 access='rw rw u u u u u r') reset (por='10-----q' mclr='uu-----u') bit (names='SBOREN BORFS - - - - - BORRDY' width='1 1 1 1 1 1 1 1') sfr (key=FVRCON addr=0x117 size=1 access='rw r rw rw rw rw rw rw') reset (por='0q00xx00' mclr='0q00xx00') bit (names='FVREN FVRRDY - - CDAFVR ADFVR' width='1 1 1 1 2 2') sfr (key=DACCON0 addr=0x118 size=1 access='rw u rw rw rw rw u u') reset (por='0-0000--' mclr='0-0000--') bit (names='DACEN - DACOE1 DACOE2 D1PSS - -' width='1 1 1 1 2 1 1') sfr (key=DACCON1 addr=0x119 size=1 access='u u u rw rw rw rw rw') reset (por='---xxxxx' mclr='---xxxxx') bit (names='- - - DACR' width='1 1 1 5') UnusedRegs (0x11a-0x11c) sfr (key=APFCON addr=0x11d size=1 access='rw rw rw u rw rw u u') reset (por='0x0-0x--' mclr='0x0-0x--') bit (names='CLKRSEL SDOSEL SSSEL - T1GSEL P2SEL - -' width='1 1 1 1 1 1 1 1') UnusedRegs (0x11e-0x11f) sfr (key=ANSELA addr=0x18c size=1 access='u u u rw u u u u') reset (por='---1----' mclr='---1----') bit (names='- - - ANSA4 - - - -' width='1 1 1 1 1 1 1 1') stimulus (scl=rwb regfiles=r) UnusedRegs (0x18d-0x18d) sfr (key=ANSELC addr=0x18e size=1 access='u u u u rw rw rw rw') reset (por='----1111' mclr='----1111') bit (names='- - - - ANSC3 ANSC2 ANSC1 ANSC0' width='1 1 1 1 1 1 1 1') UnusedRegs (0x18f-0x190) sfr (key=PMADR addr=0x191 size=2 flags=j) sfr (key=PMADRL addr=0x191 size=1 access='rw rw rw rw rw rw rw rw') reset (por='00000000' mclr='00000000') bit (names='PMADRL' width='8') stimulus (scl=rwb pcfiles=rw regfiles=w) sfr (key=PMADRH addr=0x192 size=1 access='u rw rw rw rw rw rw rw') reset (por='10000000' mclr='10000000') bit (names='- PMADRH' width='1 7') stimulus (scl=rwb pcfiles=rw regfiles=w) sfr (key=PMDAT addr=0x193 size=2 flags=j) sfr (key=PMDATL addr=0x193 size=1 access='rw rw rw rw rw rw rw rw') reset (por='xxxxxxxx' mclr='uuuuuuuu') bit (names='PMDATL' width='8') stimulus (scl=rwb pcfiles=rw regfiles=rw) sfr (key=PMDATH addr=0x194 size=1 access='u u rw rw rw rw rw rw') reset (por='--xxxxxx' mclr='--uuuuuu') bit (names='- - PMDATH' width='1 1 6') stimulus (scl=rwb pcfiles=rw regfiles=rw) sfr (key=PMCON1 addr=0x195 size=1 access='1 rw rw rw rw rw rs rs') reset (por='1000x000' mclr='1000q000') bit (names='- CFGS LWLO FREE WRERR WREN WR RD' width='1 1 1 1 1 1 1 1') stimulus (scl=rwb pcfiles=rw regfiles=w) sfr (key=PMCON2 addr=0x196 size=1 access='w w w w w w w w') reset (por='00000000' mclr='00000000') bit (names='PMCON2' width='8') sfr (key=VREGCON addr=0x197 size=1 access='u u u u u u rw rw') reset (por='------00' mclr='------00') bit (names='- - - - - - VREGPM' width='1 1 1 1 1 1 2') UnusedRegs (0x198-0x198) sfr (key=RCREG addr=0x199 size=1 access='rw rw rw rw rw rw rw rw') reset (por='xxxxxxxx' mclr='xxxxxxxx') bit (names='RCREG' width='8') sfr (key=TXREG addr=0x19a size=1 access='rw rw rw rw rw rw rw rw') reset (por='xxxxxxxx' mclr='xxxxxxxx') bit (names='TXREG' width='8') sfr (key=SPBRGL addr=0x19b size=1 access='rw rw rw rw rw rw rw rw') reset (por='xxxxxxxx' mclr='xxxxxxxx') bit (names='SPBRGL' width='8') sfr (key=SPBRGH addr=0x19c size=1 access='rw rw rw rw rw rw rw rw') reset (por='xxxxxxxx' mclr='xxxxxxxx') bit (names='SPBRGH' width='8') sfr (key=RCSTA addr=0x19d size=1 access='rw rw rw rw rw rw rw rw') reset (por='xxxxxxxx' mclr='xxxxxxxx') bit (names='SPEN RX9 SREN CREN ADDEN FERR OERR RX9D' width='1 1 1 1 1 1 1 1') sfr (key=TXSTA addr=0x19e size=1 access='rw rw rw rw rw rw rw rw') reset (por='xxxxxxxx' mclr='xxxxxxxx') bit (names='CSRC TX9 TXEN SYNC SENDB BRGH TRMT TX9D' width='1 1 1 1 1 1 1 1') sfr (key=BAUDCON addr=0x19f size=1 access='rw rw u rw rw u rw rw') reset (por='xx-xx-xx' mclr='xx-xx-xx') bit (names='ABDOVF RCIDL - SCKP BRG16 - WUE ABDEN' width='1 1 1 1 1 1 1 1') sfr (key=WPUA addr=0x20c size=1 access='u u rw rw rw u u u') reset (por='--111---' mclr='--111---') bit (names='- - WPUA5 WPUA4 WPUA3 - - -' width='1 1 1 1 1 1 1 1') UnusedRegs (0x20d-0x20d) UnusedRegs (0x20e-0x210) sfr (key=SSP1BUF addr=0x211 size=1 access='rw rw rw rw rw rw rw rw') reset (por='xxxxxxxx' mclr='uuuuuuuu') bit (names='SSPBUF' width='8') stimulus (scl=rwb pcfiles=rw regfiles=rw type=int) sfr (key=SSP1ADD addr=0x212 size=1 access='rw rw rw rw rw rw rw rw') reset (por='00000000' mclr='00000000') bit (names='SSPADD' width='8') stimulus (scl=rwb pcfiles=rw regfiles=w type=int) sfr (key=SSP1MSK addr=0x213 size=1 access='rw rw rw rw rw rw rw rw') reset (por='11111111' mclr='11111111') bit (names='SSPMSK' width='8') stimulus (scl=rwb pcfiles=rw regfiles=rw type=int) sfr (key=SSP1STAT addr=0x214 size=1 access='rw rw rw rw rw rw rw rw') reset (por='00000000' mclr='00000000') bit (names='SMP CKE D/nA P S R/nW UA BF' width='1 1 1 1 1 1 1 1') stimulus (scl=rwb pcfiles=rw regfiles=rw) sfr (key=SSP1CON1 addr=0x215 size=1 access='rw rw rw rw rw rw rw rw') reset (por='0000xxxx' mclr='0000uuuu') bit (names='WCOL SSPOV SSPEN CKP SSP1M3 SSP1M2 SSP1M1 SSP1M0' width='1 1 1 1 1 1 1 1') stimulus (scl=rwb pcfiles=rw regfiles=w) sfr (key=SSP1CON2 addr=0x216 size=1 access='rw rw rw rw rw rw rw rw') reset (por='00000000' mclr='00000000') bit (names='GCEN ACKSTAT ACKDT ACKEN RCEN PEN RSEN SEN' width='1 1 1 1 1 1 1 1') stimulus (scl=rwb pcfiles=rw regfiles=w) sfr (key=SSP1CON3 addr=0x217 size=1 access='rw rw rw rw rw rw rw rw') reset (por='00000000' mclr='00000000') bit (names='ACKTIM PCIE SCIE BOEN SDAHT SBCDE AHEN DHEN' width='1 1 1 1 1 1 1 1') stimulus (scl=rwb pcfiles=rw regfiles=w) UnusedRegs (0x218-0x21f) UnusedRegs (0x28c-0x29f) UnusedRegs (0x30c-0x31f) UnusedRegs (0x38c-0x390) sfr (key=IOCAP addr=0x391 size=1 access='u u rw rw rw u rw rw') reset (por='--000-00' mclr='--000-00') bit (names='- - IOCAP5 IOCAP4 IOCAP3 - IOCAP1 IOCAP0' width='1 1 1 1 1 1 1 1') sfr (key=IOCAN addr=0x392 size=1 access='u u rw rw rw u rw rw') reset (por='--000-00' mclr='--000-00') bit (names='- - IOCAN5 IOCAN4 IOCAN3 - IOCAN1 IOCAN0' width='1 1 1 1 1 1 1 1') sfr (key=IOCAF addr=0x393 size=1 access='u u rw rw rw u rw rw') reset (por='--000-00' mclr='--000-00') bit (names='- - IOCAF5 IOCAF4 IOCAF3 - IOCAF1 IOCAF0' width='1 1 1 1 1 1 1 1') UnusedRegs (0x394-0x399) sfr (key=CLKRCON addr=0x39a size=1 access='rw rw rw rw rw rw rw rw') reset (por='00110000' mclr='00110000') bit (names='CLKREN CLKROE CLKRSLR CLKRCD CLKRDIV' width='1 1 1 2 3') sfr (key=ACTCON addr=0x39b size=1 access='rw rw u rw rw u rw u') reset (por='00-00-0-' mclr='00-00-0-') bit (names='ACTEN ACTUD - ACTSRC ACTLOCK - ACTORS -' width='1 1 1 1 1 1 1 1') UnusedRegs (0x39c-0x39f) UnusedRegs (0x40c-0x41f) UnusedRegs (0x48c-0x49f) UnusedRegs (0x50c-0x51f) UnusedRegs (0x58c-0x59f) UnusedRegs (0x60c-0x610) sfr (key=PWM1DCL addr=0x611 size=1 access='rw rw u u u u u u') reset (por='xx------' mclr='uu------') bit (names='PWM1DCL - - - - - -' width='2 1 1 1 1 1 1') sfr (key=PWM1DCH addr=0x612 size=1 access='rw rw rw rw rw rw rw rw') reset (por='xxxxxxxx' mclr='uuuuuuuu') bit (names='PWM1DCH' width='8') sfr (key=PWM1CON addr=0x613 size=1 access='rw rw rw rw u u u u') reset (por='00x0----' mclr='00x0----') bit (names='PWM1EN PWM1OE PWM1OUT PWM1POL - - - -' width='1 1 1 1 1 1 1 1') sfr (key=PWM2DCL addr=0x614 size=1 access='rw rw u u u u u u') reset (por='xx------' mclr='uu------') bit (names='PWM2DCL - - - - - -' width='2 1 1 1 1 1 1') sfr (key=PWM2DCH addr=0x615 size=1 access='rw rw rw rw rw rw rw rw') reset (por='xxxxxxxx' mclr='uuuuuuuu') bit (names='PWM2DCH' width='8') sfr (key=PWM2CON addr=0x616 size=1 access='rw rw rw rw u u u u') reset (por='00x0----' mclr='00x0----') bit (names='PWM2EN PWM2OE PWM2OUT PWM2POL - - - -' width='1 1 1 1 1 1 1 1') UnusedRegs (0x617-0x61f) UnusedRegs (0x68c-0x690) sfr (key=CWG1DBR addr=0x691 size=1 access='u u rw rw rw rw rw rw') reset (por='--xxxxxx' mclr='--uuuuuu') bit (names='- - CWG1DBR' width='1 1 6') sfr (key=CWG1DBF addr=0x692 size=1 access='u u rw rw rw rw rw rw') reset (por='--xxxxxx' mclr='--uuuuuu') bit (names='- - CWG1DBF' width='1 1 6') sfr (key=CWG1CON0 addr=0x693 size=1 access='rw rw rw rw rw u u rw') reset (por='00000--x' mclr='00000--x') bit (names='G1EN G1OEB G1OEA G1POLB G1POLA - - G1CS0' width='1 1 1 1 1 1 1 1') sfr (key=CWG1CON1 addr=0x694 size=1 access='rw rw rw rw u u rw rw') reset (por='xxxx--xx' mclr='uuuu--xx') bit (names='G1ASDLB G1ASDLA - - G1IS1 G1IS0' width='2 2 1 1 1 1') sfr (key=CWG1CON2 addr=0x695 size=1 access='rw rw u u rw rw rw u') reset (por='xx--xxx-' mclr='uu--uuu-') bit (names='G1ASE G1ARSEN - - G1ASDSC2 G1ASDSC1 G1ASDSFLT -' width='1 1 1 1 1 1 1 1') UnusedRegs (0x696-0x69f) UnusedRegs (0x70c-0x71f) UnusedRegs (0x78c-0x79f) UnusedRegs (0x80c-0x81f) UnusedRegs (0x88c-0x89f) UnusedRegs (0x90c-0x91f) UnusedRegs (0x98c-0x99f) UnusedRegs (0xa0c-0xa1f) UnusedRegs (0xa8c-0xa9f) UnusedRegs (0xb0c-0xb1f) UnusedRegs (0xb8c-0xb9f) UnusedRegs (0xc0c-0xc1f) UnusedRegs (0xc8c-0xc9f) UnusedRegs (0xd0c-0xd1f) UnusedRegs (0xd8c-0xd9f) UnusedRegs (0xe0c-0xe1f) UnusedRegs (0xe8c-0xe8d) sfr (key=UCON addr=0xe8e size=1 access='u rw r rw rw rw rw u') reset (por='-0x0000-' mclr='-0x0000-') bit (names='- PPBRST SE0 PKTDIS USBEN RESUME SUSPND -' width='1 1 1 1 1 1 1 1') sfr (key=USTAT addr=0xe8f size=1 access='u rw rw rw rw r r u') reset (por='-xxxxxx-' mclr='-xxxxxx-') bit (names='- ENDP DIR PPBI -' width='1 4 1 1 1') sfr (key=UIR addr=0xe90 size=1 access='u rw rw rw rw rw r rw') reset (por='-0000000' mclr='-0000000') bit (names='- SOFIF STALLIF IDLEIF TRNIF ACTVIF UERRIF URSTIF' width='1 1 1 1 1 1 1 1') sfr (key=UCFG addr=0xe91 size=1 access='rw u u rw u rw rw rw') reset (por='0--0-000' mclr='0--0-000') bit (names='UTEYE - - UPUEN - FSEN PPB' width='1 1 1 1 1 1 2') sfr (key=UIE addr=0xe92 size=1 access='u rw rw rw rw rw rw rw') reset (por='-0000000' mclr='-0000000') bit (names='- SOFIE STALLIE IDLEIE TRNIE ACTVIE UERRIE URSTIE' width='1 1 1 1 1 1 1 1') sfr (key=UEIR addr=0xe93 size=1 access='r u u r r r r r') reset (por='x--xxxxx' mclr='x--xxxxx') bit (names='BTSEF - - BTOEF DFN8EF CRC16EF CRC5EF PIDEF' width='1 1 1 1 1 1 1 1') sfr (key=UFRM addr=0xe94 size=2 flags=j) sfr (key=UFRMH addr=0xe94 size=1 access='u u u u u rw rw rw') reset (por='-----xxx' mclr='-----xxx') bit (names='- - - - - FRM10 FRM9 FRM8' width='1 1 1 1 1 1 1 1') sfr (key=UFRML addr=0xe95 size=1 access='rw rw rw rw rw rw rw rw') reset (por='xxxxxxxx' mclr='xxxxxxxx') bit (names='FRM7 FRM6 FRM5 FRM4 FRM3 FRM2 FRM1 FRM0' width='1 1 1 1 1 1 1 1') sfr (key=UADDR addr=0xe96 size=1 access='u rw rw rw rw rw rw rw') reset (por='-0000000' mclr='-0000000') bit (names='- ADDR6 ADDR5 ADDR4 ADDR3 ADDR2 ADDR1 ADDR0' width='1 1 1 1 1 1 1 1') sfr (key=UEIE addr=0xe97 size=1 access='rw u u rw rw rw rw rw') reset (por='0--00000' mclr='0--00000') bit (names='BTSEE - - BTOEE DFN8EE CRC16EE CRC5EE PIDEE' width='1 1 1 1 1 1 1 1') sfr (key=UEP0 addr=0xe98 size=1 access='u u u rw rw rw rw rw') reset (por='---00000' mclr='---00000') bit (names='- - - EPHSHK EPCONDIS EPOUTEN EPINEN EPSTALL' width='1 1 1 1 1 1 1 1') sfr (key=UEP1 addr=0xe99 size=1 access='u u u rw rw rw rw rw') reset (por='---00000' mclr='---00000') bit (names='- - - EPHSHK EPCONDIS EPOUTEN EPINEN EPSTALL' width='1 1 1 1 1 1 1 1') sfr (key=UEP2 addr=0xe9a size=1 access='u u u rw rw rw rw rw') reset (por='---00000' mclr='---00000') bit (names='- - - EPHSHK EPCONDIS EPOUTEN EPINEN EPSTALL' width='1 1 1 1 1 1 1 1') sfr (key=UEP3 addr=0xe9b size=1 access='u u u rw rw rw rw rw') reset (por='---00000' mclr='---00000') bit (names='- - - EPHSHK EPCONDIS EPOUTEN EPINEN EPSTALL' width='1 1 1 1 1 1 1 1') sfr (key=UEP4 addr=0xe9c size=1 access='u u u rw rw rw rw rw') reset (por='---00000' mclr='---00000') bit (names='- - - EPHSHK EPCONDIS EPOUTEN EPINEN EPSTALL' width='1 1 1 1 1 1 1 1') sfr (key=UEP5 addr=0xe9d size=1 access='u u u rw rw rw rw rw') reset (por='---00000' mclr='---00000') bit (names='- - - EPHSHK EPCONDIS EPOUTEN EPINEN EPSTALL' width='1 1 1 1 1 1 1 1') sfr (key=UEP6 addr=0xe9e size=1 access='u u u rw rw rw rw rw') reset (por='---00000' mclr='---00000') bit (names='- - - EPHSHK EPCONDIS EPOUTEN EPINEN EPSTALL' width='1 1 1 1 1 1 1 1') sfr (key=UEP7 addr=0xe9f size=1 access='u u u rw rw rw rw rw') reset (por='---00000' mclr='---00000') bit (names='- - - EPHSHK EPCONDIS EPOUTEN EPINEN EPSTALL' width='1 1 1 1 1 1 1 1') UnusedRegs (0xf0c-0xf1f) UnusedRegs (0xf8c-0xfe3) sfr (key=STATUS_SHAD addr=0xfe4 size=1 access='u u u u u rw rw rw') reset (por='-----xxx' mclr='-----xxx') bit (names='- - - - - Z DC C' width='1 1 1 1 1 1 1 1') sfr (key=WREG_SHAD addr=0xfe5 size=1 access='rw rw rw rw rw rw rw rw') reset (por='xxxxxxxx' mclr='xxxxxxxx') bit (names='WREG_SHAD' width='8') sfr (key=BSR_SHAD addr=0xfe6 size=1 access='u u u rw rw rw rw rw') reset (por='---xxxxx' mclr='---xxxxx') bit (names='- - - BSR_SHAD' width='1 1 1 5') sfr (key=PCLATH_SHAD addr=0xfe7 size=1 access='u rw rw rw rw rw rw rw') reset (por='-xxxxxxx' mclr='-xxxxxxx') bit (names='- PCLATH_SHAD' width='1 7') sfr (key=FSR0L_SHAD addr=0xfe8 size=1 access='rw rw rw rw rw rw rw rw') reset (por='xxxxxxxx' mclr='xxxxxxxx') bit (names='FSR0L_SHAD' width='8') sfr (key=FSR0H_SHAD addr=0xfe9 size=1 access='rw rw rw rw rw rw rw rw') reset (por='xxxxxxxx' mclr='xxxxxxxx') bit (names='FSR0H_SHAD' width='8') sfr (key=FSR1L_SHAD addr=0xfea size=1 access='rw rw rw rw rw rw rw rw') reset (por='xxxxxxxx' mclr='xxxxxxxx') bit (names='FSR1L_SHAD' width='8') sfr (key=FSR1H_SHAD addr=0xfeb size=1 access='rw rw rw rw rw rw rw rw') reset (por='xxxxxxxx' mclr='xxxxxxxx') bit (names='FSR1H_SHAD' width='8') UnusedRegs (0xfec-0xfec) sfr (key=STKPTR addr=0xfed size=1 access='u u u rw rw rw rw rw') reset (por='---xxxxx' mclr='---xxxxx') bit (names='- - - STKPTR' width='1 1 1 5') sfr (key=TOSL addr=0xfee size=1 access='rw rw rw rw rw rw rw rw') reset (por='xxxxxxxx' mclr='xxxxxxxx') bit (names='TOSL' width='8') sfr (key=TOSH addr=0xfef size=1 access='u rw rw rw rw rw rw rw') reset (por='-xxxxxxx' mclr='-xxxxxxx') bit (names='- TOSH' width='1 7') ###################################################################### # # Configuration Registers # ###################################################################### cfgbits (key=CONFIG1 addr=0x8007 unused=0x0) field (key=FOSC mask=0x7 desc="Oscillator Selection Bits") setting (req=0x7 value=0x7 desc="ECH, External Clock, High Power Mode (4-20 MHz): device clock supplied to CLKIN pins") setting (req=0x7 value=0x6 desc="ECM, External Clock, Medium Power Mode (0.5-4 MHz): device clock supplied to CLKIN pins") setting (req=0x7 value=0x5 desc="ECL, External Clock, Low Power Mode (0-0.5 MHz): device clock supplied to CLKIN pins") setting (req=0x7 value=0x4 desc="INTOSC oscillator: I/O function on CLKIN pin") setting (req=0x7 value=0x3 desc="EXTRC oscillator: External RC circuit connected to CLKIN pin") setting (req=0x7 value=0x2 desc="HS Oscillator, High-speed crystal/resonator connected between OSC1 and OSC2 pins") setting (req=0x7 value=0x1 desc="XT Oscillator, Crystal/resonator connected between OSC1 and OSC2 pins") setting (req=0x7 value=0x0 desc="LP Oscillator, Low-power crystal connected between OSC1 and OSC2 pins") field (key=WDTE mask=0x18 desc="Watchdog Timer Enable" min=1) setting (req=0x18 value=0x18 desc="Enabled") setting (req=0x18 value=0x10 desc="WDT enabled while running and disabled in Sleep") setting (req=0x18 value=0x8 desc="WDT controlled by the SWDTEN bit in the WDTCON register") setting (req=0x18 value=0x0 desc="Disabled") field (key=PWRTE mask=0x20 desc="Power-up Timer Enable") setting (req=0x20 value=0x20 desc="Disabled") setting (req=0x20 value=0x0 desc="Enabled") field (key=MCLRE mask=0x40 desc="MCLR Pin Function Select") setting (req=0x40 value=0x40 desc="Enabled") setting (req=0x40 value=0x0 desc="Disabled") field (key=CP mask=0x80 desc="Flash Program Memory Code Protection") setting (req=0x80 value=0x80 desc="Disabled") checksum (type=0x0 protregion=0x0-0x0) setting (req=0x80 value=0x0 desc="Enabled") checksum (type=0x20 protregion=0x0-0x1fff) field (key=BOREN mask=0x600 desc="Brown-out Reset Enable") setting (req=0x600 value=0x600 desc="Enabled") setting (req=0x600 value=0x400 desc="Brown-out Reset enabled while running and disabled in Sleep") setting (req=0x600 value=0x200 desc="Brown-out Reset controlled by the SBOREN bit in the BORCON register") setting (req=0x600 value=0x0 desc="Disabled") field (key=CLKOUTEN mask=0x800 desc="Clock Out Enable") setting (req=0x800 value=0x800 desc="Disabled") setting (req=0x800 value=0x0 desc="Enabled") field (key=IESO mask=0x1000 desc="Internal/External Switchover Mode") setting (req=0x1000 value=0x1000 desc="Enabled") setting (req=0x1000 value=0x0 desc="Disabled") field (key=FCMEN mask=0x2000 desc="Fail-Safe Clock Monitor Enable") setting (req=0x2000 value=0x2000 desc="Enabled") setting (req=0x2000 value=0x0 desc="Disabled") cfgbits (key=CONFIG2 addr=0x8008 unused=0x0) field (key=WRT mask=0x3 desc="Flash Memory Self-Write Protection") setting (req=0x3 value=0x3 desc="Disabled") setting (req=0x3 value=0x2 desc="000h to 1FFh write protected, 200h to 1FFFh may be modified by PMCON control") setting (req=0x3 value=0x1 desc="000h to 0FFFh write protected, 1000h to 1FFFh may be modified by PMCON control") setting (req=0x3 value=0x0 desc="000h to 1FFFh write protected, no addresses may be modified by PMCON control") field (key=CPUDIV mask=0x30 desc="CPU System Clock Selection Bit") setting (req=0x30 value=0x30 desc="CPU system clock divided by 6") setting (req=0x30 value=0x20 desc="CPU system clock divided by 3") setting (req=0x30 value=0x10 desc="CPU system clock divided by 2") setting (req=0x30 value=0x0 desc="NO CPU system divide") field (key=USBLSCLK mask=0x40 desc="USB Low SPeed Clock Selection bit") setting (req=0x40 value=0x40 desc="System clock expects 48 MHz, FS/LS USB CLKENs divide-by is set to 8.") setting (req=0x40 value=0x0 desc="System clock expects 24 MHz, FS/LS USB CLKENs divide-by is set to 4.") field (key=PLLMULT mask=0x80 desc="PLL Multipler Selection Bit") setting (req=0x80 value=0x80 desc="3x Output Frequency Selected") setting (req=0x80 value=0x0 desc="4x Output Frequency Selected") field (key=PLLEN mask=0x100 desc="PLL Enable Bit") setting (req=0x100 value=0x100 desc="3x or 4x PLL Enabled") setting (req=0x100 value=0x0 desc="3x or 4x PLL Disabled") field (key=STVREN mask=0x200 desc="Stack Overflow/Underflow Reset Enable") setting (req=0x200 value=0x200 desc="Enabled") setting (req=0x200 value=0x0 desc="Disabled") field (key=BORV mask=0x400 desc="Brown-out Reset Voltage Selection") setting (req=0x400 value=0x400 desc="Brown-out Reset Voltage (Vbor), low trip point selected.") setting (req=0x400 value=0x0 desc="Brown-out Reset Voltage (Vbor), high trip point selected.") field (key=LPBOR mask=0x800 desc="Low-Power Brown Out Reset") setting (req=0x800 value=0x800 desc="Disabled") setting (req=0x800 value=0x0 desc="Enabled") field (key=DEBUG mask=0x1000 desc="In-Circuit Debugger Mode" flags=h) setting (req=0x1000 value=0x1000 desc="Disabled") setting (req=0x1000 value=0x0 desc="Enabled") field (key=LVP mask=0x2000 desc="Low-Voltage Programming Enable") setting (req=0x2000 value=0x2000 desc="Enabled") setting (req=0x2000 value=0x0 desc="Disabled")