|
PIC18F6585 Datasheet, PDF (320/496 Pages) Microchip Technology – 64/68/80-Pin High-Performance, 64-Kbyte Enhanced Flash Microcontrollers with ECAN Module | |||
|
◁ |
PIC18F6585/8585/6680/8680
23.2.5 CAN MODULE I/O CONTROL
REGISTER
This register controls the operation of the CAN moduleâs
I/O pins in relation to the rest of the microcontroller.
REGISTER 23-55: CIOCON: CAN I/O CONTROL REGISTER
R/W-0 R/W-0 R/W-0 R/W-0
U-0
U-0
U-0
U-0
TX2SRC TX2EN ENDRHI CANCAP
â
â
â
â
bit 7
bit 0
bit 7
bit 6
bit 5
bit 4
bit 3-0
TX2SRC: CANTX2 Pin Data Source bit
1 = CANTX2 pin will output the CAN clock
0 = CANTX2 pin will output CANTX1
TX2EN: CANTX2 Pin Enable bit
1 = CANTX2 pin will output CANTX1 or CAN clock as selected by TX2SRC bit
0 = CANTX2 pin will have digital I/O function
ENDRHI: Enable Drive High bit(1)
1 = CANTX pin will drive VDD when recessive
0 = CANTX pin will be tri-state when recessive
CANCAP: CAN Message Receive Capture Enable bit
1 = Enable CAN capture, CAN message receive signal replaces input on RC2/CCP1
0 = Disable CAN capture, RC2/CCP1 input to CCP1 module
Unimplemented: Read as â0â
Note 1: Always set this bit when using differential bus to avoid signal crosstalk in CANTX
from other nearby pins.
Legend:
R = Readable bit
- n = Value at POR
W = Writable bit
â1â = Bit is set
U = Unimplemented bit, read as â0â
â0â = Bit is cleared x = Bit is unknown
DS30491C-page 318
 2004 Microchip Technology Inc.
|
▷ |