English
Language : 

PIC18F258 Datasheet, PDF (53/384 Pages) Microchip Technology – High Performance, 28/40-Pin Enhanced FLASH Microcontrollers with CAN
PIC18FXX8
TABLE 4-2: REGISTER FILE SUMMARY (CONTINUED)
File Name
Bit 7
Bit 6
Bit 5
Bit 4
Bit 3
Bit 2
Bit 1
Bit 0
Value on Details on
POR, BOR Page:
IPR1
PSPIP
ADIP
RCIP
TXIP
SSPIP CCP1IP TMR2IP TMR1IP 1111 1111 33, 88
PIR1
PSPIF
ADIF
RCIF
TXIF
SSPIF CCP1IF TMR2IF TMR1IF 0000 0000 33, 82
PIE1
TRISE(1)
TRISD(1)
PSPIE
ADIE
RCIE
TXIE
IBF
OBF
IBOV PSPMODE
Data Direction Control Register for PORTD(1)
SSPIE
—
CCP1IE TMR2IE TMR1IE 0000 0000
Data Direction bits for PORTE(1) 0000 -111
1111 1111
33, 85
33, 103
33, 100
TRISC
Data Direction Control Register for PORTC
1111 1111 33, 98
TRISB
Data Direction Control Register for PORTB
1111 1111 33, 95
TRISA(3)
LATE(1)
—
Data Direction Control Register for PORTA
--11 1111 33, 93
—
—
—
—
— Read PORTE Data Latch, Write
---- -xxx 33, 102
PORTE Data Latch(1)
LATD(1)
Read PORTD Data Latch, Write PORTD Data Latch(1)
xxxx xxxx 33, 100
LATC
Read PORTC Data Latch, Write PORTC Data Latch
xxxx xxxx 33, 98
LATB
Read PORTB Data Latch, Write PORTB Data Latch
xxxx xxxx 33, 95
LATA(3)
PORTE(1)
—
Read PORTA Data Latch, Write PORTA Data Latch
-xxx xxxx 33, 93
—
—
—
—
— Read PORTE pins, Write PORTE ---- -000 33, 102
Data Latch(1)
PORTD(1)
Read PORTD pins, Write PORTD Data Latch(1)
xxxx xxxx 33, 100
PORTC
Read PORTC pins, Write PORTC Data Latch
xxxx xxxx 33, 98
PORTB
Read PORTB pins, Write PORTB Data Latch
xxxx xxxx 33, 95
PORTA(3)
—
Read PORTA pins, Write PORTA Data Latch
-x0x 0000 33, 93
TXERRCNT
TEC7
TEC6
TEC5
TEC4
TEC3
TEC2
TEC1
TEC0 0000 0000 33, 207
RXERRCNT
REC7
REC6
REC5
REC4
REC3
REC2
REC1
REC0 0000 0000 33, 212
COMSTAT RXB0OVFL RXB1OVFL TXBO
TXBP
RXBP TXWARN RXWARN EWARN 0000 0000 33, 203
CIOCON
—
—
ENDRHI CANCAP
—
—
—
— --00 ---- 33, 217
BRGCON3
—
WAKFIL
—
—
—
SEG2PH2 SEG2PH1 SEG2PH0 -0-- -000 33, 217
BRGCON2 SEG2PHTS SAM SEG1PH2 SEG1PH1 SEG1PH0 PRSEG2 PRSEG1 PRSEG0 0000 0000 33, 216
BRGCON1
SJW1
SJW0
BRP5
BRP4
BRP3
BRP2
BRP1
BRP0 0000 0000 33, 215
CANCON
REQOP2 REQOP1 REQOP0
ABAT
WIN2
WIN1
WIN0
— xxxx xxx- 33, 199
CANSTAT
OPMODE2 OPMODE1 OPMODE0
—
ICODE2 ICODE1 ICODE0
— xxx- xxx- 33, 200
RXB0D7
RXB0D77 RXB0D76 RXB0D75 RXB0D74 RXB0D73 RXB0D72 RXB0D71 RXB0D70 xxxx xxxx 34, 211
RXB0D6
RXB0D67 RXB0D66 RXB0D65 RXB0D64 RXB0D63 RXB0D62 RXB0D61 RXB0D60 xxxx xxxx 34, 211
RXB0D5
RXB0D57 RXB0D56 RXB0D55 RXB0D54 RXB0D53 RXB0D52 RXB0D51 RXB0D50 xxxx xxxx 34, 211
RXB0D4
RXB0D47 RXB0D46 RXB0D45 RXB0D44 RXB0D43 RXB0D42 RXB0D41 RXB0D40 xxxx xxxx 34, 211
RXB0D3
RXB0D37 RXB0D36 RXB0D35 RXB0D34 RXB0D33 RXB0D32 RXB0D31 RXB0D30 xxxx xxxx 34, 211
RXB0D2
RXB0D27 RXB0D26 RXB0D25 RXB0D24 RXB0D23 RXB0D22 RXB0D21 RXB0D20 xxxx xxxx 34, 211
RXB0D1
RXB0D17 RXB0D16 RXB0D15 RXB0D14 RXB0D13 RXB0D12 RXB0D11 RXB0D10 xxxx xxxx 34, 211
RXB0D0
RXB0D07 RXB0D06 RXB0D05 RXB0D04 RXB0D03 RXB0D02 RXB0D01 RXB0D00 xxxx xxxx 34, 211
RXB0DLC
—
RXRTR
RB1
RB0
DLC3
DLC2
DLC1
DLC0 -xxx xxxx 34, 211
RXB0EIDL
EID7
EID6
EID5
EID4
EID3
EID2
EID1
EID0 xxxx xxxx 34, 210
RXB0EIDH
EID15
EID14
EID13
EID12
EID11
EID10
EID9
EID8 xxxx xxxx 34, 210
RXB0SIDL
SID2
SID1
SID0
SRR
EXID
—
EID17 EID16 xxxx x-xx 34, 210
RXB0SIDH
SID10
SID9
SID8
SID7
SID6
SID5
SID4
SID3 xxxx xxxx 34, 209
RXB0CON
RXFUL
RXM1
RXM0
—
RXRTRRO RXB0DBEN JTOFF FILHIT0 000- 0000 34, 208
Legend: x = unknown, u = unchanged, - = unimplemented, q = value depends on condition
Note 1: These registers or register bits are not implemented on the PIC18F248 and PIC18F258 and read as ’0’s.
2: Bit21 of the TBLPTRU allows access to the device configuration bits.
3: RA6 and associated bits are configured as port pins in RCIO and ECIO Oscillator mode only and read ‘0’ in all other Oscillator
modes.
 2002 Microchip Technology Inc.
Preliminary
DS41159B-page 51