PIC18F2682-I/PT MICROCHIP [Microchip Technology], PIC18F2682-I/PT Datasheet - Page 297

no-image

PIC18F2682-I/PT

Manufacturer Part Number
PIC18F2682-I/PT
Description
28/40/44-Pin Enhanced Flash Microcontrollers with ECAN Technology, 10-Bit A/D and nanoWatt Technology
Manufacturer
MICROCHIP [Microchip Technology]
Datasheet
23.2.3.1
The ECAN module contains 6 message buffers that can
be programmed as transmit or receive buffers. Any of
these buffers can also be programmed to automatically
handle RTR messages.
REGISTER 23-22: BnCON: TX/RX BUFFER n CONTROL REGISTERS IN RECEIVE MODE
© 2007 Microchip Technology Inc.
bit 7
Legend:
R = Readable bit
-n = Value at POR
bit 7
bit 6
bit 5
bit 4-0
Note 1:
Note:
RXFUL
R/W-0
2:
(2)
These registers are available in Mode 1 and 2 only.
This bit is set by the CAN module upon receiving a message and must be cleared by software after the
buffer is read. As long as RXFUL is set, no new message will be loaded and the buffer will be considered
full.
These registers are not used in Mode 0.
Programmable TX/RX and
Auto-RTR Buffers
RXFUL: Receive Full Status bit
1 = Receive buffer contains a received message
0 = Receive buffer is open to receive a new message
RXM1: Receive Buffer Mode bit
1 = Receive all messages including partial and invalid (acceptance filters are ignored)
0 = Receive all valid messages as per acceptance filters
RXRTRRO: Read-Only Remote Transmission Request for Received Message bit
1 = Received message is a remote transmission request
0 = Received message is not a remote transmission request
FILHIT4:FILHIT0: Filter Hit bits
These bits indicate which acceptance filter enabled the last message reception into this buffer.
01111 = Acceptance Filter 15 (RXF15)
01110 = Acceptance Filter 14 (RXF14)
...
00001 = Acceptance Filter 1 (RXF1)
00000 = Acceptance Filter 0 (RXF0)
R/W-0
RXM1
[0 ≤ n ≤ 5, TXnEN (BSEL0<n>) = 0]
W = Writable bit
‘1’ = Bit is set
RXRTRRO
R-0
PIC18F2682/2685/4682/4685
(2)
FILHIT4
R-0
Preliminary
U = Unimplemented bit, read as ‘0’
‘0’ = Bit is cleared
FILHIT3
(1)
R-0
FILHIT2
R-0
x = Bit is unknown
FILHIT1
R-0
DS39761B-page 295
FILHIT0
R-0
bit 0

Related parts for PIC18F2682-I/PT