Electronic Components Datasheet Search
  New Zealand  ▼
ALLDATASHEET.CO.NZ

X  

PIC18F258-E/LSQTP Datasheet(PDF) 203 Page - Microchip Technology

Part # PIC18F258-E/LSQTP
Description  28/40-Pin High-Performance, Enhanced Flash Microcontrollers with CAN Module
PDF  402 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  MICROCHIP [Microchip Technology]
Direct Link  http://www.microchip.com
Logo MICROCHIP - Microchip Technology

PIC18F258-E/LSQTP Datasheet(HTML) 203 Page - Microchip Technology

Back Button PIC18F258-E/LSQTP Datasheet HTML 199Page - Microchip Technology PIC18F258-E/LSQTP Datasheet HTML 200Page - Microchip Technology PIC18F258-E/LSQTP Datasheet HTML 201Page - Microchip Technology PIC18F258-E/LSQTP Datasheet HTML 202Page - Microchip Technology PIC18F258-E/LSQTP Datasheet HTML 203Page - Microchip Technology PIC18F258-E/LSQTP Datasheet HTML 204Page - Microchip Technology PIC18F258-E/LSQTP Datasheet HTML 205Page - Microchip Technology PIC18F258-E/LSQTP Datasheet HTML 206Page - Microchip Technology PIC18F258-E/LSQTP Datasheet HTML 207Page - Microchip Technology Next Button
Zoom Inzoom in Zoom Outzoom out
 203 / 402 page
background image
© 2006 Microchip Technology Inc.
DS41159E-page 201
PIC18FXX8
19.2
CAN Module Registers
There are many control and data registers associated
with
the
CAN
module.
For
convenience,
their
descriptions have been grouped into the following
sections:
• Control and Status Registers
• Transmit Buffer Registers (Data and Control)
• Receive Buffer Registers (Data and Control)
• Baud Rate Control Registers
• I/O Control Register
• Interrupt Status and Control Registers
19.2.1
CAN CONTROL AND STATUS
REGISTERS
The registers described in this section control the
overall operation of the CAN module and show its
operational status.
REGISTER 19-1:
CANCON: CAN CONTROL REGISTER
Note:
Not all CAN registers are available in the
Access Bank.
R/W-1
R/W-0
R/W-0
R/W-0
R/W-0
R/W-0
R/W-0
U-0
REQOP2
REQOP1
REQOP0
ABAT
WIN2
WIN1
WIN0
—
bit 7
bit 0
bit 7-5
REQOP2:REQOP0: Request CAN Operation Mode bits
1xx
= Request Configuration mode
011
= Request Listen Only mode
010
= Request Loopback mode
001
= Request Disable mode
000
= Request Normal mode
bit 4
ABAT: Abort All Pending Transmissions bit
1
= Abort all pending transmissions (in all transmit buffers)
0
= Transmissions proceeding as normal
bit 3-1
WIN2:WIN0: Window Address bits
This selects which of the CAN buffers to switch into the Access Bank area. This allows access
to the buffer registers from any data memory bank. After a frame has caused an interrupt, the
ICODE2:ICODE0 bits can be copied to the WIN2:WIN0 bits to select the correct buffer. See
Example 19-1 for code example.
111
= Receive Buffer 0
110
= Receive Buffer 0
101
= Receive Buffer 1
100
= Transmit Buffer 0
011
= Transmit Buffer 1
010
= Transmit Buffer 2
001
= Receive Buffer 0
000
= Receive Buffer 0
bit 0
Unimplemented: Read as ‘0’
Legend:
R = Readable bit
W = Writable bit
U = Unimplemented bit, read as ‘0’
-n = Value at POR
‘1’ = Bit is set
‘0’ = Bit is cleared
x = Bit is unknown



Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100  ...More


Datasheet Download

Go To PDF Page


Link URL



Does ALLDATASHEET help your business so far?  [ DONATE ] 

About Alldatasheet   |   Advertisement   |   Contact us   |   Privacy Policy   |   Link to Datasheet    |   Link Exchange   |   Manufacturer List
All Rights Reserved©Alldatasheet.com


Mirror Sites
English : Alldatasheet.com  |   English : Alldatasheet.net  |   Chinese : Alldatasheetcn.com  |   German : Alldatasheetde.com  |   Japanese : Alldatasheet.jp
Russian : Alldatasheetru.com  |   Korean : Alldatasheet.co.kr  |   Spanish : Alldatasheet.es  |   French : Alldatasheet.fr  |   Italian : Alldatasheetit.com
Portuguese : Alldatasheetpt.com  |   Polish : Alldatasheet.pl  |   Vietnamese : Alldatasheet.vn
Indian : Alldatasheet.in  |   Mexican : Alldatasheet.com.mx  |   British : Alldatasheet.co.uk  |   New Zealand : Alldatasheet.co.nz
Family Site : ic2ic.com  |   icmetro.com