PIC18F66K40
Author: Molnár Károly

All Enhanced Extended Regular 12 bits 14 bits 16 bits RAM
size ROM
size EEPROM
size Common
SFRs
Features Configuration Bits RAM map SFR map

PIC18F66K40
Bank 13 | Bank 14 | Bank 15
--- | --- | ---
PPSLOCK | 0xDEF
INT0PPS | 0xDF0
INT1PPS | 0xDF1
INT2PPS | 0xDF2
INT3PPS | 0xDF3
T0CKIPPS | 0xDF4
T1CKIPPS | 0xDF5
T1GPPS | 0xDF6
T3CKIPPS | 0xDF7
T3GPPS | 0xDF8
T5CKIPPS | 0xDF9
T5GPPS | 0xDFA
T7CKIPPS | 0xDFB
T7GPPS | 0xDFC
T2INPPS | 0xDFD
T4INPPS | 0xDFE
T6INPPS | 0xDFF
T8INPPS | 0xE00
ADACTPPS | 0xE01
CCP1PPS | 0xE02
CCP2PPS | 0xE03
CCP3PPS | 0xE04
CCP4PPS | 0xE05
CCP5PPS | 0xE06
SMT1WINPPS | 0xE07
SMT1SIGPPS | 0xE08
SMT2WINPPS | 0xE09
SMT2SIGPPS | 0xE0A
CWG1PPSCWGINPPS | 0xE0B
MDCARLPPS | 0xE0C
MDCARHPPS | 0xE0D
MDSRCPPS | 0xE0E
RX1PPSRXPPS | 0xE0F
CK1PPSCKPPS TX1PPS TXPPS | 0xE10
RX2PPS | 0xE11
CK2PPSTX2PPS | 0xE12
RX3PPS | 0xE13
CK3PPSTX3PPS | 0xE14
RX4PPS | 0xE15
CK4PPSTX4PPS | 0xE16
RX5PPS | 0xE17
CK5PPSTX5PPS | 0xE18
SSP1CLKPPS | 0xE19
SSP1DATPPS | 0xE1A
SSP1SSPPS | 0xE1B
SSP2CLKPPS | 0xE1C
SSP2DATPPS | 0xE1D
SSP2SSPPS | 0xE1E
IPR0 | 0xE1F
IPR1 | 0xE20
IPR2 | 0xE21
IPR3 | 0xE22
IPR4 | 0xE23
IPR5 | 0xE24
IPR6 | 0xE25
IPR7 | 0xE26
IPR8 | 0xE27
IPR9 | 0xE28
PIE0 | 0xE29
P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E4PPS | 0xE76
RE5PPS | 0xE77
RE6PPS | 0xE78
RE7PPS | 0xE79
RF0PPS | 0xE7A
RF1PPS | 0xE7B
RF2PPS | 0xE7C
RF3PPS | 0xE7D
RF4PPS | 0xE7E
RF5PPS | 0xE7F
RF6PPS | 0xE80
RF7PPS | 0xE81
RG0PPS | 0xE82
RG1PPS | 0xE83
RG2PPS | 0xE84
RG3PPS | 0xE85
RG4PPS | 0xE86
RG6PPS | 0xE88
RG7PPS | 0xE89
RH0PPS | 0xE8A
RH1PPS | 0xE8B
RH2PPS | 0xE8C
RH3PPS | 0xE8D
INLVLA | 0xE8E
SLRCONA | 0xE8F
ODCONA | 0xE90
WPUA | 0xE91
ANSELA | 0xE92
IOCBF | 0xE93
IOCBN | 0xE94
IOCBP | 0xE95
INLVLB | 0xE96
SLRCONB | 0xE97
ODCONB | 0xE98
WPUB | 0xE99
ANSELB | 0xE9A
IOCCF | 0xE9B
IOCCN | 0xE9C
IOCCP | 0xE9D
INLVLC | 0xE9E
SLRCONC | 0xE9F
ODCONC | 0xEA0
WPUC | 0xEA1
INLVLD | 0xEA3
SLRCOND | 0xEA4
ODCOND | 0xEA5
WPUD | 0xEA6
ANSELD | 0xEA7
IOCEF | 0xEA8
IOCEN | 0xEA9
IOCEP | 0xEAA
INLVLE | 0xEAB
SLRCONE | 0xEAC
ODCONE | 0xEAD
WPUE | 0xEAE
ANSELE | 0xEAF
INLVLF | 0xEB0
SLRCONF | 0xEB1
ODCONF | 0xEB2
WPUF | 0xEB3
ANSELF | 0xEB4
IOCGF | 0xEB5
IOCGN | 0xEB6
IOCGP | 0xEB7
INLVLG | 0xEB8
SLRCONG | 0xEB9
ODCONG | 0xEBA
WPUG | 0xEBB
ANSELG | 0xEBC
INLVLH | 0xEBD
SLRCONH | 0xEBE
ODCONH | 0xEBF
WPUH | 0xEC0
HLVDCON0 | 0xEC2
HLVDCON1 | 0xEC3
FVRCON | 0xEC4
ZCDCON | 0xEC5
DAC1CON0 | 0xEC6
D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MT2CPRU | 0xEFD
SMT2CPWSMT2CPWL | 0xEFE
SMT2CPWH | 0xEFF
SMT2CPWU | 0xF00
SMT2PRSMT2PRL | 0xF01
SMT2PRH | 0xF02
SMT2PRU | 0xF03
SMT2CON0 | 0xF04
SMT2CON1 | 0xF05
SMT2STAT | 0xF06
SMT2CLK | 0xF07
SMT2SIG | 0xF08
SMT2WIN | 0xF09
SMT1TMRSMT1TMRL | 0xF0A
SMT1TMRH | 0xF0B
SMT1TMRU | 0xF0C
SMT1CPRSMT1CPRL | 0xF0D
SMT1CPRH | 0xF0E
SMT1CPRU | 0xF0F
SMT1CPWSMT1CPWL | 0xF10
SMT1CPWH | 0xF11
SMT1CPWU | 0xF12
SMT1PRSMT1PRL | 0xF13
SMT1PRH | 0xF14
SMT1PRU | 0xF15
SMT1CON0 | 0xF16
SMT1CON1 | 0xF17
SMT1STAT | 0xF18
SMT1CLK | 0xF19
SMT1SIG | 0xF1A
SMT1WIN | 0xF1B
CCPR5CCPR5L | 0xF1C
CCPR5H | 0xF1D
CCP5CON | 0xF1E
CCP5CAP | 0xF1F
CCPR4CCPR4L | 0xF20
CCPR4H | 0xF21
CCP4CON | 0xF22
CCP4CAP | 0xF23
CCPR3CCPR3L | 0xF24
CCPR3H | 0xF25
CCP3CON | 0xF26
CCP3CAP | 0xF27
T8TMRTMR8 | 0xF28
PR8T8PR | 0xF29
T8CON | 0xF2A
T8HLT | 0xF2B
T8CLKCON | 0xF2C
T8RST | 0xF2D
TMR7TMR7L | 0xF2E
TMR7H | 0xF2F
T7CON | 0xF30
PR7T7GCON | 0xF31
T7GATETMR7GATE | 0xF32
T7CLKTMR7CLK | 0xF33
CLKRCON | 0xF34
CLKRCLK | 0xF35
CWG1CLKCWG1CLKCON | 0xF36
CWG1ISM | 0xF37
CWG1DBR | 0xF38
CWG1DBF | 0xF39
CWG1CON0 | 0xF3A
CWG1CON1 | 0xF3B
CWG1AS0 | 0xF3C
CWG1AS1 | 0xF3D
CWG1STR | 0xF3E
CRCDATACRCDATL | 0xF3F
CRCDATH | 0xF40
CRCACCCRCACCL | 0xF41
CRCACCH | 0xF42
CRCSHFTCRCSHIFTL | 0xF43
CRCSHIFTH | 0xF44
CRCXORCRCXORL | 0xF45
CRCXORH | 0xF46
CRCCON0 | 0xF47
CRCCON1 | 0xF48
SCANLADRSCANLADRL | 0xF49
SCANLADRH | 0xF4A
SCANLADRU | 0xF4B
SCANHADRSCANHADRL | 0xF4C
SCANHADRH | 0xF4D
SCANHADRU | 0xF4E
SCANCON0 | 0xF4F
SCANTRIG | 0xF50
MDCON0 | 0xF51
MDCON1 | 0xF52
MDSRC | 0xF53
MDCARL | 0xF54
MDCARH | 0xF55
ADACT | 0xF56
ADCLK | 0xF57
ADREF | 0xF58
ADCON1 | 0xF59
ADCON2 | 0xF5A
ADCON3 | 0xF5B
ADACQ | 0xF5C
ADCAP | 0xF5D
ADPRE | 0xF5E
ADPCH | 0xF5F
ADCON0 | 0xF60
ADPREVADPREVL | 0xF61
ADPREVH | 0xF62
ADRESADRESL | 0xF63
ADRESH | 0xF64
ADSTAT | 0xF65
ADRPT | 0xF66
ADCNT | 0xF67
ADSTPTADSTPTL | 0xF68
ADSTPTH | 0xF69
ADLTHADLTHL | 0xF6A
ADLTHH | 0xF6B
ADUTHADUTHL | 0xF6C
ADUTHH | 0xF6D
ADERRADERRL | 0xF6E
ADERRH | 0xF6F
ADACCADACCL | 0xF70
ADACCH | 0xF71
ADFLTRADFLTRL | 0xF72
ADFLTRH | 0xF73
NVMADRNVMADRL | 0xF74
NVMADRH | 0xF75
NVMDAT | 0xF76
NVMCON1 | 0xF77
NVMCON2 | 0xF78
LATA | 0xF79
LATB | 0xF7A
LATC | 0xF7B
LATD | 0xF7C
LATE | 0xF7D
LATF | 0xF7E
LATG | 0xF7F
LATH | 0xF80
DDRATRISA | 0xF81
DDRBTRISB | 0xF82
DDRCTRISC | 0xF83
DDRDTRISD | 0xF84
DDRETRISE | 0xF85
TRISF | 0xF86
TRISG | 0xF87
TRISH | 0xF88
PORTA | 0xF89
PORTB | 0xF8A
PORTC | 0xF8B
PORTD | 0xF8C
PORTE | 0xF8D
PORTF | 0xF8E
PORTG | 0xF8F
PORTH | 0xF90
SSP1BUF | 0xF91
SSP1ADD | 0xF92
SSP1MSK | 0xF93
SSP1STAT | 0xF94
SSP1CON1 | 0xF95
SSP1CON2 | 0xF96
SSP1CON3 | 0xF97
RC1REGRCREG1 | 0xF98
TX1REGTXREG1 | 0xF99
SP1BRGSP1BRGL SPBRG1 | 0xF9A
SP1BRGHSPBRGH1 | 0xF9B
RC1STARCSTA1 | 0xF9C
TX1STATXSTA1 | 0xF9D
BAUD1CONBAUDCON1 BAUDCTL1 | 0xF9E
PWM7DCL | 0xF9F
PWM7DCH | 0xFA0
PWM7CON | 0xFA1
PWM6DCL | 0xFA2
PWM6DCH | 0xFA3
PWM6CON | 0xFA4
CCPR2CCPR2L | 0xFA5
CCPR2H | 0xFA6
CCP2CON | 0xFA7
CCP2CAP | 0xFA8
CCPR1CCPR1L | 0xFA9
CCPR1H | 0xFAA
CCP1CON | 0xFAB
CCP1CAP | 0xFAC
CCPTMRS0 | 0xFAD
CCPTMRS1 | 0xFAE
T6TMRTMR6 | 0xFAF
PR6T6PR | 0xFB0
T6CON | 0xFB1
T6HLT | 0xFB2
T6CLKCON | 0xFB3
T6RST | 0xFB4
T4TMRTMR4 | 0xFB5
PR4T4PR | 0xFB6
T4CON | 0xFB7
T4HLT | 0xFB8
T4CLKCON | 0xFB9
T4RST | 0xFBA
T2TMRTMR2 | 0xFBB
PR2T2PR | 0xFBC
T2CON | 0xFBD
T2HLT | 0xFBE
T2CLKCON | 0xFBF
T2RST | 0xFC0
TMR5TMR5L | 0xFC1
TMR5H | 0xFC2
T5CON | 0xFC3
PR5T5GCON | 0xFC4
T5GATETMR5GATE | 0xFC5
T5CLKTMR5CLK | 0xFC6
TMR3TMR3L | 0xFC7
TMR3H | 0xFC8
T3CON | 0xFC9
PR3T3GCON | 0xFCA
T3GATETMR3GATE | 0xFCB
T3CLKTMR3CLK | 0xFCC
TMR1TMR1L | 0xFCD
TMR1H | 0xFCE
T1CON | 0xFCF
PR1T1GCON | 0xFD0
T1GATETMR1GATE | 0xFD1
T1CLKTMR1CLK | 0xFD2
TMR0TMR0L | 0xFD3
PR0TMR0H | 0xFD4
T0CON0 | 0xFD5
T0CON1 | 0xFD6
PCON0 | 0xFD7
STATUS | 0xFD8
FSR2L | 0xFD9
FSR2H | 0xFDA
PLUSW2 | 0xFDB
PREINC2 | 0xFDC
POSTDEC2 | 0xFDD
POSTINC2 | 0xFDE
INDF2 | 0xFDF
BSR | 0xFE0
FSR1L | 0xFE1
FSR1H | 0xFE2
PLUSW1 | 0xFE3
PREINC1 | 0xFE4
POSTDEC1 | 0xFE5
POSTINC1 | 0xFE6
INDF1 | 0xFE7
WREG | 0xFE8
FSR0L | 0xFE9
FSR0H | 0xFEA
PLUSW0 | 0xFEB
PREINC0 | 0xFEC
POSTDEC0 | 0xFED
POSTINC0 | 0xFEE
INDF0 | 0xFEF
INTCON | 0xFF2
PRODPRODL | 0xFF3
PRODH | 0xFF4
TABLAT | 0xFF5
TBLPTRTBLPTRL | 0xFF6
TBLPTRH | 0xFF7
TBLPTRU | 0xFF8
PCPCL | 0xFF9
PCLATH | 0xFFA
PCLATU | 0xFFB
STKPTR | 0xFFC
TOSTOSL | 0xFFD
TOSH | 0xFFE
TOSU | 0xFFF

SFR

SFR with alias name.

SFR on Access Area.

This page generated automatically by the device-help.pl program (2022-01-30 15:56:10 UTC) from the 8bit_device.info file (rev: 1.44) of mpasmx and from the gputils source package (rev: svn Unversioned directory). The mpasmx is included in the MPLAB X.